/* SCANDINAF Single Product Page - Light Design */

/* ============================================
   HERO SECTION
   ============================================ */
.product-hero-scandinaf {
    position: relative;
    /* Responsive hero height */
    min-height: clamp(480px, 65vh, 700px);
    background-size: cover;
    background-position: center 25%;
    display: flex;
    align-items: flex-end;
    padding: clamp(80px, 12vw, 140px) 0 clamp(32px, 4vw, 56px);
    overflow: hidden;
}

/* WebP <picture> background */
.product-hero-scandinaf__bg-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
}
.product-hero-scandinaf__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Product-focused image position */
    object-position: center 25%;
    display: block;
}

.product-hero-scandinaf__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.product-hero-scandinaf .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Readability overlay */
.product-hero-scandinaf__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom,
            rgba(0,0,0,0.05) 0%,
            rgba(0,0,0,0.15) 40%,
            rgba(0,0,0,0.55) 75%,
            rgba(0,0,0,0.72) 100%
        );
}

/* Breadcrumbs */
.breadcrumbs--light {
    margin-bottom: 32px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs--light a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 4px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.breadcrumbs--light a:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.breadcrumbs--light span {
    color: rgba(255,255,255,0.9);
}

.breadcrumbs__sep {
    color: rgba(255,255,255,0.5);
}

.product-hero-scandinaf__content {
    max-width: 100%;
}

.product-hero-scandinaf__badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.product-hero-scandinaf__title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.product-hero-scandinaf__subtitle {
    font-size: clamp(14px, 1.5vw, 18px);
    color: rgba(255,255,255,0.92);
    line-height: 1.6;
    margin-bottom: 28px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.25);
    max-width: 100%;
}

.btn-hero-cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-cart:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 155, 110, 0.3);
}

/* ============================================
   FEATURES BAR
   ============================================ */
.product-features-bar {
    position: relative;
    z-index: 3;
    margin-top: -42px;
    padding: 0;
    background: none;
}

.product-features-bar__card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.92), rgba(248,250,247,0.86));
    backdrop-filter: blur(24px) saturate(1.16);
    -webkit-backdrop-filter: blur(24px) saturate(1.16);
    border-radius: 22px;
    padding: 18px;
    box-shadow:
        0 24px 60px rgba(22, 40, 30, 0.12),
        0 1px 0 rgba(255,255,255,0.90) inset;
    border: 1px solid rgba(22, 40, 30, 0.08);
    overflow: hidden;
}

.product-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    justify-content: flex-start;
    padding: 8px 28px;
    position: relative;
}

.product-feature-item__text {
    min-width: 0;
}

.product-feature-item:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 44px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, transparent, rgba(22,40,30,0.12), transparent);
}

.product-feature-item__icon {
    width: 46px;
    height: 46px;
    background:
        linear-gradient(135deg, rgba(232, 247, 238, 0.98), rgba(242, 250, 245, 0.88));
    border: 1px solid rgba(74,155,110,0.10);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}

.product-feature-item__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-feature-item__text strong {
    font-size: 14px;
    font-weight: 650;
    color: var(--color-text);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.product-feature-item__text span {
    font-size: 12px;
    color: #7d8793;
    line-height: 1.35;
}

.product-feature-item__sep {
    display: none;
}

/* ============================================
   PRODUCT CONFIGURATOR
   ============================================ */
.product-configurator {
    padding: 48px 0;
    background: #fff;
}

.product-configurator__grid {
    display: grid;
    grid-template-columns: 35% 1fr 260px;
    gap: 28px;
    align-items: start;
}

/* Middle: Specs column */
.product-configurator__specs {
    background: var(--color-bg);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--color-border-light);
}

.config-specs-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.config-specs-list {
    display: flex;
    flex-direction: column;
}

.config-spec-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 7px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.config-spec-row:first-child {
    border-top: none;
}

.config-spec-row:last-child {
    border-bottom: none;
}

.config-spec-label {
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* dotted line between label and value */
.config-spec-dots {
    flex: 1;
    border-bottom: 1px dotted var(--color-border);
    margin-bottom: 3px;
    min-width: 12px;
}

.config-spec-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    text-align: right;
    white-space: nowrap;
}

/* Gallery */
.config-gallery-main {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--color-bg);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
}

.config-gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.992);
    filter: blur(5px) saturate(0.98);
    transition:
        opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.64s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.52s ease;
    will-change: opacity, transform, filter;
}

.config-gallery-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: none;
}

.config-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.config-gallery-thumbs {
    --thumb-gap: 10px;
    --thumb-count: 5;
    display: grid;
    grid-template-columns: repeat(var(--thumb-count), minmax(0, 1fr));
    gap: var(--thumb-gap);
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
}

.config-thumb {
    width: 100%;
    aspect-ratio: 1;
    min-width: 0;
    height: auto;
    max-height: 86px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease,
        opacity 0.28s ease;
    background: var(--color-bg);
}

.config-thumb:hover,
.config-thumb.active {
    border-color: var(--color-primary);
    box-shadow: 0 8px 22px rgba(74, 155, 110, 0.16);
}

.config-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Purchase Panel */
.config-panel-box {
    background: var(--color-bg);
    border-radius: 14px;
    padding: 18px 16px 14px;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* Linked Product Groups */
.config-link-group {
    margin-bottom: 16px;
}

.config-link-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.config-link-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.config-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--color-text);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.config-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.config-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    pointer-events: none;
}

.config-price {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
    transition: opacity .18s ease, transform .18s ease;
}

.config-price.is-updating {
    opacity: .82;
    transform: translateY(-1px);
}

.config-price.is-updating::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(74, 155, 110, .22);
    border-top-color: var(--color-primary);
    animation: scandinaf-price-spin .55s linear infinite;
}

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

.config-price del {
    font-size: 16px;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-left: 8px;
}

.config-quantity {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    height: 44px;
    margin: 16px 0;
}

.config-qty-btn {
    width: 44px;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 18px;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s;
}

.config-qty-btn:hover {
    background: var(--color-bg);
}

.config-qty-input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    background: transparent;
}

.btn-config-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.22s ease,
        filter 0.22s ease,
        background-color 0.22s ease;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform, box-shadow;
}

.config-consult-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 14px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s;
}

.config-consult-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Consultation CTA — prominent */
.config-consult-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 16px;
    background: var(--color-primary-bg);
    border: 1.5px solid rgba(74,155,110,0.2);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.25s;
}

