/* ============================================
   CTK Shop Enhancer — v1.2 stronger overrides
   Every shop selector prefixed with `html body` +
   class to beat Blocksy theme specificity.
   ============================================ */

:root {
	--ctk-bg:        #0a0a0a;
	--ctk-bg-2:      #141414;
	--ctk-bg-3:      #1c1c1c;
	--ctk-border:    #2a2a2a;
	--ctk-accent:    #ffc600;
	--ctk-accent-2:  #ffd84d;
	--ctk-red:       #ff3030;
	--ctk-text:      #eaeaea;
	--ctk-text-dim:  #a8a8a8;
	--ctk-radius:    10px;
	--ctk-radius-sm: 6px;
	--ctk-shadow:    0 10px 40px rgba(0,0,0,.55);
	--ctk-trans:     .25s ease;
}

/* ============================================
   BANNER fade into page background
   ============================================ */
html body.ctk-se-shop .wp-block-cover,
html body.ctk-se-shop .page-header-image,
html body.ctk-se-shop .entry-header { position: relative; }

html body.ctk-se-shop .wp-block-cover::after,
html body.ctk-se-shop .page-header-image::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 40%;
	background: linear-gradient(to bottom, transparent, #000 95%);
	pointer-events: none;
	z-index: 1;
}

/* ============================================
   LAYOUT — wcpt-navigation (built-in Product Table filter bar)
   On screens ≥1200px, the plugin applies:
     .wcpt-left-sidebar { float: left; width: 250px; }
     .wcpt-left-sidebar > .wcpt-item-row > * { width: 100% !important; }
     .wcpt-left-sidebar + .wcpt-header + ... + .wcpt-table-scroll-wrapper-outer { width: calc(100% - 280px); }
   We override all three to make the sidebar a full-width horizontal bar.
   ============================================ */

/* Break the sidebar float and make it full width at all breakpoints */
html body.ctk-se-shop .wcpt-navigation.wcpt-left-sidebar,
html body.ctk-se-shop #wcpt-141 .wcpt-navigation.wcpt-left-sidebar,
html body.ctk-se-shop .wcpt .wcpt-navigation.wcpt-left-sidebar {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	position: static !important;
	background: var(--ctk-bg-2) !important;
	border: 1px solid var(--ctk-border) !important;
	border-radius: var(--ctk-radius) !important;
	padding: 10px 16px !important;
	margin: 0 0 16px !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 14px !important;
}

