/**
 * MakHome Furniture Catalog - Frontend Styles
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* === Font === */
.fc-container,
.fc-off-canvas,
.fc-floating-price-sheet,
.fc-cart-notice {
    font-family: 'Montserrat', sans-serif;
}

/* === Layout === */
.fc-container {
    max-width: none;
    margin: 0 auto;
    padding: 0 36px;
}

.fc-catalog-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 900px) {
    .fc-catalog-wrapper {
        grid-template-columns: 1fr;
    }

    .fc-filter-sidebar {
        display: none;
    }

    .fc-filter-sidebar.mobile-open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        overflow-y: auto;
        border-radius: 0;
    }
}

.fc-page-header {
    text-align: center;
    margin: 40px 0;
}

.fc-page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

/* === Catalog Grid === */
.fc-catalog {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.fc-catalog[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.fc-catalog[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.fc-catalog[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.fc-catalog.fc-loading {
    position: relative;
    min-height: 200px;
}

.fc-catalog.fc-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #ddd;
    border-top-color: #000;
    border-radius: 50%;
    animation: fc-spin 0.8s linear infinite;
}

@keyframes fc-spin {
    to { transform: rotate(360deg); }
}

.fc-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.fc-no-products,
.fc-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 0;
}

.fc-no-products h3,
.fc-no-results h3 {
    font-size: 24px;
    margin: 0 0 10px;
}

@media (max-width: 1024px) {
    .fc-catalog[data-columns="4"],
    .fc-catalog[data-columns="3"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .fc-catalog[data-columns="4"],
    .fc-catalog[data-columns="3"],
    .fc-catalog[data-columns="2"] {
        grid-template-columns: 1fr;
    }
}

/* === Product Card === */
.fc-product-card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.fc-product-card:hover {
    box-shadow: none;
    transform: none;
}

.fc-product-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 14px;
}

.fc-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fc-product-card:hover .fc-product-card__image img {
    transform: scale(1.05);
}

.fc-product-card__content {
    padding: 0 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fc-product-card__collection {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 4px;
}

.fc-product-card__collection a {
    color: inherit;
    text-decoration: none;
}

.fc-product-card__collection a:hover {
    color: #000;
}

.fc-product-card__title {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 4px;
    line-height: 1.3;
}

.fc-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.fc-product-card__title a:hover {
    color: #000;
}

.fc-product-card__prices {
    margin-top: auto;
}

.fc-product-card__price {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.fc-product-card__price.sale {
    color: #e74c3c;
}

.fc-product-card__price.regular {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

/* Bundle Badge */
.fc-product-card__bundle-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0;
}

/* Product Card Colors */
.fc-product-card__colors {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.fc-product-card__color-swatches {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.fc-product-card__color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.fc-product-card__color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-product-card__color-circle {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.fc-product-card__color-more {
    font-size: 11px;
    color: #666;
    margin-left: 2px;
}

.fc-product-card__color-label {
    font-size: 12px;
    color: #666;
}

/* Bundle card enhancements */
.fc-product-card--bundle {
    background: #fff;
}

.fc-product-card--bundle .fc-product-card__image {
    background: #f5f5f5;
}

.fc-product-card__savings {
    color: #27ae60;
    font-size: 14px;
    margin-top: 5px;
}

/* === Pagination === */
.fc-pagination-wrapper {
    margin: 40px 0;
}

.fc-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.fc-pagination a,
.fc-pagination span {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.fc-pagination a:hover {
    background: #f5f5f5;
}

.fc-pagination .current {
    background: #000;
    color: #fff;
    border-color: #000;
}

.fc-pagination__dots {
    border: none;
    padding: 10px 5px;
}

/* === Filter Sidebar === */
.fc-filter-sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 0;
    position: sticky;
    top: 20px;
}

.fc-filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.fc-filter-group:last-child {
    border-bottom: none;
}

.fc-filter-group__title {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-filter-group__count {
    font-size: 12px;
    color: #000;
    font-weight: 500;
}

.fc-filter-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 4px 0;
}

.fc-filter-checkboxes input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.fc-filter-checkboxes span {
    color: #999;
    font-size: 13px;
}

.fc-filter-price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fc-filter-price-range input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
}

.fc-filter-price-range span {
    color: #999;
}

.fc-filter-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fc-filter-color-swatch {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.fc-filter-color-swatch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.fc-color-circle {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.fc-filter-color-swatch:hover .fc-color-circle {
    transform: scale(1.15);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.15);
}

.fc-filter-color-swatch input:checked + .fc-color-circle {
    border-color: #000;
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #000;
}

.fc-filter-color-swatch input:checked + .fc-color-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.fc-filter-color-swatch .fc-color-name {
    font-size: 11px;
    color: #666;
    text-align: center;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fc-filter-color-swatch input:checked ~ .fc-color-name {
    color: #000;
    font-weight: 500;
}

/* Image-based color swatches */
.fc-color-circle--image {
    background-position: center;
    background-repeat: no-repeat;
}

/* Color filter group enhancement */
.fc-filter-group--colors {
    padding-bottom: 20px;
}

/* Responsive color filter */
@media (max-width: 900px) {
    .fc-filter-colors {
        gap: 16px;
    }
    
    .fc-color-circle {
        width: 44px;
        height: 44px;
    }
    
    .fc-filter-color-swatch .fc-color-name {
        font-size: 12px;
        max-width: 70px;
    }
}

.fc-filter-clear,
.fc-filter-group-clear {
    display: inline-block;
    color: #000;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

.fc-filter-clear:hover,
.fc-filter-group-clear:hover {
    text-decoration: underline;
}

/* === Single Product Page === */
.fc-single-product {
    padding: 0;
    background: #fff;
}

.fc-product-hero {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    margin-bottom: 60px;
    align-items: start;
}

/* Show/hide helpers for responsive */
.fc-hide-desktop { display: none; }
.fc-hide-mobile { }

@media (max-width: 900px) {
    .fc-product-hero {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .fc-container {
        padding: 0;
    }

    .fc-single-product {
        padding: 0 0 40px;
        background: #fff;
    }

    .fc-hide-desktop { display: block; }
    .fc-hide-mobile { display: none !important; }

    /* Mobile header above gallery */
    .fc-mobile-product-header {
        padding: 16px;
    }

    /* Gallery carousel on mobile */
    .fc-product-gallery {
        margin: 0;
    }

    .fc-product-gallery__carousel {
        position: relative;
        overflow: hidden;
    }

    .fc-product-gallery__carousel-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .fc-product-gallery__carousel-track::-webkit-scrollbar {
        display: none;
    }

    .fc-product-gallery__carousel-slide {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .fc-product-gallery__carousel-slide img,
    .fc-product-gallery__carousel-slide video {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    /* Product details — no sticky on mobile */
    .fc-product-details {
        position: static;
        padding: 0 16px;
        min-width: 0;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .fc-product-price {
        font-size: 24px;
        padding-top: 0;
    }

    /* --- Configurator heading --- */
    .fc-configurator-heading {
        display: block;
        font-size: 16px;
        font-weight: 500;
        margin: 28px 0 14px;
        padding: 0;
        color: #333;
    }

    /* --- Attribute Cards — exact 3-column row, compact --- */
    .fc-attribute-cards {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 20px;
    }

    /* --- Hide ALL inline attribute options on mobile --- */
    .fc-product-configurator .fc-attribute-configurator {
        display: none !important;
        margin-bottom: 0;
        padding: 16px 0;
        border-bottom: 1px solid #eee;
    }

    .fc-product-configurator .fc-attribute-configurator.fc-attr-expanded {
        display: block !important;
    }

    /* --- Selection Summary (mobile) --- */
    .fc-selection-summary {
        display: block;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #eee;
    }

    /* --- Price block mobile --- */
    .fc-price-block {
        padding-top: 16px;
        margin-bottom: 6px;
    }

    .fc-price-block__label {
        font-size: 12px;
    }

    /* --- Add to cart mobile — rounded, full width --- */
    .fc-product-actions .fc-add-to-cart,
    .fc-product-actions .fc-bundle-add-to-cart {
        width: 100%;
        border-radius: 0px;
        padding: 16px 24px;
        font-size: 15px;
    }

    /* Off-canvas full width on mobile */
    .fc-off-canvas {
        width: 100%;
        min-width: 0;
    }

    .fc-off-canvas__content {
        padding: 16px;
    }

    .fc-off-canvas__header {
        padding: 16px;
    }

    .fc-off-canvas__title {
        font-size: 16px;
    }

    .fc-off-canvas__footer {
        padding: 16px;
    }

    /* Bundle section mobile overrides moved AFTER base styles (end of file) */

    /* Swatch options — smaller on mobile */
    .fc-swatch-options {
        gap: 8px;
    }

    .fc-swatch-option {
        width: 34px;
        height: 34px;
    }

    /* Button options — wrap and fit */
    .fc-button-options {
        flex-wrap: wrap;
        gap: 6px;
    }

    .fc-button-option {
        font-size: 12px;
        padding: 7px 10px;
    }

    /* Image options — smaller on mobile */
    .fc-image-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .fc-image-option img {
        height: 60px;
    }

    .fc-image-option span {
        font-size: 11px;
        padding: 5px 4px;
    }

    /* Section product cards — compact in drawer */
    .fc-section-product-card {
        padding: 10px;
        gap: 10px;
    }

    .fc-section-product-card__image {
        width: 48px;
        height: 48px;
    }

    .fc-section-product-card__title {
        font-size: 13px;
    }

    .fc-section-product-card__price {
        font-size: 13px;
    }

    .fc-section-product-card__check {
        width: 20px;
        height: 20px;
    }

    .fc-section-product-config__title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    /* Accordion */
    .fc-accordion {
        margin-top: 24px;
        padding-top: 16px;
    }

    /* Delivery info */
    .fc-delivery-info {
        font-size: 13px;
    }

    /* Related products section */
    .fc-related-products {
        margin-top: 40px;
    }

    .fc-related-products h2 {
        font-size: 18px;
    }

    /* Floating price sheet mobile fix */
    .fc-floating-price-sheet {
        max-height: 45vh;
    }

    /* Prevent overflow on mobile */
    .fc-single-product {
        overflow-x: hidden;
    }

    .fc-bundle-items h2 {
        font-size: 16px;
    }

    .fc-product-configurator {
        margin-bottom: 16px;
    }

    /* Linked product info wrap */
    .fc-linked-product-info {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.fc-product-gallery {
    position: relative;
}

.fc-product-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    max-height: 300vh;
    overflow: hidden;
    position: relative;
}

.fc-product-gallery__grid.fc-gallery-expanded {
    max-height: none;
}

.fc-gallery-show-all {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 0 24px;
    margin: 0;
    background: linear-gradient(to bottom, rgba(244,244,244,0) 0%, rgba(244,244,244,0.85) 40%, rgba(244,244,244,1) 100%);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    z-index: 2;
    transition: color 0.2s;
}

.fc-gallery-show-all:hover {
    color: #000;
}

.fc-gallery-show-all.fc-visible {
    display: block;
}

.fc-product-gallery__grid-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.fc-product-details {
    padding: 5% 10%;
    position: sticky;
    top: 20px;
    align-self: start;
}

.fc-product-collection-badge {
    display: inline-block;
    margin-bottom: 15px;
}

.fc-product-collection-badge a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #fff;
    border-radius: 0;
    font-size: 13px;
    color: #000000;
    text-decoration: none;
    border: 1px solid #00000015;
}

.fc-product-collection-badge a:hover {
    background: #eee;
}

.fc-product-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px;
}

.fc-product-excerpt {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px;
}

.fc-product-price {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.fc-product-price-vat {
    font-size: 12px;
    color: #888;
    margin: 0 0 30px;
}

/* === Price Block === */
.fc-price-block {
    padding-top: 20px;
    margin-bottom: 10px;
    border-top: 1px solid #eee;
}

.fc-price-block__label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.fc-price-block__from {
    font-size: 15px;
    color: #666;
    margin-top: 2px;
}

/* === Mobile Product Header (above gallery) === */
.fc-mobile-product-header {
    padding: 0 16px 12px;
}

.fc-mobile-product-header .fc-product-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
}

.fc-mobile-product-header .fc-product-excerpt {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* === Gallery Counter Navigation (mobile carousel) === */
.fc-product-gallery__carousel-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 0;
}

.fc-gallery-counter {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    min-width: 40px;
}

.fc-gallery-nav-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 0;
    transition: border-color 0.2s ease;
}

.fc-gallery-nav-btn:hover {
    border-color: #000;
}

/* === Configurator Heading === */
.fc-configurator-heading {
    display: none;
}

/* === Attribute Cards (mobile only — hidden on desktop) === */
.fc-attribute-cards {
    display: none;
}

.fc-attribute-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease;
    text-align: left;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
}

.fc-attribute-card:active,
.fc-attribute-card.active {
    border-color: #000;
}

.fc-attribute-card.has-selection {
    border-color: #aaa;
}

.fc-attribute-card__icon {
    color: #333;
    flex-shrink: 0;
    line-height: 0;
}

.fc-attribute-card__icon svg {
    width: 22px;
    height: 22px;
}

.fc-attribute-card__label {
    font-size: 12px;
    font-weight: 400;
    color: #333;
    line-height: 1.3;
    word-break: break-word;
}

/* === Selection Summary === */
.fc-selection-summary {
    display: none;
}

.fc-selection-summary__row {
    display: flex;
    gap: 6px;
    padding: 4px 0;
    font-size: 14px;
    line-height: 1.4;
}

.fc-selection-summary__label {
    color: #888;
    flex-shrink: 0;
}

.fc-selection-summary__value {
    font-weight: 600;
    color: #000;
}

/* === Product Configurator === */
/* Material Selector */
.fc-material-selector {
    margin-bottom: 25px;
}

.fc-material-selector__label {
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    font-size: 15px;
}

.fc-material-selector__label .required {
    color: #e74c3c;
}

/* Category accordion */
.fc-material-categories {
    border: 1px solid #e5e5e5;
}

.fc-material-category {
    border-bottom: 1px solid #e5e5e5;
}

.fc-material-category:last-child {
    border-bottom: none;
}

.fc-material-category__header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    transition: background 0.2s ease;
    gap: 8px;
}

.fc-material-category__header:hover {
    background: #fafafa;
}

.fc-material-category__name {
    flex: 0 0 auto;
}

.fc-material-category__selected-name {
    flex: 1 1 auto;
    text-align: right;
    font-weight: 400;
    font-size: 13px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fc-material-category.has-selection .fc-material-category__selected-name {
    color: #000;
    font-weight: 500;
}

.fc-material-category__arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.fc-material-category.is-open .fc-material-category__arrow {
    transform: rotate(180deg);
}

.fc-material-category__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 16px;
}

.fc-material-category.is-open .fc-material-category__body {
    max-height: 500px;
    padding: 0 16px 16px;
}

/* Material option buttons (shared by flat + category) */
.fc-material-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
}

.fc-material-option {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    box-sizing: border-box;
    max-width: 100%;
    word-break: break-word;
}

.fc-material-option:hover {
    border-color: #000;
    background: #fafafa;
}

.fc-material-option.selected {
    background: #000;
    color: #fff;
    border-color: #000;
}

.fc-product-configurator {
    margin-bottom: 25px;
}

.fc-attribute-configurator {
    margin-bottom: 25px;
}

.fc-attribute-configurator__label {
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    font-size: 15px;
}

.fc-attribute-configurator__label .required {
    color: #e74c3c;
}

/* Dropdown Style */
.fc-attribute-configurator--dropdown select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
}

.fc-attribute-configurator--dropdown select:focus {
    outline: none;
    border-color: #000;
}

/* Swatch Style */
.fc-swatch-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 100%;
}

.fc-swatch-option {
    width: 42px;
    height: 42px;
    border-radius: 0;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
}

.fc-swatch-option:hover {
    transform: scale(1.1);
    border-color: #999;
}

.fc-swatch-option.selected {
    border-color: #333;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

/* Button Style */
.fc-button-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
}

.fc-button-option {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    position: relative;
    box-sizing: border-box;
    max-width: 100%;
    word-break: break-word;
}

.fc-button-option:hover {
    border-color: #000;
    background: #fafafa;
}

.fc-button-option.selected {
    background: #000;
    color: #fff;
    border-color: #000;
}

.fc-button-option.selected .fc-linked-product-hint {
    color: rgba(255, 255, 255, 0.9);
}

/* Image Style */
.fc-image-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
}

.fc-image-option {
    border: 2px solid transparent;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 0;
}

.fc-image-option:hover {
    border-color: #ddd;
}

.fc-image-option.selected {
    border-color: #000;
}

.fc-image-option img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.fc-image-option span {
    display: block;
    padding: 8px;
    font-size: 13px;
    text-align: center;
    background: #f9f9f9;
}

/* === Linked Products === */
.fc-linked-product-indicator {
    margin: 20px 0;
    padding: 12px 16px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fc-linked-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #4caf50;
    color: #fff;
    padding: 4px 10px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
}

.fc-linked-product-info {
    margin: 20px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 0;
    border-left: 3px solid #000;
}

.fc-linked-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.fc-linked-product-label {
    color: #666;
    font-size: 13px;
}

.fc-linked-product-title {
    font-weight: 500;
    color: #333;
}

.fc-linked-product-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #000;
    font-weight: 500;
}

/* === Product Actions === */
.fc-product-actions {
    margin-top: 30px;
}

.fc-add-to-cart {
    width: 100%;
    padding: 16px 30px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fc-add-to-cart:hover {
    background: #222;
}

.fc-add-to-cart:disabled,
.fc-bundle-add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.fc-add-to-cart.loading {
    position: relative;
    color: transparent;
}

.fc-add-to-cart.loading svg {
    visibility: hidden;
}

.fc-add-to-cart.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: fc-spin 0.8s linear infinite;
}

/* === Bundle Add-to-Cart Button === */
.fc-bundle-add-to-cart {
    width: 100%;
    padding: 16px 30px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fc-bundle-add-to-cart:hover:not(:disabled) {
    background: #222;
}

.fc-bundle-add-to-cart.loading {
    position: relative;
    color: transparent;
}

.fc-bundle-add-to-cart.loading svg {
    visibility: hidden;
}

.fc-bundle-add-to-cart.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: fc-spin 0.8s linear infinite;
}

/* === Delivery Info === */
.fc-delivery-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

.fc-delivery-info svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #000;
}

/* === Accordion === */
.fc-accordion {
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #0000000f;
    margin-top: 40px;
    padding-top: 20px;
}

.fc-accordion__toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fc-accordion__toggle:hover {
    color: #000;
}

.fc-accordion__icon {
    font-size: 18px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.fc-accordion.open .fc-accordion__icon {
    transform: rotate(45deg);
}

.fc-accordion__content {
    display: none;
    padding: 0 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.fc-accordion__content p {
    margin: 0 0 10px;
}

.fc-accordion__content p:last-child {
    margin-bottom: 0;
}

/* === Info Buttons (Description / Dimensions triggers) === */
.fc-info-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.fc-info-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    transition: color 0.2s;
}

.fc-info-btn:hover {
    color: #000;
}

.fc-info-btn svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.fc-info-btn span {
    flex: 1;
}

.fc-info-btn__arrow {
    font-size: 22px;
    font-weight: 300;
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s;
}

.fc-info-btn:hover .fc-info-btn__arrow {
    opacity: 0.8;
    transform: translateX(2px);
}

/* === Info Drawer (off-canvas for description/dimensions) === */
.fc-info-drawer__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.fc-info-drawer__overlay.open {
    opacity: 1;
    visibility: visible;
}

.fc-info-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 33.33vw;
    min-width: 380px;
    max-width: 560px;
    height: 100%;
    background: #fff;
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.fc-info-drawer.open {
    transform: translateX(0);
}

.fc-info-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.fc-info-drawer__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #222;
}

.fc-info-drawer__close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.fc-info-drawer__close:hover {
    background: #f0f0f0;
    color: #333;
}

.fc-info-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.fc-info-drawer__body p {
    margin: 0 0 12px;
}

.fc-info-drawer__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .fc-info-drawer {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
}

/* === Bundle Items === */
.fc-bundle-items {
    margin: 30px 0 0;
}

.fc-bundle-items h2 {
    font-size: 18px;
    margin: 0 0 30px;
    border-top: 1px solid #0000000f;
    padding-top: 40px;
}

.fc-bundle-items-list {
    display: grid;
    gap: 20px;
}

.fc-bundle-item-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 0;
    border: 1px solid #eee;
}

.fc-bundle-item-card__image {
    width: 80px;
    height: 80px;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

.fc-bundle-item-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-bundle-item-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px;
}

.fc-bundle-item-card__quantity {
    color: #000;
    font-weight: 500;
}

.fc-bundle-item-card__price {
    color: #666;
    font-size: 14px;
}

.fc-bundle-item-options {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fc-bundle-item-options:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

@media (max-width: 600px) {
    .fc-bundle-item-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fc-bundle-item-card__image {
        margin: 0 auto;
    }
}

/* === Related Products Carousel === */
.fc-related-products {
    margin: 40px 0;
    overflow: hidden;
}

.fc-related-products__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.fc-related-products__header h2 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.fc-related-products a {
    color: inherit;
}

.fc-carousel-nav {
    display: flex;
    gap: 6px;
}

.fc-carousel-nav__btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    color: #333;
}

.fc-carousel-nav__btn:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.fc-related-products__scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fc-related-products__scroll::-webkit-scrollbar {
    display: none;
}

.fc-related-products__scroll > * {
    flex: 0 0 calc(20% - 12px);
    min-width: 0;
    scroll-snap-align: start;
}

@media (max-width: 1024px) {
    .fc-related-products__scroll > * {
        flex: 0 0 calc(25% - 11px);
    }
}

@media (max-width: 768px) {
    .fc-related-products__scroll > * {
        flex: 0 0 calc(33.333% - 10px);
    }
}

@media (max-width: 480px) {
    .fc-related-products__scroll > * {
        flex: 0 0 45%;
    }
}

/* === Related Products — Compact Cards === */
.fc-related-products .fc-product-card {
    border: none;
    background: transparent;
    transition: none;
}

.fc-related-products .fc-product-card:hover {
    box-shadow: none;
    transform: none;
}

.fc-related-products .fc-product-card__image {
    aspect-ratio: 1/1;
    border-radius: 5px;
    background: #f5f5f5;
}

.fc-related-products .fc-product-card__image img {
    border-radius: 5px;
}

.fc-related-products .fc-product-card:hover .fc-product-card__image img {
    transform: scale(1.03);
}

.fc-related-products .fc-product-card__content {
    padding: 10px 0 0;
}

.fc-related-products .fc-product-card__collection {
    font-size: 11px;
    margin-bottom: 2px;
}

.fc-related-products .fc-product-card__title {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 4px;
    line-height: 1.3;
}

.fc-related-products .fc-product-card__price {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.fc-related-products .fc-product-card__bundle-badge {
    top: 6px;
    right: 6px;
    padding: 3px 7px;
    font-size: 10px;
    border-radius: 3px;
}

.fc-related-products .fc-product-card__savings {
    font-size: 12px;
}

/* === Floating Price Sheet === */
.fc-floating-price-sheet {
    display: none !important;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 400px;
    max-height: 80vh;
    background: #fff;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.fc-floating-price-sheet.collapsed {
    max-height: 60px;
}

.fc-floating-price-sheet__header {
    padding: 15px 20px;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-floating-price-sheet__title {
    font-weight: 600;
    font-size: 16px;
}

.fc-floating-price-sheet__toggle {
    cursor: pointer;
    user-select: none;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.fc-floating-price-sheet__toggle:hover {
    opacity: 1;
}

.fc-floating-price-sheet__content {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
    max-height: calc(80vh - 180px);
}

.fc-floating-price-sheet.collapsed .fc-floating-price-sheet__content {
    display: none;
}

.fc-floating-price-sheet__item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.fc-floating-price-sheet__item-thumb {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
}

.fc-floating-price-sheet__item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-floating-price-sheet__item-info {
    flex: 1;
    min-width: 0;
}

.fc-floating-price-sheet__item-name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
}

.fc-floating-price-sheet__item-options {
    font-size: 12px;
    color: #27ae60;
}

.fc-floating-price-sheet__item-warning {
    font-size: 12px;
    color: #e74c3c;
}

.fc-floating-price-sheet__item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.fc-floating-price-sheet__change-options {
    padding: 6px 12px;
    font-size: 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-floating-price-sheet__change-options:hover {
    background: #e0e0e0;
}

.fc-floating-price-sheet__item-price {
    font-weight: 600;
    color: #333;
}

.fc-floating-price-sheet__summary {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.fc-floating-price-sheet.collapsed .fc-floating-price-sheet__summary {
    display: none;
}

.fc-floating-price-sheet__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.fc-floating-price-sheet__row.discount {
    color: #27ae60;
}

.fc-floating-price-sheet__row.total {
    font-weight: 700;
    font-size: 18px;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid #ddd;
}

.fc-floating-price-sheet__add-to-cart {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fc-floating-price-sheet__add-to-cart:hover {
    background: #222;
}

.fc-floating-price-sheet__add-to-cart.loading svg {
    visibility: hidden;
}

.fc-floating-price-sheet__add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.fc-floating-price-sheet__add-to-cart.loading {
    position: relative;
    color: transparent;
}

.fc-floating-price-sheet__add-to-cart.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: fc-spin 0.8s linear infinite;
}

@media (max-width: 768px) {
    .fc-floating-price-sheet {
        width: 100%;
        max-height: 50vh;
    }

    .fc-floating-price-sheet__content {
        max-height: calc(50vh - 140px);
    }
}

/* === Off-Canvas Drawer === */
.fc-off-canvas {
    position: fixed;
    top: 0;
    right: -110%;
    width: 33.333vw;
    min-width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fc-off-canvas.open {
    right: 0;
}

.fc-off-canvas__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fc-off-canvas__overlay.open {
    opacity: 1;
    visibility: visible;
}

.fc-off-canvas__header {
    padding: 24px 20px;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.fc-off-canvas__title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fc-off-canvas__title svg {
    flex-shrink: 0;
    color: #555;
}

.fc-off-canvas__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: background 0.2s ease;
}

.fc-off-canvas__close:hover {
    background: #e0e0e0;
}

.fc-off-canvas__content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    min-width: 0;
}

.fc-off-canvas__product-image {
    margin-bottom: 20px;
    border-radius: 0;
    overflow: hidden;
}

.fc-off-canvas__product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.fc-off-canvas__base-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f9f9f9;
    border-radius: 0;
    margin-bottom: 20px;
}

.fc-off-canvas__base-price .fc-label {
    font-size: 13px;
    color: #666;
}

.fc-off-canvas__base-price .fc-value {
    font-weight: 600;
    color: #333;
}

.fc-off-canvas__price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 0;
    margin-top: 20px;
}

.fc-off-canvas__price-section .fc-label {
    font-weight: 500;
}

.fc-off-canvas__price-section .fc-price-display {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.fc-off-canvas__footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.fc-off-canvas__footer .button,
.fc-off-canvas__save {
    width: 100%;
    display: block;
}

/* === Off-Canvas Summary === */
.fc-off-canvas__summary {
    border-top: 1px solid #e0e0e0;
    padding: 16px 20px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.fc-off-canvas__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-off-canvas__summary-label {
    color: #666;
}

.fc-off-canvas__summary-value {
    font-weight: 600;
    color: #000;
}

.fc-loading,
.fc-error {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.fc-error {
    color: #e74c3c;
}

.fc-no-options {
    text-align: center;
    color: #999;
    padding: 20px;
}

/* === Cart Notice === */
.fc-cart-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 20px;
    background: #333;
    color: #fff;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
}

.fc-cart-notice.show {
    transform: translateY(0);
    opacity: 1;
}

.fc-cart-notice--success {
    background: #27ae60;
}

.fc-cart-notice--error {
    background: #e74c3c;
}

.fc-notice-icon {
    font-size: 18px;
}

.fc-notice-message {
    flex: 1;
    font-size: 14px;
}

@media (max-width: 480px) {
    .fc-cart-notice {
        right: 10px;
        left: 10px;
        bottom: 10px;
        max-width: none;
    }
}

/* === Collections Archive Page === */
.fc-collections-archive {
    background: #f4f4f4;
    padding-bottom: 80px;
}

.fc-collections-header {
    text-align: center;
    padding: 60px 0 40px;
}

.fc-collections-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.fc-collections-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.fc-collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.fc-collection-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.fc-collection-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.fc-collection-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
}

.fc-collection-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fc-collection-card:hover .fc-collection-card__image img {
    transform: scale(1.04);
}

.fc-collection-card__placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}

.fc-collection-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fc-collection-card__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}

.fc-collection-card__excerpt {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px;
    line-height: 1.6;
}

.fc-collection-card__footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-collection-card__count {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fc-collection-card__arrow {
    font-size: 20px;
    color: #000;
    transition: transform 0.2s ease;
}

.fc-collection-card:hover .fc-collection-card__arrow {
    transform: translateX(4px);
}

.fc-no-collections {
    text-align: center;
    color: #999;
    padding: 60px 0;
    font-size: 16px;
}

@media (max-width: 768px) {
    .fc-collections-grid {
        grid-template-columns: 1fr;
    }
}

/* === Single Collection Page === */
.fc-single-collection {
    background: #f4f4f4;
    padding-bottom: 80px;
}

.fc-collection-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    text-align: center;
    margin-bottom: 0;
}

.fc-collection-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.fc-collection-hero__inner {
    position: relative;
    z-index: 1;
    padding: 60px 36px;
    max-width: 700px;
}

.fc-collection-hero__title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
    letter-spacing: -0.5px;
}

.fc-collection-hero__description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px;
    line-height: 1.7;
}

.fc-collection-hero__meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fc-collection-hero__sep {
    color: rgba(255, 255, 255, 0.3);
}

.fc-collection-about {
    max-width: 720px;
    margin: 48px auto 0;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.fc-collection-about p {
    margin: 0 0 16px;
}

.fc-collection-section {
    margin-top: 56px;
}

.fc-collection-section__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #0000000f;
    letter-spacing: -0.3px;
}

.fc-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fc-collection-grid--bundles {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
    .fc-collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .fc-collection-grid--bundles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .fc-collection-hero {
        min-height: 300px;
    }
    .fc-collection-hero__title {
        font-size: 36px;
    }
    .fc-collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fc-collection-grid--bundles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .fc-collection-hero {
        min-height: 250px;
    }
    .fc-collection-hero__title {
        font-size: 28px;
    }
    .fc-collection-grid,
    .fc-collection-grid--bundles {
        grid-template-columns: 1fr;
    }
}

/* === Bundle Selector Section === */
.fc-bundle-selector-section {
    background: #fff;
    padding: 48px 0 60px;
    border-bottom: 1px solid #eee;
}

.fc-bundle-selector__header {
    text-align: center;
    margin-bottom: 32px;
}

.fc-bundle-selector__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #000;
}

