/* ========================================
   HASSION Leather - 外贸官网样式
   配色: 深棕 #5C2D1A  米白 #FDFBF7
         深灰 #333333   金色 #C8945A
   ======================================== */

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333333;
    background: #FDFBF7;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    color: #5C2D1A;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #888;
    text-align: center;
    margin-bottom: 3rem;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #5C2D1A;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    color: #E0D7CB;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.24em;
    line-height: 1;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 0;
    opacity: 0.86;
    position: relative;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.72);
    transform-origin: center;
    transition: opacity 0.2s, transform 0.2s;
}

.nav-links a:hover::after {
    opacity: 0.55;
    transform: scaleX(1);
}

.nav-drawer-head,
.nav-drawer-secondary {
    display: none;
}

.nav-overlay {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: none;
    min-width: 64px;
    padding: 8px 0 8px 16px;
    color: #fff;
}

.menu-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    line-height: 1;
    opacity: 0.9;
    white-space: nowrap;
}

/* === Hero / Banner === */
.hero {
    min-height: 100vh;
    background-image: url('images/hero_craftsmanship.png');
    background-image: image-set(
        url('images/hero_craftsmanship.avif') type("image/avif"),
        url('images/hero_craftsmanship.webp') type("image/webp"),
        url('images/hero_craftsmanship.png') type("image/png")
    );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 680px;
}

.hero-tagline {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    color: rgba(253,251,247,0.82);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 22px;
    opacity: 0.72;
}

.hero h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 64px;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 0;
    line-height: 1.05;
}

.hero h2 {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    margin: 22px auto 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s;
}

.btn-primary {
    background: #C8945A;
    color: #fff;
    border-color: #C8945A;
}

.btn-primary:hover {
    background: #b5834a;
    border-color: #b5834a;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #333;
}

/* === About Section === */
#about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 24px 16px;
    background: #FDFBF7;
    border-radius: 8px;
    border: 1px solid #eee;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #5C2D1A;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* === Products Section === */
#products {
    background: #FDFBF7;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card .card-name {
    font-weight: 600;
    color: #333;
}

.product-card .card-inquire {
    font-size: 0.85rem;
    color: #C8945A;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #C8945A;
    padding: 6px 14px;
    border-radius: 4px;
    transition: all 0.2s;
    background: none;
}

.product-card .card-inquire:hover {
    background: #C8945A;
    color: #fff;
}

/* === OEM Section === */
#oem {
    background: #fff;
}

.oem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.oem-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.oem-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 42px;
    height: 42px;
    background: #5C2D1A;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.85rem;
    color: #777;
}

.oem-right h3 {
    font-size: 1.2rem;
    color: #5C2D1A;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.oem-right h3:first-child {
    margin-top: 0;
}

.oem-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.oem-checklist li {
    font-size: 0.9rem;
    color: #555;
    padding-left: 6px;
}

.oem-checklist li::before {
    content: '✓ ';
    color: #C8945A;
    font-weight: 700;
}

.oem-info {
    background: #FDFBF7;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 24px;
}

.oem-info p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 6px;
}

.oem-info strong {
    color: #5C2D1A;
}

.oem-right .btn {
    margin-top: 24px;
}

/* === Contact Section === */
#contact {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.3rem;
    color: #5C2D1A;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
}

.contact-info .whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 12px;
    transition: background 0.2s;
}

.contact-info .whatsapp-link:hover {
    background: #1ea84d;
}

