/* ==========================================================================
   Geträumte Taten – Product Widgets
   Brand Color: #a8fdea
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Font: The Curious Cat
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'The Curious Cat';
    src: url('../fonts/The_Curious_Cat.woff') format('woff'),
         url('../fonts/The_Curious_Cat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bank Gothic';
    src: url('../fonts/Bank_Gothic.woff') format('woff'),
         url('../fonts/Bank_Gothic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next Condensed';
    src: url('../fonts/Avenir_Next_Condensed.woff') format('woff'),
         url('../fonts/Avenir_Next_Condensed.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    --gt-accent: #a8fdea;
    --gt-accent-dark: #7edbc7;
    --gt-accent-light: #edfbfb;
    --gt-text: #1a1a1a;
    --gt-text-light: #666666;
    --gt-border: #d0d0d0;
    --gt-bg-light: #f5f5f5;
    --gt-white: #ffffff;
    --gt-transition: 0.3s ease;
}

/* ==========================================================================
   1. PRODUCT GALLERY GRID
   ========================================================================== */

.gt-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

/* When only 2 images */
.gt-gallery-count-2 {
    grid-template-rows: 1fr;
}

/* When only 3 images */
.gt-gallery-count-3 .gt-gallery-main {
    grid-row: 1 / 3;
}

.gt-gallery-item {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    border: 1px solid #d9d9d9;
}

.gt-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--gt-transition);
}

/* Zoom on hover */
.gt-gallery-item.gt-zoom-enabled:hover img {
    transform: scale(1.05);
}

.gt-zoom-lens {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 200%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.gt-gallery-item.gt-zoom-enabled:hover .gt-zoom-lens {
    opacity: 1;
}

.gt-gallery-item.gt-zoom-enabled:hover img {
    opacity: 0;
}

/* Lightbox cursor */
.gt-gallery-item.gt-lightbox-enabled {
    cursor: zoom-in;
}

/* --------------------------------------------------------------------------
   Lightbox Overlay
   -------------------------------------------------------------------------- */
.gt-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gt-lightbox-overlay.active {
    opacity: 1;
}

.gt-lightbox-image-wrapper {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gt-lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 2px;
}

.gt-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--gt-white);
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
    z-index: 10;
    transition: opacity var(--gt-transition);
}

.gt-lightbox-close:hover {
    opacity: 0.7;
}

.gt-lightbox-prev,
.gt-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gt-white);
    font-size: 48px;
    cursor: pointer;
    padding: 16px;
    z-index: 10;
    transition: opacity var(--gt-transition);
}

.gt-lightbox-prev { left: 16px; }
.gt-lightbox-next { right: 16px; }

.gt-lightbox-prev:hover,
.gt-lightbox-next:hover {
    opacity: 0.7;
}

.gt-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gt-white);
    font-size: 14px;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

/* ==========================================================================
   2. PRODUCT INFO BLOCK
   ========================================================================== */

.gt-product-info-block {
    padding: 0;
}

/* Titel — Avenir Next Condensed, ~22px (14pt), schwarz */
.gt-info-product-name {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--gt-text);
    margin: 0 0 6px 0;
    padding: 0;
    line-height: 1.3;
    text-align: center;
}

/* Material/Untertitel — ~10px (5pt), schwarz */
.gt-info-subtitle {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: var(--gt-text);
    margin: 0 0 14px 0;
    letter-spacing: 0.02em;
    text-align: center;
}

/* Kurzbeschreibung — ~14px (8pt), schwarz */
.gt-info-short-desc,
.gt-info-short-desc p {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gt-text);
    margin: 0 0 16px 0;
    letter-spacing: 0.02em;
    text-align: center;
}

/* Langbeschreibung */
.gt-info-long-desc,
.gt-info-long-desc p {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gt-text-light);
    margin: 0 0 24px 0;
    letter-spacing: 0.02em;
    text-align: center;
}

/* Price — ~20px (12pt), schwarz */
.gt-info-price-wrapper {
    margin: 0 0 24px 0;
    text-align: center;
}

.gt-info-price {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--gt-text);
    display: block;
    margin-bottom: 4px;
}

.gt-info-price .woocommerce-Price-amount {
    font-weight: 400;
}

/* MwSt/Versand — ~10px (5pt), grau #d9d9d9 */
.gt-info-tax-note {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #d9d9d9;
    display: block;
}

.gt-info-tax-note a {
    color: #d9d9d9;
    text-decoration: underline;
}

.gt-info-tax-note a:hover {
    color: var(--gt-accent);
}

/* Meta row: Dimensions + Availability */
.gt-info-meta-row {
    display: flex;
    gap: 40px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
    margin-bottom: 24px;
}

.gt-info-dimensions,
.gt-info-availability {
    flex: 1;
}

