/* ============================================================
   Shirun Heavy Machinery - Main Stylesheet
   Version: 2.0.0 - Figma Design System (Green Theme)
   ============================================================ */

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

:root {
    /* Figma Green Color System */
    --color-primary:      #1B3A2D;   /* dark green - nav, footer */
    --color-primary-mid:  #2D6A4F;   /* mid green */
    --color-accent:       #52B788;   /* accent green - buttons, badges */
    --color-accent-light: #D8F3DC;   /* light green - backgrounds */
    --color-accent-hover: #40916C;   /* hover state */
    --color-cta:          #22c55e;   /* bright green CTA */
    --color-cta-hover:    #16a34a;

    /* Neutral */
    --color-text:         #1A1A1A;
    --color-muted:        #6B7280;
    --color-bg:           #F8FAF9;
    --color-white:        #FFFFFF;
    --color-border:       #E5E7EB;
    --color-dark-bg:      #0F1F15;   /* footer, dark sections */

    /* Typography */
    --font-sans:          'Inter', 'Segoe UI', Arial, sans-serif;
    --font-heading:       'Montserrat', 'Segoe UI', Arial, sans-serif;

    /* Layout */
    --radius:             8px;
    --radius-lg:          12px;
    --shadow-sm:          0 1px 3px rgba(0,0,0,.08);
    --shadow-md:          0 4px 16px rgba(0,0,0,.12);
    --shadow-lg:          0 8px 32px rgba(0,0,0,.16);
    --max-w:              1200px;
    --transition:         .25s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
    margin-bottom: .5em;
}

p { margin-bottom: 1em; }
ul, ol { padding-left: 1.5em; margin-bottom: 1em; }

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

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    border: 2px solid transparent;
    text-align: center;
    line-height: 1;
}

/* Primary green button */
.btn--primary, .btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn--primary:hover, .btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* CTA bright green button */
.btn--cta {
    background: var(--color-cta);
    color: var(--color-white);
    border-color: var(--color-cta);
    font-size: 1rem;
    padding: 14px 32px;
}
.btn--cta:hover {
    background: var(--color-cta-hover);
    border-color: var(--color-cta-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34,197,94,.35);
}

/* Outline button */
.btn--outline, .btn-outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.btn--outline:hover, .btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Outline white (on dark backgrounds) */
.btn--outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,.6);
}
.btn--outline-white:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* Full width */
.btn--full { width: 100%; }

/* WhatsApp button */
.btn--whatsapp {
    background: #25D366;
    color: var(--color-white);
    border-color: #25D366;
}
.btn--whatsapp:hover {
    background: #1ebe5a;
    border-color: #1ebe5a;
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ── Header / Navigation ──────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-primary);
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.site-branding .site-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: .5px;
}
.site-branding .site-title a { color: var(--color-white); }
.site-branding .site-title a:hover { color: var(--color-accent); }

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 4px;
    padding: 0;
    margin: 0;
}
.main-navigation a {
    display: block;
    padding: 8px 14px;
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    background: rgba(255,255,255,.1);
    color: var(--color-accent);
}

.header-cta {
    flex-shrink: 0;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    margin: 5px 0;
    transition: transform var(--transition);
}

/* ── Page Banner (Archive Header) ─────────────────────────── */
.archive-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
    color: var(--color-white);
    padding: 60px 0 48px;
    text-align: center;
}
.archive-header__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--color-white);
    margin-bottom: .4em;
}
.archive-header__desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 16px;
}
.breadcrumb a { color: var(--color-accent); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb span { margin: 0 6px; }

/* ── Product Filter Bar ───────────────────────────────────── */
.product-filter {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin: 32px 0 24px;
    box-shadow: var(--shadow-sm);
}
.product-filter__form {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}
.product-filter__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 160px;
}
.product-filter__group label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.form-control {
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: .9rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(82,183,136,.15);
}

.products-archive__count {
    font-size: .9rem;
    color: var(--color-muted);
    margin-bottom: 20px;
}

/* ── Products Grid & Cards ────────────────────────────────── */
.products-archive {
    padding: 0 0 80px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Product Card - BEM naming (matches template) */
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.product-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #E8F0EC;
    position: relative;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.05); }

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.product-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5em;
    line-height: 1.3;
}
.product-card__title a {
    color: var(--color-primary);
}
.product-card__title a:hover { color: var(--color-accent); }

.product-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.product-card__brand,
.product-card__model,
.product-card__year {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    background: var(--color-accent-light);
    color: var(--color-primary-mid);
}

.product-card__price {
    margin-bottom: 16px;
    margin-top: auto;
}
.product-card__price-label {
    font-size: .8rem;
    color: var(--color-muted);
    display: block;
    margin-bottom: 2px;
}
.product-card__price-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
}

.product-card__cta {
    margin-top: auto;
}

/* Legacy class support */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.product-card-image { aspect-ratio: 4/3; overflow: hidden; background: #E8F0EC; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 1.05rem; margin-bottom: .4em; }
.product-card-body p  { font-size: .9rem; color: var(--color-muted); margin-bottom: 1em; }
.product-card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

/* Badge */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    background: var(--color-accent-light);
    color: var(--color-primary-mid);
}

/* No results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-muted);
}
.no-results p { font-size: 1.1rem; margin-bottom: 20px; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    font-size: .9rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all var(--transition);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* ── Single Product Page ──────────────────────────────────── */
.product-detail {
    padding: 0 0 80px;
}

.product-detail__breadcrumb {
    background: var(--color-primary);
    padding: 14px 0;
}

.product-detail__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding-top: 40px;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 88px;
}
.product-gallery__main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #E8F0EC;
    aspect-ratio: 4/3;
    margin-bottom: 12px;
}
.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s ease;
}
.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.product-gallery__thumb {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
    background: none;
    padding: 0;
}
.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery__thumb.active,
.product-gallery__thumb:hover {
    border-color: var(--color-accent);
}