/* Every direct child (incl. .wcpt-item-row, search-wrapper, dropdown-filter) is inline, not 100% width */
html body.ctk-se-shop .wcpt-navigation.wcpt-left-sidebar > *,
html body.ctk-se-shop .wcpt-navigation.wcpt-left-sidebar > .wcpt-item-row > * {
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

/* Nested .wcpt-item-row inside the sidebar: flex row, auto width */
html body.ctk-se-shop .wcpt-navigation.wcpt-left-sidebar .wcpt-item-row {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 14px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto !important;
	width: auto !important;
}

/* Reset siblings' width (plugin set them to calc(100% - 280px) because of float sidebar) */
html body.ctk-se-shop .wcpt-left-sidebar + .wcpt-header,
html body.ctk-se-shop .wcpt-left-sidebar + .wcpt-header + .wcpt-responsive-navigation + .wcpt-nav-modal-tpl + .wcpt-table-scroll-wrapper-outer,
html body.ctk-se-shop .wcpt-left-sidebar + .wcpt-header + .wcpt-responsive-navigation + .wcpt-nav-modal-tpl + .wcpt-required-but-missing-nav-filter-message,
html body.ctk-se-shop .wcpt-left-sidebar + .wcpt-header + .wcpt-responsive-navigation + .wcpt-nav-modal-tpl + .wcpt-no-results.wcpt-device-laptop,
html body.ctk-se-shop .wcpt-left-sidebar + .wcpt-header + .wcpt-responsive-navigation + .wcpt-nav-modal-tpl + .wcpt-table-scroll-wrapper-outer + .wcpt-pagination,
html body.ctk-se-shop .wcpt-left-sidebar + .wcpt-header + .wcpt-responsive-navigation + .wcpt-nav-modal-tpl + .wcpt-table-scroll-wrapper-outer + .wcpt-add-selected-to-cart-with-pagination,
html body.ctk-se-shop .wcpt-left-sidebar + .wcpt-header + .wcpt-responsive-navigation + .wcpt-nav-modal-tpl + .wcpt-table-scroll-wrapper-outer + .wcpt-infinite-scroll-dots,
html body.ctk-se-shop .wcpt-left-sidebar + .wcpt-header + .wcpt-responsive-navigation + .wcpt-nav-modal-tpl + .wcpt-table-scroll-wrapper-outer + .wcpt-in-footer,
html body.ctk-se-shop .wcpt-left-sidebar + .wcpt-header + .wcpt-responsive-navigation + .wcpt-nav-modal-tpl + .wcpt-table-scroll-wrapper-outer + .wcpt-in-footer + .wcpt-pagination,
html body.ctk-se-shop .wcpt-left-sidebar + .wcpt-header + .wcpt-responsive-navigation + .wcpt-nav-modal-tpl + .wcpt-table-scroll-wrapper-outer + .wcpt-in-footer + .wcpt-infinite-scroll-dots {
	float: none !important;
	width: 100% !important;
}

/* Safety net — if table overflows at some width, allow horizontal scroll */
html body.ctk-se-shop .frzTbl-table-wrapper {
	overflow-x: auto !important;
}

/* ---- Search ---- */
html body.ctk-se-shop .wcpt-navigation .wcpt-search-wrapper,
html body.ctk-se-shop .wcpt-navigation .wcpt-search {
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto !important;
	background: transparent !important;
	border: 0 !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-search {
	display: inline-flex !important;
	align-items: stretch !important;
	position: relative !important;
	height: 36px !important;
	line-height: 1 !important;
}

html body.ctk-se-shop .wcpt-navigation input.wcpt-search-input,
html body.ctk-se-shop .wcpt-search input[type="search"] {
	background: #2a2a2a !important;
	color: var(--ctk-text) !important;
	border: 1px solid #3a3a3a !important;
	border-right: 0 !important;
	border-radius: var(--ctk-radius-sm) 0 0 var(--ctk-radius-sm) !important;
	padding: 0 12px !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	min-width: 220px !important;
	max-width: 280px !important;
	box-shadow: none !important;
	font-size: .92em !important;
	line-height: 36px !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	vertical-align: middle !important;
	transition: border-color var(--ctk-trans), box-shadow var(--ctk-trans) !important;
}
html body.ctk-se-shop .wcpt-navigation input.wcpt-search-input::placeholder {
	color: #999 !important;
}
html body.ctk-se-shop .wcpt-navigation input.wcpt-search-input:focus {
	border-color: var(--ctk-accent) !important;
	box-shadow: 0 0 0 3px rgba(255,198,0,.15) !important;
	outline: 0 !important;
	position: relative !important;
	z-index: 1 !important;
}

/* Кнопка пошуку — тільки колір, решту залишаємо плагіну */
html body.ctk-se-shop .wcpt-navigation .wcpt-search-submit {
	background: #ffc600 !important;
	border-radius: 0 6px 6px 0 !important;
	cursor: pointer !important;
	transition: background .25s ease !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-search-submit:hover {
	background: #ffd84d !important;
}
/* Колір іконки всередині */
html body.ctk-se-shop .wcpt-navigation .wcpt-search-submit .wcpt-search-submit-icon,
html body.ctk-se-shop .wcpt-navigation .wcpt-search-submit .wcpt-icon {
	color: #000 !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-search-submit svg {
	stroke: #000 !important;
	fill: none !important;
}

/* ---- Dropdown filter (category) ---- */
html body.ctk-se-shop .wcpt-navigation .wcpt-dropdown.wcpt-filter {
	position: relative !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	display: inline-block !important;
}

/* Heading = the clickable "Category" button */
html body.ctk-se-shop .wcpt-navigation .wcpt-filter-heading {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
	height: 36px !important;
	padding: 0 14px !important;
	min-width: 180px !important;
	background: var(--ctk-bg-3) !important;
	border: 1px solid var(--ctk-border) !important;
	border-radius: var(--ctk-radius-sm) !important;
	color: var(--ctk-accent) !important;
	font-weight: 600 !important;
	font-size: .92em !important;
	cursor: pointer !important;
	transition: border-color var(--ctk-trans) !important;
	white-space: nowrap !important;
	user-select: none !important;
	margin: 0 !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-filter-heading:hover {
	border-color: var(--ctk-accent) !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-filter-open > .wcpt-filter-heading,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-open > .wcpt-filter-heading {
	border-color: var(--ctk-accent) !important;
}

html body.ctk-se-shop .wcpt-navigation .wcpt-dropdown-label {
	color: var(--ctk-accent) !important;
	font-weight: 600 !important;
	padding: 0 !important;
	margin: 0 !important;
	display: inline-block !important;
}

/* Chevron icon — rotate when open */
html body.ctk-se-shop .wcpt-navigation .wcpt-icon.wcpt-icon-chevron-down {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: var(--ctk-accent) !important;
	font-size: 10px !important;
	transition: transform var(--ctk-trans) !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 12px !important;
	height: 12px !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-icon.wcpt-icon-chevron-down svg,
html body.ctk-se-shop .wcpt-navigation .wcpt-icon.wcpt-icon-chevron-down img {
	width: 12px !important;
	height: 12px !important;
	fill: var(--ctk-accent) !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-filter-open .wcpt-icon.wcpt-icon-chevron-down,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-open .wcpt-icon.wcpt-icon-chevron-down {
	transform: rotate(180deg) !important;
}

/* Dropdown menu = the list of categories (initially hidden; shown when .wcpt-filter-open) */
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy,
html body.ctk-se-shop .wcpt-navigation .wcpt-dropdown-menu,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter .wcpt-hierarchy,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter > ul,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter > .wcpt-list {
	position: absolute !important;
	top: calc(100% + 4px) !important;
	left: 0 !important;
	min-width: 240px !important;
	max-width: 320px !important;
	background: var(--ctk-bg-2) !important;
	border: 1px solid var(--ctk-border) !important;
	border-radius: var(--ctk-radius-sm) !important;
	box-shadow: 0 8px 24px rgba(0,0,0,.45) !important;
	padding: 6px !important;
	margin: 0 !important;
	list-style: none !important;
	z-index: 100 !important;
	max-height: 320px !important;
	overflow-y: auto !important;
	display: none !important;
	visibility: hidden !important;
}
/* Show menu when the filter is in "open" state */
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-filter-open .wcpt-hierarchy,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-open .wcpt-hierarchy,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-filter-open .wcpt-dropdown-menu,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-open .wcpt-dropdown-menu,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-filter-open > ul,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-open > ul,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-filter-open > .wcpt-list,
html body.ctk-se-shop .wcpt-navigation .wcpt-filter.wcpt-open > .wcpt-list {
	display: block !important;
	visibility: visible !important;
}

/* Приховати пусті рядки таблиці (без товару) */
html body.ctk-se-shop table.wcpt-table tbody tr:not([data-wcpt-product-id]) {
	display: none !important;
}

/* Прибрати зайві відступи навігаційного бару якщо там мало елементів */
html body.ctk-se-shop .wcpt-navigation.wcpt-left-sidebar:empty,
html body.ctk-se-shop .wcpt-navigation.wcpt-left-sidebar > .wcpt-item-row:only-child:empty {
	display: none !important;
}

/* Menu items */
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy li,
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy .wcpt-item-row {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	display: block !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy label,
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy .wcpt-filter-option,
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy a {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 8px 10px !important;
	color: var(--ctk-text) !important;
	cursor: pointer !important;
	border-radius: var(--ctk-radius-sm) !important;
	transition: background var(--ctk-trans), color var(--ctk-trans) !important;
	font-size: .92em !important;
	text-decoration: none !important;
	line-height: 1.3 !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy label:hover,
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy .wcpt-filter-option:hover,
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy a:hover {
	background: rgba(255,198,0,.08) !important;
	color: var(--ctk-accent) !important;
}

/* Checkboxes inside menu */
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy input[type="checkbox"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 16px !important;
	height: 16px !important;
	border: 1.5px solid var(--ctk-border) !important;
	border-radius: 3px !important;
	background: var(--ctk-bg-3) !important;
	cursor: pointer !important;
	position: relative !important;
	transition: all var(--ctk-trans) !important;
	margin: 0 !important;
	flex-shrink: 0 !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy input[type="checkbox"]:hover {
	border-color: var(--ctk-accent) !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy input[type="checkbox"]:checked {
	background: var(--ctk-accent) !important;
	border-color: var(--ctk-accent) !important;
}
html body.ctk-se-shop .wcpt-navigation .wcpt-hierarchy input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 4px; top: 0;
	width: 5px; height: 10px;
	border: solid #000;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Active-count badge inside heading (plugin adds it) */
html body.ctk-se-shop .wcpt-navigation .wcpt-active-count,
html body.ctk-se-shop .wcpt-navigation .wcpt-count {
	display: inline-block !important;
	background: var(--ctk-accent) !important;
	color: #000 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	padding: 2px 7px !important;
	border-radius: 999px !important;
	line-height: 1.2 !important;
	margin-left: 4px !important;
}

/* Hide other filter navigation (header/responsive variants, nav modal) that plugin outputs
   — we only want the left-sidebar which we've turned into a top bar.
   Also hide loading screens that take row height. */
html body.ctk-se-shop .wcpt-navigation.wcpt-header,
html body.ctk-se-shop .wcpt-responsive-navigation,
html body.ctk-se-shop .wcpt-nav-modal-tpl {
	display: none !important;
}

/* Hide the old widget-based sidebar if any (legacy widgets) */
html body.ctk-se-shop aside.sidebar:not(.wcpt-navigation),
html body.ctk-se-shop .widget-area:not(.wcpt-navigation),
html body.ctk-se-shop .sidebar:not(.wcpt-navigation) {
	display: none !important;
}

/* ============================================
   PRODUCT TABLE — REAL wcpt-table selectors
   ============================================ */

html body.ctk-se-shop .frzTbl-table-wrapper {
	background: var(--ctk-bg-2) !important;
	border: 1px solid var(--ctk-border) !important;
	border-radius: var(--ctk-radius) !important;
	overflow: hidden !important;
	box-shadow: 0 4px 24px rgba(0,0,0,.3) !important;
}

html body.ctk-se-shop table.wcpt-table,
html body.ctk-se-shop .wcpt-table {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

/* THEAD */
html body.ctk-se-shop table.wcpt-table thead tr,
html body.ctk-se-shop table.wcpt-table thead th,
html body.ctk-se-shop table.wcpt-table thead .wcpt-cell,
html body.ctk-se-shop .wcpt-table thead th {
	background: linear-gradient(180deg, #1a1a1a, #111) !important;
	color: var(--ctk-accent) !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .3px !important;
	padding: 12px 8px !important;
	border-bottom: 2px solid var(--ctk-border) !important;
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	font-size: .85em !important;
	white-space: nowrap !important;
}

/* TBODY rows */
html body.ctk-se-shop table.wcpt-table tbody tr,
html body.ctk-se-shop table.wcpt-table tbody tr.wcpt-row {
	background: transparent !important;
	transition: background var(--ctk-trans) !important;
}
html body.ctk-se-shop table.wcpt-table tbody tr.wcpt-row-odd {
	background: rgba(255,255,255,.02) !important;
}
html body.ctk-se-shop table.wcpt-table tbody tr:hover,
html body.ctk-se-shop table.wcpt-table tbody tr.wcpt-row:hover {
	background: rgba(255,198,0,.06) !important;
}

/* Cells */
html body.ctk-se-shop table.wcpt-table tbody td.wcpt-cell,
html body.ctk-se-shop table.wcpt-table tbody td,
html body.ctk-se-shop .wcpt-table tbody td {
	padding: 12px 8px !important;
	border-bottom: 1px solid var(--ctk-border) !important;
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	vertical-align: middle !important;
	color: var(--ctk-text) !important;
	background: transparent !important;
	font-size: .92em !important;
}
html body.ctk-se-shop table.wcpt-table tbody tr:last-child td {
	border-bottom: 0 !important;
}

/* Column widths — constrain Description so it doesn't eat the row */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="description"],
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="short-description"] {
	max-width: 220px !important;
	min-width: 160px !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="image"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="image"] {
	width: 80px !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="name"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="name"] {
	min-width: 110px !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="sku"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="sku"] {
	width: 70px !important;
	text-align: center !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="price"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="price"] {
	width: 80px !important;
	text-align: right !important;
	white-space: nowrap !important;
}

/* === Image column === */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="image"] img,
html body.ctk-se-shop .wcpt-cell[data-wcpt-column-name="image"] img {
	border-radius: var(--ctk-radius-sm) !important;
	border: 2px solid transparent !important;
	transition: transform var(--ctk-trans), border-color var(--ctk-trans), box-shadow var(--ctk-trans) !important;
	cursor: pointer !important;
	max-width: 64px !important;
	height: auto !important;
	background: #fff !important;
	padding: 2px !important;
	display: inline-block !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="image"] img:hover {
	transform: scale(1.1) !important;
	border-color: var(--ctk-accent) !important;
	box-shadow: 0 6px 20px rgba(255,198,0,.3) !important;
}

/* === Name column === */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="name"] a,
html body.ctk-se-shop .wcpt-cell[data-wcpt-column-name="name"] a {
	color: var(--ctk-accent) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: color var(--ctk-trans) !important;
	cursor: pointer !important;
	background: transparent !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="name"] a:hover {
	color: var(--ctk-accent-2) !important;
	text-decoration: underline !important;
}

/* === Description === */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="description"],
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="short-description"] {
	color: var(--ctk-text) !important;
	font-size: .92em !important;
	line-height: 1.45 !important;
}

/* === Price === */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="price"],
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="price"] .amount,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="price"] .woocommerce-Price-amount {
	color: var(--ctk-red) !important;
	font-weight: 700 !important;
	font-size: 1.05em !important;
	background: transparent !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="price"] del {
	color: var(--ctk-text-dim) !important;
	font-weight: 500 !important;
	font-size: .85em !important;
	margin-right: 6px !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="price"] ins {
	text-decoration: none !important;
	background: transparent !important;
}

/* === Quantity input in table — based on real markup ===
   <div class="quantity wcpt-quantity wcpt-noselect wcpt-display-type-input wcpt-hide-controls">
     <span class="wcpt-minus wcpt-qty-controller wcpt-noselect"></span>
     <input type="number" class="input-text qty text" ...>
     <span class="wcpt-plus wcpt-qty-controller wcpt-noselect"></span>
     <div class="wcpt-quantity-error-message ..."></div>
   </div>

   Grid layout:    [ input | + ]
                   [ input | - ]

   We force-show the +/- spans even when plugin tries to hide them via .wcpt-hide-controls
*/

html body.ctk-se-shop .wcpt-quantity,
html body.ctk-se-shop td.wcpt-cell .quantity,
html body.ctk-se-shop td.wcpt-cell div.wcpt-quantity,
html body.ctk-se-shop .wcpt-table .quantity.wcpt-quantity,
html body.ctk-se-shop .wcpt-table .wcpt-quantity.wcpt-display-type-input {
	display: inline-grid !important;
	grid-template-columns: 1fr 22px !important;
	grid-template-rows: 16px 16px !important;
	grid-template-areas:
		"input plus"
		"input minus" !important;
	align-items: stretch !important;
	justify-items: stretch !important;
	border: 1px solid var(--ctk-border) !important;
	border-radius: var(--ctk-radius-sm) !important;
	overflow: hidden !important;
	background: var(--ctk-bg-3) !important;
	width: auto !important;
	min-width: 68px !important;
	max-width: 80px !important;
	height: 32px !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	gap: 0 !important;
	vertical-align: middle !important;
}

/* Force-show +/- even in "hide-controls" mode */
html body.ctk-se-shop .wcpt-quantity .wcpt-minus,
html body.ctk-se-shop .wcpt-quantity .wcpt-plus,
html body.ctk-se-shop .wcpt-quantity .wcpt-qty-controller,
html body.ctk-se-shop .wcpt-quantity.wcpt-hide-controls .wcpt-minus,
html body.ctk-se-shop .wcpt-quantity.wcpt-hide-controls .wcpt-plus,
html body.ctk-se-shop .wcpt-quantity.wcpt-hide-controls .wcpt-qty-controller {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	align-items: center !important;
	justify-content: center !important;
	background: transparent !important;
	color: var(--ctk-accent) !important;
	cursor: pointer !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	user-select: none !important;
	transition: background var(--ctk-trans) !important;
	border: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	position: relative !important;
}

html body.ctk-se-shop .wcpt-quantity .wcpt-plus  { grid-area: plus !important;  border-bottom: 1px solid var(--ctk-border) !important; }
html body.ctk-se-shop .wcpt-quantity .wcpt-minus { grid-area: minus !important; }

html body.ctk-se-shop .wcpt-quantity .wcpt-plus:hover,
html body.ctk-se-shop .wcpt-quantity .wcpt-minus:hover {
	background: rgba(255,198,0,.15) !important;
}

/* Glyphs (plugin leaves these spans empty in hide-controls mode) */
html body.ctk-se-shop .wcpt-quantity .wcpt-plus::before {
	content: "+"; display: block; line-height: 1;
}
html body.ctk-se-shop .wcpt-quantity .wcpt-minus::before {
	content: "−"; display: block; line-height: 1;
}

/* The number input — takes left grid area */
html body.ctk-se-shop .wcpt-quantity input[type="number"],
html body.ctk-se-shop .wcpt-quantity input.qty,
html body.ctk-se-shop .wcpt-quantity input.input-text,
html body.ctk-se-shop td.wcpt-cell input[type="number"],
html body.ctk-se-shop td.wcpt-cell input.qty,
html body.ctk-se-shop td.wcpt-cell input.input-text,
html body.ctk-se-shop table.wcpt-table input[type="number"],
html body.ctk-se-shop table.wcpt-table input.qty {
	grid-area: input !important;
	background: transparent !important;
	color: var(--ctk-text) !important;
	border: 0 !important;
	border-right: 1px solid var(--ctk-border) !important;
	border-radius: 0 !important;
	padding: 0 4px !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	text-align: center !important;
	font-weight: 700 !important;
	font-size: .92em !important;
	box-shadow: none !important;
	outline: 0 !important;
	margin: 0 !important;
	height: 100% !important;
	line-height: 1 !important;
	-moz-appearance: textfield !important;
	appearance: textfield !important;
}
html body.ctk-se-shop .wcpt-quantity input:focus,
html body.ctk-se-shop td.wcpt-cell input.qty:focus {
	background: rgba(255,198,0,.08) !important;
}

/* Kill native browser spin-buttons (the "+" that appeared after the number) */
html body.ctk-se-shop .wcpt-quantity input::-webkit-outer-spin-button,
html body.ctk-se-shop .wcpt-quantity input::-webkit-inner-spin-button,
html body.ctk-se-shop td.wcpt-cell input[type="number"]::-webkit-outer-spin-button,
html body.ctk-se-shop td.wcpt-cell input[type="number"]::-webkit-inner-spin-button,
html body.ctk-se-shop td.wcpt-cell input.qty::-webkit-outer-spin-button,
html body.ctk-se-shop td.wcpt-cell input.qty::-webkit-inner-spin-button,
html body.ctk-se-shop table.wcpt-table input[type="number"]::-webkit-outer-spin-button,
html body.ctk-se-shop table.wcpt-table input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	appearance: none !important;
	margin: 0 !important;
	display: none !important;
}

/* Disabled state (out-of-stock products) */
html body.ctk-se-shop .wcpt-quantity.wcpt-disabled,
html body.ctk-se-shop tr[data-wcpt-stock="0"] .wcpt-quantity,
html body.ctk-se-shop tr[data-wcpt-stock^="-"] .wcpt-quantity {
	opacity: .4 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

/* Hide inline error messages — they make the row jump vertically */
html body.ctk-se-shop .wcpt-quantity-error-message {
	display: none !important;
}

/* Stock column — center align + min width, so single-digit / negative values don't jitter */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="stock"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="stock"] {
	text-align: center !important;
	min-width: 60px !important;
	font-weight: 600 !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="stock"] > * {
	display: inline-block !important;
}
html body.ctk-se-shop tr[data-wcpt-stock^="-"] td.wcpt-cell[data-wcpt-column-name="stock"],
html body.ctk-se-shop tr[data-wcpt-stock="0"]  td.wcpt-cell[data-wcpt-column-name="stock"] {
	color: #ff6b6b !important;
}

/* Quantity column — same centering */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="quantity"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="quantity"] {
	text-align: center !important;
}

/* Notify / Stock column — center badge, prevent squashing */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="notify-stock"],
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="notify_stock"],
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="notify"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="notify-stock"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="notify_stock"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="notify"] {
	text-align: center !important;
	min-width: 150px !important;
}

