/* css/product-details.css */

.product-details-main {
    padding-top: 140px; /* Header height + spacing */
    min-height: 100vh;
    background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
    padding-bottom: var(--spacing-3xl);
}

.product-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header Section */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
    opacity: 0;
    animation: fadeIn var(--transition-slow) forwards;
}

.product-hero-info {
    order: 1; /* Right side in RTL */
}

.product-gallery-wrapper {
    order: 2; /* Left side in RTL */
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.main-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #fff;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    overflow: hidden; /* Important for zoom containment */
    cursor: crosshair; /* Hints at zoom capability */
    isolation: isolate;
    --variant-accent: #d8d8d8;
}

.main-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--spacing-lg);
    z-index: 1;
    transition:
        opacity 420ms ease,
        filter 620ms ease,
        clip-path 720ms cubic-bezier(0.2, 0.9, 0.2, 1);
    will-change: transform, opacity, filter, clip-path;
}

.main-image-container.is-image-changing .main-product-image {
    transition:
        opacity 420ms ease,
        transform 720ms cubic-bezier(0.2, 0.9, 0.2, 1),
        filter 620ms ease,
        clip-path 720ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.variant-ambient {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        circle at 50% 52%,
        color-mix(in srgb, var(--variant-accent) 22%, transparent) 0%,
        transparent 56%
    );
    mix-blend-mode: soft-light;
}

.main-image-container::after {
    content: '';
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -35%;
    width: 24%;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.52),
        transparent
    );
    filter: blur(12px);
    transform: skewX(-12deg) translateX(-160%);
}

.product-image-incoming {
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.product-image-incoming.is-gallery-incoming {
    transform: scale(0.988);
    filter: blur(2px) saturate(0.9);
}

.main-image-container.is-image-changing .product-image-incoming.is-gallery-incoming,
.main-image-container.is-image-changing .main-product-image.is-gallery-outgoing {
    transition-duration: 420ms, 430ms, 420ms, 430ms;
}

.product-image-incoming.is-variant-incoming {
    clip-path: inset(11% 11% 11% 11% round 24px);
    transform: scale(0.955);
    filter: blur(7px) saturate(0.72) brightness(1.05);
}

.product-image-incoming.is-revealed {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 0);
    transform: scale(1);
    filter: blur(0) saturate(1) brightness(1);
}

.main-product-image.is-gallery-outgoing {
    opacity: 0;
    transform: scale(1.012);
    filter: blur(2px);
}

.main-product-image.is-variant-outgoing {
    opacity: 0.12;
    transform: scale(1.04);
    filter: blur(5px) saturate(0.65) brightness(1.04);
}

.main-image-container.is-variant-changing .variant-ambient {
    animation: variantAmbientPulse 760ms ease both;
}

.main-image-container.is-variant-changing::after {
    animation: variantLightSweep 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: 10;
    color: var(--color-text-primary);
}

.main-image-container:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-50%) scale(1.05);
}

.gallery-nav.prev {
    right: 20px;
}

.gallery-nav.next {
    left: 20px;
}

/* Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-xs);
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
    opacity: 0.5;
    filter: grayscale(100%);
    font: inherit;
}

.gallery-thumb.active {
    opacity: 1;
    filter: grayscale(0%);
    border-color: rgba(0,0,0,0.1);
    box-shadow: var(--shadow-sm);
}

.gallery-thumb:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

.gallery-thumb:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 3px;
}

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

.product-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1px;
    color: var(--color-primary);
}

.product-model {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    font-family: 'Vazir', Tahoma, sans-serif;
}

.product-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 90%;
    font-weight: 300;
}

/* Product finish selection */
.product-variant-picker {
    max-width: 560px;
    margin: 0 0 var(--spacing-xl);
    padding: 1.15rem 0 1.3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.variant-picker-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin-bottom: 0.9rem;
}

.variant-picker-kicker {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--color-text-light);
    direction: ltr;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.18em;
}

.variant-picker-title {
    margin: 0;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
}

.variant-current {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.72rem;
}

.variant-current strong {
    color: var(--color-text);
    font-size: 0.82rem;
    font-weight: 500;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.variant-option {
    position: relative;
    min-width: 142px;
    min-height: 62px;
    padding: 0.55rem 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    color: var(--color-text-secondary);
    cursor: pointer;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 0.62rem;
    text-align: right;
    font: inherit;
    overflow: hidden;
    transition:
        transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1),
        border-color 260ms ease,
        box-shadow 420ms ease,
        background 260ms ease;
}