/* Product Info */
.product-detail__info {
    padding-top: 8px;
}

.product-detail__type {
    display: inline-block;
    background: var(--color-accent-light);
    color: var(--color-primary-mid);
    font-size: .8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 12px;
}

.product-detail__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-primary);
    margin-bottom: .5em;
    line-height: 1.2;
}

.product-detail__price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

/* Specs Table */
.product-specs {
    margin-bottom: 28px;
}
.product-specs h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-muted);
    margin-bottom: 12px;
}
.product-specs table {
    width: 100%;
    border-collapse: collapse;
}
.product-specs th,
.product-specs td {
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    font-size: .9rem;
    text-align: left;
}
.product-specs th {
    background: var(--color-bg);
    font-weight: 600;
    color: var(--color-muted);
    width: 40%;
}
.product-specs td {
    font-weight: 500;
    color: var(--color-text);
}
.product-specs tr:nth-child(even) td { background: #FAFAFA; }

/* CTA Buttons */
.product-detail__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.product-detail__actions .btn {
    font-size: 1rem;
    padding: 14px 24px;
}

/* Trust badges */
.product-detail__trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--color-muted);
}
.trust-badge svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Product Description */
.product-detail__description {
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
    margin-top: 48px;
}
.product-detail__description h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.product-detail__description p,
.product-detail__description li {
    color: var(--color-muted);
    line-height: 1.8;
}

/* Related Products */
.related-products {
    padding: 48px 0 80px;
    background: var(--color-white);
}
.related-products h2 {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
    color: var(--color-white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/wp-content/themes/shirun-machinery/assets/images/hero-bg.webp') center/cover no-repeat;
    opacity: .2;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--color-white);
    margin-bottom: .5em;
}
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 2em;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Section Titles ───────────────────────────────────────── */
/* 旧的居中规则已删除，以下第1351行的 flex 左右布局规则为准 */
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-header p  { color: var(--color-muted); max-width: 560px; margin: .5em 0 0; }

section { padding: 72px 0; }
section:nth-child(even) { background: var(--color-white); }

/* ── Features Grid ────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px;
}
.feature-item { text-align: center; }
.feature-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
}
.feature-item h3 { font-size: 1rem; }
.feature-item p  { font-size: .9rem; color: var(--color-muted); }

/* ── Inquiry Form ─────────────────────────────────────────── */
.inquiry-section { background: var(--color-primary); color: var(--color-white); }
.inquiry-section .section-header h2 { color: var(--color-white); }
.inquiry-section .section-header p  { color: rgba(255,255,255,.75); }

.inquiry-form {
    max-width: 680px;
    margin: 0 auto;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,.08);
    color: var(--color-white);
    font-size: .95rem;
    transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,.12);
}
.form-group select option { background: var(--color-primary); color: var(--color-white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 200px; font-size: 1rem; padding: 14px 36px; }

/* Form feedback */
.form-message {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: .9rem;
    margin-top: 16px;
    display: none;
}
.form-message.success {
    background: rgba(82,183,136,.2);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    display: block;
}
.form-message.error {
    background: rgba(239,68,68,.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    display: block;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    background: var(--color-dark-bg);
    color: rgba(255,255,255,.75);
    padding: 60px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .site-title { color: var(--color-white); font-size: 1.3rem; margin-bottom: .5em; }
.footer-brand p { font-size: .9rem; line-height: 1.6; }
.footer-col h4 {
    color: var(--color-white);
    font-size: .95rem;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .85rem;
}

/* ── WhatsApp Float Button ────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    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,.45);
    transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,.6);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp-float__text { display: none; } /* 设计稿为纯图标圆形按鈕，隐藏文字 */
.whatsapp-float__link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* ── Archive / Blog ───────────────────────────────────────── */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.post-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-border);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card-body { padding: 20px; }
.post-card-meta { font-size: .8rem; color: var(--color-muted); margin-bottom: 8px; }
.post-card-body h2 { font-size: 1.1rem; margin-bottom: .5em; }

/* ── About Page ───────────────────────────────────────────── */
.about-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}
.about-hero h1 { color: var(--color-white); font-size: clamp(2rem, 4vw, 2.8rem); }
.about-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 600px; margin: .5em auto 0; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 48px 0;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
}
.stat-item .stat-label {
    font-size: .9rem;
    color: var(--color-muted);
}

