/* ============================================================
   旧版通用基础（Reset/Header/Footer/按钮/产品卡片）
   Source: main.css lines 1-1033
   ============================================================ */

/* ============================================================
   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;
    --navbar-h:           144px; /* topbar 36px + navbar 108px; used by hero padding-top calc */
    --hero-top-gap:       5vw;   /* gap between navbar bottom and hero content; 5vw = 72px@1440px, scales with viewport */
}

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;
}

/* ── Site Layout Containers ────────────────────────────────────────────────── */
/* 主内容区：与 navbar logo 左边 y 轴对齐
   与 site-header__inner 完全一致： max-width 1440px, margin auto, padding 0 240px */
.site-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 240px;
    box-sizing: border-box;
}
/* Footer 内容区：全宽，用百分比 padding（Figma 1920px 下 264px = 13.75%） */
.site-container--footer {
    width: 100%;
    padding: 0 16.67%;
    box-sizing: border-box;
}

/* ── 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 ──────────────────────────────────── */
/* NOTE: .site-header canonical rule is at line ~1153 (position: relative) */

.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: 60px; height: 60px;
    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 .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 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%;
    position: relative; z-index: 1;
}
/* pulse 波纹 */
.whatsapp-float::before,
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    opacity: .6;
    pointer-events: none;
    animation: wa-float-pulse 2.4s ease-out infinite;
    z-index: -1;
}
.whatsapp-float::after { animation-delay: 1.2s; }
@keyframes wa-float-pulse {
    0%   { transform: scale(1);   opacity: .6; }
    80%  { transform: scale(1.8); opacity: 0; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ── 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: left;
}
.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: 0; } /* legacy rule: margin-top reset to 0 to prevent eyebrow offset */

.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 还原通用组件（导航/首页各区块/产品详情/通讯/Footer）
   Source: main.css lines 1034-3956
   ============================================================ */

/* ============================================================
   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: #041a31;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.top-bar__inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 240px; /* Figma spec: aligns with navbar logo */
    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%;
    padding: 20px 0; /* Figma Frame 8: outer 20px top/bottom 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: 0 240px; /* Figma Frame 8: inner container, left/right 240px only */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 56px; /* Figma Frame 8: inner content height 56px */
    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: 8px;
    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); }