.config-consult-cta:hover {
    border-color: var(--color-primary);
    background: rgba(74,155,110,0.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(74,155,110,0.12);
}

.config-consult-cta__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    flex-shrink: 0;
}

.config-consult-cta__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.config-consult-cta__text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.config-consult-cta__text small {
    font-size: 12px;
    color: var(--color-text-muted);
}

.config-consult-cta__arrow {
    color: var(--color-primary);
    flex-shrink: 0;
    font-size: 18px;
    transition: transform 0.2s;
}

.config-consult-cta:hover .config-consult-cta__arrow {
    transform: translateX(4px);
}

.btn-config-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 8px 20px rgba(74, 155, 110, 0.3);
    filter: saturate(1.03) brightness(1.01);
}

.btn-config-cart:disabled {
    background: var(--color-text-muted);
    cursor: not-allowed;
}

/* Cart Stack - Quantity above Button */
.config-cart-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.config-cart-stack .config-quantity {
    margin: 0;
    width: 120px;
}

.config-cart-stack .btn-config-cart {
    margin: 0;
}
.btn-add-cart-premium {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.btn-add-cart-premium:hover:not(:disabled) {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 155, 110, 0.3);
}

.btn-add-cart-premium:disabled {
    background: var(--color-text-muted);
    cursor: not-allowed;
}

.config-payment-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

.pay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 26px;
    flex-shrink: 0;
}

.pay-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.config-payment-note {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 10px;
    letter-spacing: 0.01em;
}

/* ============================================
   VARIATION SELECTORS
   ============================================ */
.config-variation-row {
    margin-bottom: 10px;
}

.config-variation-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 5px;
    text-transform: capitalize;
}

.config-variation-hint {
    width: 16px;
    height: 16px;
    background: var(--color-border);
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    color: var(--color-text-secondary);
}

/* Color Swatches */
.config-color-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.config-color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    position: relative;
}

.config-color-swatch:hover {
    transform: scale(1.1);
}

.config-color-swatch.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--color-primary);
}

/* Capacity Pills */
.config-capacity-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.capacity-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.capacity-pill:hover {
    border-color: var(--color-primary);
}

.capacity-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.capacity-number {
    font-weight: 600;
}

/* Attribute Pills */
.config-attribute-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.attribute-pill {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.attribute-pill:hover {
    border-color: var(--color-primary);
}

.attribute-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Variation Price Display */
.variations_form .scandinaf-wc-variation-state,
.variations_form .scandinaf-wc-variation-state .single_variation,
.variations_form .scandinaf-wc-variation-state .woocommerce-variation-price,
.config-panel-box .single_variation_wrap.scandinaf-wc-variation-state,
.config-panel-box .single_variation_wrap.scandinaf-wc-variation-state .woocommerce-variation-price {
    display: none !important;
}

.config-variation-price {
    margin: 20px 0;
}

.config-price-display {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
}

.config-price-display del {
    font-size: 20px;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-left: 12px;
}

.config-price-display ins {
    text-decoration: none;
}

.config-out-of-stock {
    color: var(--color-danger);
    font-size: 14px;
}

/* ============================================
   TABS SECTION
   ============================================ */
.product-tabs-section {
    padding: 64px 0;
    background: var(--color-bg);
}

.product-tabs-scandinaf__nav {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab-nav-btn {
    padding: 14px 24px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-nav-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tab-nav-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.tab-content-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content-panel.active {
    display: block;
}

.tab-content-inner {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    border: 1px solid var(--color-border);
}

.tab-content-inner h4 {
    color: var(--color-text);
    font-size: 20px;
    margin-bottom: 16px;
}

.tab-rich-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tab-rich-copy__lead {
    font-size: 18px;
    line-height: 1.75;
    color: var(--color-text);
}

.tab-rich-copy p {
    margin: 0;
    color: var(--color-text-secondary);
}

.tab-rich-copy__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 6px;
}

.tab-rich-copy__card {
    padding: 22px 24px;
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    background: var(--color-bg);
}

.tab-rich-copy__card:only-child {
    grid-column: 1 / -1;
}

.tab-rich-copy__card h4 {
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 20px;
    line-height: 1.25;
}

.tab-rich-copy__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-rich-copy__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    position: relative;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border-light);
}

.tab-rich-copy__list li:last-child {
    border-bottom: none;
}

.tab-rich-copy__list li::before {
    content: '';
    width: 4px;
    height: 4px;
    margin-top: 0.72em;
    border-radius: 999px;
    background: var(--color-primary);
    flex: 0 0 4px;
}

.tab-status-placeholder {
    min-height: 180px;
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 24px;
}

.tab-status-placeholder h4 {
    margin-bottom: 8px;
}

.tab-status-placeholder p {
    margin: 0;
    color: var(--color-text-muted);
}

.specs-detailed {
    width: 100%;
}

.spec-detailed-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.spec-detailed-row span:first-child {
    color: var(--color-text-secondary);
}

.spec-detailed-row span:last-child {
    color: var(--color-text);
    font-weight: 500;
    text-align: right;
}

.package-list {
    list-style: none;
    padding: 0;
}

.package-list li {
    padding-left: 42px;
    position: relative;
}

.package-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.faq-item p,
.tab-rich-copy__card p {
    margin: 0;
    color: var(--color-text-secondary);
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.product-reviews-section {
    padding: 64px 0;
    background: #fff;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.reviews-header__left h2 {
    font-size: 28px;
    color: var(--color-text);
    margin-bottom: 16px;
}

.reviews-rating-summary {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviews-rating-big {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text);
}

.reviews-stars {
    display: flex;
    gap: 4px;
}

.reviews-stars .star {
    width: 20px;
    height: 20px;
    fill: var(--color-border);
}

.reviews-stars .star.filled {
    fill: var(--color-rating);
}

.reviews-count {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.btn-write-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-write-review:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.review-card {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--color-border);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.reviewer-meta strong {
    display: block;
    color: var(--color-text);
    font-size: 16px;
}

.verified-badge {
    display: inline-block;
    font-size: 12px;
    color: var(--color-primary);
    background: var(--color-primary-bg);
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}

.review-meta {
    text-align: right;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 4px;
}

.review-stars .star {
    width: 16px;
    height: 16px;
    fill: var(--color-border);
}

.review-stars .star.filled {
    fill: var(--color-rating);
}

.review-date {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.review-card__content {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Admin reply */
.review-reply {
    margin: 0 0 24px;
    padding: 16px 24px;
    background: var(--color-bg);
    border-radius: 12px;
    border: 1px solid var(--color-border-light);
}

.review-reply__header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 13px;
}

.review-reply__header strong {
    color: var(--color-text);
}

.review-reply__badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-primary-bg);
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-reply__date {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-left: auto;
}

.review-reply__text {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.review-reply__text p:last-child {
    margin-bottom: 0;
}

/* Review Form */
.review-form-wrapper {
    background: var(--color-bg);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--color-border);
}

.review-form-wrapper h3 {
    color: var(--color-text);
    margin-bottom: 24px;
}

/* Review media upload */
.review-media-upload {
    margin: 16px 0;
}

.review-media-upload__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1.5px dashed var(--color-border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all 0.2s;
}

.review-media-upload__label:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-bg);
}

