[data-name="product_videos"][data-type="wysiwyg"] .mce-top-part {
	display: none;
}

[data-name="product_videos"][data-type="wysiwyg"] .wp-media-buttons,
[data-name="product_videos"][data-type="wysiwyg"] .wp-media-buttons .add_media {
	width: 100%;
}

#cpto #cpt_info_box,
.dimension_fields,
[class*="variable_weight"],
.dimensions_field { display: none !important }

table.wp-list-table .column-featured, table.wp-list-table .column-product_type,
.widefat .check-column,
table.wp-list-table .column-thumb { width: 2%; text-align: center; }

#wpseo-readability-filter,
#wpseo-filter,
.yith-plugin-fw-banner {
	display: none;
}

.yith-plugin-ui .nav-tab {
    background: #dcdcde;
    color: #50575e;
    border: 1px solid #c3c4c7;
    border-bottom: 0;
    text-transform: none;
}

.yith-plugin-ui .nav-tab.yith-premium,
.yith-plugin-ui .nav-tab:hover {
	background-color: white !important
}

.theme-Showman .footer {
    top: 80mm !important;
    right: 5mm !important;
    padding: 3mm;
    border: 2px solid #DDD;
}

.content ul.wc-item-meta li {
    margin-top: 5px;
}

.theme-Showman.format-A4 body {
    background-image: url('/wp-content/themes/showman/assets/img/eticket-background-full.jpg');
    background-repeat: no-repeat;
    background-position: center;
    padding: 10mm 0;
}

.theme-Showman.format-A4 .header {
    position: absolute;
    left: 10mm;
}

.theme-Showman.format-web .header,
.theme-Showman.format-web .footer,
.theme-Showman.format-web .additional-text {
    display:none
}

.theme-Showman.format-A4 .item {
    width: 200mm;
    background: transparent;
    margin: 15mm 5mm 0;
    border: .8mm dashed #A9802F !important;
    page-break-after: always;
}

.theme-Showman.format-web .item {
    border: 0;
    box-shadow: none;
}

.theme-Showman.format-A4 .controll {
    left: 154mm;
    top: 73mm;
    border-top: .8mm dashed #A9802F !important;
}

.theme-Showman.format-A4 .cols .col {
    float: left;
    width: 48%;
}

.theme-Showman.format-A4 .cols .col + .col {
    margin-left: 4%;
}

.theme-Showman.format-A4 .cols .clear {
    clear: both;
}

.text-right {
    text-align: right;
}

.uppercase { text-transform: uppercase }

.theme-Showman h1 {
    font-size: 16px !important;
    line-height: 18px !important;
    text-transform: uppercase;
    margin-bottom: 0 !important;
}

.theme-Showman.format-A4 .qrcode-horizontal {
    margin-top: 43mm;
}

.theme-Showman.format-web .qrcode-horizontal {
    display: block;
    margin: auto;
}

.theme-Showman.format-A4 .additional-text {
    position: absolute;
    margin-top: 63mm;
    margin-left: 38mm;
    font-size: 8px;
    max-width: 100mm;
    max-height: 30mm;
    overflow: hidden;
}

@page {
    size: A4;
    margin: 0;
}

/* reset */

html.showman body.theme-showman #primary,
html.showman body.theme-showman #main {
	margin-bottom: 0;
}

html.showman body.theme-showman #main {
	padding-top: 2.617924em;
}

@media (max-width: 568px) {
html.showman body.theme-showman #main {
	padding-top: 20px;
}
}

@media (max-width: 1280px) {
	html.showman body.theme-showman body { font-size: 14px }
}

@media (max-width: 640px) {
	html.showman body.theme-showman body { font-size: 12px }
}

.color-gold {
	color: #F4DF9C !important;
}

html.showman body.theme-showman #billing_country_field { display: none !important }

.user-noselect,
html.showman body.theme-showman #colophon .widget-title,
html.showman body.theme-showman #colophon .footer-contact-block-title {
	user-select: none;
	cursor: default;
}