/* Labels — ~11px (6pt), schwarz, lowercase */
.gt-info-meta-label {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    color: var(--gt-text);
    display: block;
    margin-bottom: 8px;
}

/* Dimension values — ~10px (5pt), schwarz */
.gt-info-meta-value {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: var(--gt-text);
    display: block;
}

/* Availability status — ~14px (8pt), türkis */
.gt-info-availability-status {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-bottom: 4px;
}

.gt-info-availability-status.in-stock {
    color: #a8fdea !important;
}

.gt-info-availability-status.on-backorder {
    color: #a8fdea !important;
}

.gt-info-availability-status.out-of-stock {
    color: #999;
}

/* Verfügbarkeit anfragen — ~10px (5pt), grau */
.gt-info-enquiry-link {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #d9d9d9;
    text-decoration: underline;
    display: inline-block;
}

.gt-info-enquiry-link:hover {
    color: var(--gt-accent);
}

/* Delivery time (dynamic per variation) */
.gt-info-delivery-time {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: var(--gt-text-light);
    display: block;
    margin-top: 4px;
    font-style: italic;
}

.gt-info-delivery-time p {
    margin: 0;
    font-size: inherit;
    color: inherit;
}

/* ==========================================================================
   3. VARIATION SELECTOR
   ========================================================================== */

.gt-variation-selector {
    padding: 0;
}

/* Labels — Avenir Next Condensed, ~11px (6pt), lowercase, schwarz */
.gt-selector-label {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    color: var(--gt-text);
    margin: 0 0 12px 0;
    text-align: center;
}

/* Size Grid */
.gt-size-selector {
    margin-bottom: 24px;
}

.gt-size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* Size buttons — rounded corners, #edfbfb bg, #a8fdea border */
.gt-size-option {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #a8fdea !important;
    border-radius: 8px;
    background: #edfbfb !important;
    color: #a8fdea !important;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all var(--gt-transition);
    padding: 0;
    line-height: 1;
}

.gt-size-option:hover {
    background: #a8fdea !important;
    color: var(--gt-text) !important;
}

/* Selected: schwarz text, darker border */
.gt-size-option.active {
    background: #edfbfb !important;
    border-color: var(--gt-text) !important;
    color: var(--gt-text) !important;
    font-weight: 600;
}

.gt-size-option.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.gt-size-option.out-of-stock {
    position: relative;
}

.gt-size-option.out-of-stock::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 4px;
    right: 4px;
    height: 1px;
    background: var(--gt-text-light);
    transform: rotate(-45deg);
}

/* Variant/Material List */
.gt-variant-selector {
    margin-bottom: 28px;
}

.gt-variant-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gt-variant-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all var(--gt-transition);
    text-align: left;
    width: 100%;
}

.gt-variant-option:hover {
    background: var(--gt-accent-light);
    border-color: var(--gt-accent);
}

.gt-variant-option.active {
    border-color: var(--gt-accent);
    background: var(--gt-accent-light);
}

/* Variant thumbnails — larger, with border */
.gt-variant-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #d9d9d9;
    flex-shrink: 0;
}

.gt-variant-swatch {
    width: 50px;
    height: 50px;
    border-radius: 2px;
    border: 1px solid #d9d9d9;
    background: var(--gt-bg-light);
    flex-shrink: 0;
}

/* Variant name — Avenir Next Condensed, ~10px (5pt), schwarz */
.gt-variant-name {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: var(--gt-text);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* Action Buttons */
.gt-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    align-items: center;
}

/* Warenkorb — pill/oval, türkis, borderless, Avenir ~17pt */
.gt-add-to-cart-btn {
    display: inline-block;
    padding: 14px 48px;
    background: #a8fdea !important;
    color: #1a1a1a !important;
    border: none !important;
    border-radius: 50px;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--gt-transition);
    text-align: center;
}

.gt-add-to-cart-btn:hover {
    background: #7edbc7 !important;
}

.gt-add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Zurück — small pill, white bg, thin black border */
.gt-back-btn {
    display: inline-block;
    padding: 7px 28px;
    background: var(--gt-white);
    color: var(--gt-text);
    border: 1px solid var(--gt-text);
    border-radius: 50px;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--gt-transition);
    text-align: center;
    text-decoration: none;
}

.gt-back-btn:hover {
    background: var(--gt-text);
    color: var(--gt-white);
}

/* ==========================================================================
   4. EDITOR PLACEHOLDER
   ========================================================================== */

.gt-editor-placeholder {
    font-family: Verdana, Geneva, sans-serif;
}

/* ==========================================================================
   5. GT2 HEADER (General Store Pattern)
   ========================================================================== */

.gt2-header {
    position: relative;
    z-index: 1000;
    background: var(--gt2-bg, var(--gt-white));
    width: 100%;
}

/* --- Row 1: Logo (centered, clean) --- */
.gt2-logo-row {
    text-align: center;
    padding: 22px 0 14px;
}