.review-media-upload__input {
    display: none;
}

.review-media-upload__preview {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.review-media-upload__thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-media-upload__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-media-upload__hint {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* Verified badge */
.review-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-primary-bg);
    padding: 3px 8px;
    border-radius: 10px;
    margin-bottom: 8px;
}

/* Review media gallery */
.review-media-gallery {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.review-media-item {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    background: var(--color-bg-alt);
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-media-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.review-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-media-item--video {
    position: relative;
}

.review-media-item--video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
    display: block;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    font-size: 14px;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 15px;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn-submit-review {
    padding: 16px 32px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit-review:hover {
    background: var(--color-primary-dark);
}

/* Star Rating Select */
.comment-form-rating {
    margin-bottom: 20px;
}

.comment-form-rating label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-text);
    font-weight: 500;
}

.star-rating-select {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-rating-select input {
    display: none;
}

.star-rating-select label {
    font-size: 28px;
    color: var(--color-border);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.star-rating-select label:hover,
.star-rating-select label:hover ~ label,
.star-rating-select input:checked ~ label {
    color: var(--color-rating);
}

/* ============================================
   RELATED PRODUCTS
   ============================================ */
.related-section {
    padding: 64px 0;
    background: var(--color-bg);
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.related-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
}

.view-all-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .product-configurator__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .product-configurator__gallery {
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
    }
    .product-configurator__specs {
        grid-column: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 48px;
    }
    .product-configurator__specs .config-specs-title {
        grid-column: 1 / -1;
    }
    .product-configurator__specs .config-spec-row:first-child {
        border-top: 1px solid var(--color-border);
    }
}

@media (max-width: 768px) {
    .product-configurator__gallery {
        max-width: 100%;
    }

    .product-hero-scandinaf {
        min-height: clamp(320px, 55vh, 480px);
        /* Mobile image focus */
        background-position: center 30%;
        padding: 72px 0 28px;
    }

    .product-hero-scandinaf__bg-img {
        object-position: center 30%;
    }

    .product-hero-scandinaf__title {
        font-size: clamp(22px, 6vw, 32px);
    }

    .product-hero-scandinaf__subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .product-hero-scandinaf__content {
        max-width: 100%;
    }
    
    .product-configurator__grid {
        grid-template-columns: 1fr;
    }

    .product-configurator__specs {
        grid-column: auto;
        display: block;
    }

    .config-gallery-main {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .config-gallery-thumbs {
        --thumb-gap: 10px;
        display: grid;
        grid-template-columns: repeat(var(--thumb-count), minmax(0, 1fr));
        gap: var(--thumb-gap);
        padding: 6px 2px 10px;
        overflow: visible;
        -webkit-overflow-scrolling: touch;
    }

    .config-thumb {
        width: 100%;
        height: auto;
        max-height: 86px;
    }
    
    .config-cart-stack {
        flex-direction: column;
    }
    
    .btn-hero-cart {
        padding: 11px 22px;
        font-size: 14px;
        gap: 8px;
        border-radius: 10px;
    }

    .product-hero-scandinaf__subtitle {
        margin-bottom: 16px;
    }

    .product-features-bar {
        margin-top: -32px;
    }

    .product-features-bar__card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 14px;
        border-radius: 18px;
    }

    .product-feature-item {
        padding: 8px 14px;
        gap: 10px;
        align-items: flex-start;
    }

    .product-feature-item__icon {
        width: 34px;
        height: 34px;
    }

    .product-feature-item__icon svg {
        width: 16px;
        height: 16px;
    }

    .product-feature-item__text strong {
        font-size: 13px;
    }

    .product-feature-item__text span {
        font-size: 11px;
    }

    .product-feature-item__sep {
        display: none;
    }
    .product-feature-item:not(:last-of-type)::after {
        right: 0;
        left: auto;
        top: 50%;
        bottom: auto;
        width: 1px;
        height: 44px;
        transform: translateY(-50%);
        background: linear-gradient(180deg, transparent, rgba(22,40,30,0.12), transparent);
    }
    
    .trust-bar {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .reviews-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .product-tabs-scandinaf__nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }
    
    .tab-nav-btn {
        white-space: nowrap;
    }
    
    .config-panel-box {
        padding: 12px;
    }
    
    /* Center the product configurator section */
    .product-configurator {
        padding: var(--space-xl) 0;
    }
}

@media (max-width: 480px) {
    .product-hero-scandinaf {
        min-height: 0;
        height: auto;
        padding: 90px 0 28px;
    }
    
    .product-hero-scandinaf__title {
        font-size: 24px;
    }
    
    .config-gallery-main {
        aspect-ratio: 4/3;
    }
    
    .config-gallery-thumbs {
        --thumb-gap: 12px;
        padding: 8px 4px 12px;
        margin: 0 -4px;
    }

    .config-thumb {
        width: 100%;
        height: auto;
        max-height: 90px;
        border-radius: 10px;
    }
}

/* ============================================
   ACCESSORIES CROSS-SELL SECTION
   ============================================ */
.accessories-section {
    padding: 64px 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.accessories-header {
    text-align: center;
    margin-bottom: 40px;
}

.accessories-header h2 {
    font-size: 32px;
    color: var(--color-text);
    margin-bottom: 12px;
}

.accessories-subtitle {
    color: var(--color-text-secondary);
    font-size: 16px;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.accessory-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.accessory-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.accessory-card__img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.accessory-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.accessory-card:hover .accessory-card__img img {
    transform: scale(1.05);
}

.accessory-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.accessory-card__info {
    padding: 14px;
}

.accessory-card__info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.accessory-card__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
}

/* ============================================
   RESPONSIVE: Linked Products & Accessories
   ============================================ */
@media (max-width: 768px) {
    .accessories-section {
        padding: 40px 0;
    }
    
    .accessories-header h2 {
        font-size: 24px;
    }
    
    .accessories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .config-link-group {
        margin-bottom: 12px;
    }
    
    .config-pill {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .config-color-swatch {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .accessories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .accessory-card__info {
        padding: 10px;
    }
    
    .accessory-card__info h4 {
        font-size: 12px;
    }
    
    .config-link-pills {
        gap: 4px;
    }
    
    .config-pill {
        padding: 5px 10px;
        font-size: 11px;
        border-radius: 16px;
    }
}

@media (max-width: 360px) {
    .accessories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .accessory-card__info h4 {
        font-size: 11px;
    }
    
    .accessory-card__price {
        font-size: 13px;
    }
}


/* ═══════════════════════════════════════════
   RESPONSIVE FIXES
   ═══════════════════════════════════════════ */

/* ── Features bar responsive ── */
@media (max-width: 768px) {
    .product-features-bar {
        margin-top: -24px;
    }
    .product-features-bar__card {
        grid-template-columns: 1fr;
        padding: 20px 24px;
        gap: 0;
        border-radius: 18px;
    }
    .product-feature-item {
        padding: 12px 0;
        justify-content: flex-start;
        width: 100%;
    }
    .product-feature-item__sep {
        width: 100%;
        height: 1px;
    }
    .product-feature-item__icon {
        width: 38px;
        height: 38px;
    }
    .product-feature-item__icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .product-features-bar {
        margin-top: -20px;
    }
    .product-features-bar__card {
        padding: 16px 20px;
    }
    .product-feature-item:not(:last-of-type)::after {
        right: auto;
        left: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        height: 1px;
        transform: none;
        background: linear-gradient(90deg, transparent, rgba(22,40,30,0.12), transparent);
    }
    .product-feature-item__text span {
        display: none;
    }
    /* Specs: 1 column */
    .product-configurator__specs {
        display: block;
    }
    /* Configurator padding */
    .product-configurator {
        padding: 32px 0;
    }
    /* Tabs nav scroll */
    .product-tabs-scandinaf__nav {
        gap: 4px;
    }
    .tab-nav-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ── Landscape phone ─────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
    .product-hero-scandinaf {
        min-height: 100vh;
        padding: 72px 0 24px;
    }
    .product-hero-scandinaf__title {
        font-size: 22px;
    }
    .product-hero-scandinaf__subtitle {
        display: none;
    }
}

/* ── Related & Accessories: 1 column + adapt on 480px and below ── */
@media (max-width: 640px) {
  .related-section,
  .accessories-section {
    padding: 40px 0;
  }

  .related-header,
  .reviews-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .related-header h2,
  .accessories-header h2 {
    font-size: 22px;
  }

  .accessories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .review-card__header {
    flex-direction: column;
    gap: 8px;
  }

  .review-meta {
    text-align: left;
  }

  .tab-content-inner {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .tab-rich-copy__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tab-rich-copy__lead {
    font-size: 17px;
  }

  .tab-rich-copy__card {
    padding: 18px 18px;
    border-radius: 14px;
  }

  .product-tabs-section {
    padding: 32px 0;
  }
}

@media (max-width: 480px) {
  .accessories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .accessory-card__info {
    padding: 10px;
  }

  .accessory-card__name {
    font-size: 13px;
  }

  .product-hero-scandinaf__title {
    font-size: 20px;
    line-height: 1.2;
  }

  .product-hero-scandinaf__subtitle {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .btn-hero-cart {
    padding: 12px 20px;
    font-size: 14px;
  }

  .breadcrumbs--light {
    margin-bottom: 16px;
    font-size: 11px;
    gap: 4px;
  }

  .breadcrumbs--light a {
    padding: 2px 6px;
  }

  .config-gallery-main {
    aspect-ratio: 4/3;
  }

  .tab-content-inner {
    padding: 16px 12px;
    border-radius: 10px;
  }

  .tab-nav-btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .spec-detailed-row {
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
  }

  .spec-detailed-row span:last-child {
    font-weight: 600;
  }
}

@media (max-width: 360px) {
  .accessories-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-scandinaf__title {
    font-size: 18px;
  }
}

/* ═══════════════════════════════════════════
   FINAL AUTHORITY — 480px and 320px
   Overrides all earlier conflicting blocks
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {
  /* ── Hero ── let height grow to fit content, never clip */
  .product-hero-scandinaf {
    min-height: 0;
    height: auto;
    padding: 90px 0 28px;
  }
  .product-hero-scandinaf__title {
    font-size: 19px;
    line-height: 1.25;
    max-width: 100%;
  }
  .product-hero-scandinaf__subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .product-hero-scandinaf__content {
    max-width: 100%;
  }
  .btn-hero-cart {
    padding: 9px 16px;
    font-size: 13px;
    border-radius: 8px;
    gap: 8px;
  }
  .breadcrumbs--light {
    font-size: 10px;
    gap: 2px;
    margin-bottom: 10px;
  }
  .breadcrumbs--light a {
    padding: 2px 5px;
  }

  /* ── Configurator ── */
  .product-configurator {
    padding: 20px 0;
  }
  .product-configurator__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .config-gallery-main {
    aspect-ratio: 4/3;
    border-radius: 10px;
  }
  .config-gallery-thumbs {
    --thumb-gap: 10px;
    display: grid;
    grid-template-columns: repeat(var(--thumb-count), minmax(0, 1fr));
    padding: 8px 2px 10px;
    margin: 0 -2px;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
  }
  .config-thumb {
    width: 100%;
    height: auto;
    max-height: 76px;
    border-radius: 10px;
  }
  .config-panel-box {
    padding: 14px 12px;
  }
  .config-price {
    font-size: 20px;
  }
  .config-price del {
    font-size: 13px;
  }
  .config-variation-label {
    font-size: 11px;
  }
  .config-pill {
    padding: 6px 12px;
    font-size: 12px;
  }
  .config-cart-stack .config-quantity {
    width: 100%;
  }
  .btn-add-cart-premium {
    padding: 14px;
    font-size: 15px;
  }
  .config-consult-link-outside {
    font-size: 11px;
    padding: 8px;
  }
  .config-specs-title {
    font-size: 14px;
  }
  .config-spec-row {
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }
  .spec-detailed-row {
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }
  .spec-detailed-row span:last-child {
    font-weight: 600;
  }

  /* ── Tabs ── */
  .product-tabs-scandinaf__nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 4px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .tab-nav-btn {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .tab-content-inner {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .tab-rich-copy {
    gap: 14px;
  }

  .tab-rich-copy__lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .tab-rich-copy__card {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .tab-rich-copy__list li {
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
  }

  .tab-status-placeholder {
    min-height: 150px;
    padding: 24px 16px;
    border-radius: 12px;
  }
  .product-tabs-section {
    padding: 24px 0;
  }

  /* ── Related + Accessories ── */
  .related-section,
  .accessories-section {
    padding: 32px 0;
  }
  .related-header h2,
  .accessories-header h2 {
    font-size: 18px;
  }
  .accessories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .accessory-card__info {
    padding: 8px;
  }
  .accessory-card__name {
    font-size: 12px;
  }
  .accessory-card__price {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .product-hero-scandinaf {
    min-height: 0;
    height: auto;
    padding: 80px 0 24px;
  }
  .product-hero-scandinaf__title {
    font-size: 16px;
  }
  .config-panel-box {
    padding: 10px 8px;
  }
  .config-price {
    font-size: 18px;
  }
  .accessories-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tab-nav-btn {
    padding: 7px 10px;
    font-size: 11px;
  }
}




.review-media-lightbox-open {
    overflow: hidden;
}

.review-media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-media-lightbox[hidden] {
    display: none;
}

.review-media-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 12, 16, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.review-media-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(94vw, 1240px);
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 14px;
}

.review-media-lightbox__frame {
    position: relative;
}

.review-media-lightbox__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
}

.review-media-lightbox__close,
.review-media-lightbox__nav {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.review-media-lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,0.96);
    color: #111;
    font-size: 28px;
    line-height: 1;
}

.review-media-lightbox__nav {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-size: 38px;
    line-height: 1;
    transition: background .18s ease, border-color .18s ease;
}

.review-media-lightbox__nav:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.28);
}

.review-media-lightbox__nav[hidden] {
    visibility: hidden;
}

@media (max-width: 900px) {
    .review-media-lightbox {
        padding: 12px;
    }

    .review-media-lightbox__dialog {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .review-media-lightbox__nav {
        position: absolute;
        top: 50%;
        z-index: 3;
        width: 44px;
        height: 44px;
        transform: translateY(-50%);
    }

    .review-media-lightbox__nav--prev {
        left: 8px;
    }

    .review-media-lightbox__nav--next {
        right: 8px;
    }
}

@media (max-width: 640px) {
    .review-media-lightbox {
        padding: 8px;
    }

    .review-media-lightbox__image {
        max-height: 82vh;
        border-radius: 10px;
    }

    .review-media-lightbox__close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .review-media-lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .review-media-lightbox__nav--prev {
        left: 6px;
    }

    .review-media-lightbox__nav--next {
        right: 6px;
    }
}

/* ============================================
   PREMIUM CONFIGURATOR POLISH
   ============================================ */
.product-configurator {
    padding: clamp(54px, 6vw, 86px) 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(74, 155, 110, 0.08), transparent 34%),
        radial-gradient(circle at 92% 10%, rgba(197, 153, 90, 0.06), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfb 48%, #f6f9f6 100%);
}

.product-configurator__grid {
    grid-template-columns: minmax(360px, 0.96fr) minmax(420px, 1.1fr) minmax(258px, 0.58fr);
    gap: clamp(26px, 2.4vw, 34px);
}

.product-configurator__gallery,
.product-configurator__specs,
.product-configurator__panel {
    min-width: 0;
}

.product-configurator__panel {
    position: sticky;
    top: 104px;
}

.config-gallery-main,
.product-configurator__specs,
.config-panel-box,
.tab-content-inner {
    border: 1px solid rgba(18, 42, 30, 0.08);
    box-shadow: 0 22px 70px rgba(18, 42, 30, 0.075);
}

.config-gallery-main {
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.94), rgba(242,245,242,0.9)),
        var(--color-bg);
}

.config-gallery-slide img {
    transition:
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.55s ease;
}

.config-gallery-main:hover .config-gallery-slide.active img {
    transform: scale(1.018);
    filter: saturate(1.02);
}

.config-gallery-thumbs {
    gap: 12px;
}

.config-thumb {
    border: 1px solid rgba(18, 42, 30, 0.09);
    border-radius: 13px;
    background: linear-gradient(180deg, #ffffff, #f4f6f4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 24px rgba(18, 42, 30, 0.055);
}

.config-thumb:hover {
    border-color: rgba(74, 155, 110, 0.45);
    transform: translateY(-1px);
}

.config-thumb.active {
    border-color: var(--color-primary);
    box-shadow: 0 14px 30px rgba(74, 155, 110, 0.18);
}

.product-configurator__specs {
    padding: clamp(22px, 2vw, 28px);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,250,248,0.9)),
        var(--color-bg);
}

.config-specs-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: rgba(44, 58, 74, 0.72);
    letter-spacing: 1.35px;
}

.config-specs-title::before {
    content: "";
    width: 3px;
    height: 16px;
    border-radius: 999px;
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(74, 155, 110, 0.1);
}

.config-spec-row {
    min-height: 38px;
    padding: 9px 0;
    border-bottom-color: rgba(18, 42, 30, 0.055);
}

.config-spec-label {
    color: rgba(62, 74, 90, 0.62);
}

.config-spec-dots {
    border-bottom-color: rgba(18, 42, 30, 0.1);
}

.config-spec-value {
    color: #071421;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.config-panel-box {
    padding: 22px 16px 16px;
    border-radius: 22px;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.98), rgba(248,250,248,0.94)),
        var(--color-bg);
}