.variant-option::after {
    content: '';
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 2px;
    background: var(--variant-palette);
    opacity: 0;
    transform: scaleX(0.45);
    transform-origin: center;
    transition: opacity 260ms ease, transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.variant-option:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.17);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.065), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.variant-option.active {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.42);
    color: var(--color-text);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.variant-option.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.variant-option:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 3px;
}

.variant-swatch {
    position: relative;
    width: 38px;
    height: 44px;
    border-radius: 11px 5px 11px 5px;
    background: var(--variant-palette);
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.14),
        inset 6px 6px 12px rgba(255, 255, 255, 0.16),
        0 4px 12px color-mix(in srgb, var(--variant-accent) 18%, transparent);
    overflow: hidden;
    transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.variant-swatch::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.42), transparent 35%, rgba(0, 0, 0, 0.08));
    mix-blend-mode: soft-light;
}

.variant-option:hover .variant-swatch,
.variant-option.active .variant-swatch {
    transform: scale(1.045);
}

.variant-option-label {
    line-height: 1.45;
    font-size: 0.78rem;
    font-weight: 400;
}

.variant-option-mark {
    width: 10px;
    height: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #fff;
    transition: background 240ms ease, border-color 240ms ease, transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.variant-option.active .variant-option-mark {
    background: var(--color-text);
    border-color: var(--color-text);
    transform: scale(1.08);
}

.action-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.action-buttons .btn {
    min-width: 220px;
}

.expert-contact-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay, 10000);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.expert-contact-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.expert-contact-dialog {
    width: min(100%, 460px);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(245, 245, 245, 0.96));
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-xl);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.expert-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.expert-modal-close:hover {
    background: var(--color-text);
    color: #fff;
}

.expert-contact-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.expert-contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
}

.expert-contact-phone:hover {
    background: rgba(0, 0, 0, 0.07);
}

.expert-messenger-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

.expert-messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.rubika-link {
    background: #f4f8ff;
    color: #1d4ed8;
    border-color: #c7d2fe;
}

.bale-link {
    background: #eefcf4;
    color: #047857;
    border-color: #a7f3d0;
}

.expert-messenger-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.messenger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Content Sections */
.product-deep-dive {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
    opacity: 0;
    animation: fadeIn var(--transition-slow) forwards 0.3s;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: var(--spacing-2xl);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

.glass-panel:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.85);
}

.section-overview {
    grid-column: 1 / 8;
}

.section-specs {
    grid-column: 8 / 13;
}

.section-applications {
    grid-column: 1 / 7;
}

.section-benefits {
    grid-column: 7 / 13;
}

/* Gallery Section */

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    color: var(--color-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
    opacity: 0.3;
}

.section-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-text-secondary);
    text-align: justify;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-md);
}

.feature-list li {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    color: var(--color-text-secondary);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin-left: var(--spacing-sm);
}