.fc-bundle-selector__subtitle {
    font-size: 15px;
    color: #888;
    margin: 0;
}

/* Bundle Tabs */
.fc-bundle-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.fc-bundle-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: #f8f8f8;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 140px;
}

.fc-bundle-tab:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.fc-bundle-tab.is-active {
    background: #fff;
    border-color: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.fc-bundle-tab__thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background: #e0e0e0;
}

.fc-bundle-tab__name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.fc-bundle-tab__price {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.fc-bundle-tab.is-active .fc-bundle-tab__name {
    color: #000;
}

/* Bundle Colors Display */
.fc-bundle-colors-display {
    position: relative;
    min-height: 200px;
}

.fc-bundle-colors-panel {
    display: none;
    animation: fc-fade-in 0.3s ease;
}

.fc-bundle-colors-panel.is-active {
    display: block;
}

@keyframes fc-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fc-bundle-colors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 32px;
    margin-bottom: 40px;
}

.fc-bundle-color-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
    padding: 12px;
    border-radius: 12px;
}

.fc-bundle-color-card:hover {
    transform: translateY(-4px);
    background: #f8f8f8;
}

.fc-bundle-color-card__swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff;
    transition: box-shadow 0.2s ease;
}

.fc-bundle-color-card:hover .fc-bundle-color-card__swatch {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.fc-bundle-color-card__swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-bundle-color-card__circle {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.fc-bundle-color-card__name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: center;
}

.fc-bundle-colors-empty {
    text-align: center;
    color: #888;
    font-size: 15px;
    padding: 40px;
}

.fc-bundle-colors-actions {
    text-align: center;
}

.fc-bundle-colors-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.fc-bundle-colors-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.fc-bundle-colors-btn svg {
    transition: transform 0.2s ease;
}

.fc-bundle-colors-btn:hover svg {
    transform: translateX(3px);
}

/* Responsive Bundle Selector */
@media (max-width: 900px) {
    .fc-bundle-selector-section {
        padding: 36px 0 48px;
    }

    .fc-bundle-selector__title {
        font-size: 20px;
    }

    .fc-bundle-tabs {
        gap: 10px;
        margin-bottom: 32px;
    }

    .fc-bundle-tab {
        padding: 12px 18px;
        min-width: 110px;
    }

    .fc-bundle-tab__thumb {
        width: 60px;
        height: 60px;
    }

    .fc-bundle-tab__name {
        font-size: 12px;
    }

    .fc-bundle-colors-grid {
        gap: 16px 20px;
    }

    .fc-bundle-color-card {
        padding: 8px;
    }

    .fc-bundle-color-card__swatch {
        width: 64px;
        height: 64px;
    }

    .fc-bundle-color-card__name {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .fc-bundle-selector-section {
        padding: 28px 0 36px;
    }

    .fc-bundle-selector__title {
        font-size: 18px;
    }

    .fc-bundle-selector__subtitle {
        font-size: 13px;
    }

    .fc-bundle-tabs {
        gap: 8px;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .fc-bundle-tab {
        padding: 10px 14px;
        min-width: 90px;
        border-radius: 8px;
    }

    .fc-bundle-tab__thumb {
        width: 48px;
        height: 48px;
    }

    .fc-bundle-tab__name {
        font-size: 11px;
    }

    .fc-bundle-tab__price {
        font-size: 11px;
    }

    .fc-bundle-colors-grid {
        gap: 12px 16px;
        margin-bottom: 28px;
    }

    .fc-bundle-color-card {
        padding: 6px;
    }

    .fc-bundle-color-card__swatch {
        width: 56px;
        height: 56px;
        border-width: 2px;
    }

    .fc-bundle-color-card__name {
        font-size: 11px;
    }

    .fc-bundle-colors-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* === Collection Color Palette === */
.fc-collection-colors {
    background: #f8f8f8;
    padding: 48px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
}

.fc-collection-colors__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 36px;
}

.fc-collection-colors__title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin: 0 0 24px;
    text-align: center;
}

.fc-collection-colors__palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 48px;
}

.fc-collection-color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: default;
    transition: transform 0.2s ease;
}