.config-link-group {
    margin-bottom: 15px;
}

.config-link-label {
    margin-bottom: 9px;
    color: rgba(44, 58, 74, 0.78);
    font-size: 11px;
    letter-spacing: 1.5px;
}

.config-pill {
    min-height: 34px;
    padding: 8px 15px;
    border-color: rgba(18, 42, 30, 0.1);
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.config-pill:hover {
    background: rgba(74, 155, 110, 0.08);
    transform: translateY(-1px);
}

.config-pill.active {
    background: var(--color-primary);
    box-shadow: 0 10px 22px rgba(74, 155, 110, 0.18);
}

.config-price {
    display: flex;
    width: 100%;
    margin: 14px 0 14px;
    padding: 14px 0 4px;
    font-size: clamp(25px, 2.4vw, 30px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.config-cart-stack {
    gap: 11px;
}

.config-cart-stack .config-quantity {
    width: 118px;
    height: 44px;
    border-color: rgba(18, 42, 30, 0.1);
    border-radius: 13px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.config-qty-btn {
    color: #0c2032;
}

.config-qty-btn:hover {
    background: rgba(74, 155, 110, 0.08);
}

.btn-add-cart-premium,
.btn-config-cart {
    min-height: 48px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    box-shadow: 0 14px 30px rgba(74, 155, 110, 0.2);
}

.btn-add-cart-premium:hover:not(:disabled),
.btn-config-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 18px 34px rgba(74, 155, 110, 0.26);
    filter: saturate(1.03) brightness(1.01);
}

.config-payment-icons {
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid rgba(18, 42, 30, 0.07);
}

.config-payment-note {
    margin-top: 8px;
    color: rgba(62, 74, 90, 0.6);
}

.config-consult-cta {
    margin-top: 16px;
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(238, 248, 242, 0.96), rgba(248, 253, 250, 0.96));
    border-color: rgba(74, 155, 110, 0.18);
}

.config-consult-cta__icon {
    border-radius: 13px;
    box-shadow: 0 10px 22px rgba(74, 155, 110, 0.18);
}

.product-tabs-section {
    padding: clamp(54px, 6vw, 78px) 0;
    background:
        linear-gradient(180deg, #f6f9f6 0%, #ffffff 100%);
}

.product-tabs-scandinaf__nav {
    gap: 10px;
    margin-bottom: 28px;
    padding: 6px;
    width: fit-content;
    max-width: 100%;
    border: 1px solid rgba(18, 42, 30, 0.07);
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    box-shadow: 0 18px 45px rgba(18, 42, 30, 0.055);
}

.tab-nav-btn {
    min-height: 42px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: rgba(44, 58, 74, 0.78);
    font-size: 13px;
    font-weight: 650;
}

.tab-nav-btn:hover {
    border-color: rgba(74, 155, 110, 0.22);
    background: rgba(74, 155, 110, 0.07);
    color: var(--color-primary-dark);
}

.tab-nav-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 12px 25px rgba(74, 155, 110, 0.18);
}

.tab-content-inner {
    border-radius: 24px;
    padding: clamp(28px, 3vw, 44px);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.98), rgba(249,251,249,0.94));
    color: rgba(44, 58, 74, 0.78);
}