.header-actions__search svg { width: 20px; height: 20px; flex-shrink: 0; }
/* 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(to left, #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: visible;
    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-cover.jpg?v=2') 65% center / cover no-repeat;
    opacity: 1;
    z-index: 0;
}
.hero-v2__bg-gradient {
    inset: 0;
    background: linear-gradient(to right, rgba(6,32,59,0.92) 0%, rgba(6,32,59,0.85) 25%, rgba(6,32,59,0.35) 40%, rgba(6,32,59,0.0) 48%);
    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: 100%;
    height: 760px;
    left: 0;
    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: 100%;
    max-width: 1280px;
    height: 760px;
    margin: 0 auto;
}
.hero-v2__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 40px;
    width: 660px;
    min-width: 0;
    height: fit-content;
    flex: none;
    flex-grow: 0;
    flex-shrink: 1;
    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: 1.1;
    color: #FFFFFF;
    width: auto;
    max-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: 577px;
    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 { white-space: nowrap; }
.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;
    position: relative;
}
@keyframes hero-play-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.9); opacity: 0; }
}
.hero-btn__play::before,
.hero-btn__play::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 1.25px solid rgba(255,255,255,0.55);
    animation: hero-play-pulse 1.8s ease-out infinite;
    pointer-events: none;
}
.hero-btn__play::after {
    animation-delay: 0.9s;
}
.hero-v2__image {
    position: relative;
    width: 560px;
    min-width: 0;
    height: 760px;
    flex: none;
    order: 1;
    flex-grow: 0;
    flex-shrink: 1;
    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 {
    display: none;
}
.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;
    right: -20px; top: 166px;
    background: rgba(131,174,72,0.10);
    border: 1.5px solid rgba(255,255,255,0.10);
    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: #ffffff;
}
.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 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    color: #83AE48;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.section-eyebrow__line {
    display: inline-block;
    width: 32px;
    height: 2px;
    background: #83AE48;
    flex-shrink: 0;
}
.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--center { flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.section-header--center p { margin-left: auto; margin-right: auto; }
.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 {
    background: #8DC63F;
    border-color: #8DC63F;
    box-shadow: 0 8px 24px rgba(141,198,63,.35);
    transform: translateY(-2px);
}
.category-card:hover .category-card__name {
    color: #fff;
}
.category-card:hover .category-card__count {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.category-card:hover .category-card__icon {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.category-card__icon {
    width: 80px;
    height: 80px;
    background: rgba(141,198,63,.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8DC63F;
    transition: all var(--transition);
    padding: 12px;
    box-sizing: border-box;
}
.category-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.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%, #80aa46 50%, #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;
    min-width: 22px;
    height: 20px;
    padding: 2px 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 3.75px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}
.deal-card__countdown-sep {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #fff;
}
.deal-card__img-wrap {
    margin: 20px 20px 0;
    height: 256px;
    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; color: #fff; }
.deal-card__price-label-wrap { display: flex; flex-direction: column; gap: 2px; }
.deal-card__price-label { font-family: 'SF Pro', 'Inter', sans-serif; font-size: 14px; font-weight: 400; color: #B7BDCD; line-height: 20px; }
.deal-card__tag--best { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid 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: 16px;
    line-height: 20px;
    color: #B7BDCD;
    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: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
}
.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--brand { background: #E8F5E9; color: #1B5E20; font-weight: 800; }
.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;
    position: relative;
}
.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: flex-start;
    align-items: center;
    gap: 24px;
    padding: 16px 0 0 0;
}

/* 2013 year badge — centered at junction of left image + right two images */
.about-year-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #06203b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 25px 50px -12px rgba(6,32,59,0.40);
    z-index: 2;
    outline: 3.33px solid #ffffff;
    outline-offset: -3.33px;
}
.about-year-badge__year {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    color: #fff;
}
.about-year-badge__since {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    font-family: 'SF Pro', 'Inter', sans-serif;
}
.about-year-badge__label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    padding: 0 8px;
}

/* 4 stat boxes in about right column */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 8px;
}
.about-stat {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.about-stat__num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    color: var(--color-accent);
}
.about-stat__label {
    font-size: 11px;
    color: #717182;
    line-height: 1.3;
}
@media (max-width: 600px) {
    .about-stats { 
        display: none;
    }
    .about-year-badge { width: 72px; height: 72px; bottom: 16px; }
    .about-year-badge__year { font-size: 18px; }
}/* ── About Timeline ───────────────────────────────────────────── */
.about-timeline {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-top: 8px;
}
.about-timeline__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 80px;
    text-align: center;
}
.about-timeline__line {
    flex: 1;
    height: 2px;
    background: #83AE48;
    margin-top: 11px;
    min-width: 20px;
}
.about-timeline__dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #83AE48;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #83AE48;
    flex-shrink: 0;
}
.about-timeline__item--active .about-timeline__dot {
    background: #0F1115;
    box-shadow: 0 0 0 2px #0F1115;
}
.about-timeline__year {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    color: #83AE48;
}
.about-timeline__item--active .about-timeline__year {
    color: #0F1115;
}
.about-timeline__desc {
    font-size: 12px;
    line-height: 1.4;
    color: #717182;
    max-width: 100px;
}