.contact-map {
    margin-top: 24px;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Form */
.contact-form {
    background: #FDFBF7;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.contact-form h3 {
    font-size: 1.3rem;
    color: #5C2D1A;
    margin-bottom: 0.5rem;
}

.contact-form .form-hint {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 4px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C8945A;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

/* === Footer === */
.footer {
    background: #5C2D1A;
    color: rgba(255,255,255,0.8);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
}

.footer h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer p, .footer a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 2;
}

.footer a:hover {
    color: #C8945A;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 32px;
    padding-top: 20px;
}

/* === WhatsApp Floating Button === */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* ========================================
   RESPONSIVE - Tablet (≤ 768px)
   ======================================== */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* Nav */
    .nav-inner {
        padding: 0 20px;
        height: 68px;
    }

    .nav-logo {
        font-size: 20px;
        letter-spacing: 0.2em;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 82vw);
        height: 100vh;
        background: #FDFBF7;
        color: #5C2D1A;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 28px 28px 32px;
        box-shadow: -18px 0 42px rgba(0,0,0,0.14);
        transform: translateX(100%);
        transition: transform 0.42s ease;
        z-index: 1002;
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        color: #5C2D1A;
        display: block;
        font-size: 0.82rem;
        font-weight: 400;
        letter-spacing: 0.13em;
        line-height: 1.3;
        padding: 13px 0;
        opacity: 0.88;
    }

    .nav-links a::after {
        bottom: 8px;
    }

    .nav-drawer-head {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        color: rgba(92,45,26,0.62);
        font-size: 0.68rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        margin-bottom: 34px;
    }

    .nav-close {
        background: none;
        border: none;
        color: rgba(92,45,26,0.62);
        cursor: pointer;
        font: inherit;
        font-size: 0.66rem;
        letter-spacing: 0.14em;
        padding: 0;
        text-transform: uppercase;
    }

    .nav-drawer-secondary {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 36px;
        padding-top: 24px;
        border-top: 1px solid rgba(92,45,26,0.12);
        color: rgba(92,45,26,0.58);
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        line-height: 1.6;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(18, 14, 10, 0.28);
        border: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.42s ease, visibility 0.42s ease;
        z-index: 1001;
    }

    .hamburger {
        display: flex;
    }

    .navbar.menu-open .nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.nav-open {
        overflow: hidden;
    }

    /* Hero */
    .hero {
        background-image: url('images/hero_craftsmanship_mobile.webp');
        background-image: image-set(
            url('images/hero_craftsmanship_mobile.avif') type("image/avif"),
            url('images/hero_craftsmanship_mobile.webp') type("image/webp")
        );
        background-position: center center;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.05;
    }

    .hero h2 {
        font-size: 0.9rem;
        margin-top: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-card img {
        height: 180px;
    }

    .product-card .card-body {
        padding: 12px;
    }

    .product-card .card-name {
        font-size: 0.88rem;
        font-weight: 500;
        line-height: 1.3;
    }

    .product-card .card-inquire {
        font-size: 0.74rem;
        font-weight: 500;
        padding: 5px 10px;
        border-color: rgba(200, 148, 90, 0.62);
    }

    /* OEM */
    .oem-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .oem-checklist {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .contact-form {
        order: 1;
    }

    .contact-info {
        order: 2;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 1.08rem;
        margin-bottom: 0.9rem;
    }

    .contact-info p {
        font-size: 0.86rem;
        line-height: 1.62;
        margin-bottom: 10px;
    }

    .contact-info .whatsapp-link {
        padding: 9px 16px;
        border-radius: 4px;
        font-size: 0.82rem;
        font-weight: 500;
        margin-top: 8px;
    }

    .contact-map {
        margin-top: 18px;
        height: 150px;
    }

    .contact-map iframe {
        filter: grayscale(1) saturate(0.45) contrast(0.95);
        opacity: 0.82;
    }

    .contact-form {
        padding: 22px;
    }

    .contact-form .form-hint {
        font-size: 0.78rem;
        margin-bottom: 1.1rem;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }

    .form-group input,
    .form-group textarea {
        padding: 9px 10px;
        font-size: 0.86rem;
        border-radius: 4px;
    }

    .form-group textarea {
        height: 104px;
    }

    .contact-form .btn {
        max-width: none;
        padding: 12px 18px;
        font-size: 0.88rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ========================================
   RESPONSIVE - Small phones (≤ 480px)
   ======================================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero-tagline {
        font-size: 12px;
        letter-spacing: 0.2em;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-card img {
        height: 148px;
    }

    .product-card .card-name {
        font-size: 0.82rem;
    }

    .product-card .card-inquire {
        font-size: 0.72rem;
        padding: 4px 9px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-card {
        padding: 16px 8px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* === Shared Product Detail Pages === */
.product-detail-page {
    background: #FDFBF7;
    color: #2f2924;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

.product-detail-page .container {
    max-width: 1160px;
    min-width: 0;
    width: calc(100vw - 40px);
    padding-left: 0;
    padding-right: 0;
}

.product-detail-nav {
    background: #5C2D1A;
    color: #FDFBF7;
    padding: 22px 0;
}

.product-detail-nav-inner,
.product-detail-actions,
.product-detail-cta-inner {
    display: flex;
    align-items: center;
}

.product-detail-nav-inner {
    justify-content: space-between;
    gap: 24px;
}

.product-detail-logo {
    color: #E0D7CB;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
}

.product-detail-nav-link,
.product-detail-text-link {
    color: rgba(253, 251, 247, 0.82);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-detail-text-link {
    color: #8A5A36;
}

.product-detail-hero {
    background: #fff;
    padding: 76px 0 68px;
}

.product-detail-hero-grid {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
    gap: 58px;
    min-width: 0;
}

.product-detail-copy {
    min-width: 0;
}

.product-detail-kicker {
    display: block;
    color: rgba(92, 45, 26, 0.64);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.product-detail-page h1,
.product-detail-page h2 {
    color: #5C2D1A;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    letter-spacing: 0;
}

.product-detail-page h1 {
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    line-height: 1.04;
    margin-bottom: 18px;
}

.product-detail-page h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.85rem);
    line-height: 1.1;
    margin-bottom: 12px;
}

.product-detail-page p {
    color: #5f5a55;
    font-size: 1rem;
    line-height: 1.76;
    overflow-wrap: anywhere;
}

.product-detail-lead {
    color: #463b33;
    font-size: 1.08rem;
    max-width: 680px;
    margin-bottom: 12px;
}

.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 30px;
}

.product-detail-tags span {
    border: 1px solid rgba(92, 45, 26, 0.14);
    color: #6d4a36;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    padding: 10px 13px;
    text-transform: uppercase;
}

.product-detail-actions {
    flex-wrap: wrap;
    gap: 14px;
}

.product-detail-button {
    border: 1px solid rgba(92, 45, 26, 0.24);
    color: #5C2D1A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-detail-button:hover {
    background: rgba(92, 45, 26, 0.06);
    color: #5C2D1A;
}

.product-detail-media {
    background: #F7F2EA;
    border: 1px solid rgba(92, 45, 26, 0.1);
    margin: 0;
    overflow: hidden;
    padding: 18px;
}

.product-detail-media img {
    aspect-ratio: 4 / 5;
    object-fit: contain;
    width: 100%;
}

.product-detail-section {
    padding: 72px 0 78px;
}

.product-detail-section-alt {
    background: #fff;
    border-bottom: 1px solid rgba(92, 45, 26, 0.08);
    border-top: 1px solid rgba(92, 45, 26, 0.08);
}

.product-detail-section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.spec-grid,
.product-detail-grid,
.sampling-gallery {
    display: grid;
    gap: 18px;
}

.spec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spec-grid .product-detail-card:nth-child(3),
.spec-grid .product-detail-card:nth-child(4) {
    grid-column: span 2;
}

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

.product-detail-card,
.sampling-gallery-item {
    background: #FDFBF7;
    border: 1px solid rgba(92, 45, 26, 0.09);
    border-radius: 8px;
}

.product-detail-card {
    padding: 20px;
}

.product-detail-card strong {
    color: #5C2D1A;
    display: block;
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

.product-detail-card span {
    color: #6d625a;
    display: block;
    font-size: 0.84rem;
    line-height: 1.58;
}

.sampling-gallery {
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
}

.sampling-gallery-item {
    margin: 0;
    overflow: hidden;
}

.sampling-gallery-item img {
    aspect-ratio: 4 / 3;
    background: #F7F2EA;
    object-fit: contain;
    padding: 12px;
    width: 100%;
}

.sampling-gallery-item figcaption {
    color: #6d625a;
    font-size: 0.84rem;
    line-height: 1.55;
    padding: 14px 16px 16px;
}

.product-detail-note {
    color: #7a6c61;
    font-size: 0.9rem;
    margin-top: 18px;
}

.buyer-brief-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    max-width: 900px;
}

.buyer-brief-list li {
    background: #fff;
    border: 1px solid rgba(92, 45, 26, 0.09);
    border-radius: 8px;
    color: #514a45;
    font-size: 0.94rem;
    line-height: 1.5;
    padding: 14px 16px;
}

.product-detail-cta {
    background: #5C2D1A;
    color: #FDFBF7;
    padding: 54px 0;
}

.product-detail-cta-inner {
    justify-content: space-between;
    gap: 26px;
}

.product-detail-cta .product-detail-kicker,
.product-detail-cta h2 {
    color: #FDFBF7;
}

.product-detail-cta p {
    color: rgba(253, 251, 247, 0.76);
    max-width: 670px;
}

.product-detail-button-light {
    border-color: rgba(253, 251, 247, 0.46);
    color: #FDFBF7;
    flex: 0 0 auto;
}

.product-detail-button-light:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FDFBF7;
}

.product-detail-footer {
    background: #3B2116;
    color: rgba(255, 255, 255, 0.72);
    padding: 28px 0;
}

.product-detail-footer p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
}

@media (max-width: 980px) {
    .product-detail-hero-grid,
    .sampling-gallery {
        grid-template-columns: 1fr;
    }

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

    .spec-grid .product-detail-card:nth-child(3),
    .spec-grid .product-detail-card:nth-child(4) {
        grid-column: span 1;
    }

    .product-detail-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .product-detail-page .container {
        width: calc(100vw - 40px);
    }

    .product-detail-nav-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-detail-hero {
        padding: 52px 0 44px;
    }

    .product-detail-hero-grid {
        gap: 34px;
    }

    .product-detail-section {
        padding: 54px 0 62px;
    }

    .spec-grid,
    .product-detail-grid,
    .buyer-brief-list {
        grid-template-columns: 1fr;
    }

    .product-detail-tags span,
    .product-detail-button,
    .product-detail-text-link {
        letter-spacing: 0.06em;
    }

    .product-detail-page h1 {
        font-size: 1.88rem;
        line-height: 1.12;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .product-detail-copy,
    .product-detail-lead {
        max-width: 320px;
    }

    .product-detail-tags {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-detail-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-detail-button,
    .product-detail-text-link {
        max-width: 100%;
        white-space: normal;
    }
}