.tab-rich-copy__card {
    border-color: rgba(18, 42, 30, 0.075);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.9), rgba(246,249,246,0.82));
}

@media (max-width: 1100px) {
    .product-configurator__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-configurator__panel {
        position: static;
    }

    .product-configurator__gallery {
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
    }

    .product-configurator__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .product-configurator {
        padding: 34px 0 42px;
    }

    .product-configurator__grid {
        gap: 20px;
    }

    .product-configurator__gallery {
        max-width: 100%;
    }

    .config-gallery-main,
    .product-configurator__specs,
    .config-panel-box,
    .tab-content-inner {
        border-radius: 18px;
        box-shadow: 0 16px 44px rgba(18, 42, 30, 0.065);
    }

    .product-configurator__specs {
        display: block;
        padding: 20px 16px;
    }

    .config-spec-row {
        min-height: 0;
    }

    .config-panel-box {
        padding: 20px 16px 16px;
    }

    .product-tabs-scandinaf__nav {
        width: 100%;
        border-radius: 18px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .tab-nav-btn {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 9px 15px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .product-configurator {
        padding: 24px 0 32px;
    }

    .config-gallery-thumbs {
        gap: 8px;
    }

    .config-price {
        font-size: 24px;
    }

    .config-cart-stack .config-quantity {
        width: 100%;
    }

    .tab-content-inner {
        padding: 18px 14px;
    }
}

/* ============================================
   PREMIUM SECTION FLOW
   ============================================ */
.product-tabs-section,
.accessories-section,
.product-reviews-section,
.related-section {
    position: relative;
    isolation: isolate;
}

.product-tabs-section {
    padding-bottom: clamp(46px, 5vw, 64px);
}

.accessories-section,
.product-reviews-section {
    background:
        radial-gradient(circle at 12% 0%, rgba(74, 155, 110, 0.055), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfb 52%, #f7faf7 100%);
}

.accessories-section {
    border-top: 0;
}

.related-section {
    padding: clamp(48px, 5vw, 70px) 0 clamp(70px, 7vw, 96px);
    background:
        radial-gradient(circle at 14% 0%, rgba(74, 155, 110, 0.09), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(197, 153, 90, 0.055), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7faf7 22%, #f4f8f4 100%);
    box-shadow: inset 0 1px 0 rgba(18, 42, 30, 0.045);
}

.related-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -56px;
    height: 56px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 58%, #ffffff 100%);
}

.related-header {
    margin-bottom: 24px;
}

.related-header h2,
.accessories-header h2,
.reviews-header h2 {
    letter-spacing: -0.035em;
}

.related-header h2 {
    font-size: clamp(26px, 2.4vw, 34px);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: rgba(74, 155, 110, 0.065);
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.view-all-link:hover {
    background: rgba(74, 155, 110, 0.12);
    color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.related-section .products-grid {
    gap: clamp(18px, 2vw, 28px);
}

.related-section .product-card {
    border: 1px solid rgba(18, 42, 30, 0.075);
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 18px 52px rgba(18, 42, 30, 0.065);
}

.related-section .product-card__image-wrap {
    border-radius: 18px 18px 0 0;
    background: linear-gradient(145deg, #ffffff, #eef2ee);
}

.related-section .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 64px rgba(18, 42, 30, 0.095);
}

@media (max-width: 768px) {
    .related-section {
        padding: 42px 0 58px;
    }

    .related-section::before {
        top: -34px;
        height: 34px;
    }

    .related-header {
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .related-section {
        padding: 34px 0 46px;
    }

    .view-all-link {
        padding-left: 0;
        background: transparent;
    }
}


/* FINAL CLIENT-AUDIT PRODUCT RESPONSIVE POLISH */
.config-gallery-slide img {
    object-fit: contain;
}

@media (max-width: 576px) {
    .product-hero-scandinaf .container,
    .product-configurator-scandinaf .container {
        max-width: 100%;
    }

    .product-hero-scandinaf__content {
        width: 100%;
        max-width: calc(100vw - (var(--gutter) * 2));
    }

    .product-hero-scandinaf__title {
        max-width: 100%;
        font-size: clamp(26px, 7.8vw, 34px);
        line-height: 1.08;
        overflow-wrap: normal;
        hyphens: none;
    }

    .product-hero-scandinaf__subtitle {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.5;
    }

    .product-hero-scandinaf .breadcrumbs,
    .product-hero-scandinaf .breadcrumbs .container {
        max-width: 100%;
    }

    .product-hero-scandinaf .breadcrumbs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .product-configurator__gallery,
    .config-gallery-main,
    .config-gallery-thumbs {
        width: 100%;
        max-width: 100%;
    }

    .config-gallery-main {
        aspect-ratio: 1 / 1;
    }

    .config-gallery-slide img {
        object-fit: contain;
        padding: 10px;
    }
}


/* FINAL CLIENT-AUDIT PRODUCT NO-CLIP PATCH */
@media (max-width: 576px) {
    .product-hero-scandinaf__content {
        width: calc(100vw - (var(--gutter) * 2)) !important;
        max-width: calc(100vw - (var(--gutter) * 2)) !important;
    }

    .product-hero-scandinaf__title,
    .product-hero-scandinaf__subtitle {
        width: 100% !important;
        max-width: 100% !important;
    }

    .product-hero-scandinaf__title {
        font-size: clamp(24px, 7.1vw, 30px) !important;
        line-height: 1.1 !important;
    }
}


/* FINAL CLIENT-AUDIT PRODUCT TABLET-PHONE PATCH */
@media (max-width: 820px) {
    .product-hero-scandinaf__content {
        width: calc(100vw - (var(--gutter) * 2)) !important;
        max-width: calc(100vw - (var(--gutter) * 2)) !important;
    }

    .product-hero-scandinaf__title,
    .product-hero-scandinaf__subtitle {
        width: min(100%, calc(100vw - (var(--gutter) * 2))) !important;
        max-width: min(100%, calc(100vw - (var(--gutter) * 2))) !important;
    }

    .product-hero-scandinaf__title {
        overflow-wrap: break-word;
        word-break: normal;
    }
}



/* FINAL CLIENT-AUDIT PRODUCT HARD MOBILE WIDTH PATCH */
@media (max-width: 820px) {
    .product-hero-scandinaf__title,
    .product-hero-scandinaf__subtitle {
        width: min(100%, 360px) !important;
        max-width: min(100%, 360px) !important;
    }
}

/* Product consultation strip ? wide, calm, premium */
.product-consult-strip {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 2.2vw, 32px);
    margin-top: 2px;
    padding: clamp(20px, 2.3vw, 28px);
    border: 1px solid rgba(18, 42, 30, 0.08);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 0%, rgba(74, 155, 110, 0.105), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,249,246,0.92));
    box-shadow: 0 22px 70px rgba(18, 42, 30, 0.07);
    overflow: hidden;
}

.product-consult-strip__content {
    min-width: 0;
}

.product-consult-strip__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-consult-strip__eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.product-consult-strip h3 {
    margin: 0 0 6px;
    color: var(--color-text-forest);
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.1vw, 30px);
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.product-consult-strip p {
    max-width: 660px;
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

.product-consult-strip__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 244px;
    min-height: 58px;
    padding: 12px 18px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    box-shadow: 0 14px 34px rgba(74, 155, 110, 0.22);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.product-consult-strip__button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(74, 155, 110, 0.28);
}

.product-consult-strip__button-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.16);
    flex-shrink: 0;
}

.product-consult-strip__button span:not(.product-consult-strip__button-icon):not(.product-consult-strip__arrow) {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
}

.product-consult-strip__button strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
}