/* Notify badge — wider, no wrap */
html body.ctk-se-shop td.wcpt-cell a[href*="notify"],
html body.ctk-se-shop td.wcpt-cell .notify-when-available,
html body.ctk-se-shop td.wcpt-cell .wcpt-notify,
html body.ctk-se-shop td.wcpt-cell .ctk-bis-btn,
html body.ctk-se-shop td.wcpt-cell button.bis_button {
	white-space: nowrap !important;
	padding: 8px 16px !important;
}

/* Available From column — center + compact look */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="available-from"],
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="available_from"],
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="availablefrom"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="available-from"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="available_from"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="availablefrom"] {
	text-align: center !important;
	min-width: 110px !important;
	white-space: nowrap !important;
}

/* Pretty date badge — added by JS */
html body.ctk-se-shop .ctk-date-badge {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	padding: 5px 10px !important;
	border-radius: 999px !important;
	background: rgba(255,198,0,.08) !important;
	border: 1px solid rgba(255,198,0,.25) !important;
	color: var(--ctk-accent) !important;
	font-weight: 600 !important;
	font-size: .82em !important;
	white-space: nowrap !important;
}
html body.ctk-se-shop .ctk-date-badge::before {
	content: "📅";
	font-size: .9em;
	filter: grayscale(1) brightness(1.5);
}