.empty-message {
    text-align: center;
    padding: var(--spacing-3xl);
    font-size: 1.5rem;
    color: var(--color-text-light);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes variantAmbientPulse {
    0%, 100% { opacity: 0; transform: scale(0.9); }
    42% { opacity: 0.8; transform: scale(1.04); }
}

@keyframes variantLightSweep {
    0% { opacity: 0; transform: skewX(-12deg) translateX(-160%); }
    32% { opacity: 0.65; }
    100% { opacity: 0; transform: skewX(-12deg) translateX(680%); }
}

/* Responsive */
@media (max-width: 992px) {
    .product-details-main {
        padding-top: 100px;
    }

    .product-hero {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .product-gallery-wrapper {
        order: 1;
        margin-bottom: var(--spacing-lg);
    }
    
    .product-hero-info {
        order: 2;
    }

    .product-variant-picker {
        max-width: none;
    }
    
    .product-title {
        font-size: 2.5rem;
    }

    .product-deep-dive {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .section-overview, .section-specs, .section-applications, .section-benefits {
        grid-column: auto;
    }

    .glass-panel {
        padding: var(--spacing-lg);
    }

    .action-buttons .btn {
        min-width: 100%;
    }

    .expert-contact-dialog {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 560px) {
    .variant-picker-heading {
        align-items: flex-start;
    }

    .variant-current {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.05rem;
    }

    .variant-option {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 128px;
        grid-template-columns: 34px minmax(0, 1fr) 10px;
        gap: 0.5rem;
    }

    .variant-swatch {
        width: 34px;
        height: 40px;
    }
}

@media (hover: none), (pointer: coarse) {
    .main-image-container {
        cursor: default;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-product-image,
    .variant-option,
    .variant-option::after,
    .variant-swatch,
    .variant-option-mark {
        transition-duration: 0.01ms !important;
    }

    .main-image-container.is-variant-changing .variant-ambient,
    .main-image-container.is-variant-changing::after {
        animation: none !important;
    }
}

/* =========================================================
   T-C14 — dedicated coffee-machine treatment (bm1 only)
   ========================================================= */
body.is-tc14-product {
    --tc14-ink: #0b0806;
    --tc14-ink-soft: #17110d;
    --tc14-cream: #f1e9df;
    --tc14-copper: #c8794a;
    --tc14-gold: #dfb074;
    --tc14-line: rgba(255, 255, 255, 0.13);
    background: var(--tc14-ink);
}

body.is-tc14-product .product-details-main {
    padding: 0 0 0;
    background: var(--tc14-ink);
    color: var(--tc14-cream);
}

body.is-tc14-product .product-container {
    max-width: none;
    padding: 0;
}

.tc14-hero {
    position: relative;
    padding: clamp(5rem, 9vw, 9rem) 0 clamp(6rem, 10vw, 10rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 25%, rgba(184, 111, 68, 0.18), transparent 28%),
        radial-gradient(circle at 15% 80%, rgba(115, 68, 42, 0.12), transparent 25%),
        #0b0806;
}

.tc14-hero::before {
    content: 'T-C14';
    position: absolute;
    left: -0.06em;
    top: 0.06em;
    color: rgba(255, 255, 255, 0.025);
    font: 100 clamp(10rem, 28vw, 30rem) / 1 Vazir, sans-serif;
    direction: ltr;
    letter-spacing: -0.11em;
    pointer-events: none;
}

.tc14-product-hero {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100vw - 64px));
    margin: 0 auto;
    grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
    gap: clamp(3rem, 7vw, 7rem);
    margin-bottom: 0;
    opacity: 1;
    animation: tc14HeroIn 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.tc14-hero-info {
    align-self: center;
}

.tc14-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: clamp(3rem, 7vh, 6rem);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.tc14-breadcrumb a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 220ms ease;
}

.tc14-breadcrumb a:hover {
    color: #fff;
}

.tc14-kicker {
    margin: 0 0 1rem;
    color: var(--tc14-copper);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tc14-title {
    margin: 0;
    color: #fff;
    font-size: clamp(5.5rem, 12vw, 11rem);
    font-weight: 100;
    line-height: 0.78;
    letter-spacing: -0.09em;
    text-align: right;
}

.tc14-product-name {
    margin: 2.2rem 0 0;
    color: #fff;
    font-size: clamp(1.35rem, 2.5vw, 2.15rem);
    font-weight: 300;
}

.tc14-intro {
    max-width: 500px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 1rem;
    line-height: 2;
}

.tc14-hero-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2.6rem 0 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--tc14-line);
    border-bottom: 1px solid var(--tc14-line);
}

.tc14-hero-specs div {
    padding: 0 1rem;
    border-left: 1px solid var(--tc14-line);
}

.tc14-hero-specs div:first-child {
    padding-right: 0;
}

.tc14-hero-specs div:last-child {
    padding-left: 0;
    border-left: 0;
}

.tc14-hero-specs dt {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    text-align: right;
}

.tc14-hero-specs dd {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.68rem;
}

.tc14-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.2rem;
}

.tc14-actions .btn,
.tc14-bridge-action {
    min-width: auto;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-size: 0.84rem;
    text-decoration: none;
}

.tc14-primary-action {
    border-color: var(--tc14-gold);
    background: var(--tc14-gold);
    color: #17100b;
}

.tc14-primary-action:hover {
    border-color: #fff;
    background: #fff;
    color: #17100b;
}

.tc14-secondary-action {
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
}

.tc14-secondary-action:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.tc14-gallery-wrapper {
    position: relative;
    gap: 1rem;
}

.tc14-gallery-caption {
    display: flex;
    justify-content: space-between;
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
}

.tc14-gallery-caption span {
    color: var(--tc14-copper);
}

body.is-tc14-product .main-image-container {
    padding-top: 112%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 48%, rgba(173, 108, 69, 0.18), transparent 40%),
        #120d0a;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.44);
    cursor: zoom-in;
}

body.is-tc14-product .main-product-image {
    padding: 0;
    object-fit: cover;
}

body.is-tc14-product .gallery-nav {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(10, 7, 5, 0.66);
    color: #fff;
    backdrop-filter: blur(12px);
}