/* ── About Evidence Cards ───────────────────────────────────── */
.about-evidence {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    width: 100%;
}
.about-evidence__card {
    background: #fff;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.about-evidence__img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}
.about-evidence__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-evidence__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15,17,21,.65);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
}
.about-evidence__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.about-evidence__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #83AE48;
    margin: 0;
}
.about-evidence__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.35;
    color: #0F1115;
    margin: 0;
}
.about-evidence__text {
    font-size: 14px;
    line-height: 1.6;
    color: #717182;
    margin: 0;
    flex: 1;
}
.about-evidence__link {
    font-size: 14px;
    font-weight: 600;
    color: #83AE48;
    text-decoration: none;
    margin-top: 4px;
}
.about-evidence__link:hover { text-decoration: underline; }
@media (max-width: 900px) {
    .about-timeline__year {
        line-height: var(--Font-Leading-6, 24px);
    }
    .about-timeline__desc {
        color: var(--Color-Text-Primary, #0F1115);
        font-family: var(--Font-Family-sans, "SF Pro");
        font-size: var(--Font-Size-3xs, 8px);
        font-weight: var(--Font-Weight-normal, 400);
        line-height: var(--Font-Leading-3, 12px);
    }
    .about-content__actions {
        display: none;
    }
    .about-evidence { 
        grid-template-columns: 1fr; 
        margin-top: 12px;
    }
    .about-evidence__label {
        font-size: var(--Font-Size-sm, 14px);
        font-weight: var(--Font-Weight-medium, 500);
        line-height: var(--Font-Leading-5, 20px);
    }
    .about-evidence__link {
        font-size: var(--Font-Size-base, 16px);
        font-weight: var(--Font-Weight-medium, 500);
        line-height: var(--Font-Leading-5, 20px);
    }
}
@media (max-width: 600px) {
    
}

/* ── 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 (Image background card) ─────────────────────────── */
.cta-v2 {
    background: var(--color-bg);
    padding: 60px 0;
}
.cta-v2__inner {
    background-image: url('../images/CTA@3x.png');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 424px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cta-v2__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6,32,59,0.65);
    pointer-events: none;
    border-radius: 16px;
}
.cta-v2__title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #fff;
    margin-bottom: .5em;
    position: relative;
    z-index: 1;
}
.cta-v2__desc {
    font-size: 1rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}
.cta-v2__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
/* CTA section buttons: Figma exact spec */
.cta-v2__btn--primary {
    min-width: 164px;
    height: 56px;
    padding: 0 24px;
    background: #83ae48 !important;
    border-color: #83ae48 !important;
    color: #fff !important;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity .2s;
}
.cta-v2__btn--primary:hover { opacity: 0.9; color: #fff !important; }
.cta-v2__btn--outline {
    min-width: 164px;
    height: 56px;
    padding: 0 24px;
    background: transparent !important;
    border: 2px solid #83ae48 !important;
    color: #83ae48 !important;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.cta-v2__btn--outline:hover {
    background: #83ae48 !important;
    color: #fff !important;
}

/* ── 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);
}
/* View Details button (Figma design) */
.product-card-v2__view-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px 0;
    background: #1A2035;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.product-card-v2__view-btn:hover {
    background: #2D3A55;
    color: #fff;
}