/* ── Contact Page ─────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    padding: 60px 0;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
}

/* ── FAQ Page ─────────────────────────────────────────────── */
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-white);
    transition: background var(--transition);
}
.faq-question:hover { background: var(--color-bg); }
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    color: var(--color-muted);
    font-size: .95rem;
    line-height: 1.7;
}
.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 16px 20px;
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 { color: var(--color-white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5em; }
.cta-section p { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-detail__layout { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .newsletter-section__inner { flex-direction: column; align-items: flex-start; }
    .newsletter-section__form { min-width: 100%; width: 100%; }
}
@media (max-width: 640px) {
    .header-inner { position: relative; flex-wrap: wrap; height: auto; padding: 12px 0; }
    .menu-toggle { display: block; }
    .main-navigation { width: 100%; display: none; }
    .main-navigation.is-open { display: block; }
    .main-navigation ul { flex-direction: column; gap: 0; padding-bottom: 8px; }
    .main-navigation a { border-radius: 0; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
    .hero { padding: 64px 0 52px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .inquiry-form { padding: 24px 16px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-filter__form { flex-direction: column; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Figma UI Restoration - New Components
   Version: 3.0.0
   ============================================================ */

/* ── Color System Override (Figma Spec) ─────────────────────── */
:root {
    /* Figma 设计稿颜色系统 */
    --figma-cta:          #8DC63F;   /* 黄绿色 CTA 按钮 */
    --figma-cta-hover:    #7AB52E;
    --figma-dark:         #1A2035;   /* Hero 深色背景 */
    --figma-dark-mid:     #1E2840;
    --figma-nav-bg:       #FFFFFF;   /* 白色导航背景 */
    --figma-nav-text:     #1A1A2E;   /* 深色导航文字 */
    --figma-price:        #8DC63F;   /* 价格文字颜色 */
    --figma-topbar-bg:    #0F1419;   /* 顶部信息栏背景 */
}

/* ── Top Info Bar ───────────────────────────────────────────── */
/* ── Full Navbar (104px = 48px top-bar + 56px site-header) ── */
.full-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

/* ── Top Info Bar (Fober): 48px, bg #051B31 ─────────────── */
.top-bar {
    width: 100%;
    height: 48px;
    background: #051B31;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.top-bar__inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 240px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}
.top-bar__left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.top-bar__right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.top-bar__text {
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #FFFFFF;
}
.top-bar__divider {
    font-size: 18px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.5);
}
.top-bar__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.2s;
}
.top-bar__link:hover { opacity: 0.8; }
.top-bar__lang {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #FFFFFF;
    cursor: pointer;
}
@media (max-width: 600px) {
    .newsletter-section__inner { flex-direction: column; align-items: flex-start; }
    .newsletter-section__form { min-width: 100%; width: 100%; }
}
@media (max-width: 640px) {
    .top-bar { display: none; }
}
/* ── Main Navbar: 56px, bg #FFFFFF ────────────────────────────── */
.site-header {
    width: 100%;
    height: 96px; /* design: navbar 96px = 20px padding + 56px content + 20px padding */
    background: #FFFFFF;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    position: relative;
}
.site-header__inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 240px; /* design: padding 20px 240px */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    gap: 0;
}
.site-logo {
    flex-shrink: 0;
}
.site-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-logo__img {
    width: 41px;
    height: 56px;
    display: block;
    flex-shrink: 0;
}
.site-logo__default {
    display: flex;
    align-items: center;
}
.site-logo__icon {
    width: 40px;
    height: 56px;
    background: #83AE48;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/* ── Main Nav Menu ───────────────────────────────────────── */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.main-nav__list {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
}
.main-nav__list li {
    display: flex;
    align-items: center;
}
.main-nav__list a {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4px 8px;
    gap: 2px;
    height: 32px;
    border-radius: 9999px;
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #0F1115;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    box-sizing: border-box;
}
.main-nav__list a:hover {
    background: rgba(131, 174, 72, 0.1);
    color: #83AE48;
}
.main-nav__list .current-menu-item > a,
.main-nav__list .current-page-ancestor > a {
    color: #83AE48;
}
/* ── Header Actions ──────────────────────────────────────── */
.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.header-actions__search {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: border-box;
}
.header-actions__search:hover { background: rgba(0,0,0,0.05); }
/* WhatsApp Button: 158×56px, green gradient, pill */
.btn--whatsapp {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    gap: 6px;
    width: 158px;
    height: 56px;
    background: linear-gradient(0deg, #1FAF38 0%, #60D669 100%);
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
    box-sizing: border-box;
    border: none;
}
.btn--whatsapp:hover { opacity: 0.9; color: #FFFFFF; }

/* CTA 按钮颜色覆盖为 Figma 黄绿色 */
.btn--cta,
.btn--primary,
.btn-primary {
    background: #8DC63F !important;
    border-color: #8DC63F !important;
    color: #fff !important;
}
.btn--cta:hover,
.btn--primary:hover,
.btn-primary:hover {
    background: #7AB52E !important;
    border-color: #7AB52E !important;
    color: #fff !important;
}
.btn--ghost {
    background: transparent;
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.btn--ghost:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}
.btn--sm { padding: 8px 18px !important; font-size: .85rem !important; }

/* -- Hero V2 ---------------------------------------------------------------- */
.hero-v2 {
    background: #06203B;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 936px;
}
.hero-v2__bg-img,
.hero-v2__bg-gradient,
.hero-v2__glow {
    position: absolute;
    pointer-events: none;
}
.hero-v2__bg-img {
    inset: 0;
    background: url('/wp-content/themes/shirun-machinery/assets/images/hero-bg.png') center center / cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}
.hero-v2__bg-gradient {
    inset: 0;
    background: linear-gradient(87.73deg, #0A0E17 1.57%, rgba(10,14,23,0.7) 50%, rgba(10,14,23,0.5) 98.43%);
    z-index: 1;
}
.hero-v2__glow--tr {
    width: 600px; height: 600px;
    right: 0; top: 0;
    background: rgba(131,174,72,0.12);
    filter: blur(150px);
    border-radius: 9999px;
    z-index: 2;
}
.hero-v2__glow--bl {
    width: 600px; height: 600px;
    left: 752px; bottom: 0;
    background: rgba(131,174,72,0.12);
    filter: blur(150px);
    border-radius: 9999px;
    z-index: 2;
}
.hero-v2__content-wrap {
    position: absolute;
    width: 1440px;
    height: 760px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    padding: 0 80px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    z-index: 3;
}
.hero-v2__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    width: 1280px;
    height: 760px;
}
.hero-v2__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 40px;
    width: 660px;
    height: fit-content;
    flex: none;
    flex-grow: 0;
    flex-shrink: 0;
    margin-top: 176px; /* compensate top-bar: full-navbar=144px, flex center at 167.75px, target content_top=255.75px, calc: (255.75-167.75)*2=176px */
}
.hero-v2__eyebrow-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: -40px; /* cancel gap: eyebrow→title no gap in design, gap=40px */
}
.hero-v2__eyebrow-line {
    display: inline-block;
    width: 32px; height: 2px;
    background: #83AE48;
    flex-shrink: 0;
}
.hero-v2__eyebrow-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16.5px;
    color: #83AE48;
}
.hero-v2__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 64px;
    color: #FFFFFF;
    width: 660px;
    margin: 0;
}
.hero-v2__title--accent { color: #83AE48; }
.hero-v2__desc {
    font-family: 'SF Pro', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #A4ABBD;
    width: 660px;
    margin: 0;
}
.hero-v2__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 660px;
    height: 64px;
}
.hero-btn--primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    gap: 6px;
    width: 209px; height: 56px;
    background: #83AE48;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.hero-btn--primary:hover { background: #6f9a30; color: #fff; }
.hero-btn--ghost {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    width: 181px; height: 64px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    text-decoration: none;
    transition: background 0.2s;
    flex-shrink: 0;
}
.hero-btn--ghost:hover { background: rgba(255,255,255,0.08); }
.hero-btn__play {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px; height: 40px;
    border: 1.25px solid rgba(255,255,255,0.5);
    border-radius: 9999px;
    flex-shrink: 0;
}
.hero-v2__image {
    position: relative;
    width: 560px;
    height: 760px;
    flex: none;
    order: 1;
    flex-grow: 0;
    overflow: visible;
}
.hero-v2__image-glow {
    position: absolute;
    width: 584px; height: 784px;
    left: calc(50% - 292px);
    top: calc(50% - 392px);
    background: rgba(131,174,72,0.12);
    filter: blur(200px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero-v2__img {
    position: absolute;
    width: 560px; height: 760px;
    left: 0; top: 0;
    object-fit: cover;
    object-position: center center;
    display: block;
    box-shadow: 0px 25px 50px rgba(255,255,255,0.15);
    z-index: 1;
}
.hero-v2__price-badge {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 36px;
    gap: 0;
    position: absolute;
    width: 201px; height: 124px;
    left: 460px; top: 166px;
    background: linear-gradient(0deg, rgba(255,255,255,0.12), rgba(255,255,255,0.12)), rgba(0,0,0,0.2);
    border: 1.5px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(3.52px);
    -webkit-backdrop-filter: blur(3.52px);
    border-radius: 24px;
    z-index: 2;
}
.hero-v2__price-badge-amount {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 52px;
    color: #FFFFFF;
}
.hero-v2__price-badge-label {
    display: block;
    font-family: 'SF Pro', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #A4ABBD;
}
.hero-v2__stats {
    position: absolute;
    width: 100%; height: 100px;
    left: 0; bottom: 76px;
    border-top: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    z-index: 3;
    box-sizing: border-box;
}
.hero-v2__stats-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px calc((100% - 1280px) / 2);
    gap: 80px;
    height: 100%;
    box-sizing: border-box;
}
.hero-v2__stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
}
.hero-v2__stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    color: #FFFFFF;
}
.hero-v2__stat-label {
    display: block;
    font-family: 'SF Pro', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #A4ABBD;
}
.hero-v2__stat-divider {
    width: 2px; height: 40px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.hero-v2__brands {
    position: absolute;
    width: 100%; height: 76px;
    left: 0; bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: 3;
    box-sizing: border-box;
}
.hero-v2__brands-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 22px calc((100% - 1280px) / 2);
    gap: 40px;
    height: 100%;
    box-sizing: border-box;
}
.hero-v2__brands-label-svg {
    display: block;
    flex-shrink: 0;
    opacity: 1;
}
.hero-v2__brands-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
}
.hero-v2__brands-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
}
.brand-logo {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s;
}
.brand-logo:hover { color: rgba(255,255,255,0.7); }
.brand-logo-img {
    display: block;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.brand-logo-img:hover { opacity: 0.8; }


/* ── Section Eyebrow & Header ───────────────────────────────── */
.section-eyebrow {
    font-size: .8rem;
    font-weight: 700;
    color: #8DC63F;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 24px;
}
.section-header .section__title { margin-bottom: .3em; }
.section-header__link {
    color: #8DC63F;
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 8px;
    transition: color var(--transition);
}
.section-header__link:hover { color: #7AB52E; }
.section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-primary);
    margin-bottom: .4em;
}
.section__subtitle {
    font-size: .95rem;
    color: var(--color-muted);
}