.fc-collection-color-item:hover {
    transform: translateY(-4px);
}

.fc-collection-color-item__swatch {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid #fff;
    transition: box-shadow 0.2s ease;
}

.fc-collection-color-item:hover .fc-collection-color-item__swatch {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.fc-collection-color-item__swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-collection-color-item__circle {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.fc-collection-color-item__label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-align: center;
}

.fc-collection-color-item__count {
    font-size: 11px;
    color: #999;
    text-align: center;
}

/* Bundle section enhancements */
.fc-collection-section--bundles {
    background: #fafafa;
    margin: 0 -36px;
    padding: 48px 36px;
}

.fc-collection-section__subtitle {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #888;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 6px;
}

/* Responsive styles for color palette */
@media (max-width: 900px) {
    .fc-collection-colors {
        padding: 36px 0;
    }

    .fc-collection-colors__inner {
        padding: 0 24px;
    }

    .fc-collection-colors__palette {
        gap: 24px 32px;
    }

    .fc-collection-color-item__swatch {
        width: 56px;
        height: 56px;
    }

    .fc-collection-color-item__label {
        font-size: 12px;
    }

    .fc-collection-section--bundles {
        margin: 0 -24px;
        padding: 36px 24px;
    }
}

@media (max-width: 600px) {
    .fc-collection-colors {
        padding: 28px 0;
    }

    .fc-collection-colors__inner {
        padding: 0 16px;
    }

    .fc-collection-colors__palette {
        gap: 20px 24px;
    }

    .fc-collection-color-item__swatch {
        width: 48px;
        height: 48px;
    }

    .fc-collection-color-item__label {
        font-size: 11px;
    }

    .fc-collection-color-item__count {
        font-size: 10px;
    }

    .fc-collection-section--bundles {
        margin: 0 -16px;
        padding: 28px 16px;
    }

    .fc-collection-section__subtitle {
        font-size: 13px;
    }
}

/* === Accessibility === */
.fc-swatch-option:focus,
.fc-button-option:focus,
.fc-image-option:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* === Lightbox === */
.fc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.fc-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.fc-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transition: opacity 0.2s ease;
    user-select: none;
}