html.showman body.theme-showman .site-main ul.products li.product img { 
	border-radius: 0 !important; 
	box-shadow: none !important; 
	transform: none !important;
}

@media (max-width: 768px) {
html.showman body.theme-showman .showman-product.product-type-simple .summary form.cart {
	position: relative;
	bottom: auto;
	background: transparent;
	border: 0;
	box-shadow: none;
	margin-bottom: 1.618em;
	padding: 1em 0;
	}
html.showman body.theme-showman .showman-product.product-type-simple .summary .price {
	bottom: auto;
	right: auto;
	position: relative;
	z-index: auto;
	}

html.showman body.theme-showman.woocommerce-cart #buddypress .place-order input#place_order[type=submit],
html.showman body.theme-showman.woocommerce-cart #buddypress .wc-proceed-to-checkout input[type=submit],
html.showman body.theme-showman.woocommerce-cart .place-order #buddypress input#place_order[type=submit],
html.showman body.theme-showman.woocommerce-cart .place-order #place_order.button,
html.showman body.theme-showman.woocommerce-cart .wc-proceed-to-checkout #buddypress input[type=submit],
html.showman body.theme-showman.woocommerce-cart .wc-proceed-to-checkout .button,
html.showman body.theme-showman.woocommerce-checkout #buddypress .place-order input#place_order[type=submit],
html.showman body.theme-showman.woocommerce-checkout #buddypress .wc-proceed-to-checkout input[type=submit],
html.showman body.theme-showman.woocommerce-checkout .place-order #buddypress input#place_order[type=submit],
html.showman body.theme-showman.woocommerce-checkout .place-order #place_order.button,
html.showman body.theme-showman.woocommerce-checkout .wc-proceed-to-checkout #buddypress input[type=submit],
	html.showman body.theme-showman.woocommerce-checkout .wc-proceed-to-checkout .button {
	position: relative;
	bottom: auto;
	border: 0;
	box-shadow: none;
	}
html.showman body.theme-showman.woocommerce-cart .site-content,
html.showman body.theme-showman.woocommerce-checkout .site-content { padding-bottom: 0 }

html.showman body.theme-showman form.checkout,
html.showman body.theme-showman .site-main { margin-bottom: 0 }
}

@media (max-width: 568px) {
	html.showman { margin-top: 0 !important }
	#wpadminbar { display: none !important }
}
@media screen and (max-width: 782px) {
	html.showman.adminbar-showing #wc_halls_iframe {
		top: 0;
		height: 100%;
	}
	html.showman.svg-hall-inserted {
		min-height: 100vh;
	}
}

.important-info{
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}

.important-info .text{
	border: 2px solid red;
	padding: 15px;
}

.important-info .text p{
	margin: 0px !important;
}

.fade-slider-sm{
	margin: 0px;
	height: 123px;
	margin-bottom: 10px ;
	display: none;
}

.fade-slider-sm .slick-dots{
	display: none !important;
}

.fade-slider-sm img{
	width:100%;
	min-height: 70px;
}

.slick-dotted.slick-slider {
	margin-bottom: 15px;
}

.slick-slide{
    height: 130px;
}

.product-slider .col-full{
	margin-bottom: 10px !important;
}

.fade-slider-sm .desktop-hidden{
	display: none !important;
}

.p-0{
	padding: 0px !important;
}

.m-0{
	margin: 0px !important;
}

.products.columns-4{
	padding-bottom: 10px !important;
}

.calendar-range-filter {
    display: none !important;
    background: linear-gradient(180deg, #8b31cf, #551e80 100%, #8a30cf 0);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2);
    color: #fff;
    border-radius: 30px;
    width: 50px;
    height: 50px;
}

.daterangepicker:before, .daterangepicker:after {
    content: none !important;
}

.date-filter-display {
    margin: 0 0 20px 0;
    padding: 0;
}

.date-filter-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 16px;
    color: #495057;
}