/* ── Breadcrumb Bar ─────────────────────────────────────────── */
.breadcrumb-bar {
    background: #1A2035;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-top: 144px;
}
.breadcrumb-bar .breadcrumb {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    margin: 0;
}
.breadcrumb-bar .breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb-bar .breadcrumb__item { display: flex; align-items: center; gap: 6px; }
.breadcrumb-bar .breadcrumb__sep { color: rgba(255,255,255,.3); }
.breadcrumb-bar .breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.breadcrumb-bar .breadcrumb a:hover { color: #8DC63F; }
.breadcrumb-bar .breadcrumb span:not(.breadcrumb__sep) { color: #fff; font-weight: 600; }

/* ── Product Detail V2 ──────────────────────────────────────── */
.product-detail-v2 {
    background: var(--color-bg);
    padding: 16px 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__subtitle {
    font-size: .85rem;
    color: var(--color-muted);
    margin: -8px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
/* Mini Specs Grid (inside right info panel) */
.product-detail-v2__mini-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.mini-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-border);
    gap: 8px;
}
.mini-spec-item:nth-last-child(-n+2) { border-bottom: none; }
.mini-spec-item:nth-child(odd) { border-right: 1px solid var(--color-border); }
.mini-spec-item__label {
    font-size: .78rem;
    color: var(--color-muted);
    white-space: nowrap;
}
.mini-spec-item__value {
    font-size: .82rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: right;
}
.product-detail-v2__price-box {
    background: #f2f8e8;
    border: 1px solid #d4edaa;
    border-radius: var(--radius);
    padding: 16px 20px;
}
.product-detail-v2__price-currency {
    display: block;
    font-size: .78rem;
    color: var(--color-muted);
    margin-top: 4px;
    font-weight: 500;
}
.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: transparent !important;
    padding: 0;
    border-bottom: 1.3px solid rgba(255,255,255,0.08);
}
.newsletter-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    padding: 24px 320px;
    box-sizing: border-box;
}
.newsletter-section__text {
    flex: 1;
    min-width: 0;
}
.newsletter-section__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 24px;
    font-family: Montserrat, sans-serif;
}
.newsletter-section__desc {
    font-size: 16px;
    color: #b7bdcd;
    margin: 0;
    line-height: 20px;
}
.newsletter-section__form {
    flex: 0 0 auto;
    min-width: 0;
}
.newsletter-section__input-wrap {
    display: flex;
    gap: 0;
    border-radius: 9999px;
    overflow: hidden;
    border: none;
}
.newsletter-section__input {
    width: 280px;
    flex-shrink: 0;
    padding: 16px 16px 16px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(200px);
    -webkit-backdrop-filter: blur(200px);
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    min-width: 0;
    box-sizing: border-box;
}
.newsletter-section__input::placeholder { color: rgba(255,255,255,0.4); }
.btn--newsletter {
    padding: 16px 14px 16px 12px;
    background: #83ae48;
    color: #fff;
    border: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Inter, sans-serif;
}
.btn--newsletter:hover { background: #7ab535; }
.btn--newsletter::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('/wp-content/themes/shirun/assets/images/Linear-Arrows-Arrow-Right.svg') center/contain no-repeat;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}
.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: linear-gradient(rgba(6,32,59,0.60), rgba(6,32,59,0.60)), url('/wp-content/themes/shirun/assets/images/footer-bg.webp') top/cover no-repeat;
    color: #fff;
    padding: 0;
    font-size: 18px;
}
.site-footer__grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 320px;
    box-sizing: border-box;
}
.site-footer__brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}
.site-footer__brand-icon img { border-radius: 4px; }
.site-footer__brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #83ae48;
    line-height: 28px;
    display: none;
}
.site-footer__desc {
    font-size: 16px;
    line-height: 20px;
    color: #b7bdcd;
    margin-bottom: 0;
    max-width: 469px;
}
.site-footer__heading {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 24px;
    margin: 0 0 20px;
}
.site-footer__nav { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li { margin-bottom: 14px; }
.site-footer__nav a {
    color: #b7bdcd;
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
    transition: color 0.2s;
}
.site-footer__nav a:hover { color: #83ae48; }
.site-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 24px;
    color: #fff;
}
.site-footer__contact-item svg { flex-shrink: 0; opacity: 0.7; }
.site-footer__contact-item a { color: #fff; text-decoration: none; }
.site-footer__contact-item a:hover { color: #83ae48; }
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1.3px solid rgba(255,255,255,0.1);
    padding: 24px 320px;
    margin-top: 0;
    font-size: 16px;
    line-height: 20px;
    color: rgba(255,255,255,0.6);
    flex-wrap: wrap;
    gap: 12px;
    box-sizing: border-box;
}
.site-footer__bottom-links { display: flex; gap: 20px; }
.site-footer__bottom-links a { color: rgba(255,255,255,0.6); text-decoration: none; }
.site-footer__bottom-links a:hover { color: rgba(255,255,255,0.9); }

/* Footer social icons — Figma footer bottom-bar (4 squares: FB / X / LinkedIn / YouTube). */
.site-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.site-footer__social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}
.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, 0.18);
}
.site-footer__social-icon {
    width: 24px;
    height: 24px;
    display: block;
}
@media (max-width: 640px) {
    .site-footer__social { gap: 12px; }
}

@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-color: #06203B;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    color: #fff;
    position: relative;
    /* height/padding overridden by .inner-page-hero */
}
/* Contact Hero background image */
.contact-hero-bg {
    background-image:
        linear-gradient(to right, rgba(13,27,42,0.82) 55%, rgba(13,27,42,0.45) 100%),
        url('../images/stories-hero.webp');
    background-size: cover;
    background-position: center right;
}
/* Blog & News Hero background image */
.blog-hero {
    background-image:
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
        url('../images/cases-hero.jpg');
    background-size: cover;
    background-position: center;
}
.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: #83AE48; /* figma: green text */
    font-weight: 500;
    background: rgba(255,255,255,0.1); /* figma: white translucent pill */
    padding: 4px 8px;
    border-radius: 9999px;
    font-size: 0.875rem; /* 14px ≈ figma 18px scaled */
}
.page-hero__title {
    font-size: 3rem; /* figma: 48px */
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    margin: 0 0 12px;
    line-height: 52px; /* figma: line-height 52px */
}
.page-hero__desc {
    font-size: 1.125rem; /* figma: 18px */
    color: #B7BDCD; /* figma: #B7BDCD */
    margin: 0;
    max-width: 640px; /* figma: 640px */
}