.gt2-header .gt-header-logo,
a.gt-header-logo {
    font-family: 'The Curious Cat', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: normal;
    color: var(--gt2-accent, var(--gt-accent)) !important;
    text-decoration: none !important;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1.2;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.gt2-header .gt-header-logo:hover,
a.gt-header-logo:hover {
    opacity: 0.8;
    color: var(--gt2-accent, var(--gt-accent)) !important;
}

/* --- Row 2: Main categories + action icons --- */
.gt2-nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px 0;
    border-top: none;
    border-bottom: none;
    min-height: 46px;
    position: relative;
}

.gt2-nav-main {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.gt2-nav-main a.gt2-nav-item,
a.gt2-nav-item {
    font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: none;
    color: var(--gt2-menu-color, #d9d9d9) !important;
    text-decoration: none !important;
    padding: 13px 0;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.gt2-nav-main a.gt2-nav-item:hover,
a.gt2-nav-item:hover,
.gt2-nav-item.active {
    color: var(--gt2-menu-hover, #333) !important;
}

/* Active underline indicator */
.gt2-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gt2-accent, var(--gt-accent));
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.gt2-nav-item:hover::after,
.gt2-nav-item.active::after {
    transform: scaleX(1);
}

.gt2-nav-placeholder {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    color: #ccc;
    letter-spacing: 0.08em;
}

/* Action icons (right side of nav row) */
.gt2-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.gt2-header .gt2-icon,
.gt2-mobile-bar .gt2-icon,
a.gt2-icon,
button.gt2-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gt2-menu-color, #d9d9d9) !important;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.gt2-header .gt2-icon:hover,
.gt2-mobile-bar .gt2-icon:hover,
a.gt2-icon:hover,
button.gt2-icon:hover {
    color: var(--gt2-menu-hover, #333) !important;
}

.gt2-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* Cart count — inline text style "(2)" */
.gt-cart-count {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--gt2-accent, var(--gt-accent));
    margin-left: 2px;
    position: static;
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline;
    line-height: 1;
}

/* --- Row 3: Dynamic subcategories --- */
.gt2-sub-row {
    background: var(--gt2-bg, var(--gt-white));
    border-bottom: 1px solid #f0f0f0;
    padding: 0 24px;
    text-align: center;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.gt2-sub-row.active {
    display: flex !important;
}

.gt2-sub-group {
    display: none;
    gap: 28px;
    justify-content: center;
    align-items: center;
}

.gt2-sub-group.active {
    display: flex;
}

.gt2-sub-row a.gt2-sub-item,
a.gt2-sub-item {
    font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--gt2-menu-color, #d9d9d9) !important;
    text-decoration: none !important;
    padding: 10px 0;
    transition: color 0.2s ease;
}

.gt2-sub-row a.gt2-sub-item:hover,
a.gt2-sub-item:hover {
    color: var(--gt2-menu-hover, #333) !important;
}

/* --- Search Bar (slides down below nav) --- */
.gt2-search-bar {
    padding: 12px 24px;
    background: var(--gt2-bg, var(--gt-white));
    border-bottom: 1px solid #f0f0f0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.gt2-search-bar.active {
    display: block !important;
}

.gt-search-form {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    overflow: visible;
    position: relative;
}

.gt-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: var(--gt-text);
    background: transparent;
    letter-spacing: 0.02em;
}

.gt-search-input::placeholder {
    color: #bbb;
}

.gt-search-submit,
.gt-search-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    color: #999;
    transition: color 0.2s ease;
}

.gt-search-submit:hover,
.gt-search-close:hover {
    color: var(--gt-text);
}

.gt-search-submit svg,
.gt-search-close svg {
    stroke: currentColor;
}

/* --- Mobile Bar (burger + logo + icons) --- */
.gt2-mobile-bar {
    display: none; /* hidden on desktop */
    align-items: center;
    justify-content: space-between;
    padding: 12px 5%;
    background: var(--gt2-bg, var(--gt-white));
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 1000;
}

.gt2-mobile-logo,
a.gt2-mobile-logo {
    font-family: 'The Curious Cat', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 300;
    color: var(--gt2-accent, var(--gt-accent)) !important;
    text-decoration: none !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(14px, 4.2vw, 20px);
}

.gt2-mobile-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gt2-burger-toggle {
    order: -1;
}

/* --- Mobile Search (below mobile bar) --- */
.gt2-mobile-search {
    padding: 10px 5%;
    background: var(--gt2-bg, var(--gt-white));
    border-bottom: 1px solid #f0f0f0;
}

.gt2-mobile-search.active {
    display: block !important;
}

/* --- Fullscreen Overlay (Mobile Menu) --- */
.gt2-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gt-white);
    z-index: 99998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gt2-overlay.active {
    opacity: 1;
    transform: translateX(0);
    display: block !important;
}

.gt2-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 6%;
    border-bottom: 1px solid #f0f0f0;
}

.gt2-overlay-logo {
    font-family: 'The Curious Cat', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 300;
    color: var(--gt-accent);
    text-decoration: none;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.gt2-overlay-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gt-text);
    padding: 4px;
    transition: opacity 0.2s ease;
}