/* ── Categories Section ─────────────────────────────────────── */
.categories-section { background: #f9fafb; }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    text-decoration: none;
    gap: 12px;
}
.category-card:hover {
    border-color: #8DC63F;
    box-shadow: 0 4px 20px rgba(141,198,63,.15);
    transform: translateY(-2px);
}
.category-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(141,198,63,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8DC63F;
}
.category-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}
.category-card__count {
    font-size: .82rem;
    color: var(--color-muted);
    background: var(--color-bg);
    padding: 3px 12px;
    border-radius: 20px;
}

/* ── Hot Selling Section ──────────────────────────────────────────────── */
.hot-selling-section {
    background: var(--color-bg);
    padding: 80px 0;
}
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.filter-tab {
    padding: 8px 20px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: #fff;
    font-size: .875rem;
    font-weight: 500;
    color: var(--color-muted);
    cursor: pointer;
    transition: all var(--transition);
}
.filter-tab.active,
.filter-tab:hover {
    background: #8DC63F;
    border-color: #8DC63F;
    color: #fff;
}
.hot-selling-layout {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    height: 512px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Deal Card (large dark card, 480×512) */
.deal-card {
    flex: none;
    width: 480px;
    height: 512px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0F1115 0%, #1A2332 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.deal-card__top-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
    background: linear-gradient(90deg, #83AE48 0%, #5A7A30 100%);
}
.deal-card__top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.deal-card__top-bar-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.4px;
    color: #fff;
}
.deal-card__countdown {
    display: flex;
    align-items: center;
    gap: 4px;
}
.deal-card__countdown-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #fff;
}
.deal-card__countdown-sep {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #fff;
}
.deal-card__img-wrap {
    margin: 0 20px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.deal-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.deal-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(3px);
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.deal-card__overlay {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    gap: 12px;
}
.deal-card__tags {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}
.deal-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 9999px;
    font-family: 'SF Pro', -apple-system, 'Inter', sans-serif;
    font-size: 12px;
    line-height: 12px;
    color: #fff;
}
.deal-card__tag--new { background: #83AE48; }
.deal-card__tag--best { background: rgba(255,255,255,0.5); }
.deal-card__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.4px;
    color: #fff;
    margin: 0;
}
.deal-card__title a { color: #fff; }
.deal-card__title a:hover { color: #83AE48; }
.deal-card__meta {
    font-family: 'SF Pro', -apple-system, 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #A4ABBD;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 440px;
}
.deal-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}
.deal-card__price-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.deal-card__price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #fff;
}
.deal-card__cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    background: #83AE48;
    border-radius: 9999px;
    font-family: 'SF Pro', -apple-system, 'Inter', sans-serif;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 6px -4px rgba(9,59,107,0.2);
    transition: background var(--transition);
}
.deal-card__cart-btn:hover { background: #5A7A30; }

/* Right container */
.hot-selling-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 512px;
    overflow: hidden;
}