.product-consult-strip__button small {
    color: rgba(255,255,255,0.78);
    font-size: 11px;
    line-height: 1.2;
}

.product-consult-strip__arrow {
    font-size: 18px;
    transition: transform .2s ease;
}

.product-consult-strip__button:hover .product-consult-strip__arrow {
    transform: translateX(3px);
}

@media (max-width: 1100px) {
    .product-consult-strip {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .product-consult-strip {
        grid-template-columns: 1fr;
        gap: 16px;
        border-radius: 20px;
    }

    .product-consult-strip__button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .product-consult-strip {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .product-consult-strip h3 {
        font-size: 22px;
    }

    .product-consult-strip p {
        font-size: 13px;
    }
}

/* FINAL PRODUCT CONSULTATION CTA REFINEMENT */
.product-consult-strip {
    border-color: rgba(18, 42, 30, 0.075);
    background:
        radial-gradient(circle at 8% 0%, rgba(74, 155, 110, 0.075), transparent 32%),
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,250,248,0.94));
    box-shadow: 0 18px 56px rgba(18, 42, 30, 0.06);
}

.product-consult-strip h3 {
    font-size: clamp(19px, 1.8vw, 26px);
}

.product-consult-strip__button {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(74, 155, 110, 0.22);
    box-shadow: 0 12px 30px rgba(18, 42, 30, 0.07);
}