/* === Add to cart button in table — icon-only ===
   Real markup (Product Table Builder PRO):
   <td data-wcpt-column-name="add to cart">
     <div class="wcpt-cell-val">
       <div class="wcpt-item-row">
         <a class="wcpt-button wcpt-button-cart_ajax ..." href="...">
           <span class="wcpt-button-label">
             <div class="wcpt-item-row">
               <span class="wcpt-text">Add to cart</span>
             </div>
           </span>
         </a>
       </div>
     </div>
   </td>
*/

/* The <a> is the button itself */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add to cart"] a.wcpt-button,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add to cart"] .wcpt-button-cart_ajax,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add-to-cart"] a.wcpt-button,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add_to_cart"] a.wcpt-button,
html body.ctk-se-shop .wcpt-button.wcpt-button-cart_ajax {
	background: transparent !important;
	border: 1.5px solid var(--ctk-accent) !important;
	border-radius: var(--ctk-radius-sm) !important;
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	min-height: 38px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	transition: all var(--ctk-trans) !important;
	cursor: pointer !important;
	text-transform: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	vertical-align: middle !important;
	position: relative !important;
	overflow: visible !important;
	color: transparent !important;
}

/* Hide original "Add to cart" text (inside nested .wcpt-text) */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add to cart"] .wcpt-text,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add-to-cart"] .wcpt-text,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add_to_cart"] .wcpt-text,
html body.ctk-se-shop .wcpt-button.wcpt-button-cart_ajax .wcpt-text {
	font-size: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	display: inline-block !important;
	color: transparent !important;
}

/* Keep internal wrappers flex-centered and sized to button */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add to cart"] .wcpt-button-label,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add-to-cart"] .wcpt-button-label,
html body.ctk-se-shop .wcpt-button .wcpt-button-label {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	position: relative !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add to cart"] .wcpt-button-label .wcpt-item-row,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add-to-cart"] .wcpt-button-label .wcpt-item-row,
html body.ctk-se-shop .wcpt-button .wcpt-button-label .wcpt-item-row {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
}

/* Cart SVG icon — drawn in the button itself via ::before */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add to cart"] a.wcpt-button::before,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add-to-cart"] a.wcpt-button::before,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add_to_cart"] a.wcpt-button::before,
html body.ctk-se-shop .wcpt-button.wcpt-button-cart_ajax::before {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 18px !important;
	height: 18px !important;
	background-color: var(--ctk-accent) !important;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="21" r="1"/><circle cx="20" cy="21" r="1"/><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"/></svg>') center/contain no-repeat !important;
	        mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="21" r="1"/><circle cx="20" cy="21" r="1"/><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"/></svg>') center/contain no-repeat !important;
	transition: background-color var(--ctk-trans) !important;
	pointer-events: none !important;
}

/* Hover state */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add to cart"] a.wcpt-button:hover,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add-to-cart"] a.wcpt-button:hover,
html body.ctk-se-shop .wcpt-button.wcpt-button-cart_ajax:hover {
	background: var(--ctk-accent) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 18px rgba(255,198,0,.35) !important;
}
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add to cart"] a.wcpt-button:hover::before,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add-to-cart"] a.wcpt-button:hover::before,
html body.ctk-se-shop .wcpt-button.wcpt-button-cart_ajax:hover::before {
	background-color: #000 !important;
}

/* Tooltip on hover */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add to cart"] a.wcpt-button:hover::after,
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add-to-cart"] a.wcpt-button:hover::after,
html body.ctk-se-shop .wcpt-button.wcpt-button-cart_ajax:hover::after {
	content: "Add to cart" !important;
	position: absolute !important;
	bottom: calc(100% + 8px) !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	background: var(--ctk-bg-3) !important;
	color: var(--ctk-accent) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	padding: 4px 10px !important;
	border-radius: 4px !important;
	border: 1px solid var(--ctk-border) !important;
	white-space: nowrap !important;
	pointer-events: none !important;
	z-index: 10 !important;
	letter-spacing: 0 !important;
}

/* Disabled state (for out-of-stock products) */
html body.ctk-se-shop .wcpt-button.wcpt-button-disabled,
html body.ctk-se-shop .wcpt-button.wcpt-out-of-stock,
html body.ctk-se-shop tr[data-wcpt-stock="0"] .wcpt-button.wcpt-button-cart_ajax,
html body.ctk-se-shop tr[data-wcpt-stock^="-"] .wcpt-button.wcpt-button-cart_ajax {
	opacity: .45 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

/* Narrow the Add-to-cart column */
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add to cart"],
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add-to-cart"],
html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add_to_cart"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="add to cart"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="add-to-cart"],
html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="add_to_cart"] {
	width: 56px !important;
	min-width: 56px !important;
	text-align: center !important;
}

/* Notify when available */
html body.ctk-se-shop td.wcpt-cell a[href*="notify"],
html body.ctk-se-shop td.wcpt-cell .notify-when-available,
html body.ctk-se-shop td.wcpt-cell .wcpt-notify,
html body.ctk-se-shop td.wcpt-cell .ctk-bis-btn,
html body.ctk-se-shop td.wcpt-cell button.bis_button {
	display: inline-block !important;
	padding: 6px 12px !important;
	border-radius: 999px !important;
	background: rgba(255,198,0,.1) !important;
	color: var(--ctk-accent) !important;
	border: 1px solid rgba(255,198,0,.3) !important;
	font-weight: 600 !important;
	font-size: .82em !important;
	text-decoration: none !important;
	transition: all var(--ctk-trans) !important;
	text-transform: none !important;
	cursor: pointer !important;
	line-height: 1.3 !important;
}
html body.ctk-se-shop td.wcpt-cell a[href*="notify"]:hover,
html body.ctk-se-shop td.wcpt-cell .notify-when-available:hover,
html body.ctk-se-shop td.wcpt-cell .wcpt-notify:hover,
html body.ctk-se-shop td.wcpt-cell button.bis_button:hover {
	background: rgba(255,198,0,.2) !important;
	color: var(--ctk-accent-2) !important;
	transform: translateY(-1px);
}