/* ===== 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; }

/* ===== SIDEBAR QUOTE PROMISE CARD ===== */
.sidebar-quote-card {
    margin-top: 20px;
    background: #0F1F2E;
    border-radius: 14px;
    padding: 24px 20px 20px;
    color: #fff;
}
.sidebar-quote-card__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #52B788;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.sidebar-quote-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 16px;
}
.sidebar-quote-card__divider {
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 12px 0;
}
.sidebar-quote-card__stats {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sidebar-quote-card__stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 0;
}
.sidebar-quote-card__num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    min-width: 40px;
}
.sidebar-quote-card__num sup {
    font-size: 1rem;
    font-weight: 700;
}
.sidebar-quote-card__unit {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}
.sidebar-quote-card__desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-left: auto;
    text-align: right;
    line-height: 1.3;
}
.sidebar-quote-card__btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px 0;
    background: #1A2F42;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.sidebar-quote-card__btn:hover {
    background: #243d55;
    color: #fff;
}

/* ===== 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: 1440px;
    }
    /* 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: 185px 0 40px; /* +18px 确保 eyebrow 不被 navbar 遮住 */
    }
    .hero-v2__content {
        width: min(660px, 52%);
        max-width: 660px;
        flex-shrink: 0;
    }
    .hero-v2__image {
        width: 44vw;
        max-width: 600px;
    }
    .hero-v2__title {
        font-size: clamp(2.6rem, 3vw, 3.5rem);
        width: auto;
    }
    .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;
        padding: 140px 0 40px;
        box-sizing: border-box;
    }
    .hero-v2__content {
        max-width: 58%;
        padding-right: 24px;
        flex-shrink: 0;
    }
    .hero-v2__image {
        width: 40vw;
        max-width: 500px;
    }
    .hero-v2__img {
        height: 100%;
        object-fit: cover;
    }
    .hero-v2__title {
        font-size: clamp(2rem, 3vw, 3rem);
        width: auto;
    }
}

/* ── 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: 60%;
        flex-shrink: 0;
    }
    .hero-v2__title {
        font-size: clamp(1.8rem, 2.8vw, 2.4rem);
        width: auto;
    }
    .hero-v2__image {
        width: 38vw;
        max-width: 420px;
    }
    .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);
    }
}



/* ============================================================
   About 下拉导航
   Source: main.css lines 5649-5741
   ============================================================ */

/* ============================================================
   ABOUT US — Dropdown Navigation Menu
   Figma: Component 7 (border-radius 9999px, 102x32px)
   Overlay: bg #EFF4E8, border-radius 8px, divider #83AE48/30%
   ============================================================ */

/* About Us 菜单项：胶囊按钮 + 下拉箭头 */
.main-nav__list .menu-item-has-children > a {
    position: relative;
    padding-right: 6px;
}

/* 下拉箭头（伪元素） */
.main-nav__list .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F1115' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.main-nav__list .menu-item-has-children:hover > a::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2383AE48' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    transform: rotate(180deg);
}

/* 下拉菜单容器 */
.main-nav__list .menu-item-has-children {
    position: relative;
}

.main-nav__list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    min-width: 180px;
    background: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    border-top: 2px solid #83AE48;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}

/* hover 时显示下拉菜单 */
.main-nav__list .menu-item-has-children:hover > .sub-menu {
    display: flex;
}

/* 子菜单项 */
.main-nav__list .sub-menu li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(131, 174, 72, 0.25);
}

.main-nav__list .sub-menu li:last-child {
    border-bottom: none;
}

/* 子菜单链接 */
.main-nav__list .sub-menu li a {
    display: block;
    width: 100%;
    padding: 14px 20px;
    height: auto;
    border-radius: 0;
    font-size: 15px;
    font-weight: 400;
    color: #1A1A1A;
    white-space: nowrap;
    background: transparent;
    transition: background 0.15s, color 0.15s;
    box-sizing: border-box;
}