.gt2-overlay-close:hover {
    opacity: 0.6;
}

.gt2-overlay-close svg {
    stroke: currentColor;
}

.gt2-overlay-nav {
    padding: 16px 0;
}

.gt2-overlay-group {
    border-bottom: 1px solid #f5f5f5;
}

.gt2-overlay-parent,
a.gt2-overlay-parent,
button.gt2-overlay-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 6%;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gt-text) !important;
    text-decoration: none !important;
    text-align: left;
    transition: color 0.2s ease;
}

.gt2-overlay-parent:hover,
a.gt2-overlay-parent:hover,
button.gt2-overlay-parent:hover {
    color: var(--gt-accent) !important;
}

.gt2-overlay-link {
    /* Parent items without children — no chevron, just a link */
}

.gt2-overlay-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.gt2-overlay-group.open .gt2-overlay-chevron {
    transform: rotate(180deg);
}

.gt2-overlay-children {
    display: none;
    padding: 0 6% 12px 10%;
}

.gt2-overlay-group.open .gt2-overlay-children {
    display: block;
}

.gt2-overlay-child,
a.gt2-overlay-child {
    display: block;
    padding: 10px 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--gt-text-light) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.gt2-overlay-child:hover,
a.gt2-overlay-child:hover {
    color: var(--gt-accent) !important;
}

.gt2-overlay-child-all {
    color: var(--gt-accent);
    font-weight: 500;
}

.gt2-overlay-footer {
    padding: 24px 6%;
    border-top: 1px solid #f0f0f0;
    margin-top: 16px;
}

.gt2-overlay-account {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gt-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.gt2-overlay-account:hover {
    color: var(--gt-accent);
}

/* ==========================================================================
   6. MINI CART OVERLAY (Desktop hover)
   ========================================================================== */

.gt-cart-wrapper {
    position: relative;
}

.gt-mini-cart-overlay {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: -10px;
    width: 360px;
    background: #edfbfb;
    border: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

/* Small arrow pointing up */
.gt-mini-cart-overlay::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 18px;
    width: 12px;
    height: 12px;
    background: #edfbfb;
    border: none;
    transform: rotate(45deg);
}

.gt-cart-wrapper:hover .gt-mini-cart-overlay,
.gt-mini-cart-overlay.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Header with logo + item count */
.gt-mini-cart-header {
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: none;
}

.gt-mini-cart-logo {
    display: block;
    font-family: 'The Curious Cat', 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: normal;
    color: var(--gt-accent, #a8fdea);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.gt-mini-cart-count-text {
    display: block;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: var(--gt-text-light);
    letter-spacing: 0.02em;
}

/* Cart items */
.gt-mini-cart-items {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px 24px;
}

.gt-mini-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-decoration: none;
    color: var(--gt-text);
}

.gt-mini-cart-item:last-child {
    border-bottom: none;
}

.gt-mini-cart-item-thumb {
    flex-shrink: 0;
}

.gt-mini-cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #d9d9d9;
}

.gt-mini-cart-item-info {
    flex: 1;
    min-width: 0;
}

.gt-mini-cart-item-qty {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 11px;
    color: var(--gt-text-light);
    display: block;
    margin-bottom: 2px;
}

.gt-mini-cart-item-name {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--gt-text);
    margin: 0 0 3px;
    line-height: 1.3;
}

.gt-mini-cart-item-desc {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: var(--gt-text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gt-mini-cart-item-remove {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gt-text-light);
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    margin-top: 4px;
}

.gt-mini-cart-item-remove:hover {
    opacity: 1;
    color: var(--gt-text);
}

/* Footer with subtotal + buttons */
.gt-mini-cart-footer {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 20px 24px 24px;
    text-align: center;
}

.gt-mini-cart-subtotal-label {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--gt-text);
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.gt-mini-cart-total-price {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--gt-text);
    margin-bottom: 18px;
}

.gt-mini-cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gt-mini-cart-btn {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.gt-mini-cart-btn-outline {
    background: transparent;
    color: var(--gt-text) !important;
    border: 1px solid var(--gt-text);
}

.gt-mini-cart-btn-outline:hover {
    background: var(--gt-text);
    color: #fff !important;
}

.gt-mini-cart-btn-filled {
    background: #a8fdea;
    color: var(--gt-text) !important;
    border: none;
    font-size: 18px;
    padding: 14px 18px;
}

.gt-mini-cart-btn-filled:hover {
    background: #7edbc7;
}

/* ==========================================================================
   7. SEARCH AUTOCOMPLETE
   ========================================================================== */

.gt-search-form {
    position: relative;
}

.gt-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gt-white);
    border: 1px solid #e5e5e5;
    border-top: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}