/* Sort dropdown */
html body.ctk-se-shop .woocommerce-ordering select,
html body.ctk-se-shop .orderby,
html body.ctk-se-shop .wcpt-sort select,
html body.ctk-se-shop .frzTbl-table-wrapper select,
html body.ctk-se-shop select.orderby {
	background: var(--ctk-bg-3) !important;
	color: var(--ctk-accent) !important;
	border: 1px solid var(--ctk-border) !important;
	border-radius: var(--ctk-radius-sm) !important;
	padding: 8px 30px 8px 12px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
}

html body.ctk-se-shop .woocommerce-result-count,
html body.ctk-se-shop .wcpt-results-count {
	color: var(--ctk-accent) !important;
	font-weight: 600 !important;
}

/* ============================================
   MODAL — Quick View (kept at normal specificity,
   since it's our own DOM, no theme conflict)
   ============================================ */

.ctk-se-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ctk-se-modal.is-open {
	display: flex;
	animation: ctkSeFade .2s ease;
}
@keyframes ctkSeFade { from { opacity: 0; } to { opacity: 1; } }

.ctk-se-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.8);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	cursor: pointer;
}

.ctk-se-modal__dialog {
	position: relative;
	width: min(1000px, 100%);
	max-height: 90vh;
	background: var(--ctk-bg-2);
	border: 1px solid var(--ctk-border);
	border-radius: var(--ctk-radius);
	box-shadow: var(--ctk-shadow);
	overflow: hidden;
	animation: ctkSeSlide .25s ease;
}
@keyframes ctkSeSlide {
	from { transform: translateY(20px); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

.ctk-se-modal__close {
	position: absolute;
	top: 12px; right: 12px;
	width: 36px; height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(0,0,0,.5);
	color: var(--ctk-accent);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	z-index: 5;
	transition: all var(--ctk-trans);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font-family: Arial, sans-serif;
}
.ctk-se-modal__close::before {
	content: "✕";
	display: block;
	line-height: 1;
}
.ctk-se-modal__close:hover {
	background: var(--ctk-accent);
	color: #000;
	transform: rotate(90deg);
}

.ctk-se-modal__content {
	position: relative;
	max-height: 90vh;
	overflow-y: auto;
}

.ctk-se-modal__loader {
	display: none;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
}
.ctk-se-modal.is-loading .ctk-se-modal__loader { display: flex; }
.ctk-se-modal.is-loading .ctk-se-modal__body   { display: none; }

.ctk-se-spinner {
	width: 44px; height: 44px;
	border: 3px solid rgba(255,198,0,.2);
	border-top-color: var(--ctk-accent);
	border-radius: 50%;
	animation: ctkSeSpin 1s linear infinite;
}
@keyframes ctkSeSpin { to { transform: rotate(360deg); } }

.ctk-se-qv {
	display: grid;
	grid-template-columns: 45% 55%;
	gap: 0;
	color: var(--ctk-text);
}

.ctk-se-qv__gallery {
	padding: 24px;
	background: var(--ctk-bg-3);
	border-right: 1px solid var(--ctk-border);
}

.ctk-se-qv__main-image {
	background: #fff;
	border-radius: var(--ctk-radius-sm);
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 12px;
}
.ctk-se-qv__main-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform .3s ease;
}
.ctk-se-qv__main-image:hover .ctk-se-qv__main-img { transform: scale(1.05); }

.ctk-se-qv__thumbs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.ctk-se-qv__thumb {
	width: 64px; height: 64px;
	border: 2px solid var(--ctk-border);
	border-radius: var(--ctk-radius-sm);
	background: #fff;
	padding: 2px;
	cursor: pointer;
	overflow: hidden;
	transition: all var(--ctk-trans);
}
.ctk-se-qv__thumb img { width: 100%; height: 100%; object-fit: contain; }
.ctk-se-qv__thumb:hover { border-color: var(--ctk-accent-2); }
.ctk-se-qv__thumb.is-active {
	border-color: var(--ctk-accent);
	box-shadow: 0 0 0 2px rgba(255,198,0,.25);
}

.ctk-se-qv__info {
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ctk-se-qv__title {
	color: var(--ctk-accent);
	font-size: 1.6em;
	margin: 0;
	line-height: 1.25;
	font-weight: 700;
}

.ctk-se-qv__meta {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	font-size: .9em;
	color: var(--ctk-text-dim);
}
.ctk-se-qv__sku strong { color: var(--ctk-text); }
.ctk-se-qv__stock--instock      { color: #54d174; }
.ctk-se-qv__stock--onbackorder  { color: var(--ctk-accent); }
.ctk-se-qv__stock--outofstock   { color: #ff6b6b; }

/* "Поступит XX Mon YYYY" block */
.ctk-se-qv__available {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255,198,0,.08);
	border: 1px solid rgba(255,198,0,.3);
	color: var(--ctk-accent);
	font-size: .92em;
	align-self: flex-start;
	margin-top: -4px;
}
.ctk-se-qv__available strong {
	color: var(--ctk-accent-2);
	font-weight: 700;
	margin-left: 4px;
}
.ctk-se-qv__available-icon {
	font-size: 1em;
	line-height: 1;
}

.ctk-se-qv__price {
	font-size: 1.8em;
	font-weight: 800;
	color: var(--ctk-red);
}
.ctk-se-qv__price ins { text-decoration: none; background: transparent; }
.ctk-se-qv__price del {
	color: var(--ctk-text-dim);
	font-size: .6em;
	font-weight: 500;
	margin-right: 8px;
}

.ctk-se-qv__short-desc {
	color: var(--ctk-text);
	line-height: 1.5;
	font-size: .95em;
}
.ctk-se-qv__short-desc p { margin: 0 0 8px; }

.ctk-se-qv__attrs {
	border-top: 1px solid var(--ctk-border);
	padding-top: 14px;
}
.ctk-se-qv__attrs-title {
	color: var(--ctk-accent);
	font-size: 1em;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.ctk-se-qv__attrs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9em;
	background: transparent;
}
.ctk-se-qv__attrs-table th,
.ctk-se-qv__attrs-table td {
	padding: 8px 10px;
	border-bottom: 1px solid var(--ctk-border);
	text-align: left;
	vertical-align: top;
	background: transparent;
}
.ctk-se-qv__attrs-table th {
	color: var(--ctk-text-dim);
	font-weight: 500;
	width: 40%;
}
.ctk-se-qv__attrs-table td { color: var(--ctk-text); }
.ctk-se-qv__attrs-table tr:last-child th,
.ctk-se-qv__attrs-table tr:last-child td { border-bottom: 0; }

.ctk-se-qv__form { margin: 0; }
.ctk-se-qv__actions {
	display: flex;
	gap: 10px;
	align-items: stretch;
	margin-top: 6px;
}
.ctk-se-qv__qty {
	display: inline-flex !important;
	align-items: stretch !important;
	border: 1px solid var(--ctk-border) !important;
	border-radius: var(--ctk-radius-sm) !important;
	overflow: hidden !important;
	background: var(--ctk-bg-3) !important;
	width: auto !important;
	flex-shrink: 0;
}
.ctk-se-qty-btn {
	background: transparent !important;
	border: 0 !important;
	color: var(--ctk-accent) !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	width: 38px !important;
	min-width: 38px !important;
	padding: 0 !important;
	cursor: pointer !important;
	transition: background var(--ctk-trans) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
}
.ctk-se-qty-btn:hover { background: rgba(255,198,0,.15) !important; }

/* Force visible qty input inside modal (override global theme styles) */
.ctk-se-modal .ctk-se-qv__qty input.qty,
.ctk-se-modal .ctk-se-qv__qty input[type="number"] {
	width: 72px !important;
	min-width: 72px !important;
	max-width: 72px !important;
	background: transparent !important;
	border: 0 !important;
	color: var(--ctk-text) !important;
	text-align: center !important;
	font-weight: 700 !important;
	font-size: 1em !important;
	padding: 10px 4px !important;
	box-shadow: none !important;
	outline: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	display: inline-block !important;
	-moz-appearance: textfield !important;
	appearance: textfield !important;
	line-height: 1.2 !important;
}
.ctk-se-modal .ctk-se-qv__qty input.qty::-webkit-outer-spin-button,
.ctk-se-modal .ctk-se-qv__qty input.qty::-webkit-inner-spin-button,
.ctk-se-modal .ctk-se-qv__qty input[type="number"]::-webkit-outer-spin-button,
.ctk-se-modal .ctk-se-qv__qty input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

.ctk-se-qv__add {
	flex: 1;
	background: var(--ctk-accent) !important;
	color: #000 !important;
	border: 0 !important;
	border-radius: var(--ctk-radius-sm) !important;
	padding: 12px 24px !important;
	font-weight: 700 !important;
	font-size: 1em !important;
	letter-spacing: .5px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: all var(--ctk-trans) !important;
	text-align: center !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 4px 14px rgba(255,198,0,.25) !important;
	line-height: 1.2 !important;
}
.ctk-se-qv__add:hover {
	background: var(--ctk-accent-2) !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(255,198,0,.4) !important;
}
.ctk-se-qv__add.is-loading { opacity: .6 !important; cursor: wait !important; }
.ctk-se-qv__add.is-added  { background: #54d174 !important; color: #000 !important; }

.ctk-se-qv__out {
	padding: 12px 16px;
	background: rgba(255,107,107,.1);
	color: #ff6b6b;
	border: 1px solid rgba(255,107,107,.3);
	border-radius: var(--ctk-radius-sm);
	text-align: center;
	font-weight: 600;
}

.ctk-se-qv__msg {
	font-size: .9em;
	margin-top: 6px;
	min-height: 20px;
}
.ctk-se-qv__msg.is-success { color: #54d174; }
.ctk-se-qv__msg.is-error   { color: #ff6b6b; }

.ctk-se-qv__details-link {
	display: inline-block;
	margin-top: 8px;
	color: var(--ctk-text-dim);
	font-size: .9em;
	text-decoration: none;
	transition: color var(--ctk-trans);
}
.ctk-se-qv__details-link:hover { color: var(--ctk-accent); }

body.ctk-se-modal-open { overflow: hidden !important; }

/* ============================================
   RESPONSIVE — MODAL
   ============================================ */
@media (max-width: 860px) {
	.ctk-se-qv { grid-template-columns: 1fr; }
	.ctk-se-qv__gallery {
		border-right: 0;
		border-bottom: 1px solid var(--ctk-border);
	}
	.ctk-se-qv__title { font-size: 1.3em; }
	.ctk-se-qv__price { font-size: 1.4em; }
}

@media (max-width: 560px) {
	.ctk-se-modal { padding: 0; }
	.ctk-se-modal__dialog {
		max-height: 100vh;
		height: 100%;
		width: 100%;
		border-radius: 0;
	}
	.ctk-se-modal__content { max-height: 100vh; }
	.ctk-se-qv__info { padding: 20px; }
	.ctk-se-qv__actions { flex-direction: column; }
}

/* ============================================
   RESPONSIVE — SHOP PAGE
   Target devices:
     > 1400  desktop / 24"+ monitor   — all columns
     1100–1400  13–15" MacBook        — hide Description
     850–1100   tablet landscape      — hide Description + Available + SKU
     700–850    tablet portrait       — compact + horizontal scroll
     < 700      phone                 — card layout + filters drawer
   ============================================ */

/* 13–15" laptops: hide Description (longest column) */
@media (max-width: 1200px) {
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="description"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="short-description"],
	html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="description"],
	html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="short-description"] {
		display: none !important;
	}
	html body.ctk-se-shop table.wcpt-table tbody td.wcpt-cell,
	html body.ctk-se-shop table.wcpt-table thead th {
		padding: 10px 6px !important;
	}
}

/* Tablet landscape / compact laptop: hide SKU and Available From too */
@media (max-width: 1100px) {
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="sku"],
	html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="sku"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="available-from"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="available_from"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="availablefrom"],
	html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="available-from"],
	html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="available_from"],
	html body.ctk-se-shop th.wcpt-cell[data-wcpt-column-name="availablefrom"] {
		display: none !important;
	}
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="image"] img,
	html body.ctk-se-shop .wcpt-cell[data-wcpt-column-name="image"] img {
		max-width: 60px !important;
	}
}