.product-consult-strip__button:hover {
    color: var(--color-text);
    background: #fff;
    border-color: rgba(74, 155, 110, 0.42);
    box-shadow: 0 16px 38px rgba(18, 42, 30, 0.10);
}

.product-consult-strip__button-icon {
    color: #fff;
    background: var(--color-primary);
    box-shadow: 0 10px 22px rgba(74, 155, 110, 0.18);
}

.product-consult-strip__button small {
    color: var(--color-text-muted);
}

.product-consult-strip__arrow {
    color: var(--color-primary);
}

/* FINAL PRODUCT CONSULTATION CTA PLACEMENT FIX */
.product-consult-section {
    position: relative;
    z-index: 2;
    padding: clamp(8px, 1.2vw, 18px) 0 clamp(34px, 4vw, 58px);
    background:
        linear-gradient(180deg, rgba(250, 252, 250, 0) 0%, rgba(247, 250, 248, 0.72) 100%);
}

.product-consult-section .product-consult-strip {
    grid-column: auto;
    width: min(100%, 1040px);
    margin: 0 auto;
}

.product-consult-section + .product-tabs-section {
    padding-top: 0;
}

@media (min-width: 1101px) {
    .product-consult-section .product-consult-strip {
        transform: translateX(clamp(0px, 2vw, 22px));
    }
}

@media (max-width: 768px) {
    .product-consult-section {
        padding: 4px 0 36px;
    }

    .product-consult-section .product-consult-strip {
        transform: none;
    }
}