/* Top row: 3 vertical compact cards */
.hot-selling-top-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    height: 330px;
    min-width: 0;
    overflow: hidden;
}
.compact-card-v {
    flex: 1;
    height: 330px;
    background: #fff;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition);
}
.compact-card-v:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.compact-card-v__img-wrap {
    height: 200px;
    background-color: #F1F5F9;
    background-size: cover;
    background-position: center;
    position: relative;
    flex: none;
}
.compact-card-v__img-top {
    position: absolute;
    top: 8px;
    right: 8px;
}
.compact-card-v__badge {
    background: rgba(255,255,255,0.9);
    color: #83AE48;
    font-family: 'SF Pro', -apple-system, 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 9999px;
}
.compact-card-v__body {
    flex: 1;
    min-width: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 130px;
}
.compact-card-v__info { flex: 1; min-width: 0; }
.compact-card-v__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0.4px;
    color: #0F1115;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.compact-card-v__title a { color: #0F1115; }
.compact-card-v__title a:hover { color: #83AE48; }
.compact-card-v__meta {
    font-family: 'SF Pro', -apple-system, 'Inter', sans-serif;
    font-size: 14px;
    color: #717182;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.compact-card-v__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}
.compact-card-v__price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #83AE48;
}

/* Bottom row: 2 horizontal compact cards */
.hot-selling-bottom-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    height: 162px;
    min-width: 0;
    overflow: hidden;
}
.compact-card-h {
    flex: 1;
    height: 162px;
    background: #fff;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    transition: box-shadow var(--transition);
}
.compact-card-h:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.compact-card-h__img-wrap {
    width: 172px;
    flex: none;
    background-color: #F1F5F9;
    background-size: cover;
    background-position: center;
}
.compact-card-h__body {
    flex: 1;
    min-width: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.compact-card-h__info { flex: 1; min-width: 0; }
.compact-card-h__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0.4px;
    color: #0F1115;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.compact-card-h__title a { color: #0F1115; }
.compact-card-h__title a:hover { color: #83AE48; }
.compact-card-h__meta {
    font-family: 'SF Pro', -apple-system, 'Inter', sans-serif;
    font-size: 14px;
    color: #717182;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.compact-card-h__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.compact-card-h__price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #83AE48;
}
.compact-card__arrow-btn {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #83AE48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.compact-card__arrow-btn:hover { background: #83AE48; }
.compact-card__arrow-btn:hover svg { stroke: #fff; }

/* ── Tags ───────────────────────────────────────────────────── */
.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.tag--new { background: #E8F5E9; color: #2E7D32; }
.tag--best { background: #FFF3E0; color: #E65100; }
.tag--premium { background: #EDE7F6; color: #4527A0; }
.tag--type { background: var(--color-accent-light); color: var(--color-primary-mid); }
.tag--year { background: var(--color-bg); color: var(--color-muted); border: 1px solid var(--color-border); }
.tag--good { background: #E8F5E9; color: #2E7D32;     overflow-x: hidden;
}
.tag--excellent { background: #E3F2FD; color: #1565C0; }
.tag--fair { background: #FFF8E1; color: #F57F17; }

/* ── About Section V2 ───────────────────────────────────────── */
.about-section { background: #fff; }
.about-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
}
.about-images {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 55%;
    min-width: 0;
    height: 520px;
    flex-shrink: 0;
}
.about-images__col-left {
    flex: 1;
    min-width: 0;
    height: 100%;
}
.about-images__col-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 0;
    height: 100%;
}
.about-images__img-wrap {
    border-radius: 24.24px;
    overflow: hidden;
    flex: 1;
}
.about-images__img-wrap--large {
    height: 100%;
    flex: none;
    border-radius: 24.24px;
    overflow: hidden;
}
.about-images__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-images__img-placeholder {
    background: var(--color-bg);
}
.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.about-content__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 52px;
    color: #0F1115;
    margin: 0;
}
.about-content__text {
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #717182;
    margin: 0;
}
/* Feature cards row (below text) */
.about-features {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    padding: 40px 0 0 0;
}
.about-feature {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    gap: 16px;
    flex: 1;
    min-height: 280px;
    background: rgba(255,255,255,0.5);
    border-top: 3.5px solid #F1F5F9;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.12);
    border-radius: 16px;
    flex: 1;
}
.about-feature__icon {
    width: 48px;
    height: 48px;
    background: #E7EFE0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #83AE48;
    flex-shrink: 0;
    padding: 12px;
    box-sizing: border-box;
}
.about-feature h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #0F1115;
    margin: 0 0 4px 0;
}
.about-feature__subtitle {
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #6B8E4E;
    margin: 0;
}
.about-feature p {
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #717182;
    margin: 0;
}
.about-content__actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 40px 0 0 0;
}

/* ── Trust Stats Strip ─────────────────────────────────────── */
.trust-stats {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 32px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E7EFE0;
    background: #F8FAF5;
}
.trust-stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex: 1;
    padding: 20px 24px;
    border-right: 1px solid #E7EFE0;
    box-sizing: border-box;
}
.trust-stat:last-child {
    border-right: none;
}
.trust-stat__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #E7EFE0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #83AE48;
    padding: 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.trust-stat__icon svg {
    width: 100%;
    height: 100%;
}
.trust-stat__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.trust-stat__value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #0F1115;
    margin: 0;
}
.trust-stat__label {
    font-family: 'SF Pro', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    color: #3D5A1E;
    margin: 0;
}
.trust-stat__sub {
    font-family: 'SF Pro', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 14px;
    color: #9CA3AF;
    margin: 0;
}

/* ── CTA V2 (Dark card) ─────────────────────────────────────── */
.cta-v2 {
    background: var(--color-bg);
    padding: 60px 0;
}
.cta-v2__inner {
    background: #1A2035;
    border-radius: 20px;
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-v2__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(141,198,63,.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-v2__title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #fff;
    margin-bottom: .5em;
    position: relative;
}
.cta-v2__desc {
    font-size: 1rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 36px;
    position: relative;
}
.cta-v2__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ── Product Card V2 (Figma Style) ─────────────────────────── */
.product-card-v2 {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #8DC63F;
}
.product-card-v2__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-bg);
    overflow-x: hidden;
}
.product-card-v2__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card-v2:hover .product-card-v2__image img { transform: scale(1.05); }
.product-card-v2__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.product-card-v2__badge--best-seller { background: #FFF3E0; color: #E65100; }
.product-card-v2__badge--new         { background: #E8F5E9; color: #2E7D32; }
.product-card-v2__badge--premium     { background: #EDE7F6; color: #4527A0; }
.product-card-v2__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card-v2__title {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.product-card-v2__title a { color: var(--color-primary); }
.product-card-v2__title a:hover { color: #8DC63F; }
.product-card-v2__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    font-size: .78rem;
    color: var(--color-muted);
}
.product-card-v2__spec {
    display: inline-flex;
    gap: 3px;
}
.product-card-v2__spec-label { color: var(--color-muted); }
.product-card-v2__spec::after {
    content: '|';
    margin-left: 6px;
    color: var(--color-border);
}
.product-card-v2__spec:last-child::after { content: ''; }
.product-card-v2__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}
.product-card-v2__price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #8DC63F;
}
.product-card-v2__arrow {
    width: 32px;
    height: 32px;
    background: #8DC63F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
}
.product-card-v2__arrow:hover {
    background: #7AB52E;
    transform: scale(1.1);
}

/* ── Breadcrumb Bar ─────────────────────────────────────────── */
.breadcrumb-bar {
    background: #1A2035;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.breadcrumb-bar .breadcrumb {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    margin: 0;
}
.breadcrumb-bar .breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb-bar .breadcrumb a:hover { color: #8DC63F; }
.breadcrumb-bar .breadcrumb .breadcrumb-current {
    color: #8DC63F;
    font-weight: 600;
}

/* ── Product Detail V2 ──────────────────────────────────────── */
.product-detail-v2 {
    background: var(--color-bg);
    padding: 32px 0 80px;
}
.product-detail-v2__card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 24px;
}
.product-detail-v2__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Gallery V2 */
.product-detail-v2__gallery {
    padding: 28px;
    border-right: 1px solid var(--color-border);
}
.product-gallery-v2__main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg);
    aspect-ratio: 4/3;
    margin-bottom: 12px;
}
.product-gallery-v2__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s ease;
}
.product-gallery-v2__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-muted);
    font-size: .875rem;
}
.product-gallery-v2__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.product-gallery-v2__thumb {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
    background: none;
    padding: 0;
}
.product-gallery-v2__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery-v2__thumb.active,
.product-gallery-v2__thumb:hover {
    border-color: #8DC63F;
}