.main-nav__list .sub-menu li a:hover {
    background: rgba(131, 174, 72, 0.12);
    color: #83AE48;
}


/* ============================================================
   UIPro 通用区块 v3.5
   Source: main.css lines 5742-6249
   ============================================================ */

/* ============================================================
   UIPro-generated sections — v3.5
   ============================================================ */

/* ── Equipment Stories ─────────────────────────────────────── */
.stories-section {
    padding: 80px 0;
    background: var(--color-primary);
}
.stories-section .section-eyebrow,
.stories-section .section__title {
    color: var(--color-white);
}
.stories-section .section__subtitle {
    color: rgba(255,255,255,.65);
}
.stories-section .section-header { margin-bottom: 40px; }

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.story-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    cursor: pointer;
    transition: transform .25s;
}
.story-card:hover { transform: translateY(-4px); }
.story-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 40%, transparent 70%);
    border-radius: inherit;
    z-index: 0;
}
.story-card__badge,
.story-card__footer { position: relative; z-index: 1; }
.story-card__badge {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 999px;
    align-self: flex-start;
}
.story-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.story-card__text h3 {
    color: #fff;
    font-size: 21px;
    font-family: var(--font-heading);
    margin-bottom: 6px;
}
.story-card__text p {
    color: rgba(255,255,255,.75);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}
.story-card__arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    text-decoration: none;
    transition: background var(--transition);
}
.story-card__arrow:hover { background: var(--color-accent-hover); color: #fff; }

@media (max-width: 900px) {
    .stories-grid { grid-template-columns: 1fr; }
    .story-card { min-height: 240px; }
}

/* ── Industries ──────────────────────────────────────────────── */
.industries-section {
    padding: 80px 0;
    background: #0c1a11;
    position: relative;
    overflow: hidden;
}
.industries-section__bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/Background-pattern.svg');
    background-size: cover;
    opacity: .06;
    pointer-events: none;
}
.industries-header { margin-bottom: 48px; }
.section-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(131,174,72,.1);
    border: 1px solid rgba(131,174,72,.3);
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.industries-section__title {
    color: var(--color-white);
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 12px;
}
.industries-section__subtitle {
    color: rgba(255,255,255,.55);
    font-size: 16px;
}
.industries-grid {
    display: grid;
    grid-template-columns: 1fr 260px 1fr;
    gap: 16px;
    align-items: stretch;
}
.industry-card-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.industry-card {
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 188px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: transform .25s;
    flex: 1;
}
.industry-card:hover { transform: scale(1.02); }
.industry-card--tall {
    min-height: 392px;
}
.industry-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.72) 25%, rgba(0,0,0,.1) 80%);
}
.industry-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 22px;
}
.industry-card__name {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    margin: 0;
}
.industry-card__arrow {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: background var(--transition), border-color var(--transition);
}
.industry-card:hover .industry-card__arrow {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

@media (max-width: 960px) {
    .industries-grid { grid-template-columns: 1fr 1fr; }
    .industry-card--tall { grid-column: span 2; min-height: 200px; }
}
@media (max-width: 600px) {
    .industries-grid { grid-template-columns: 1fr; }
    .industry-card--tall { grid-column: auto; }
}

/* ── Company Timeline ────────────────────────────────────────── */
.timeline-section { padding: 60px 0 0; }
.timeline-track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    margin-bottom: 48px;
}
.timeline-item {
    flex: 1;
    padding-top: 52px;
    position: relative;
}
.timeline-connector {
    flex: 1;
    height: 2px;
    background: var(--color-border);
    align-self: flex-start;
    margin-top: 16px;
    flex-shrink: 0;
    max-width: 80px;
}
.timeline-item__dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--color-border);
    border: 2px solid var(--color-border);
    position: absolute;
    top: 10px;
    left: 0;
}
.timeline-item__dot--active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    width: 18px; height: 18px;
    top: 8px;
}
.timeline-item__year {
    display: block;
    font-size: 26px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-muted);
    margin-bottom: 6px;
}
.timeline-item__label {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.45;
    margin: 0;
}