.date-filter-info .dashicons-calendar-alt {
    color: #007acc;
    font-size: 16px;
}

.date-filter-text {
    font-weight: 500;
}

.date-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #dc3545;
    border-radius: 50%;
    text-decoration: none;
    margin-left: 8px;
    transition: background-color 0.2s;
}

.date-filter-clear:hover {
    background: #c82333;
}

.date-filter-clear .dashicons {
    color: white;
    font-size: 12px;
    line-height: 1.7;
}

html.showman body.theme-showman table td {
    /* padding: 10px !important; */
}

.date-range-filter {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none !important;
	cursor: pointer;
}

.date-range-filter.active {
	color: white !important;
}

.date-range-filter.active .dashicons {
	color: white !important;
}

.date-range-filter .dashicons {
	pointer-events: none;
}

.date-range-filter .calendar-text {
	pointer-events: none;
	font-weight: 600;
}

/* Litepicker стили */
.litepicker {
	font-family: inherit;
	border-radius: 6px;
	border: 0px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	z-index: 10000 !important;
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	background: white;
	max-width: 90vw;
	max-height: 90vh;
}

.litepicker .container__footer .button-apply {
    background: #000;
    padding: 5px 10px;
    font-size: 15px;
}

.litepicker .container__footer .button-cancel {
    padding: 5px 10px;
    font-size: 15px;
}

.litepicker .container__days .day-item.is-in-range {
    background-color: #c9cacb;
}

.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date {
    background-color: #000;
}

.litepicker .container__months .month-item-header {
    font-size: 15px;
}

.litepicker .container__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.litepicker .container__months .month-item:first-child .button-previous-month,
.litepicker .container__months .month-item-header .button-next-month {
	font-weight: bold;
	color: white;
    font-weight: bold;
    border-radius: 100%;
    background: #000;
    width: 30px;
	cursor: pointer;
}


.litepicker .container__months .month-item:first-child .button-previous-month:hover,
.litepicker .container__months .month-item-header .button-next-month:hover {
	background: #9e9e9e;
	color: white;
}

html.showman body.theme-showman .product-filters .col-full {
    justify-content: space-between;
}

.product-filters .button {
    display: flex;
    align-items: center;
}

/* Стили для городского меню */
#city-navigation {
	position: relative;
	display: flex;
    align-items: center;
}

.city-menu-toggle {
	display: block !important;
	border: 0;
	padding: 0;
	min-width: 0;
	text-align: center;
	position: relative;
}

.city-menu-toggle span {
	white-space: nowrap;
	font-weight: bold;
	display: block;
	line-height: 1;
}

.city-dropdown {
	position: relative;
}

.city-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: #fff;
	border-radius: 20px;
	overflow: hidden;
	padding: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, .3);
	z-index: 1000;
	margin: 0;
	list-style: none;
	min-width: 200px;
}

.city-menu[aria-expanded="true"] {
	display: block;
}

/* Центрирование только для десктопа */
@media (min-width: 769px) {
	.city-menu[aria-expanded="true"] {
		position: fixed !important;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
		max-width: 90vw;
		max-height: 80vh;
	}
}

.city-menu .city-item {
	margin: 0;
	padding: 0;
}

.city-menu .city-item:last-child {
	border-bottom: none;
}

.city-menu .city-item a {
	display: block;
	padding: 10px 15px;
	color: #000;
	text-decoration: none;
	font-size: 16px;
	font-weight: normal;
	white-space: nowrap;
	transition: background-color 0.3s ease;
	border-radius: 30px;
}

.city-menu .city-item a:hover {
	background-color: #f5f5f5;
}

.city-menu .city-item a.active {
	background-color: #8b31cf;
	color: #fff;
	font-weight: bold;
}

/* #city-navigation.toggled .city-menu-toggle {
	background: #551E80;
} */