/* Product Info V2 */
.product-detail-v2__info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.product-detail-v2__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.product-detail-v2__title {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    color: var(--color-primary);
    line-height: 1.2;
    margin: 0;
}
.product-detail-v2__desc {
    font-size: .95rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0;
}
.product-detail-v2__price-box {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 16px 20px;
}
.product-detail-v2__price-label {
    display: block;
    font-size: .78rem;
    color: var(--color-muted);
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.product-detail-v2__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-detail-v2__price {
    font-size: 2rem;
    font-weight: 800;
    color: #8DC63F;
    line-height: 1;
}
.product-detail-v2__price-actions {
    display: flex;
    gap: 8px;
}
.icon-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    transition: all var(--transition);
}
.icon-btn:hover {
    border-color: #8DC63F;
    color: #8DC63F;
}
.product-detail-v2__ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-detail-v2__trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--color-muted);
}
.trust-badge svg { color: #8DC63F; flex-shrink: 0; }

/* Product Detail V2 Sections */
.product-detail-v2__section {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 28px 32px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.product-detail-v2__section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

/* Specs Grid V2 (two-column) */
.specs-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.specs-grid-v2__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}
.specs-grid-v2__item:nth-child(even) {
    border-right: none;
}
.specs-grid-v2__item:nth-last-child(-n+2) {
    border-bottom: none;
}
.specs-grid-v2__label {
    font-size: .875rem;
    color: var(--color-muted);
}
.specs-grid-v2__value {
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Certification Cards */
.cert-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.cert-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg);
    transition: all var(--transition);
}
.cert-card:hover {
    border-color: #8DC63F;
    background: rgba(141,198,63,.04);
}
.cert-card__icon {
    width: 40px;
    height: 40px;
    background: rgba(141,198,63,.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8DC63F;
    flex-shrink: 0;
}
.cert-card__name {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-primary);
}
.cert-card__type {
    display: block;
    font-size: .75rem;
    color: var(--color-muted);
    margin-top: 2px;
}