/* ── Evidence Cards ──────────────────────────────────────────── */
.evidence-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-bottom: 80px;
}
.evidence-card {
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
}
.evidence-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(180deg, rgba(6,32,59,.65) 0%, rgba(6,32,59,.92) 100%);
    z-index: 1;
}
.evidence-card__top,
.evidence-card__bottom { position: relative; z-index: 2; }
.evidence-card__tag {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 2px;
}
.evidence-card__date {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}
.evidence-card__slogan {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 8px;
}
.evidence-card__title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}
.evidence-card__desc {
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
}
.evidence-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.evidence-card__cta:hover { color: #83AE48; }

@media (max-width: 900px) {
    .timeline-track { flex-wrap: wrap; gap: 24px; }
    .timeline-connector { display: none; }
    .timeline-item { flex: 0 0 calc(50% - 12px); padding-top: 36px; }
    .evidence-cards { grid-template-columns: 1fr; }
}

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-section { padding: 80px 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.testimonial-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-card__stars {
    color: #F59E0B;
    font-size: 15px;
    letter-spacing: 2px;
}
.testimonial-card__quote {
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.65;
    flex: 1;
    margin: 0;
    font-style: italic;
}
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__name {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 14px;
    margin: 0 0 2px;
}
.testimonial-card__role {
    color: var(--color-muted);
    font-size: 12px;
}
.testimonial-card__flag { margin-left: auto; font-size: 20px; }

@media (max-width: 960px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ── Blog & News ──────────────────────────────────────────────── */
.blog-section { padding: 80px 0; background: var(--color-bg); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card__img {
    height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}
.blog-card__badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 4px 10px;
    border-radius: 4px;
}
.blog-card__body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--color-muted);
    margin-bottom: 10px;
}
.blog-card__meta-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--color-muted);
    flex-shrink: 0;
}
.blog-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
    margin-bottom: 10px;
}
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--color-accent); }
.blog-card__excerpt {
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}
.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}
.blog-card__link:hover { color: var(--color-accent-hover); }

@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }



/* ============================================================
   INNER PAGE HERO COMPONENT
   Figma: 1920×360px, bg-black/20 + grid texture
   Usage: add class "inner-page-hero" to any inner-page <section>
   Background image is set per-page via the page-specific class.
   ============================================================ */

/* ── Inner-page <main> offset: push below fixed full-navbar ── */
/* full-navbar is position:fixed (topbar 48px + main-nav 96px = 144px = var(--navbar-h)) */
/* Homepage handles its own offset via hero-v2__content margin-top */
body:not(.home) .site-main {
    margin-top: var(--navbar-h);
}

/* ── Outer container ──────────────────────────────────────── */
.inner-page-hero {
    width: 100%;
    padding: 0; /* override global section { padding: 72px 0 } */
    /* Figma: hero total height = 360px at 1920px. */
    /* main already offset by var(--navbar-h), so hero starts right at navbar bottom. */
    display: grid;
    grid-template-rows: minmax(clamp(240px, 18.75vw, 360px), auto);
    position: relative;
    overflow: hidden;
    /* Figma: dark base color; page-specific bg-image layered on top via own class */
    background-color: #06203B;
    /* Figma grid texture: faint 128×128 grid lines */
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 128px 128px;
    color: #fff;
}

/* Figma: two radial glow orbs (decorative, opacity 10%) */
.inner-page-hero::before,
.inner-page-hero::after {
    content: '';
    position: absolute;
    width: 530px;
    height: 530px;
    border-radius: 50%;
    background: #83AE48; /* Color-Primary-Primary-500 */
    opacity: 0.10;
    filter: blur(120px);
    pointer-events: none;
}
.inner-page-hero::before {
    top: -274px;
    right: -140px; /* Figma: left-[1390px] on 1920px = right side */
}
.inner-page-hero::after {
    top: 77px;
    left: -1px; /* Figma: left-[-1px] */
}

/* ── Inner content container ──────────────────────────────── */
/* Figma: 1920px head, container inset 240px each side → content width = head - 480px */
/* At 1920px: content = 1440px. Scales proportionally at any viewport width. */
.inner-page-hero__inner {
    /* Grid row 1: content area, vertically centered within hero height */
    /* MUST match site-header__inner: max-width 1440px, margin auto, padding 0 240px */
    grid-row: 1;
    align-self: center;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(20px, 2vw, 40px) 240px; /* top/bottom breathing room; left/right aligns with navbar logo */
    display: flex;
    flex-direction: column;
    gap: 16px; /* Figma: gap-4 = 16px */
    box-sizing: border-box;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.inner-page-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 5px; /* Figma: gap-[5px] */
    list-style: none;
    margin: 0;
    padding: 0;
}