/* #city-navigation:hover .city-menu-toggle {
	background: #551E80;
} */

/* Для десктопа - компактный вид */
@media (min-width: 769px) {
	.city-menu {
		max-height: 60vh;
		overflow-y: auto;
		width: 620px;
		columns: 4;
		column-gap: 20px;
		column-fill: balance;
	}
	
	.city-menu .city-item {
		break-inside: avoid;
		margin: 0;
		padding: 0;
		display: block;
		width: 100%;
	}
	
	.city-menu .city-item a {
		padding: 6px 10px;
		font-size: 14px;
		display: block;
		width: 100%;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		position: relative;
	}
	
	/* Tooltip при наведении */
	.city-menu .city-item a:hover::after {
		content: attr(title);
		position: absolute;
		bottom: 100%;
		left: 50%;
		transform: translateX(-50%);
		background: rgba(0, 0, 0, 0.9);
		color: white;
		padding: 6px 10px;
		border-radius: 6px;
		font-size: 12px;
		white-space: nowrap;
		z-index: 1001;
		pointer-events: none;
		opacity: 0;
		animation: tooltipFadeIn 0.3s ease forwards;
	}
	
	/* Стрелочка для tooltip */
	.city-menu .city-item a:hover::before {
		content: '';
		position: absolute;
		bottom: 100%;
		left: 50%;
		transform: translateX(-50%) translateY(1px);
		border: 4px solid transparent;
		border-top-color: rgba(0, 0, 0, 0.9);
		z-index: 1001;
		pointer-events: none;
		opacity: 0;
		animation: tooltipFadeIn 0.3s ease forwards;
	}
	
	@keyframes tooltipFadeIn {
		from { opacity: 0; transform: translateX(-50%) translateY(-5px); }
		to { opacity: 1; transform: translateX(-50%) translateY(0); }
	}
	
	/* Кастомный скроллбар */
	.city-menu::-webkit-scrollbar {
		width: 6px;
	}
	
	.city-menu::-webkit-scrollbar-track {
		background: #f1f1f1;
		border-radius: 3px;
	}
	
	.city-menu::-webkit-scrollbar-thumb {
		background: #c1c1c1;
		border-radius: 3px;
	}
	
	.city-menu::-webkit-scrollbar-thumb:hover {
		background: #a1a1a1;
	}
}

/* Для мобильных устройств */
@media (max-width: 768px) {
	.city-menu {
		position: fixed;
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		border-radius: 30px 30px 0 0;
		max-height: 50vh;
		overflow-y: auto;
		columns: initial !important;
		column-count: initial !important;
		width: auto !important;
		column-gap: initial !important;
		column-fill: initial !important;
	}
	
	.city-menu .city-item {
		display: block !important;
		width: 100% !important;
		break-inside: initial !important;
	}
	
	.city-menu .city-item a {
		padding: 10px 15px;
		font-size: 16px;
		display: block;
		width: 100%;
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: initial !important;
	}

	.city-menu .city-item {
		break-inside: avoid;
		margin: 0;
		padding: 0;
		border-bottom: 1px solid rgba(0, 0, 0, .05);
		display: block;
		width: 100%;
	}
	
	/* Отключаем tooltip на мобилке */
	.city-menu .city-item a:hover::after,
	.city-menu .city-item a:hover::before {
		display: none !important;
	}
	
	body.city-navigation-expanded {
		overflow: hidden;
	}
	
	body.city-navigation-expanded::before {
		content: '';
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 999;
	}
}