body.is-tc14-product .gallery-nav:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(10, 7, 5, 0.9);
}

body.is-tc14-product .gallery-thumbnails {
    justify-content: flex-start;
}

body.is-tc14-product .gallery-thumb {
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    overflow: hidden;
    background: #17110d;
}

body.is-tc14-product .gallery-thumb.active {
    border-color: var(--tc14-gold);
    box-shadow: 0 0 0 1px var(--tc14-gold);
}

body.is-tc14-product .gallery-thumb img {
    padding: 0;
    object-fit: cover;
}

/* Film */
.tc14-product-film {
    width: min(1280px, calc(100vw - 64px));
    margin: 0 auto;
    padding: clamp(7rem, 11vw, 11rem) 0;
}

.tc14-film-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: end;
    margin-bottom: 2.5rem;
}

.tc14-film-heading h2,
.tc14-performance-heading h2,
.tc14-detail-story h2,
.tc14-coffee-bridge h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 5rem);
    font-weight: 200;
    line-height: 1.3;
    letter-spacing: -0.045em;
}

.tc14-film-heading > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    line-height: 2;
}

.tc14-film-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 34px;
    background: #050403;
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.4);
}

.tc14-film-frame video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background: #050403;
}

.tc14-film-index {
    position: absolute;
    top: 1.3rem;
    right: 1.3rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    background: rgba(5, 4, 3, 0.42);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    backdrop-filter: blur(10px);
}

/* Performance */
.tc14-performance {
    padding: clamp(7rem, 11vw, 11rem) max(32px, calc((100vw - 1280px) / 2));
    background: var(--tc14-cream);
    color: #1a130e;
}

.tc14-performance .tc14-kicker {
    color: #a85e35;
}

.tc14-performance-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1rem clamp(3rem, 8vw, 8rem);
    align-items: end;
    margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.tc14-performance-heading .tc14-kicker {
    grid-column: 1 / -1;
}

.tc14-performance-heading h2 {
    color: #1a130e;
}

.tc14-performance-heading > p:last-child {
    margin: 0;
    color: #6f6258;
    line-height: 2;
}

.tc14-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(26, 19, 14, 0.18);
    border-right: 1px solid rgba(26, 19, 14, 0.18);
}

.tc14-feature {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.4rem;
    border-left: 1px solid rgba(26, 19, 14, 0.18);
    border-bottom: 1px solid rgba(26, 19, 14, 0.18);
    transition: background-color 240ms ease, color 240ms ease;
}

.tc14-feature:hover {
    background: #1a130e;
    color: var(--tc14-cream);
}

.tc14-feature > span {
    color: #ad6842;
    font-size: 0.72rem;
    font-weight: 700;
}

.tc14-feature p {
    margin: 2.5rem 0 0;
    line-height: 1.8;
}

/* Lifestyle story */
.tc14-detail-story {
    width: min(1280px, calc(100vw - 64px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0 auto;
    padding: clamp(7rem, 11vw, 11rem) 0;
}

.tc14-detail-story article {
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 70% 16%, rgba(196, 118, 72, 0.16), transparent 30%),
        #130e0b;
}

.tc14-detail-story article:first-child {
    border-radius: 0 32px 32px 0;
}

.tc14-detail-story article:last-child {
    border-radius: 32px 0 0 32px;
}

.tc14-detail-number {
    position: absolute;
    top: 1.5rem;
    left: 1.7rem;
    color: rgba(255, 255, 255, 0.16);
    font-size: clamp(5rem, 10vw, 10rem);
    font-weight: 100;
    line-height: 1;
}

.tc14-detail-story h2 {
    max-width: 520px;
    font-size: clamp(2rem, 3.7vw, 3.8rem);
}

.tc14-detail-story article > p:last-child {
    max-width: 540px;
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, 0.5);
    line-height: 2;
}

/* Bridge back to capsule ecosystem */
.tc14-coffee-bridge {
    position: relative;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(2rem, 8vw, 8rem);
    align-items: center;
    padding: clamp(6rem, 10vw, 9rem) max(32px, calc((100vw - 1280px) / 2));
    overflow: hidden;
    background: #bd744b;
    color: #1b100a;
}

.tc14-coffee-bridge .tc14-kicker,
.tc14-coffee-bridge h2 {
    color: #1b100a;
}

.tc14-coffee-bridge > div:first-child {
    position: relative;
    z-index: 2;
}

.tc14-coffee-bridge > div:first-child > p:not(.tc14-kicker) {
    max-width: 600px;
    margin: 1.4rem 0 0;
    color: rgba(27, 16, 10, 0.68);
    line-height: 2;
}