/* Tablet portrait: wrap table in horizontal scroll */
@media (max-width: 850px) {
	html body.ctk-se-shop .frzTbl-table-wrapper {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}
	html body.ctk-se-shop table.wcpt-table {
		min-width: 640px !important;
	}
	html body.ctk-se-shop table.wcpt-table thead th,
	html body.ctk-se-shop table.wcpt-table tbody td.wcpt-cell {
		font-size: .9em !important;
		padding: 10px 6px !important;
	}
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="image"] img {
		max-width: 50px !important;
	}
	/* compact notify badge */
	html body.ctk-se-shop td.wcpt-cell a[href*="notify"],
	html body.ctk-se-shop td.wcpt-cell .notify-when-available,
	html body.ctk-se-shop td.wcpt-cell .wcpt-notify,
	html body.ctk-se-shop td.wcpt-cell button.bis_button {
		padding: 6px 10px !important;
		font-size: .8em !important;
		white-space: normal !important;
	}
}

/* ============================================
   MOBILE — CARD LAYOUT
   Table is reflowed to one-product-per-card.
   Technique: display:block on table elements + pseudo-labels
   ============================================ */
@media (max-width: 700px) {
	html body.ctk-se-shop .frzTbl-table-wrapper {
		background: transparent !important;
		border: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		box-shadow: none !important;
	}
	html body.ctk-se-shop table.wcpt-table,
	html body.ctk-se-shop table.wcpt-table thead,
	html body.ctk-se-shop table.wcpt-table tbody,
	html body.ctk-se-shop table.wcpt-table tr,
	html body.ctk-se-shop table.wcpt-table td {
		display: block !important;
		min-width: 0 !important;
		width: auto !important;
	}
	/* Hide table header completely on mobile */
	html body.ctk-se-shop table.wcpt-table thead {
		display: none !important;
	}

	/* Each row becomes a card */
	html body.ctk-se-shop table.wcpt-table tbody tr.wcpt-row,
	html body.ctk-se-shop table.wcpt-table tbody tr {
		background: var(--ctk-bg-2) !important;
		border: 1px solid var(--ctk-border) !important;
		border-radius: var(--ctk-radius) !important;
		margin-bottom: 14px !important;
		padding: 14px !important;
		display: grid !important;
		grid-template-columns: 70px 1fr !important;
		grid-template-areas:
			"image  name"
			"image  price"
			"desc   desc"
			"stock  notify"
			"avail  avail"
			"qty    cart" !important;
		gap: 8px 12px !important;
		align-items: center;
	}
	html body.ctk-se-shop table.wcpt-table tbody tr:hover {
		background: var(--ctk-bg-2) !important; /* disable row hover on mobile */
	}

	html body.ctk-se-shop table.wcpt-table tbody td.wcpt-cell {
		padding: 0 !important;
		border: 0 !important;
		text-align: left !important;
	}

	/* Place cells into named grid areas */
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="image"]            { grid-area: image; }
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="name"]             { grid-area: name; font-size: 1.05em; }
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="description"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="short-description"]{ grid-area: desc; display: block !important; font-size: .85em !important; color: var(--ctk-text-dim) !important; }
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="sku"]              { display: none !important; }
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="price"]            { grid-area: price; font-size: 1.15em !important; }
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="stock"]            { grid-area: stock; text-align: left !important; }
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="notify-stock"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="notify_stock"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="notify"]           { grid-area: notify; text-align: right !important; }
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="available-from"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="available_from"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="availablefrom"]    { grid-area: avail; display: block !important; text-align: left !important; }
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="quantity"]         { grid-area: qty; text-align: left !important; }
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add-to-cart"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="add_to_cart"],
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="cart"]             { grid-area: cart; text-align: right !important; }

	/* Label for stock value on mobile */
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="stock"]::before {
		content: "Stock: ";
		color: var(--ctk-text-dim);
		font-weight: 500;
		font-size: .85em;
	}

	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="image"] img,
	html body.ctk-se-shop .wcpt-cell[data-wcpt-column-name="image"] img {
		max-width: 70px !important;
		width: 70px !important;
	}

	/* Add-to-cart button full-width in card */
	html body.ctk-se-shop td.wcpt-cell .button,
	html body.ctk-se-shop td.wcpt-cell a.add_to_cart_button,
	html body.ctk-se-shop td.wcpt-cell button.add_to_cart_button {
		width: 100% !important;
		padding: 10px !important;
	}
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="quantity"] .quantity,
	html body.ctk-se-shop td.wcpt-cell[data-wcpt-column-name="quantity"] .wcpt-quantity {
		max-width: 110px !important;
	}
}