@media (max-width: 1080px) {
	.city-menu-toggle span {
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	
	.calendar-range-filter {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .litepicker .container__months {
        justify-content: center;
    }

    .date-filter-info {
        font-size: 13px;
        padding: 10px 12px;
    }
	
	.fade-slider-sm{
		height: 70px;
	}

	.product-slider .col-full {
		margin-top: 10px !important;
		margin-bottom: 10px !important;
	}
	
	.fade-slider-sm .desktop-hidden{
		display: block !important;
	}
	
	.fade-slider-sm .mobile-hidden{
		display: none !important;
	}
	
}

/* ============ MODAL (GLOBAL) ============ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    /* max-height: 90vh;
    overflow-y: auto; */
    padding: 20px 15px 20px 20px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-container {
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: #94a3b8;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover {
    background: #f1f5f9;
    color: #475569;
}

/* Скрытие скроллбара для webkit браузеров (только для модалок) */
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ============ PARTNER APPLICATION FORM ============ */
.partner-form {
    background: #fff;
    border-radius: 18px;
    /* max-width: 600px; */
    margin: 0 auto;
    padding: 40px 32px 32px 32px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.10);
}
.partner-form .form-header {
    text-align: center;
    margin-bottom: 32px;
}
.partner-form .form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3748;
}
.partner-form .form-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 0;
}
.partner-form .form-section {
    margin-bottom: 28px;
}
.partner-form .form-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #4f46e5;
}
.partner-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}
.partner-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}
.partner-form .form-group label {
    font-weight: 500;
    margin-bottom: 7px;
    color: #374151;
}
.partner-form .form-group input,
.partner-form .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    color: #22223b;
    transition: border-color 0.2s;
    resize: none;
}
.partner-form .form-group input:focus,
.partner-form .form-group textarea:focus {
    border-color: #667eea;
    outline: none;
    background: #fff;
}
.partner-form .form-group .form-help {
    color: #64748b;
    font-size: 0.92rem;
    margin-top: 4px;
}
.partner-form .required {
    color: #ef4444;
    font-weight: bold;
}
.partner-form .checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.partner-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}
.partner-form .checkbox-label input[type="checkbox"] {
    accent-color: #667eea;
    width: 18px;
    height: 18px;
    margin-right: 6px;
}
.partner-form .agreement-link {
    margin-left: 18px;
    color: #667eea;
    font-size: 0.98rem;
    text-decoration: underline;
    transition: color 0.2s;
}
.partner-form .agreement-link:hover {
    color: #4f46e5;
}
@media (max-width: 600px) {
    .partner-form {
        padding: 18px 6px 24px 6px;
    }
    .partner-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .partner-form .form-actions {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============ BUTTONS ============ */
.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    gap: 8px;
}

.btn-primary-sm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary-sm:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

/* ============ application section ============ */

.partner-application-section .btn-sm {
    position: absolute;
    /* z-index: 10; */
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
}

.application-header h3 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.application-header p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.cart-collaterals.wte-cart-table-total {
	width: 100%;
}

.cart-collaterals.wte-cart-table-total td{
	text-align: right;
}

.discount-event-card {
	margin-top: 5px;
	text-align: center;
}

.single-product .product-type-simple .wte-discount-badge,
.discount-event-card .wte-discount-badge {
	justify-content: center;
	width: 100%;
}

#payment .payment_methods li {
	padding: 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
	margin: 20px 0px;
}

#payment .payment_methods li:hover {
	background: #f1f5f9 !important;
    border-color: #cbd5e1;
    transform: translateX(1px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#payment .payment_methods li.active {
	background: #f1f5f9 !important;
    border-color: #cbd5e1;
    transform: translateX(1px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#payment .payment_box.payment_method_cardcom,
#payment .payment_box.payment_method_bacs {
	background: #f1f5f9 !important;
}

#payment .payment_methods li:last-child:not(.woocommerce-notice) {
    padding-bottom: 20px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

table:not( .has-background ) tbody tr:nth-child(2n) td, fieldset, fieldset legend {
	background-color: white;
}

@media (max-width: 425px) {
	.woocommerce-grouped-product-list-item__quantity .wte-text-small{
		max-width: 220px;
		white-space: normal;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
}

@media (max-width: 410px) {
	.woocommerce-grouped-product-list-item__quantity .wte-text-small{
		max-width: 100%;
	}
}