/* Video Embed V2 */
.video-embed-v2 {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
}
.video-embed-v2 iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Inquiry Form V2 (light style) */
.product-detail-v2__section .inquiry-form {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    max-width: 100%;
}
.product-detail-v2__section .inquiry-form .form-group label {
    color: var(--color-muted);
}
.product-detail-v2__section .inquiry-form .form-group input,
.product-detail-v2__section .inquiry-form .form-group select,
.product-detail-v2__section .inquiry-form .form-group textarea {
    background: #fff;
    border-color: var(--color-border);
    color: var(--color-text);
}
.product-detail-v2__section .inquiry-form .form-group input::placeholder,
.product-detail-v2__section .inquiry-form .form-group textarea::placeholder {
    color: var(--color-muted);
}

/* ── Archive Product Page V2 ────────────────────────────────── */
.archive-v2-header {
    background: #1A2035;
    padding: 48px 0 40px;
    color: #fff;
}
.archive-v2-header .breadcrumb { margin-bottom: 12px; }
.archive-v2-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #fff;
    margin-bottom: .3em;
}
.archive-v2-header p {
    color: rgba(255,255,255,.65);
    font-size: 1rem;
}

/* ── Responsive Additions ───────────────────────────────────── */
@media (max-width: 1024px) {
    .hot-selling-layout { grid-template-columns: 1fr; }
    .deal-card { max-width: 100%; }
    .hot-selling-grid { grid-template-columns: repeat(3, 1fr); }
    .product-detail-v2__layout { grid-template-columns: 1fr; }
    .product-detail-v2__gallery { border-right: none; border-bottom: 1px solid var(--color-border); }
}
@media (max-width: 768px) {
    .hero-v2__layout { grid-template-columns: 1fr; padding: 48px 0 0; }
    .hero-v2__image { display: none; }
    .hero-v2__stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-layout { grid-template-columns: 1fr; }
    .about-images { display: none; }
    .section-header { flex-direction: column; gap: 8px; }
    .hot-selling-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-cards { grid-template-columns: 1fr; }
    .specs-grid-v2 { grid-template-columns: 1fr; }
    .specs-grid-v2__item { border-right: none; }
    .cta-v2__inner { padding: 40px 24px; }
}
@media (max-width: 480px) {
    .hero-v2__stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hot-selling-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: #1A2035 !important;
    padding: 56px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.newsletter-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: nowrap;
}
.newsletter-section__text {
    flex: 1;
    min-width: 0;
}
.newsletter-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}
.newsletter-section__desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
}
.newsletter-section__form {
    flex: 0 0 420px;
    min-width: 0;
    max-width: 480px;
}
.newsletter-section__input-wrap {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}
.newsletter-section__input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(255,255,255,0.07);
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    min-width: 0;
}
.newsletter-section__input::placeholder { color: rgba(255,255,255,0.4); }
.btn--newsletter {
    padding: 14px 24px;
    background: #8DC63F;
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.btn--newsletter:hover { background: #7ab535; }
.newsletter-section__msg {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #8DC63F;
}
.newsletter-section__msg--success {
    color: #8DC63F;
}
.newsletter-section__msg--error {
    color: #ff6b6b;
}

/* ===== FOOTER ENHANCED ===== */
.site-footer {
    background: #111827;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}
.site-footer__brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.site-footer__brand-icon img { border-radius: 4px; }
.site-footer__brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.site-footer__desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin-bottom: 24px;
}
.site-footer__heading {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 20px;
}
.site-footer__nav { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li { margin-bottom: 12px; }
.site-footer__nav a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.site-footer__nav a:hover { color: #8DC63F; }
.site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
}
.site-footer__contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.6; }
.site-footer__contact-item a { color: rgba(255,255,255,0.55); text-decoration: none; }
.site-footer__contact-item a:hover { color: #8DC63F; }
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    margin-top: 48px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    flex-wrap: wrap;
    gap: 12px;
}
.site-footer__bottom-links { display: flex; gap: 20px; }
.site-footer__bottom-links a { color: rgba(255,255,255,0.35); text-decoration: none; }
.site-footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 1024px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    .newsletter-section__inner { flex-direction: column; align-items: flex-start; }
    .newsletter-section__form { min-width: 100%; width: 100%; }
}
@media (max-width: 640px) {
    .site-footer__grid { grid-template-columns: 1fr; }
    .newsletter-section__input-wrap { flex-direction: column; border-radius: 8px; }
    .btn--newsletter { border-radius: 0 0 8px 8px; }
}

/* ===== PAGE HERO (DARK) ===== */
.page-hero--dark {
    background: #1A2035;
    padding: 48px 0 40px;
    color: #fff;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { opacity: 0.4; }
.breadcrumb__current { color: #8DC63F; font-weight: 600; }
.page-hero__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
}
.page-hero__desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
    max-width: 560px;
}

/* ===== PRODUCTS ARCHIVE LAYOUT ===== */
.products-archive__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* ===== SIDEBAR FILTERS ===== */
.products-sidebar {
    position: sticky;
    top: 80px;
}
.sidebar-filter {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
.sidebar-filter__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1A2035;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
}
.sidebar-filter__options { display: flex; flex-direction: column; gap: 4px; }
.sidebar-filter__option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}
.sidebar-filter__option input[type="radio"] { display: none; }
.sidebar-filter__option:hover { background: #F9FAFB; }
.sidebar-filter__option.is-active {
    background: #F0F9E8;
    border: 1px solid #8DC63F;
}
.sidebar-filter__label {
    flex: 1;
    font-size: 0.875rem;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-filter__option.is-active .sidebar-filter__label { color: #1A2035; font-weight: 600; }
.sidebar-filter__count {
    font-size: 0.75rem;
    color: #6B7280;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.sidebar-filter__option.is-active .sidebar-filter__count {
    background: #8DC63F;
    color: #fff;
}

/* Price range options */
.sidebar-filter__options--price { gap: 2px; }
.sidebar-filter__option-price {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #6B7280;
    transition: color 0.15s, background 0.15s;
}
.sidebar-filter__option-price input { display: none; }
.sidebar-filter__option-price:hover { color: #1A2035; background: #F9FAFB; }
.sidebar-filter__option-price.is-active { color: #8DC63F; font-weight: 600; }

/* Year grid */
.sidebar-filter__year-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.sidebar-filter__year-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
    transition: all 0.15s;
}
.sidebar-filter__year-btn input { display: none; }
.sidebar-filter__year-btn:hover { border-color: #8DC63F; color: #8DC63F; }
.sidebar-filter__year-btn.is-active {
    background: #8DC63F;
    border-color: #8DC63F;
    color: #fff;
    font-weight: 600;
}
.btn--full { width: 100%; justify-content: center; }

/* ===== PRODUCTS TOOLBAR ===== */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F3F4F6;
}
.products-toolbar__count { font-size: 0.9rem; color: #6B7280; margin: 0; }
.products-toolbar__count strong { color: #1A2035; }
.products-toolbar__sort { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: #6B7280; }
.form-control--sm { padding: 6px 12px; font-size: 0.875rem; border: 1px solid #E5E7EB; border-radius: 8px; }

/* ===== PRODUCT CARD V2 (Listing Page) ===== */
.product-grid--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card-v2 {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.product-card-v2:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}
.product-card-v2__img-wrap {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #F3F4F6;
}
.product-card-v2__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.product-card-v2:hover .product-card-v2__img { transform: scale(1.04); }
.product-card-v2__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}
.product-card-v2__badge--best-seller { background: #F59E0B; color: #fff; }
.product-card-v2__badge--new { background: #8DC63F; color: #fff; }
.product-card-v2__body { padding: 16px; }
.product-card-v2__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A2035;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-v2__title a { color: inherit; text-decoration: none; }
.product-card-v2__title a:hover { color: #8DC63F; }
.product-card-v2__specs {
    font-size: 0.78rem;
    color: #9CA3AF;
    margin: 0 0 12px;
    line-height: 1.5;
}
.product-card-v2__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #F3F4F6;
}
.product-card-v2__price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #8DC63F;
}
.product-card-v2__arrow {
    width: 36px;
    height: 36px;
    background: #8DC63F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s;
}
.product-card-v2__arrow:hover { background: #7ab535; }

/* No results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: #6B7280;
}
.no-results h3 { font-size: 1.25rem; color: #1A2035; margin: 16px 0 8px; }
.no-results a { color: #8DC63F; }

/* Responsive */
@media (max-width: 1024px) {
    .products-archive__layout { grid-template-columns: 220px 1fr; gap: 24px; }
    .product-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .products-archive__layout { grid-template-columns: 1fr; }
    .products-sidebar { position: static; }
    .product-grid--3col { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .page-hero__title { font-size: 1.75rem; }
}
@media (max-width: 480px) {
    .product-grid--3col { grid-template-columns: 1fr; }
}

/* ── WebP Fallback ─────────────────────────────────────────────────── */
.no-webp .hero-v2 {
    background: url("/wp-content/themes/shirun-machinery/assets/images/hero-bg.jpg") center/cover no-repeat;
}


/* ── Large Screen Optimizations (1440px+) ───────────────────────────────── */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
    /* 1440px+ 大屏精确对齐设计稿 padding 240px（导航栏不覆盖，保持原有 padding） */
    .hero-v2 > .container {
        padding: 0 240px;
    }
    /* Hot Selling / Categories / About sections: 1440px内容宽度，对齐Figma设计稿 */
    .hot-selling-section > .container,
    .categories-section > .container,
    .about-section > .container {
        max-width: 1440px;
        padding: 0 0;
    }
    .hero-v2__layout {
        min-height: 760px;
        padding: 167px 0 40px; /* Figma精确值 */
    }
    .hero-v2__content {
        width: 660px;
        max-width: 660px;
        flex-shrink: 0;
    }
    .hero-v2__image {
        width: 44vw;
        max-width: 600px;
    }
    .hero-v2__title {
        font-size: 3.5rem;
    }
    .hero-v2__price-badge {
        right: 20px;
    }
    .hot-selling-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Medium Screen Optimizations (992px - 1440px) ─────────────────────────── */
@media (min-width: 992px) and (max-width: 1439px) {
    .hero-v2__layout {
        height: 660px; /* 固定高度，使 height:100% 对图片容器生效 */
        padding: 140px 0 40px;
        box-sizing: border-box;
    }
    .hero-v2__content {
        max-width: 54%;
        padding-right: 32px;
    }
    .hero-v2__image {
        width: 46vw;
        max-width: 560px;
    }
    .hero-v2__img {
        height: 100%;
        object-fit: cover;
    }
    .hero-v2__title {
        font-size: clamp(2.2rem, 3.2vw, 3.2rem);
    }
}

/* ── Tablet (768px - 991px) ────────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 991px) {
    .hero-v2__layout {
        min-height: 480px;
        padding: 100px 0 40px;
    }
    .hero-v2__content {
        max-width: 58%;
    }
    .hero-v2__image {
        width: 42vw;
        max-width: 480px;
    }
    .hero-v2__img {
        height: 100%;
        object-fit: cover;
    }
    .hot-selling-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
