/**
 * GymGo Archive Cards - Frontend CSS
 *
 * @package GymGo_Archive_Cards
 */

/* ==========================================================================
   Archive Page Overrides - Keep Flatsome's original widths
   ========================================================================== */

/* Hide the entire shop page title section (breadcrumbs, filter, result count) */
body.ggac-archive-page .shop-page-title.category-page-title {
    display: none !important;
}

/* Remove top padding from category page row */
body.ggac-archive-page .category-page-row {
    padding-top: 0 !important;
}

/* Constrain full-width images/banners to container width on tag pages */
body.ggac-archive-page.tax-product_tag .img.has-hover,
body.ggac-archive-page.tax-product_tag .img-inner {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.ggac-archive-page.tax-product_tag .row.row-full-width,
body.ggac-archive-page.tax-product_tag .section-bg.full-width {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px;
    padding-right: 15px;
}

/* Category title styling */
.ggac-category-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #333;
    margin: 12px 0 24px 0;
    padding: 0;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */

/* Hide toggle button on desktop */
.ggac-menu-toggle {
    display: none;
}

/* Show menu container on desktop */
.ggac-menu-container {
    display: block;
}

/* Mobile styles */
@media (max-width: 849px) {
    /* Show toggle button on mobile */
    .ggac-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 14px 20px;
        background: #fff;
        border: 2px solid #000;
        border-radius: 0;
        cursor: pointer;
        margin-bottom: 12px;
        transition: all 0.2s ease;
    }
    
    .ggac-menu-toggle:hover {
        background: #f5f5f5;
    }
    
    .ggac-menu-toggle-text {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 18px;
        font-weight: 400;
        color: #333;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .ggac-menu-toggle-icon {
        font-size: 12px;
        color: #333;
        transition: transform 0.3s ease;
    }
    
    .ggac-menu-toggle[aria-expanded="true"] .ggac-menu-toggle-icon {
        transform: rotate(180deg);
    }
    
    /* Hide menu container by default on mobile */
    .ggac-menu-container {
        display: none;
        overflow: hidden;
    }
    
    .ggac-menu-container.ggac-menu-open {
        display: block;
    }
}

/* Remove any Flatsome default card styles that conflict with our custom card */
body.ggac-archive-page .products .product .box-image,
body.ggac-archive-page .products .product .box-text,
body.ggac-archive-page .products .product .product-small {
    display: none !important;
}

/* ==========================================================================
   Product Card
   ========================================================================== */