.fc-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

.fc-lightbox__close:hover {
    opacity: 1;
}

.fc-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-lightbox__nav:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.7);
}

.fc-lightbox__nav--prev {
    left: 20px;
}

.fc-lightbox__nav--next {
    right: 20px;
}

.fc-lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
}

/* === Gallery grid item hover === */
.fc-product-gallery__grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.fc-product-gallery__grid-item img {
    transition: transform 0.4s ease;
}

.fc-product-gallery__grid-item:hover img {
    transform: scale(1.02);
}

/* === Gallery video items === */
.fc-product-gallery__grid-item--video video,
.fc-product-gallery__carousel-slide--video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}

/* === Lightbox video === */
.fc-lightbox__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fc-lightbox__video {
    width: 80vw;
    max-width: 1200px;
    max-height: 85vh;
}

.fc-lightbox__video video {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    background: #000;
}

/* === Single product page wrapper === */
.fc-product-page {
    position: relative;
}

/* === Bundle Section Cards (on single product page) === */
.fc-bundle-sections-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fc-bundle-section-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    grid-template-rows: auto auto;
    gap: 1px 10px;
    align-items: center;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.fc-bundle-section-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.fc-bundle-section-card__icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 6px;
    color: #333;
}

.fc-bundle-section-card__icon svg {
    width: 18px;
    height: 18px;
}