/* FINAL GALLERY IMAGE FIT FIX */
.config-gallery-slide--product img {
    object-fit: contain !important;
    padding: 10px;
}

.config-gallery-slide--scene img {
    object-fit: cover !important;
    object-position: center center;
    padding: 0 !important;
}

/* Premium gallery transitions for variant/color changes */
.config-gallery-main.is-gallery-switching .config-gallery-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: none;
}

.product-configurator__gallery.is-gallery-preloading .config-gallery-main {
    cursor: progress;
}

.config-gallery-fade-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
    opacity: 1;
    background: var(--color-bg);
    border-radius: inherit;
    transition:
        opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.42s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, filter, transform;
}

.config-gallery-fade-overlay.is-fading-out {
    opacity: 0;
    filter: blur(4px) saturate(0.98);
    transform: scale(1.006);
}

.config-gallery-fade-overlay img {
    display: block;
    width: 100%;
    height: 100%;
    object-position: center center;
}

.config-gallery-fade-overlay--product img {
    object-fit: cover;
    padding: 0;
}

.config-gallery-fade-overlay--scene img {
    object-fit: cover;
    padding: 0;
}

.config-gallery-slide.is-image-error,
.config-thumb.is-image-error {
    display: none;
}

.config-gallery-thumbs {
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.config-gallery-thumbs.is-gallery-switching {
    opacity: 0.48;
    transform: translate3d(0, 3px, 0);
}

.config-gallery-thumbs .config-thumb {
    animation: scandinafThumbReveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.config-gallery-thumbs .config-thumb:hover {
    transform: translate3d(0, -1px, 0);
}

.config-gallery-thumbs .config-thumb img {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.config-gallery-thumbs .config-thumb:hover img {
    transform: scale(1.035);
    filter: saturate(1.03);
}

@keyframes scandinafThumbReveal {
    from {
        opacity: 0;
        transform: translate3d(0, 5px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .config-gallery-slide,
    .config-gallery-slide img,
    .config-gallery-thumbs,
    .config-gallery-thumbs .config-thumb,
    .config-gallery-thumbs .config-thumb img,
    .btn-config-cart,
    .btn-add-cart-premium {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

.config-gallery-slide--scene picture,
.config-gallery-slide--product picture {
    display: block;
    width: 100%;
    height: 100%;
}

.config-gallery-slide--scene picture img,
.config-gallery-slide--product picture img {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 576px) {
    .config-gallery-slide--scene img {
        object-fit: cover !important;
        padding: 0 !important;
    }
}

/* FINAL GALLERY FRAME CONSISTENCY FIX */
.config-gallery-main {
    aspect-ratio: 1 / 1 !important;
}

.config-gallery-slide--product img {
    object-fit: cover !important;
    object-position: center center;
    padding: 0 !important;
}

.config-gallery-slide--scene img {
    object-fit: cover !important;
    object-position: center center;
    padding: 0 !important;
}

@media (max-width: 576px) {
    .config-gallery-main {
        aspect-ratio: 1 / 1 !important;
    }
}


/* ============================================
   DELIVERY FIX: RESPONSIVE CHARACTERISTICS
   Keeps specs readable from phone to wide tablet.
   ============================================ */
.product-configurator__specs {
  max-width: 100%;
  overflow: hidden;
}

.config-spec-row {
  grid-template-columns: minmax(120px, auto) minmax(24px, 1fr) minmax(140px, 52%);
  align-items: start;
  column-gap: 10px;
}

.config-spec-label,
.config-spec-value {
  min-width: 0;
}

.config-spec-value {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  line-height: 1.45;
  text-align: right;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .product-configurator__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  .product-configurator__gallery,
  .product-configurator__specs,
  .product-configurator__panel {
    width: 100%;
  }

  .product-configurator__panel {
    position: static;
  }

  .product-configurator__specs {
    padding: clamp(22px, 3vw, 30px);
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .product-configurator__grid {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .config-spec-row {
    grid-template-columns: minmax(118px, auto) minmax(18px, 1fr) minmax(180px, 54%);
  }
}

@media (max-width: 640px) {
  .config-spec-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .config-spec-dots {
    display: none;
  }

  .config-spec-value {
    text-align: left;
    font-size: 0.95rem;
  }
}

/* Final override: specs rows are grid, not legacy flex. */
.product-configurator__specs .config-spec-row {
  display: grid;
}

@media (max-width: 640px) {
  .product-configurator__specs .config-spec-row {
    display: grid;
  }
}
.product-configurator__specs .config-spec-value {
  white-space: normal;
}

/* ============================================
   DELIVERY & PACKAGING VISUAL CARDS
   ============================================ */
.logistics-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(22px, 3vw, 34px);
}

.logistics-card {
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.98), rgba(248,250,248,0.94)),
    var(--color-bg-card);
  border: 1px solid rgba(18, 42, 30, 0.08);
  box-shadow: 0 18px 46px rgba(18, 42, 30, 0.07);
}

.logistics-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #edf1ee;
}

.logistics-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.logistics-card:hover .logistics-card__media img {
  transform: scale(1.035);
  filter: saturate(1.03) contrast(1.02);
}

.logistics-card__body {
  padding: clamp(15px, 1.8vw, 20px);
}

.logistics-card__body h4 {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  letter-spacing: -0.01em;
}

.logistics-card__body p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .logistics-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .logistics-cards {
    grid-template-columns: 1fr;
  }

  .logistics-card {
    border-radius: 18px;
  }
}

/* ============================================
   FINAL FIX: CHARACTERISTICS WIDTH ON TABLET / MOBILE-WIDE
   Avoids a large empty white card with a narrow table pinned left.
   ============================================ */
@media (min-width: 641px) and (max-width: 1180px) {
  .product-configurator__specs {
    width: min(100%, 640px);
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .product-configurator__specs .config-spec-row {
    grid-template-columns: minmax(118px, 0.9fr) minmax(24px, 1fr) minmax(190px, 1.35fr);
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .product-configurator__specs {
    width: min(100%, 680px);
  }
}

@media (max-width: 640px) {
  .product-configurator__specs {
    width: 100%;
  }
}

/* Final override: characteristics card content uses full compact card width. */
@media (min-width: 641px) and (max-width: 1180px) {
  .product-configurator__specs {
    display: block;
  }

  .product-configurator__specs .config-specs-list,
  .product-configurator__specs .config-spec-row {
    width: 100%;
  }
}