/* ============================================
   УСУНЕННЯ ПРОБІЛІВ між банером і таблицею
   ============================================ */

html body.ctk-se-shop .ct-container,
html body.ctk-se-shop .ct-container-narrow,
html body.ctk-se-shop .ct-container-full {
	padding-top: 0 !important;
}
html body.ctk-se-shop main.site-main,
html body.ctk-se-shop .site-main {
	padding-top: 0 !important;
}
html body.ctk-se-shop .entry-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
html body.ctk-se-shop .wp-block-cover + *,
html body.ctk-se-shop .page-header-image + * {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* ============================================
   ПЛАШКА КОРЗИНИ (wcpt-cart-checkbox-trigger)
   ============================================ */

.wcpt-cart-checkbox-trigger {
	--wcpt-cart-trigger-background-color: #141414;
	--wcpt-cart-trigger-text-color: #ffc600;
	--wcpt-cart-trigger-border-color: #ffc600;
	background: #141414 !important;
	background-color: #141414 !important;
	border: 1px solid #ffc600 !important;
	color: #ffc600 !important;
	box-shadow: 0 -4px 30px rgba(0,0,0,.7) !important;
	border-radius: 10px !important;
}
.wcpt-cart-checkbox-trigger *,
.wcpt-cart-checkbox-trigger .wcpt-cart-trigger__item-count,
.wcpt-cart-checkbox-trigger .wcpt-cart-trigger__total,
.wcpt-cart-checkbox-trigger .wcpt-cart-trigger__text {
	color: #ffc600 !important;
}
.wcpt-cart-checkbox-trigger .wcpt-cart-trigger__shopping-icon,
.wcpt-cart-checkbox-trigger svg {
	fill: #ffc600 !important;
	color: #ffc600 !important;
}
.wcpt-cart-checkbox-trigger a,
.wcpt-cart-checkbox-trigger button:not(.wcpt-cart-trigger__close) {
	background: #ffc600 !important;
	color: #000 !important;
	border: 0 !important;
	border-radius: 6px !important;
	font-weight: 700 !important;
	padding: 8px 18px !important;
	transition: background .25s ease !important;
}
.wcpt-cart-checkbox-trigger a:hover,
.wcpt-cart-checkbox-trigger button:not(.wcpt-cart-trigger__close):hover {
	background: #ffd84d !important;
}
.wcpt-cart-checkbox-trigger .wcpt-cart-trigger__close {
	color: #a8a8a8 !important;
	background: transparent !important;
	border: 1px solid #2a2a2a !important;
}
.wcpt-cart-checkbox-trigger .wcpt-cart-trigger__close:hover {
	color: #ffc600 !important;
	border-color: #ffc600 !important;
}
.wcpt-cart-checkbox-trigger .wcpt-cart-trigger__note,
.wcpt-cart-checkbox-trigger small {
	color: #a8a8a8 !important;
	font-size: .8em !important;
}

/* ============================================
   CART & CHECKOUT — загальні змінні
   ============================================ */
.woocommerce-cart,
.woocommerce-checkout {
	background: #0a0a0a;
}

/* Ліва колонка чекауту — відступи з усіх боків */
.woocommerce-checkout .ct-customer-details,
.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details {
	padding: 24px !important;
	box-sizing: border-box !important;
}
/* Підтягуємо блок чекауту впритул до банера */
.woocommerce-checkout .ct-woocommerce-checkout,
.woocommerce-checkout form.woocommerce-checkout {
	margin-top: 0 !important;
	margin-bottom: 30px !important;
}
.woocommerce-checkout .ct-container > section,
.woocommerce-checkout .site-main > .ct-container {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* ============================================
   ТАБЛИЦЯ КОРЗИНИ
   ============================================ */
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
	border-collapse: collapse !important;
	width: 100% !important;
	background: #141414 !important;
	border: 1px solid #2a2a2a !important;
	border-radius: 10px !important;
	overflow: hidden !important;
}
.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table th {
	background: #1a1a1a !important;
	color: #ffc600 !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	font-size: .85em !important;
	letter-spacing: .4px !important;
	padding: 14px 16px !important;
	border-bottom: 2px solid #2a2a2a !important;
	border-top: 0 !important;
}
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table td {
	padding: 14px 16px !important;
	border-bottom: 1px solid #2a2a2a !important;
	border-top: 0 !important;
	color: #eaeaea !important;
	background: transparent !important;
	vertical-align: middle !important;
}
.woocommerce-cart table.shop_table tr:last-child td,
.woocommerce-checkout table.shop_table tr:last-child td {
	border-bottom: 0 !important;
}
.woocommerce-cart table.shop_table tbody tr:hover td {
	background: rgba(255,198,0,.04) !important;
}

/* Назва товару */
.woocommerce-cart table.shop_table td.product-name a,
.woocommerce-cart table.shop_table td.product-name {
	color: #ffc600 !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}
.woocommerce-cart table.shop_table td.product-name a:hover {
	color: #ffd84d !important;
	text-decoration: underline !important;
}

/* Ціна */
.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table td.product-subtotal {
	color: #ff3030 !important;
	font-weight: 700 !important;
}

/* Кнопка видалення */
.woocommerce-cart table.shop_table td.product-remove a.remove {
	color: #a8a8a8 !important;
	font-size: 1.4em !important;
	line-height: 1 !important;
	transition: color .2s !important;
}
.woocommerce-cart table.shop_table td.product-remove a.remove:hover {
	color: #ff3030 !important;
	background: transparent !important;
}

/* Кількість у корзині — стилізуємо тільки input, не чіпаємо обгортку */
/* Кількість в корзині — зберігаємо Blocksy-лейаут (position:relative + absolute кнопки),
   тільки змінюємо кольори через CSS-змінні і пряме перевизначення */
.woocommerce-cart table.shop_table div.quantity {
	--quantity-initial-color: #ffc600 !important;
	--quantity-hover-color: #e6b200 !important;
	--quantity-arrows-initial-color: #000 !important;
	--quantity-arrows-hover-color: #000 !important;
}
.woocommerce-cart table.shop_table .quantity input.qty,
.woocommerce-cart table.shop_table div.quantity input[type="number"] {
	background: #1c1c1c !important;
	color: #eaeaea !important;
	text-align: center !important;
	font-weight: 700 !important;
	box-shadow: none !important;
}
.woocommerce-cart table.shop_table .quantity input.qty:focus,
.woocommerce-cart table.shop_table div.quantity input[type="number"]:focus {
	outline: 0 !important;
	box-shadow: 0 0 0 1px #ffc600 !important;
}
/* Кнопки +/- (Blocksy: ct-increase/ct-decrease, WooCommerce fallback: .plus/.minus) */
.woocommerce-cart table.shop_table .quantity .ct-increase,
.woocommerce-cart table.shop_table .quantity .ct-decrease,
.woocommerce-cart table.shop_table .quantity .plus,
.woocommerce-cart table.shop_table .quantity .minus {
	background: #ffc600 !important;
	color: #000 !important;
	transition: background .2s !important;
}
.woocommerce-cart table.shop_table .quantity .ct-increase:hover,
.woocommerce-cart table.shop_table .quantity .ct-decrease:hover,
.woocommerce-cart table.shop_table .quantity .plus:hover,
.woocommerce-cart table.shop_table .quantity .minus:hover {
	background: #e6b200 !important;
	color: #000 !important;
}

/* Кнопка "Update cart" */
.woocommerce-cart .actions .button,
.woocommerce-cart button[name="update_cart"] {
	background: transparent !important;
	color: #ffc600 !important;
	border: 1.5px solid #ffc600 !important;
	border-radius: 6px !important;
	padding: 10px 22px !important;
	font-weight: 700 !important;
	font-size: .9em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: all .25s !important;
}
.woocommerce-cart .actions .button:hover,
.woocommerce-cart button[name="update_cart"]:hover {
	background: #ffc600 !important;
	color: #000 !important;
}
.woocommerce-cart .actions .button:disabled,
.woocommerce-cart button[name="update_cart"]:disabled {
	opacity: .4 !important;
	cursor: not-allowed !important;
}

/* Купон */
.woocommerce-cart .coupon input#coupon_code {
	background: #1c1c1c !important;
	border: 1px solid #2a2a2a !important;
	border-radius: 6px 0 0 6px !important;
	color: #eaeaea !important;
	padding: 10px 14px !important;
	height: auto !important;
}
.woocommerce-cart .coupon input#coupon_code:focus {
	border-color: #ffc600 !important;
	outline: 0 !important;
}
.woocommerce-cart .coupon .button {
	border-radius: 0 6px 6px 0 !important;
}