.ggac-card {
    background: var(--gymgo-white, #fff);
    border-radius: var(--gymgo-radius-md, 12px);
    overflow: visible;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

body.ggac-archive-page ul.products li.product,
body.ggac-archive-page .products .product {
    overflow: visible !important;
}

.ggac-card:hover {
    box-shadow: var(--gymgo-shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    transform: translateY(-2px);
}

/* ==========================================================================
   Badges
   ========================================================================== */

.ggac-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.ggac-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
}

.ggac-badge-sale {
    background: var(--ggac-sale-badge-bg, #e53935);
    color: var(--ggac-sale-badge-text, #fff);
}

.ggac-badge-new {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: #fff;
}

/* ==========================================================================
   Strip Badge (Marketing message above product - from GymGo Product Strip)
   ========================================================================== */

.ggac-strip-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--ggac-strip-badge-bg, #ff6b35);
    padding: 5px 12px;
    border-radius: 4px;
    z-index: 15;
    max-width: 85%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.ggac-strip-badge-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--ggac-strip-badge-text, #fff);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: right;
}

/* ==========================================================================
   Card Image - Rounded Top Corners
   ========================================================================== */

.ggac-card-image {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 12px 12px 0 0;
}

.ggac-card-image-link {
    display: block;
}

.ggac-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 0 !important;
}

.ggac-card:hover .ggac-card-image img {
    transform: scale(1.05);
}

/* ==========================================================================
   Add to Cart Button
   ========================================================================== */

.ggac-card-button {
    width: 100%;
    border-radius: 0 0 var(--gymgo-radius-md, 12px) var(--gymgo-radius-md, 12px) !important;
    overflow: hidden;
}

.ggac-add-to-cart {
    /* Megjelenés: gymgo-theme.css 3/B "Kártya gomb" szabály */
    background: #fcee0a;
    width: 100%;
    height: 36px;
    padding: 0 12px;
    margin: 0;
    border-radius: 0 0 var(--gymgo-radius-md, 12px) var(--gymgo-radius-md, 12px) !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ggac-card .ggac-card-button .ggac-add-to-cart:not(.added) {
    background: #fcee0a !important;
}

.ggac-card .ggac-card-button > .ggac-add-to-cart,
.ggac-card .ggac-card-button > .ggac-add-to-cart.button,
.ggac-card .ggac-card-button > .ggac-add-to-cart.button.alt {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: var(--gymgo-radius-md, 12px) !important;
    border-bottom-right-radius: var(--gymgo-radius-md, 12px) !important;
}

body .ggac-card .ggac-card-button > button.ggac-add-to-cart,
body .ggac-card .ggac-card-button > button.ggac-add-to-cart.button,
body .ggac-card .ggac-card-button > button.ggac-add-to-cart.button.alt {
    border-radius: 0 0 var(--gymgo-radius-md, 12px) var(--gymgo-radius-md, 12px) !important;
}

body .ggac-card .ggac-card-button > .ggac-add-to-cart::before,
body .ggac-card .ggac-card-button > .ggac-add-to-cart::after {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/* Archive card CTA: felső sarkok mindig szögletesek maradnak */
body.ggac-archive-page .ggac-card .ggac-card-button,
body.ggac-archive-page .ggac-card .ggac-card-button > .ggac-add-to-cart,
body.ggac-archive-page .ggac-card .ggac-card-button > .ggac-add-to-cart.button,
body.ggac-archive-page .ggac-card .ggac-card-button > .ggac-add-to-cart.button.alt,
body.ggac-archive-page .ggac-card .ggac-card-button > button.ggac-add-to-cart,
body.ggac-archive-page .ggac-card .ggac-card-button > button.ggac-add-to-cart.button,
body.ggac-archive-page .ggac-card .ggac-card-button > button.ggac-add-to-cart.button.alt,
body.ggac-archive-page .ggac-card .ggac-card-button > .ggac-add-to-cart::before,
body.ggac-archive-page .ggac-card .ggac-card-button > .ggac-add-to-cart::after {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.ggac-add-to-cart.loading {
    pointer-events: none;
}

.ggac-add-to-cart.loading .ggac-cart-icon,
.ggac-add-to-cart.loading .ggac-cart-text {
    opacity: 0;
}

.ggac-add-to-cart.loading .ggac-loading-spinner {
    display: block;
}

.ggac-add-to-cart.added {
    background: var(--gymgo-success, #4caf50);
    color: var(--gymgo-white, #fff);
}

.ggac-cart-icon svg {
    width: 16px;
    height: 16px;
}

.ggac-loading-spinner {
    display: none;
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ggac-spin 0.8s linear infinite;
}

@keyframes ggac-spin {
    to {
        transform: rotate(360deg);
    }
}

.ggac-out-of-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    padding: 0 8px;
    margin: 0;
    background: #f5f5f5;
    border: none;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    line-height: 1.1;
    text-align: center;
}

/* ==========================================================================
   Card Content
   ========================================================================== */

.ggac-card-rating {
    padding: 10px 12px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ggac-stars {
    display: flex;
    gap: 1px;
}

.ggac-star {
    font-size: 13px;
    line-height: 1;
}

.ggac-star-full,
.ggac-star-half {
    color: #ffc107;
}

.ggac-star-empty {
    color: #ddd;
}

.ggac-star-half {
    background: linear-gradient(90deg, #ffc107 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ggac-rating-count {
    font-size: 12px;
    color: #888;
}

/* Category Label */
.ggac-card-category {
    padding: 6px 12px 0;
}

.ggac-category-label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Title */
.ggac-card-title {
    padding: 4px 12px 0;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.ggac-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ggac-card-title a:hover {
    color: #666;
}

/* Price */
.ggac-card-price {
    padding: 8px 12px 12px;
    margin-top: auto;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.ggac-card-price del {
    color: #999;
    font-weight: 400;
    font-size: 13px;
    margin-right: 6px;
}

.ggac-card-price ins {
    text-decoration: none;
    color: #e53935;
}

.ggac-price-from {
    font-size: 12px;
    font-weight: 400;
    color: #888;
}

.ggac-price-amount {
    font-weight: 700;
}

.ggac-savings {
    font-size: 12px;
    font-weight: 600;
    color: #4caf50;
    margin-top: 2px;
    line-height: 1.3;
}

.ggac-savings-amount {
    text-decoration: underline;
    color: #4caf50;
    font-weight: 700;
}

.ggac-savings-amount .woocommerce-Price-amount,
.ggac-savings-amount .woocommerce-Price-amount bdi,
.ggac-savings-amount .woocommerce-Price-currencySymbol {
    color: #4caf50 !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .ggac-card-title {
        font-size: 13px;
        min-height: 34px;
    }
    
    .ggac-card-price {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ggac-card-image {
        border-radius: 8px 8px 0 0;
    }
    
    .ggac-card-image img {
        border-radius: 0 !important;
    }
    
    .ggac-card {
        border-radius: 8px 8px 6px 6px;
    }
    
    .ggac-add-to-cart {
        height: 32px;
        font-size: 12px;
    }
    
    .ggac-cart-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .ggac-card-rating {
        padding: 8px 10px 0;
    }
    
    .ggac-card-category {
        padding: 4px 10px 0;
    }
    
    .ggac-category-label {
        font-size: 10px;
    }
    
    .ggac-card-title {
        padding: 3px 10px 0;
        font-size: 12px;
        min-height: 31px;
    }
    
    .ggac-card-price {
        padding: 6px 10px 10px;
        font-size: 13px;
    }
    
    .ggac-badge {
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* ==========================================================================
   Dark Mode Support (if theme supports it)
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    body.ggac-archive-page.dark-mode .ggac-card {
        background: #1a1a1a;
    }
    
    body.ggac-archive-page.dark-mode .ggac-card-image {
        background: #222;
    }
    
    body.ggac-archive-page.dark-mode .ggac-card-title a {
        color: #fff;
    }
    
    body.ggac-archive-page.dark-mode .ggac-card-price {
        color: #fff;
    }
    
    body.ggac-archive-page.dark-mode .ggac-category-label {
        color: #aaa;
    }
}

/* ==========================================================================
   Modal
   ========================================================================== */

body.ggac-modal-open {
    overflow: hidden !important;
}

.ggac-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}


.ggac-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.ggac-modal-content {
    position: relative;
    background: var(--gymgo-white, #fff);
    border-radius: var(--gymgo-radius-lg, 16px);
    max-width: 600px;
    width: 90%;
    max-height: 96dvh;
    overflow: auto;
    overscroll-behavior: contain;
    box-shadow: var(--gymgo-shadow-modal, 0 20px 60px rgba(0, 0, 0, 0.25));
    animation: ggac-modal-in 0.3s ease;
}

.ggac-modal-content.ggac-bundle-modal {
    border-radius: var(--gymgo-radius-lg, 16px) !important;
    overflow: hidden !important;
    background-clip: padding-box;
    clip-path: inset(0 round var(--gymgo-radius-lg, 16px));
    display: flex;
    flex-direction: column;
}

.ggac-modal-content.ggac-bundle-modal .ggac-modal-body {
    border-radius: inherit;
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.ggac-modal-content.ggac-bundle-modal .ggac-modal-product-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding-bottom: 0;
}

.ggac-modal-content.ggac-bundle-modal .ggac-modal-form.ggac-bundle-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    position: relative;
}

@keyframes ggac-modal-in {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ggac-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    background: #000 !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    overflow: visible !important;
}

.ggac-modal-close:hover {
    background: #333 !important;
}

.ggac-modal-close svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    stroke: #fff !important;
    fill: none !important;
}

.ggac-modal-close svg line {
    stroke: #fff !important;
}

.ggac-modal-body {
    padding: 0;
    overflow-x: hidden;
}

.ggac-modal-loading {
    text-align: center;
    padding: 60px 0;
}

.ggac-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 3px solid #eee;
    border-top-color: #333;
    border-radius: 50%;
    animation: ggac-spin 0.8s linear infinite;
}

/* ==========================================================================
   Modal Product Wrapper
   ========================================================================== */

.ggac-modal-product-wrap {
    padding: 4px;
    margin: 0;
}

.ggac-modal-header {
    display: flex;
    gap: 15px;
    padding: 20px;
    margin: 0;
    border: 0px solid transparent;
}

.ggac-modal-product-image {
    flex: 0 0 180px;
}

.ggac-modal-product-image img {
    width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
}

.ggac-modal-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ggac-modal-product-title {
    margin: 0 0 5px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.15;
    color: #333;
}

.ggac-modal-product-original-price {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 400;
    color: #8c8c8c;
    line-height: 1.1;
}

.ggac-modal-product-original-price del,
.ggac-modal-product-original-price .woocommerce-Price-amount,
.ggac-modal-product-original-price .woocommerce-Price-amount bdi {
    color: #8c8c8c;
    font-weight: 400;
    text-decoration-thickness: 1px;
}

.ggac-modal-product-price {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.ggac-modal-product-price > span[aria-hidden="true"]:not(.woocommerce-Price-amount) {
    display: none;
}

.ggac-modal-product-price .woocommerce-price-suffix {
    order: 3;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.ggac-modal-bundle-discount-row {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 4px;
}

.ggac-modal-bundle-discount-row .ggac-modal-bundle-discount-value {
    color: var(--gymgo-success, #22c55e) !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

.ggac-modal-bundle-discount-row .ggac-modal-bundle-discount-value,
.ggac-modal-bundle-discount-row .ggac-modal-bundle-discount-value * {
    color: var(--gymgo-success, #22c55e) !important;
}

.ggac-modal-bundle-discount-row .ggac-modal-bundle-discount-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gymgo-success, #22c55e);
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.ggac-modal-product-price del {
    order: 2;
    color: #999;
    font-weight: 400;
    font-size: 14px;
    text-decoration-thickness: 1px;
}

.ggac-modal-product-price ins {
    order: 1;
    display: inline-flex;
    text-decoration: none;
    color: #333;
}

.ggac-modal-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.ggac-modal-rating .ggac-stars {
    display: inline-flex;
    gap: 1px;
}

.ggac-modal-rating .ggac-star {
    font-size: 18px;
    line-height: 1;
}

.ggac-modal-rating .ggac-star-full {
    color: #f5a623;
}

.ggac-modal-rating .ggac-star-empty {
    color: #ddd;
}

.ggac-modal-rating .ggac-rating-count {
    font-size: 12px;
    color: #666;
}

/* ==========================================================================
   Modal Form
   ========================================================================== */

.ggac-modal-form {
    padding: 0;
}

.ggac-variations-wrap {
    margin-bottom: 0;
}

.ggac-variation-row {
    border-bottom: none;
}

.ggac-variation-row:last-child {
    border-bottom: none;
}

.ggac-variation-label {
    display: none;
}

/* Swatches - Full width row style like GGPS */
.ggac-swatches {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
}

.ggac-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-height: 40px;
    padding: 8px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
    margin-bottom: 0;
    gap: 10px;
}

.ggac-swatch:hover {
    background: #f5f5f5;
    border-color: #333;
}

.ggac-swatch.selected {
    border-color: #000;
    border-width: 2px;
    background: #fff;
    color: #333;
    font-weight: 600;
}

/* Image swatches */
.ggac-swatch img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.ggac-swatch-label {
    font-size: 14px;
    line-height: 32px;
    text-align: left;
    color: #333;
    font-weight: 500;
}

.ggac-swatch.selected .ggac-swatch-label {
    color: #333;
    font-weight: 600;
}

.ggac-modal-form:not(.ggac-bundle-form) .ggac-swatch {
    border-radius: var(--gymgo-radius-sm, 8px);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ggac-modal-form:not(.ggac-bundle-form) .ggac-swatch-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ggac-modal-form:not(.ggac-bundle-form) .ggac-swatch.selected .ggac-swatch-label {
    font-weight: 400;
}

.ggac-bundle-swatches[data-attribute*="tomeg"] .ggac-bundle-swatch,
.ggac-bundle-swatches[data-attribute*="weight"] .ggac-bundle-swatch {
    font-size: 16px;
}

/* Quantity */
.ggac-quantity-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: auto;
    padding: 0 0 15px 0;
    border: none;
    background: transparent;
    width: 100%;
}

.ggac-quantity-label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #000 !important;
    text-align: left;
}

.ggac-quantity-selector {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 2px solid #000 !important;
    border-radius: var(--gymgo-radius-sm, 8px) !important;
    overflow: hidden !important;
    background: #fff !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
}

.ggac-qty-btn {
    width: 60px !important;
    min-width: 60px !important;
    height: auto !important;
    border: none !important;
    background: #fff !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #333 !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0;
}

.ggac-qty-btn.ggac-qty-minus {
    border-right: 2px solid #000 !important;
}

.ggac-qty-btn.ggac-qty-plus {
    border-left: 2px solid #000 !important;
}

.ggac-qty-btn:hover {
    background: #f5f5f5 !important;
}

.ggac-qty-btn:active {
    background: #eee !important;
}

.ggac-quantity {
    flex: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 50px !important;
    min-height: 0 !important;
    border: none !important;
    border-left: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
    border-radius: 0 !important;
    text-align: center !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    background: #fff !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: normal !important;
    flex-shrink: 0;
    color: #000 !important;
}

.ggac-quantity-display {
    flex: 1;
    width: auto;
    min-width: 50px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ggac-quantity-display .ggac-quantity-unit {
    font-size: 14px;
}

.ggac-quantity-selector .ggac-quantity-display .ggac-quantity-unit {
    display: none;
}

.ggac-modal-form:not(.ggac-bundle-form) .ggac-quantity-wrap .ggac-quantity-label {
    display: none;
}

.ggac-bundle-footer-qty .ggac-quantity {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0 !important;
    min-width: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ggac-quantity::-webkit-outer-spin-button,
.ggac-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Modal Add to Cart Button */
.ggac-modal-add-to-cart {
    /* Layout */
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    padding: 14px 20px;
    margin: 15px 0 0 0;
    margin-top: 5px;
    font-size: 22px;
    letter-spacing: 1px;
    /* CTA megjelenés (gymgo-theme.css tokenek fallback) */
    background: var(--gymgo-cta-bg, #fcee0a) !important;
    color: var(--gymgo-cta-color, #000) !important;
    border: var(--gymgo-cta-border, 2px solid #000) !important;
    border-radius: var(--gymgo-cta-radius, 0) !important;
    font-family: var(--gymgo-cta-font, 'Bebas Neue', sans-serif) !important;
    font-weight: var(--gymgo-cta-weight, 400) !important;
    text-transform: var(--gymgo-cta-transform, uppercase) !important;
    cursor: pointer !important;
    transition: var(--gymgo-cta-transition, all 0.3s ease) !important;
    text-align: center !important;
}

.ggac-error {
    padding: 15px 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    font-size: 14px;
}

/* Modal Responsive - Mobile */
@media (max-width: 849px) {
    /* Fix modal centering on mobile - override external styles */
    .ggac-modal {
        align-items: center !important;
    }
    
    /* Make modal almost full-screen on mobile */
    .ggac-modal-content {
        width: 96%;
        max-width: none;
        max-height: 96dvh;
        margin: 2dvh auto;
        border-radius: var(--gymgo-radius-md, 12px);
    }
    
    .ggac-modal-content.ggac-bundle-modal {
        width: 96% !important;
        max-width: none !important;
        height: 96dvh !important;
        max-height: 96dvh !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    
    .ggac-modal-content.ggac-bundle-modal .ggac-modal-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        overflow: hidden;
    }
    
    .ggac-modal-content.ggac-bundle-modal .ggac-modal-product-wrap {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }
    
    .ggac-modal-content.ggac-bundle-modal .ggac-modal-form.ggac-bundle-form {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }
    
    /* Keep horizontal layout - image and info side-by-side */
    .ggac-modal-header {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 15px;
        gap: 12px;
    }
    
    /* Smaller image on mobile to leave room for info */
    .ggac-modal-product-image {
        flex: 0 0 100px;
        width: 100px;
    }
    
    .ggac-modal-product-info {
        align-items: flex-start;
        flex: 1;
        min-width: 0;
    }
    
    .ggac-modal-product-title {
        font-size: 17px;
    }
    
    .ggac-modal-product-price {
        justify-content: flex-start;
        font-size: 15px;
    }
    
    .ggac-modal-product-original-price {
        font-size: 13px;
    }

    .ggac-modal-bundle-discount-row {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        margin-top: 4px;
    }

    .ggac-modal-bundle-discount-row .ggac-modal-bundle-discount-value {
        font-size: 14px;
        padding: 3px 10px;
        order: 0;
    }

    .ggac-modal-bundle-discount-row .ggac-modal-bundle-discount-label {
        font-size: 12px;
        order: -1;
    }
    
    .ggac-modal-rating .ggac-star {
        font-size: 15px;
    }
    
    .ggac-modal-rating .ggac-rating-count {
        font-size: 11px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .ggac-modal-product-image {
        flex: 0 0 100px;
        width: 100px;
    }
    
    .ggac-modal-product-title {
        font-size: 15px;
    }
    
    .ggac-modal-product-price {
        font-size: 14px;
    }

    .ggac-modal-product-price .woocommerce-price-suffix {
        flex-basis: 100%;
        margin-top: 2px;
    }

    .ggac-modal-bundle-discount-row .ggac-modal-bundle-discount-value {
        font-size: 13px;
        padding: 3px 8px;
    }

    .ggac-modal-bundle-discount-row .ggac-modal-bundle-discount-label {
        font-size: 11px;
    }
}

/* ==========================================================================
   Inline Flavor Cards (matches product strip style)
   ========================================================================== */

.ggac-flavor-cards-row {
    border-bottom: none !important;
    padding: 10px 15px 0 15px;
}

.ggac-flavor-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    row-gap: 3px;
}

.ggac-flavor-card {
    display: flex;
    align-items: center;
    flex-direction: row;
    width: auto;
    min-height: 50px;
    padding: 0;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 0 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.1 !important;
}

.ggac-flavor-card:hover {
    border-color: #999;
}

.ggac-flavor-card.selected {
    border-color: #000;
    background: #fff;
}

.ggac-flavor-card-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    flex-shrink: 0;
    border: none;
    border-right: 2px solid #e0e0e0;
}

.ggac-flavor-card.selected .ggac-flavor-card-img {
    border-right-color: #000;
}

.ggac-flavor-card-placeholder {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    flex-shrink: 0;
    border-right: 2px solid #e0e0e0;
}

.ggac-flavor-card.selected .ggac-flavor-card-placeholder {
    border-right-color: #000;
}

.ggac-flavor-card-name {
    padding: 0 14px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.ggac-flavor-card.selected .ggac-flavor-card-name {
    color: #000;
    font-weight: 400;
}

/* ==========================================================================
   Flavor Picker Modal (legacy - kept for backwards compat)
   ========================================================================== */

/* Flavor picker trigger button */
.ggac-flavor-row {
    border-bottom: none !important;
    padding: 15px 15px 0 15px;
    font-size: 17px;
}

.ggac-flavor-picker-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 60px;
    gap: 4px;
    row-gap: 3px;
    border: 2px solid #000;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0;
    overflow: hidden;
}

.ggac-flavor-picker-trigger:hover {
    background: #f9f9f9;
}

.ggac-flavor-picker-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
    border: none;
    border-right: 2px solid #000;
}

.ggac-flavor-picker-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    text-transform: uppercase;
}

.ggac-flavor-picker-placeholder {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    text-transform: uppercase;
}

/* Flavor modal overlay */
.ggac-flavor-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ggac-flavor-modal.active {
    display: flex;
}

.ggac-flavor-modal-content {
    background: #fff;
    width: 100%;
    max-width: 400px;
    max-height: 80dvh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.ggac-flavor-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.ggac-flavor-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.ggac-flavor-modal-close {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #000 !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
    line-height: 1 !important;
}

.ggac-flavor-modal-close:hover {
    background: #333 !important;
}

.ggac-flavor-modal-close svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    stroke: #fff !important;
    fill: none !important;
}

.ggac-flavor-modal-close svg line {
    stroke: #fff !important;
}

.ggac-flavor-modal-body {
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
}

/* Flavor option cards */
.ggac-flavor-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 70px;
    padding: 0 20px 0 0;
    background: #fff;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 15px;
    text-align: left;
}

.ggac-flavor-option:last-child {
    border-bottom: none;
}

.ggac-flavor-option:hover {
    background: #f5f5f5;
}

.ggac-flavor-option.selected {
    background: #f0f0f0;
}

.ggac-flavor-option-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    flex-shrink: 0;
}

.ggac-flavor-option-placeholder {
    width: 70px;
    height: 70px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.ggac-flavor-option-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
}

.ggac-flavor-option.selected .ggac-flavor-option-name {
    font-weight: 600;
}

/* ==========================================================================
   Tag Page Banner
   ========================================================================== */

.ggac-tag-banner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 24px auto;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.ggac-tag-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.ggac-tag-banner-title {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
}

/* Mobile adjustments */
@media (max-width: 849px) {
    .ggac-tag-banner {
        margin-bottom: 16px;
        padding: 0;
        max-width: 100%;
    }
    
    .ggac-tag-banner-title {
        left: 20px;
        font-size: 28px;
    }
}

/* ==========================================================================
   Bundle Products in Modal
   ========================================================================== */

.ggac-bundle-items {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: 8px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.ggac-modal-content.ggac-bundle-modal .ggac-modal-form.ggac-bundle-form {
    position: relative;
}

.ggac-modal-content.ggac-bundle-modal .ggac-modal-form.ggac-bundle-form.ggac-scroll-hint-visible::after {
    content: '⌄';
    position: absolute;
    left: 50%;
    bottom: 200px;
    transform: translate(-50%, 50%);
    display: block;
    width: 26px;
    height: 26px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    color: #000;
    pointer-events: none;
    z-index: 12;
    animation: ggac-chevron-bounce 1.15s ease-in-out infinite;
}

.ggac-modal-content:not(.ggac-bundle-modal) .ggac-modal-form.ggac-scroll-hint-visible::after {
    content: '⌄';
    position: sticky;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: block;
    width: 26px;
    height: 26px;
    margin: 4px auto 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    color: #000;
    pointer-events: none;
    z-index: 6;
    animation: ggac-chevron-bounce 1.15s ease-in-out infinite;
}

@keyframes ggac-chevron-bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.9;
    }
    50% {
        transform: translateX(-50%) translateY(3px);
        opacity: 1;
    }
}

.ggac-bundle-item {
    display: block;
    padding: 16px;
    margin-bottom: 0;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ggac-bundle-item:last-child {
    margin-bottom: 0;
}

.ggac-bundle-item.ggac-bundle-incomplete {
    border-color: #ff9800;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.1);
}

/* Bundle Item Header: Thumbnail + Info */
.ggac-bundle-item-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.ggac-bundle-item-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.ggac-bundle-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ggac-bundle-item-info {
    flex: 1;
    min-width: 0;
}

.ggac-bundle-item-name {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #333;
}

.ggac-bundle-optional-badge {
    display: none;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

.ggac-bundle-item-qty-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-top: 4px;
}

.ggac-bundle-item-qty-control {
    margin-top: 6px;
}

.ggac-bundle-item-qty-control .ggac-quantity-selector.ggac-bundle-item-qty-selector {
    width: auto !important;
    min-width: 96px;
    max-width: 122px;
    height: 30px !important;
    min-height: 30px !important;
    border-width: 1px !important;
    border-radius: var(--gymgo-radius-sm, 8px) !important;
}

.ggac-bundle-item-qty-control .ggac-quantity-selector.ggac-bundle-item-qty-selector.is-disabled {
    opacity: 0.45;
}

.ggac-bundle-item-qty-control .ggac-quantity-selector.ggac-bundle-item-qty-selector .ggac-qty-btn {
    width: 28px !important;
    min-width: 28px !important;
    font-size: 18px !important;
}

.ggac-bundle-item-qty-control .ggac-quantity-selector.ggac-bundle-item-qty-selector .ggac-qty-btn.ggac-qty-minus,
.ggac-bundle-item-qty-control .ggac-quantity-selector.ggac-bundle-item-qty-selector .ggac-qty-btn.ggac-qty-plus {
    border-width: 1px !important;
}

.ggac-bundle-item-qty-control .ggac-quantity-selector.ggac-bundle-item-qty-selector .ggac-quantity-display {
    min-width: 34px;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.ggac-bundle-sticky-footer .ggac-quantity-selector {
    height: 60px !important;
    min-height: 60px !important;
}

.ggac-bundle-sticky-footer .ggac-quantity-selector .ggac-qty-btn {
    width: 60px !important;
    min-width: 60px !important;
    font-size: 24px !important;
}

.ggac-bundle-sticky-footer .ggac-quantity-selector .ggac-quantity-display {
    min-width: 50px;
    font-size: 24px;
}

.ggac-bundle-item-request-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #111;
    cursor: pointer;
    user-select: none;
}

.ggac-bundle-item-request-toggle {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #fff;
    cursor: pointer;
}

.ggac-bundle-item-request-text {
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 19px;
    letter-spacing: 1px;
    line-height: 1;
}

.ggac-bundle-item-request-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 0.7px;
    line-height: 1;
}

.ggac-bundle-item-request-qty.is-fixed {
    min-width: 58px;
}

.ggac-bundle-item-request-qty-unit {
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

.ggac-bundle-swatches[data-attribute*="tomeg"] .ggac-bundle-swatch,
.ggac-bundle-swatches[data-attribute*="weight"] .ggac-bundle-swatch {
    border: 1px solid #000 !important;
    background: #fff !important;
}

.ggac-bundle-swatches[data-attribute*="tomeg"] .ggac-bundle-swatch.selected,
.ggac-bundle-swatches[data-attribute*="weight"] .ggac-bundle-swatch.selected {
    border-color: #000 !important;
    box-shadow: inset 0 0 0 1px #000;
}

.ggac-bundle-item-qty-control .ggac-quantity-selector.ggac-bundle-item-qty-selector .ggac-quantity-unit {
    font-size: 10px;
}

/* Bundle Variation Selectors */
.ggac-bundle-item-variations {
    padding: 0;
}

.ggac-bundle-variation-row {
    margin-bottom: 10px;
}

.ggac-bundle-variation-row:last-child {
    margin-bottom: 0;
}

.ggac-bundle-attr-label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

/* Bundle Flavor Cards */
.ggac-bundle-flavor-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    row-gap: 3px;
}

.ggac-bundle-flavor-card {
    display: flex;
    align-items: center;
    flex-direction: row;
    align-items: center;
    width: auto;
    min-height: 50px;
    padding: 0;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 0 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.1 !important;
}

.ggac-bundle-flavor-card:hover {
    border-color: #999;
}

.ggac-bundle-flavor-card.selected {
    border-color: #000;
    background: #fff;
}

.ggac-bundle-flavor-card .ggac-bundle-flavor-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    flex-shrink: 0;
    border: none;
    border-right: 2px solid #e0e0e0;
    margin-bottom: 0;
}

.ggac-bundle-flavor-card.selected .ggac-bundle-flavor-img {
    border-right-color: #000;
}

.ggac-bundle-flavor-card .ggac-bundle-flavor-name {
    padding: 0 14px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

/* Bundle Swatches */
.ggac-bundle-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ggac-bundle-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    padding: 8px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: var(--gymgo-radius-sm, 8px);
    cursor: pointer;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    transition: all 0.2s ease;
}

.ggac-modal-form.ggac-bundle-form .ggac-bundle-swatches .ggac-bundle-swatch {
    min-height: 40px !important;
    padding: 8px 20px !important;
    margin: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.15 !important;
    min-width: 0 !important;
    max-width: none !important;
    border-radius: var(--gymgo-radius-sm, 8px) !important;
}

.ggac-modal-form.ggac-bundle-form .ggac-bundle-swatches .ggac-bundle-swatch > span {
    line-height: 1.15 !important;
}

.ggac-bundle-swatch:hover {
    border-color: #999;
}

.ggac-bundle-swatch.selected {
    border-color: #000;
    background: #fff;
    font-weight: 400;
}

.ggac-bundle-swatch img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

/* Bundle Discount Banner */
/* Bundle Add to Cart Button */
.ggac-bundle-add-to-cart {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px auto 20px auto !important;
    width: calc(100% - 32px) !important;
    min-width: 0 !important;
    max-width: calc(100% - 32px) !important;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    /* CTA megjelenés (gymgo-theme.css tokenek fallback) */
    background: var(--gymgo-cta-bg, #fcee0a) !important;
    color: var(--gymgo-cta-color, #000) !important;
    border: var(--gymgo-cta-border, 2px solid #000) !important;
    border-radius: var(--gymgo-cta-radius, 0) !important;
    font-family: var(--gymgo-cta-font, 'Bebas Neue', sans-serif) !important;
    font-weight: var(--gymgo-cta-weight, 400) !important;
    text-transform: var(--gymgo-cta-transform, uppercase) !important;
    cursor: pointer !important;
    transition: var(--gymgo-cta-transition, all 0.3s ease) !important;
    text-align: center !important;
}

.ggac-bundle-sticky-footer {
    position: sticky;
    bottom: 0;
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px 16px;
    background: #fff;
    border-top: 1px solid #ececec;
    border-radius: 0 0 var(--gymgo-radius-lg, 16px) var(--gymgo-radius-lg, 16px);
    margin-top: auto;
}

.ggac-modal-content.ggac-bundle-modal .ggac-bundle-sticky-footer {
    border-bottom-left-radius: var(--gymgo-radius-lg, 16px) !important;
    border-bottom-right-radius: var(--gymgo-radius-lg, 16px) !important;
}

.ggac-bundle-sticky-footer .ggac-quantity-wrap {
    padding: 0;
}

.ggac-bundle-sticky-footer .ggac-quantity-label {
    display: none !important;
}

.ggac-bundle-sticky-footer .ggac-bundle-add-to-cart {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Bundle Item Stock Warning */
.ggac-bundle-item-stock {
    font-style: italic;
}

.ggac-modal-content.ggac-bundle-modal .ggac-bundle-item-header {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
}

.ggac-modal-content.ggac-bundle-modal .ggac-bundle-item-thumb {
    display: block !important;
    flex: 0 0 70px !important;
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    overflow: hidden !important;
}

.ggac-modal-content.ggac-bundle-modal .ggac-bundle-item-thumb img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
}

.ggac-modal-content.ggac-bundle-modal .ggac-bundle-item-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.ggac-modal-content.ggac-bundle-modal .ggac-bundle-item-qty-control .ggac-quantity-selector.ggac-bundle-item-qty-selector {
    width: auto !important;
    min-width: 102px !important;
    max-width: 140px !important;
}

.ggac-modal-content.ggac-bundle-modal .ggac-bundle-flavor-cards {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    row-gap: 3px !important;
}

.ggac-modal-content.ggac-bundle-modal .ggac-bundle-flavor-card {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.ggac-modal-content.ggac-bundle-modal .ggac-bundle-flavor-card .ggac-bundle-flavor-img {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    object-fit: cover !important;
    margin: 0 !important;
}