.gt-search-results.active {
    display: block;
}

.gt-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--gt-text);
    transition: background 0.15s ease;
    border-bottom: 1px solid #f5f5f5;
}

.gt-search-result-item:last-child {
    border-bottom: none;
}

.gt-search-result-item:hover {
    background: var(--gt-bg-light);
}

.gt-search-result-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    background: var(--gt-bg-light);
}

.gt-search-result-info {
    flex: 1;
    min-width: 0;
}

.gt-search-result-name {
    font-family: 'Helvetica Neue', 'Inter', Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: var(--gt-text);
    margin: 0 0 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gt-search-result-price {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 11px;
    color: var(--gt-text-light);
}

.gt-search-result-category {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10px;
    color: var(--gt-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gt-search-no-results {
    padding: 20px 14px;
    text-align: center;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    color: var(--gt-text-light);
}

.gt-search-loading {
    padding: 16px 14px;
    text-align: center;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: var(--gt-text-light);
}

.gt-search-view-all {
    display: block;
    padding: 12px 14px;
    text-align: center;
    font-family: 'Copperplate', 'Cinzel', Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gt-accent);
    text-decoration: none;
    border-top: 1px solid #e5e5e5;
    transition: background 0.15s ease;
}

.gt-search-view-all:hover {
    background: var(--gt-accent-light);
    color: var(--gt-accent-dark);
}

/* ==========================================================================
   8. GT FOOTER
   ========================================================================== */

.gtf-footer {
    background: var(--gtf-bg, #1a1a1a);
    color: var(--gtf-text, #d9d9d9);
    width: 100%;
}

.gtf-section {
    padding: 40px 8%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gtf-section:last-child {
    border-bottom: none;
}

/* Headings */
.gtf-heading {
    font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gtf-heading, #fff) !important;
    margin: 0 0 16px;
}

/* --- Newsletter --- */
.gtf-newsletter {
    padding: 32px 8% 36px;
}

.gtf-nl-heading {
    margin-bottom: 6px;
}

.gtf-nl-desc {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 14px;
    color: var(--gtf-text, #d9d9d9);
    margin: 0 0 10px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.gtf-nl-form {
    max-width: 520px;
    margin: 0 auto;
}

.gtf-nl-input-wrap {
    display: flex;
    gap: 16px;
    overflow: visible;
    align-items: stretch;
}

.gtf-nl-input {
    flex: 1;
    border: 1px solid #d9d9d9 !important;
    outline: none;
    padding: 14px 18px;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', sans-serif;
    font-size: 14px;
    color: inherit !important;
    background: transparent !important;
    letter-spacing: 0.03em;
}

.gtf-nl-input::placeholder {
    color: rgba(255,255,255,0.35);
}

.gtf-footer .gtf-nl-btn,
.gtf-nl-btn,
button.gtf-nl-btn {
    border: none !important;
    background: #a8fdea !important;
    color: #fff !important;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 28px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.gtf-footer .gtf-nl-btn:hover,
.gtf-nl-btn:hover,
button.gtf-nl-btn:hover {
    opacity: 0.85;
    background: #7edbc7 !important;
}

.gtf-nl-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gtf-nl-message {
    margin-top: 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.gtf-nl-message.success {
    color: var(--gtf-accent, #a8fdea);
}

.gtf-nl-message.error {
    color: #e74c3c;
}

.gtf-nl-privacy {
    margin-top: 12px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 11px;
    color: var(--gtf-text, #999);
    opacity: 0.5;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.gtf-nl-privacy a {
    color: var(--gtf-accent, #a8fdea) !important;
    text-decoration: underline !important;
}

/* --- Dynamic Text --- */
.gtf-dyntext {
    padding: 44px 8%;
}

.gtf-dt-heading {
    font-family: 'Bank Gothic', 'Michroma', 'Barlow Condensed', Arial, sans-serif;
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 0.15em;
    text-transform: none;
    margin-bottom: 16px;
}

.gtf-body-text,
.gtf-body-text p {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gtf-text, #d9d9d9) !important;
    margin: 0;
}

/* --- Social Media --- */
.gtf-social {
    padding: 32px 8%;
}

.gtf-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

a.gtf-social-icon,
.gtf-social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--gtf-accent, #a8fdea);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

a.gtf-social-icon:hover,
.gtf-social-icon:hover {
    opacity: 0.7;
}

.gtf-social-icon svg {
    stroke: currentColor;
}

/* --- Footer Navigation --- */
.gtf-nav {
    padding: 28px 8%;
}

.gtf-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.gtf-nav-list li a {
    font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: none;
    color: var(--gtf-text, #d9d9d9) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.gtf-nav-list li a:hover {
    color: var(--gtf-accent, #a8fdea) !important;
}

/* --- Copyright --- */
.gtf-copyright {
    padding: 20px 8%;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.gtf-copyright p {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 11px;
    color: var(--gtf-text, #999) !important;
    opacity: 0.6;
    margin: 0;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   9. GT MIXED GALLERY (Square Grid)
   ========================================================================== */

.gtmg-grid {
    display: grid;
    grid-template-columns: repeat(var(--gtmg-cols, 4), 1fr);
    width: 100%;
}

.gtmg-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--gt-bg-light);
    border: 1px solid #d9d9d9;
}

.gtmg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gtmg-item:hover img {
    transform: scale(1.06);
}

/* --- Image items --- */
.gtmg-item-image {
    cursor: zoom-in;
}

.gtmg-image-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.gtmg-item-image:hover .gtmg-image-icon {
    opacity: 1;
    transform: translateY(0);
}

/* --- Product items --- */
.gtmg-product-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gtmg-product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: var(--gtmg-overlay-bg, rgba(255,255,255,0.55));
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gtmg-item-product:hover .gtmg-product-overlay {
    opacity: 1;
}

a.gtmg-product-name,
.gtmg-product-name {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--gtmg-overlay-text, #1a1a1a) !important;
    text-decoration: none !important;
    text-align: center;
    line-height: 1.3;
    display: block;
}

.gtmg-product-price,
.gtmg-product-price .woocommerce-Price-amount {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 13px;
    color: var(--gtmg-overlay-text, #1a1a1a) !important;
    font-weight: 400;
}

.gtmg-product-price del {
    opacity: 0.5;
}

.gtmg-product-price ins {
    text-decoration: none;
}

a.gtmg-atc-btn,
.gtmg-atc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 8px 18px;
    background: var(--gtmg-btn-bg, #a8fdea) !important;
    color: var(--gtmg-btn-color, #1a1a1a) !important;
    border: none;
    border-radius: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity 0.2s ease;
    line-height: 1;
}

a.gtmg-atc-btn:hover,
.gtmg-atc-btn:hover {
    opacity: 0.85;
}

.gtmg-atc-btn svg {
    stroke: currentColor;
    flex-shrink: 0;
}

.gtmg-atc-btn.loading {
    opacity: 0.5;
    pointer-events: none;
}

.gtmg-atc-btn.added svg {
    display: none;
}

.gtmg-atc-btn.added span::after {
    content: ' \2713';
}

/* --- Lightbox --- */
.gtmg-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gtmg-lightbox.active {
    display: flex;
    opacity: 1;
}

.gtmg-lb-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gtmg-lb-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.gtmg-lb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.gtmg-lb-close:hover {
    opacity: 0.7;
}

.gtmg-lb-prev,
.gtmg-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 48px;
    cursor: pointer;
    padding: 16px;
    z-index: 10;
    transition: opacity 0.2s ease;
}

.gtmg-lb-prev { left: 16px; }
.gtmg-lb-next { right: 16px; }

.gtmg-lb-prev:hover,
.gtmg-lb-next:hover {
    opacity: 0.7;
}

.gtmg-lb-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.1em;
    opacity: 0.7;
    font-family: 'Barlow Condensed', sans-serif;
}

/* ==========================================================================
   10. GT CART (Custom Warenkorb)
   ========================================================================== */

.gt-cart {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0 40px;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
}

.gt-cart-heading {
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--gt-text);
    text-align: center;
    margin: 0 0 32px;
    letter-spacing: 0.04em;
}

/* --- Empty Cart --- */
.gt-cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.gt-cart-empty p {
    font-size: 16px;
    color: var(--gt-text-light);
    margin: 0 0 24px;
}

/* --- Cart Items --- */
.gt-cart-items {
    border-top: 1px solid #e5e5e5;
}

.gt-cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

.gt-cart-item-thumb {
    flex-shrink: 0;
}

.gt-cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid #d9d9d9;
}

.gt-cart-item-info {
    flex: 1.5;
    min-width: 0;
}

.gt-cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gt-text);
    margin: 0 0 3px;
    line-height: 1.3;
}

.gt-cart-item-desc {
    font-size: 10px;
    font-weight: 400;
    color: var(--gt-text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Column cells */
.gt-cart-item-col {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.gt-cart-col-label {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--gt-text-light);
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.gt-cart-col-value {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--gt-text);
}

/* Availability */
.gt-avail-status.in-stock {
    color: #a8fdea !important;
    font-size: 11px;
}

.gt-avail-status.on-backorder {
    color: #a8fdea !important;
    font-size: 10px;
    line-height: 1.3;
}

/* Quantity controls */
.gt-cart-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    overflow: hidden;
}

.gt-cart-qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--gt-text-light);
    transition: color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.gt-cart-qty-btn:hover {
    color: var(--gt-text);
}

.gt-cart-qty-input {
    width: 36px;
    text-align: center;
    border: none;
    outline: none;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 14px;
    color: var(--gt-text);
    background: transparent;
    -moz-appearance: textfield;
    padding: 0;
}

.gt-cart-qty-input::-webkit-outer-spin-button,
.gt-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove button */
.gt-cart-item-remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gt-text-light);
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.gt-cart-item-remove:hover {
    opacity: 1;
    color: var(--gt-text);
}

/* --- Totals Section --- */
.gt-cart-totals {
    background: #edfbfb;
    margin-top: 0;
    padding: 32px 0;
}

.gt-cart-totals-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.gt-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
}

.gt-cart-total-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--gt-text);
    letter-spacing: 0.03em;
}

.gt-cart-total-value {
    font-size: 14px;
    font-weight: 400;
    color: var(--gt-text);
    text-align: right;
}

.gt-cart-discount-row .gt-cart-total-value {
    color: #e74c3c;
}

.gt-cart-grand-total {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 8px;
    padding-top: 14px;
}

.gt-cart-grand-total .gt-cart-total-label {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.gt-cart-grand-total .gt-cart-total-value {
    font-size: 18px;
    font-weight: 600;
}

/* Coupon row */
.gt-cart-coupon-row {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    align-items: stretch;
}

.gt-cart-coupon-input {
    flex: 1;
    border: 1px solid rgba(0,0,0,0.15);
    padding: 10px 14px;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 13px;
    color: var(--gt-text);
    background: transparent;
    outline: none;
}

.gt-cart-coupon-input::placeholder {
    color: rgba(0,0,0,0.3);
}

.gt-cart-coupon-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--gt-text);
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--gt-text);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.gt-cart-coupon-btn:hover {
    background: var(--gt-text);
    color: #fff;
}

.gt-cart-coupon-msg {
    font-size: 12px;
    padding: 4px 0;
}

.gt-cart-coupon-msg.success { color: #27ae60; }
.gt-cart-coupon-msg.error { color: #e74c3c; }

/* Checkout button */
.gt-cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: #a8fdea;
    color: var(--gt-text) !important;
    border: none;
    border-radius: 4px;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gt-cart-checkout-btn:hover {
    background: #7edbc7;
}

/* Continue shopping */
.gt-cart-continue {
    text-align: center;
    padding: 28px 0;
}

.gt-cart-continue-btn {
    display: inline-block;
    padding: 10px 32px;
    border: 1px solid var(--gt-text);
    border-radius: 50px;
    font-family: 'Avenir Next Condensed', 'Barlow Condensed', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--gt-text) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.gt-cart-continue-btn:hover {
    background: var(--gt-text);
    color: #fff !important;
}

/* Loading state */
.gt-cart-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.gt-cart-item.loading {
    opacity: 0.4;
    pointer-events: none;
}

/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .gt-info-product-name {
        font-size: 20px;
    }

    .gt-info-meta-row {
        gap: 24px;
    }

    .gt2-nav-main {
        gap: 20px;
    }

    .gt2-nav-item {
        font-size: 13px;
        letter-spacing: 0.08em;
    }

    /* Mixed Gallery: tablet columns */
    .gtmg-grid {
        grid-template-columns: repeat(var(--gtmg-cols-t, 3), 1fr);
    }

    /* Cart: hide some columns on tablet */
    .gt-cart-item-size,
    .gt-cart-item-avail {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {

    /* Cart: stack layout */
    .gt-cart-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 0;
    }

    .gt-cart-item-info {
        flex: 1 1 calc(100% - 100px);
    }

    .gt-cart-item-size,
    .gt-cart-item-avail {
        display: none;
    }

    .gt-cart-item-qty-col,
    .gt-cart-item-price-col,
    .gt-cart-item-subtotal-col {
        flex: 0 0 auto;
    }

    .gt-cart-col-label {
        font-size: 9px;
    }

    .gt-cart-checkout-btn {
        font-size: 16px;
        padding: 14px;
    }

    /* --- GT2 Header: Hide desktop, show mobile bar --- */
    .gt2-header {
        display: none;
    }

    .gt2-mobile-bar {
        display: flex;
    }

    /* Mini cart overlay: hide on mobile */
    .gt-mini-cart-overlay {
        display: none !important;
    }

    /* Mixed Gallery: mobile columns */
    .gtmg-grid {
        grid-template-columns: repeat(var(--gtmg-cols-m, 2), 1fr) !important;
    }

    .gtmg-product-overlay {
        padding: 10px;
    }

    .gtmg-product-name {
        font-size: 12px !important;
    }

    .gtmg-atc-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .gtmg-atc-btn span {
        display: none;
    }

    .gtmg-lb-prev,
    .gtmg-lb-next {
        font-size: 32px;
        padding: 12px;
    }

    .gtmg-lb-close {
        font-size: 28px;
        top: 12px;
        right: 16px;
    }

    /* --- Footer mobile --- */
    .gtf-section {
        padding: 32px 6%;
    }

    .gtf-newsletter {
        padding: 36px 6%;
    }

    .gtf-nl-input-wrap {
        flex-direction: column;
    }

    .gtf-nl-btn {
        padding: 14px;
    }

    .gtf-dt-heading {
        font-size: 22px;
    }

    .gtf-nav-list {
        gap: 16px;
    }

    /* Search autocomplete mobile */
    .gt-search-results {
        max-height: 60vh;
    }

    /* Gallery: keep 2x2 grid but compact */
    .gt-gallery-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 4px;
    }

    .gt-gallery-item {
        aspect-ratio: 1 / 1;
    }

    .gt-gallery-count-3 .gt-gallery-main {
        grid-row: auto;
    }

    /* Disable zoom on mobile (touch) */
    .gt-gallery-item.gt-zoom-enabled:hover .gt-zoom-lens {
        opacity: 0;
    }

    .gt-gallery-item.gt-zoom-enabled:hover img {
        opacity: 1;
        transform: none;
    }

    /* Info block adjustments */
    .gt-info-product-name {
        font-size: 18px;
        letter-spacing: 0.1em;
    }

    .gt-info-meta-row {
        flex-direction: column;
        gap: 16px;
    }

    /* Lightbox nav */
    .gt-lightbox-prev,
    .gt-lightbox-next {
        font-size: 32px;
        padding: 12px;
    }

    .gt-lightbox-close {
        font-size: 28px;
        top: 12px;
        right: 16px;
    }

    /* Size grid: smaller boxes on mobile */
    .gt-size-option {
        width: 42px;
        height: 42px;
        font-size: 12px;
        border-radius: 6px;
    }

    .gt-add-to-cart-btn {
        padding: 12px 36px;
    }
}

/* ==========================================================================
   11. PRODUCT PAGE LAYOUT – Gallery 2/3, Info 1/3
   On single product pages, override Elementor's default 50/50 split so that
   the image gallery takes ~66% and the text/info column takes ~33%.
   The user needs to wrap gallery + info in an Elementor section with 2 columns.
   ========================================================================== */

@media (min-width: 768px) {
    /* :has()-based approach (modern browsers) */
    body.single-product .elementor-section .elementor-column:first-child:has(.gt-gallery-grid) {
        width: 66.666% !important;
    }
    body.single-product .elementor-section .elementor-column:last-child:has(.gt-product-info-block),
    body.single-product .elementor-section .elementor-column:last-child:has(.gt-variation-selector) {
        width: 33.333% !important;
    }

    /* Same for Elementor Containers (Flexbox layout) */
    body.single-product .e-con > .e-con-inner > .e-child:first-child:has(.gt-gallery-grid) {
        width: 66.666% !important;
        flex: 0 0 66.666% !important;
        max-width: 66.666% !important;
    }
    body.single-product .e-con > .e-con-inner > .e-child:last-child:has(.gt-product-info-block),
    body.single-product .e-con > .e-con-inner > .e-child:last-child:has(.gt-variation-selector) {
        width: 33.333% !important;
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }

    /* Brute-force fallback: ANY 50/50 split on product pages */
    body.single-product .elementor-section .elementor-container > .elementor-column.elementor-col-50:first-child {
        width: 66.666% !important;
    }
    body.single-product .elementor-section .elementor-container > .elementor-column.elementor-col-50:last-child {
        width: 33.333% !important;
    }

    /* Manual class fallback: add CSS class "gt-product-layout" to section */
    .gt-product-layout > .elementor-container > .elementor-column:first-child {
        width: 66.666% !important;
    }
    .gt-product-layout > .elementor-container > .elementor-column:last-child {
        width: 33.333% !important;
    }
    .gt-product-layout.e-con > .e-con-inner > .e-child:first-child {
        width: 66.666% !important;
        flex: 0 0 66.666% !important;
    }
    .gt-product-layout.e-con > .e-con-inner > .e-child:last-child {
        width: 33.333% !important;
        flex: 0 0 33.333% !important;
    }
}

/* Smaller mobile (iPhone SE etc) */
@media (max-width: 390px) {
    .gt2-mobile-logo {
        font-size: 16px;
        letter-spacing: 0.08em;
    }

    .gt2-mobile-actions {
        gap: 10px;
    }

    .gt2-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Small mobile */
@media (max-width: 480px) {

    .gt-gallery-grid {
        gap: 2px;
    }

    .gt-action-buttons {
        position: sticky;
        bottom: 0;
        background: var(--gt-white);
        padding: 12px 0;
        z-index: 10;
    }
}