/* ============================================
   CART TOTALS / ORDER TOTALS
   ============================================ */
.woocommerce-cart .cart_totals,
.woocommerce-checkout #order_review {
	background: #141414 !important;
	border: 1px solid #2a2a2a !important;
	border-radius: 10px !important;
	padding: 24px !important;
}
.woocommerce-cart .cart_totals h2,
.woocommerce-checkout h3#order_review_heading {
	color: #ffc600 !important;
	font-size: 1.1em !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .4px !important;
	margin: 0 0 16px !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid #2a2a2a !important;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-checkout table.shop_table tfoot th {
	color: #a8a8a8 !important;
	font-weight: 500 !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px dashed #2a2a2a !important;
	padding: 10px 0 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: .9em !important;
}
.woocommerce-cart .cart_totals table td,
.woocommerce-checkout table.shop_table tfoot td {
	color: #eaeaea !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px dashed #2a2a2a !important;
	padding: 10px 0 !important;
	text-align: right !important;
}
.woocommerce-cart .cart_totals table tr.order-total th,
.woocommerce-cart .cart_totals table tr.order-total td,
.woocommerce-checkout table.shop_table tfoot tr.order-total th,
.woocommerce-checkout table.shop_table tfoot tr.order-total td {
	color: #ffc600 !important;
	font-weight: 700 !important;
	font-size: 1.1em !important;
	border-bottom: 0 !important;
}

/* Кнопка "Proceed to checkout" / "Place order" */
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-checkout #place_order,
.woocommerce .checkout-button {
	display: block !important;
	width: 100% !important;
	background: transparent !important;
	color: #ffc600 !important;
	border: 1.5px solid #ffc600 !important;
	border-radius: 6px !important;
	padding: 14px 24px !important;
	font-weight: 700 !important;
	font-size: 1em !important;
	text-transform: uppercase !important;
	letter-spacing: .5px !important;
	cursor: pointer !important;
	text-align: center !important;
	text-decoration: none !important;
	transition: all .25s !important;
	margin-top: 16px !important;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce .checkout-button:hover {
	background: #ffc600 !important;
	color: #000 !important;
	box-shadow: 0 6px 20px rgba(255,198,0,.3) !important;
}

/* ============================================
   CHECKOUT — ФОРМА
   ============================================ */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout h3 {
	color: #ffc600 !important;
	font-size: 1.1em !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .4px !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid #2a2a2a !important;
	margin-bottom: 20px !important;
}
.woocommerce-checkout form .form-row label,
.woocommerce-checkout .woocommerce-form__label {
	color: #a8a8a8 !important;
	font-size: .88em !important;
	font-weight: 500 !important;
	margin-bottom: 5px !important;
}
.woocommerce-checkout form .form-row label abbr {
	color: #ff3030 !important;
	text-decoration: none !important;
}
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
	background: #1c1c1c !important;
	border: 1px solid #2a2a2a !important;
	border-radius: 6px !important;
	color: #eaeaea !important;
	padding: 10px 14px !important;
	width: 100% !important;
	box-shadow: none !important;
	transition: border-color .25s !important;
	height: auto !important;
	font-size: .92em !important;
}
.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row textarea:focus,
.woocommerce-checkout form .form-row select:focus {
	border-color: #ffc600 !important;
	outline: 0 !important;
	box-shadow: 0 0 0 3px rgba(255,198,0,.15) !important;
}
/* Select2 dropdown */
.woocommerce-checkout .select2-container--default .select2-selection--single {
	height: 42px !important;
	display: flex !important;
	align-items: center !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #eaeaea !important;
	line-height: 1 !important;
	padding: 0 !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100% !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #a8a8a8 transparent transparent !important;
}
.select2-dropdown {
	background: #1c1c1c !important;
	border: 1px solid #2a2a2a !important;
	border-radius: 6px !important;
}
.select2-container--default .select2-results__option {
	color: #eaeaea !important;
	padding: 8px 14px !important;
}
.select2-container--default .select2-results__option--highlighted {
	background: rgba(255,198,0,.12) !important;
	color: #ffc600 !important;
}

/* ============================================
   CHECKOUT — PAYMENT METHODS
   ============================================ */
.woocommerce-checkout #payment {
	background: #141414 !important;
	border-radius: 10px !important;
	border: 1px solid #2a2a2a !important;
	padding: 20px !important;
	margin-top: 20px !important;
}
.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px solid #2a2a2a !important;
	padding-bottom: 16px !important;
	margin-bottom: 16px !important;
	list-style: none !important;
	padding-left: 0 !important;
}
.woocommerce-checkout #payment ul.payment_methods li {
	padding: 10px 14px !important;
	border: 1px solid #2a2a2a !important;
	border-radius: 6px !important;
	margin-bottom: 8px !important;
	cursor: pointer !important;
	transition: border-color .2s !important;
}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked),
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input:checked + label {
	border-color: #ffc600 !important;
	background: rgba(255,198,0,.06) !important;
}
.woocommerce-checkout #payment ul.payment_methods label {
	color: #eaeaea !important;
	cursor: pointer !important;
	font-weight: 600 !important;
}
.woocommerce-checkout #payment .payment_box {
	background: #111 !important;
	border-radius: 6px !important;
	padding: 14px !important;
	margin-top: 8px !important;
	color: #a8a8a8 !important;
	font-size: .9em !important;
}
/* Radio buttons */
.woocommerce-checkout #payment ul.payment_methods input[type="radio"] {
	accent-color: #ffc600 !important;
	margin-right: 8px !important;
}

/* Privacy policy text */
.woocommerce-checkout .woocommerce-privacy-policy-text {
	color: #a8a8a8 !important;
	font-size: .85em !important;
}
.woocommerce-checkout .woocommerce-privacy-policy-text a {
	color: #ffc600 !important;
}

/* === Checkout order review — product rows (tbody) === */
.woocommerce-checkout #order_review table.shop_table tbody tr {
	border-bottom: 1px solid #1f1f1f !important;
}
.woocommerce-checkout #order_review table.shop_table tbody tr:last-child {
	border-bottom: 0 !important;
}
/* Product name */
.woocommerce-checkout #order_review table.shop_table tbody td.product-name {
	color: #eaeaea !important;
	font-weight: 500 !important;
	padding: 10px 0 !important;
	background: transparent !important;
	border: 0 !important;
}
.woocommerce-checkout #order_review table.shop_table tbody td.product-name a {
	color: #eaeaea !important;
	text-decoration: none !important;
}
.woocommerce-checkout #order_review table.shop_table tbody td.product-name a:hover {
	color: #ffc600 !important;
}
/* Quantity badge — "× 80" */
.woocommerce-checkout #order_review table.shop_table tbody td.product-name .product-quantity {
	color: #a8a8a8 !important;
	font-weight: 400 !important;
	font-size: .9em !important;
}
/* Product subtotal price */
.woocommerce-checkout #order_review table.shop_table tbody td.product-total {
	color: #c0392b !important;
	font-weight: 700 !important;
	text-align: right !important;
	padding: 10px 0 !important;
	background: transparent !important;
	border: 0 !important;
}
/* Column headers (PRODUCT / SUBTOTAL) */
.woocommerce-checkout #order_review table.shop_table thead th {
	color: #ffc600 !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .5px !important;
	font-size: .85em !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid #2a2a2a !important;
	padding: 0 0 10px !important;
}