.tc14-bridge-action {
    margin-top: 2rem;
    border-color: #1b100a;
    background: #1b100a;
    color: #fff;
}

.tc14-bridge-action:hover {
    border-color: #fff;
    background: #fff;
    color: #1b100a;
}

.tc14-capsule-spectrum {
    position: relative;
    height: 430px;
    direction: ltr;
}

.tc14-capsule-spectrum::before {
    content: '';
    position: absolute;
    inset: 14% 5%;
    border: 1px solid rgba(27, 16, 10, 0.18);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.tc14-capsule-spectrum i {
    position: absolute;
    width: clamp(66px, 7vw, 104px);
    aspect-ratio: 0.92 / 1;
    display: block;
    border-radius: 44% 44% 18% 18%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.36), transparent 34%), var(--capsule);
    box-shadow: inset -10px 0 14px rgba(0, 0, 0, 0.18), 0 24px 38px rgba(54, 22, 8, 0.22);
    transform: rotate(var(--rotate, 0deg));
}

.tc14-capsule-spectrum i::after {
    content: '';
    position: absolute;
    left: -7%;
    right: -7%;
    bottom: -5%;
    height: 10%;
    border-radius: 50%;
    background: #d7d0c7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.tc14-capsule-spectrum i:nth-child(1) { top: 4%; left: 45%; --rotate: -5deg; }
.tc14-capsule-spectrum i:nth-child(2) { top: 28%; left: 15%; --rotate: 9deg; }
.tc14-capsule-spectrum i:nth-child(3) { top: 25%; right: 10%; --rotate: -12deg; }
.tc14-capsule-spectrum i:nth-child(4) { bottom: 8%; left: 30%; --rotate: -3deg; }
.tc14-capsule-spectrum i:nth-child(5) { bottom: 3%; right: 27%; --rotate: 12deg; }
.tc14-capsule-spectrum i:nth-child(6) { top: 39%; left: 45%; --rotate: 2deg; }

body.is-tc14-product .tc14-primary-action:focus-visible,
body.is-tc14-product .tc14-secondary-action:focus-visible,
body.is-tc14-product .tc14-bridge-action:focus-visible,
body.is-tc14-product .tc14-breadcrumb a:focus-visible {
    outline: 3px solid var(--tc14-gold);
    outline-offset: 4px;
}

@keyframes tc14HeroIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
    .tc14-product-hero {
        grid-template-columns: 1fr;
        width: min(860px, calc(100vw - 40px));
    }

    .tc14-gallery-wrapper {
        order: 1;
    }

    .tc14-hero-info {
        order: 2;
    }

    .tc14-breadcrumb {
        margin-bottom: 3rem;
    }

    body.is-tc14-product .main-image-container {
        padding-top: 100%;
    }

    .tc14-product-film,
    .tc14-detail-story {
        width: min(860px, calc(100vw - 40px));
    }

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

    .tc14-coffee-bridge {
        grid-template-columns: 1fr;
    }

    .tc14-capsule-spectrum {
        height: 360px;
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 760px) {
    .tc14-hero {
        padding-top: 2rem;
    }

    .tc14-product-hero,
    .tc14-product-film,
    .tc14-detail-story {
        width: calc(100vw - 32px);
    }

    .tc14-title {
        font-size: clamp(5rem, 28vw, 8rem);
    }

    .tc14-film-heading,
    .tc14-performance-heading {
        grid-template-columns: 1fr;
    }

    .tc14-performance-heading .tc14-kicker {
        grid-column: auto;
    }

    .tc14-film-frame {
        border-radius: 20px;
    }

    .tc14-detail-story {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tc14-detail-story article {
        min-height: 420px;
        border-radius: 24px !important;
    }

    .tc14-coffee-bridge {
        padding-inline: 16px;
    }
}

@media (max-width: 520px) {
    .tc14-hero-specs {
        gap: 0;
    }

    .tc14-hero-specs div {
        padding-inline: 0.55rem;
    }

    .tc14-hero-specs dt { font-size: 0.78rem; }
    .tc14-hero-specs dd { font-size: 0.6rem; }

    .tc14-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tc14-actions .btn {
        width: 100%;
    }

    .tc14-feature-grid {
        grid-template-columns: 1fr;
    }

    .tc14-feature {
        min-height: 150px;
    }

    .tc14-capsule-spectrum {
        height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc14-product-hero,
    .tc14-feature,
    .tc14-capsule-spectrum i {
        animation: none !important;
        transition: none !important;
    }
}