.inner-page-hero__bc-home {
    /* Figma: text-Color-White-Transparent--1, SF Pro, 18px@1920px */
    color: rgba(255, 255, 255, 0.6);
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: clamp(12px, 0.9375vw, 18px); /* 18/1920=0.9375vw */
    font-weight: 400;
    line-height: 1.33;
    text-decoration: none;
    transition: color 0.2s;
}
.inner-page-hero__bc-home:hover { color: rgba(255,255,255,0.9); }

.inner-page-hero__bc-sep {
    /* Figma: text-Color-White-Transparent--1, Inter, 18px@1920px */
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 0.9375vw, 18px);
    font-weight: 500;
    line-height: 1.33;
}

.inner-page-hero__bc-current {
    /* Figma: text-Color-Primary-Primary-500 (#83AE48), Inter, 18px@1920px */
    /* wrapped in bg-Color-White-Transparent-2 pill */
    display: inline-flex;
    align-items: center;
    padding: clamp(2px, 0.208vw, 4px) clamp(4px, 0.417vw, 8px);
    background: rgba(255, 255, 255, 0.10);
    border-radius: 9999px;
    color: #83AE48;
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 0.9375vw, 18px);
    font-weight: 500;
    line-height: 1.33;
}

/* ── Title ────────────────────────────────────────────────── */
.inner-page-hero__title {
    /* Figma: text-Color-Text-Inverse (#FFFFFF), Montserrat, Bold, 48px@1920px */
    color: #FFFFFF;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: clamp(24px, 2.5vw, 48px); /* 48/1920=2.5vw */
    font-weight: 700;
    line-height: 1.083; /* 52/48 */
    margin: 0;
}

/* ── Subtitle ─────────────────────────────────────────────── */
.inner-page-hero__subtitle {
    /* Figma: text-Color-Text-Secondary (#B7BDCD), SF Pro, Normal, 18px@1920px */
    color: #B7BDCD;
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: clamp(13px, 0.9375vw, 18px); /* 18/1920=0.9375vw */
    font-weight: 400;
    line-height: 1.33;
    max-width: clamp(320px, 33.3vw, 640px); /* 640/1920=33.3vw */
    margin: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
/* clamp() handles scaling; only override for very small screens */
@media (max-width: 480px) {
    .inner-page-hero { height: auto; min-height: 200px; padding: 32px 0; }
}

/* ── Site Container Responsive ────────────────────────────────────────────────── */
/* site-container 断点：小屏用固定 px；footer 全程用百分比，不需要断点覆盖 */
@media (max-width: 1200px) {
    .site-container         { padding: 0 80px; }
}
@media (max-width: 900px) {
    .site-container         { padding: 0 40px; }
}
@media (max-width: 600px) {
    .site-container         { padding: 0 20px; }
    .site-container--footer { padding: 0 5%; }
}

/* ===== FOOTER & NEWSLETTER (global, all pages) ===== */
.newsletter-section {
    background: #1A2035 !important;
    padding: 1.25vw 0;
    border-bottom: 1.25px 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: 2.083vw 0 0;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 1.25vw 0;
}
.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: 1.25vw 0;
    margin-top: 1.25vw;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    flex-wrap: nowrap;
    gap: 16px;
}
.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); }

/* Footer social icons — Figma footer bottom-bar (4 squares: FB / X / LinkedIn / YouTube). */
.site-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.site-footer__social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}
.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, 0.18);
}
.site-footer__social-icon {
    width: 24px;
    height: 24px;
    display: block;
}
@media (max-width: 640px) {
    .site-footer__social { gap: 12px; }
}

@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: 30px; }
    .newsletter-section__input {
      padding: 12px;
      background: rgba(255, 255, 255, 0.1);
    }
    .btn--newsletter { 
      padding: 12px;
      border-radius: 0 30px 30px 0; 
    }
}