.fc-bundle-section-card__thumbs {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    gap: 6px;
    align-items: center;
}

.fc-bundle-section-card__header {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fc-bundle-section-card__title {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.fc-bundle-section-card__hint {
    font-size: 11px;
    color: #999;
}

.fc-bundle-section-card__thumbs img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid #eee;
}

.fc-bundle-section-card__more {
    font-size: 12px;
    color: #999;
    padding: 0 6px;
}

.fc-bundle-section-card__status {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
    min-height: 16px;
}

.fc-section-status--pending {
    color: #e74c3c;
}

.fc-section-status--configured {
    color: #27ae60;
}

.fc-bundle-section-btn {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: #333;
    pointer-events: none;
}

.fc-off-canvas__save {
    width: 100%;
    padding: 14px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
}

.fc-off-canvas__save:hover {
    background: #555;
}

/* === Off-Canvas Step 1 — Product Selection === */
.fc-section-hint {
    font-size: 14px;
    color: #888;
    margin: 0 0 16px;
}

.fc-section-product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fc-section-product-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.fc-section-product-card:hover {
    border-color: #000;
}

.fc-section-product-card.selected {
    border-color: #000;
    background: #f5f5f5;
}

.fc-section-product-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.fc-section-product-card__image {
    width: 64px;
    height: 64px;
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.fc-section-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-section-product-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fc-section-product-card__title {
    font-size: 15px;
    font-weight: 500;
}

.fc-section-product-card__price {
    font-size: 14px;
    color: #000;
    font-weight: 600;
}

.fc-section-product-card__check {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 0;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.fc-section-product-card.selected .fc-section-product-card__check {
    border-color: #000;
    background: #000;
}

.fc-section-product-card.selected .fc-section-product-card__check::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

/* === Section Inline Attributes Area === */
.fc-section-attributes-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.fc-section-attributes-container:empty {
    display: none;
}

.fc-section-product-config {
    margin-bottom: 20px;
}

.fc-section-product-config__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.fc-section-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

/* === Floating Price Sheet — Section Rows === */
.fc-floating-price-sheet__section {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.fc-floating-price-sheet__section-header {
    flex: 0 0 auto;
}

.fc-floating-price-sheet__section-name {
    font-weight: 600;
    font-size: 14px;
}

.fc-floating-price-sheet__section-status {
    flex: 1;
    min-width: 0;
}

.fc-section-selected-product {
    font-size: 12px;
    color: #e74c3c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.fc-section-selected-product.fc-text-configured {
    color: #27ae60;
}

.fc-section-selected-product.fc-text-pending {
    color: #e74c3c;
}

.fc-floating-price-sheet__section-price {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

/* === Cart Section Header === */
.fc-cart-section-header {
    margin-top: 8px;
    margin-bottom: 4px;
    font-size: 13px;
    color: #555;
}

/* bundle sections grid stays 3-col on all mobile sizes */

/* --- Off-canvas drawer: compact options --- */
@media (max-width: 900px) {
    .fc-off-canvas__content .fc-swatch-option {
        width: 32px;
        height: 32px;
    }

    .fc-off-canvas__content .fc-button-option {
        font-size: 12px;
        padding: 6px 10px;
    }

    .fc-off-canvas__content .fc-image-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .fc-off-canvas__content .fc-image-option img {
        height: 56px;
    }

    .fc-off-canvas__content .fc-image-option span {
        font-size: 11px;
        padding: 4px;
    }

    .fc-off-canvas__content .fc-attribute-configurator {
        display: block !important;
        margin-bottom: 14px;
        padding: 0;
        border-bottom: none;
    }

    .fc-off-canvas__content .fc-attribute-configurator__label {
        font-size: 13px;
        margin-bottom: 8px;
    }
}

/* --- Extra-small screens (≤ 480px) --- */
@media (max-width: 480px) {
    .fc-mobile-product-header .fc-product-title {
        font-size: 24px;
    }

    .fc-attribute-cards {
        gap: 6px;
    }

    .fc-attribute-card {
        padding: 10px 12px;
        gap: 10px;
    }

    .fc-attribute-card__icon svg {
        width: 20px;
        height: 20px;
    }

    .fc-attribute-card__label {
        font-size: 11px;
    }

    .fc-product-price {
        font-size: 22px;
    }
}

/* === Mobile overrides (AFTER base styles to win cascade) === */
@media (max-width: 900px) {
    .fc-container {
        padding: 0;
    }

    .fc-mobile-product-header {
        padding: 16px;
    }

    .fc-product-details {
        padding: 0 16px;
    }

    .fc-bundle-sections-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        width: 100%;
    }

    .fc-bundle-section-card {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 12px 14px !important;
        border-radius: 8px;
    }

    .fc-bundle-section-card__icon {
        width: auto;
        height: auto;
        background: none;
        border-radius: 0;
        padding: 0;
    }

    .fc-bundle-section-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .fc-bundle-section-card__header {
        gap: 0;
    }

    .fc-bundle-section-card__title {
        font-size: 12px;
        font-weight: 400;
    }

    .fc-bundle-section-card__hint,
    .fc-bundle-section-card__status,
    .fc-bundle-section-btn,
    .fc-bundle-section-card__thumbs,
    .fc-bundle-section-card__more {
        display: none !important;
    }
}

/* --- Optional section badge --- */
.fc-bundle-section-card--optional {
    position: relative;
}

.fc-bundle-section-card__badge {
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: #888;
    padding: 2px 8px;
    border-radius: 3px;
    line-height: 1.4;
    z-index: 2;
}

.fc-section-row--optional {
    opacity: 0.5;
}

/* === Attribute Link Indicators === */
.fc-linked-auto {
    position: relative;
    border-left: 3px solid var(--fc-accent, #c8a97e);
    padding-left: 10px;
}
.fc-linked-auto::before {
    content: '\1F517';
    position: absolute;
    top: 2px;
    right: 6px;
    font-size: 11px;
    opacity: 0.5;
}
.fc-linked-locked select,
.fc-linked-locked .fc-option-button {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}
.fc-linked-locked::before {
    content: '\1F512';
}
.fc-option-hidden {
    display: none !important;
}

/* Color Option page — 4-item carousels */
.fc-color-option-page .mh-product-carousel__track .fc-product-card {
    flex: 0 0 auto;
    width: calc((100% - 60px) / 4);
    min-width: 240px;
    scroll-snap-align: start;
}

@media (max-width: 1024px) {
    .fc-color-option-page .mh-product-carousel__track .fc-product-card {
        width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .fc-color-option-page .mh-product-carousel__track .fc-product-card {
        width: calc((100% - 20px) / 2);
        min-width: 180px;
    }
}

/* Color Option — view toggle buttons */
.fc-co-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-co-view-btn:hover {
    border-color: #000;
    background: #fafafa;
}

.fc-co-view-btn.is-active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.fc-co-view-btn.is-active svg {
    stroke: #fff;
}

/* Color Option — "View All" grid */
.fc-co-all-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .fc-co-all-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .fc-co-all-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
