/**
 * 道韵轩 Commerce — shadcn/ui inspired stylesheet
 * Clean cards · subtle borders · Taoist accent color
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: env(safe-area-inset-bottom);
}

::selection { background: var(--primary-muted); color: var(--primary-hover); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── shadcn Card ── */
.card {
    background: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.card-header { padding: 24px 24px 0; }
.card-content { padding: 24px; }
.card-footer {
    padding: 0 24px 24px;
    display: flex;
    align-items: center;
}

/* ── shadcn Badge ── */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-md);
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    border: 1px solid transparent;
    transition: color var(--transition), background var(--transition);
}
.badge-default {
    background: var(--primary);
    color: var(--primary-foreground);
}
.badge-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-color: var(--border);
}
.badge-outline {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.badge-muted {
    background: var(--muted);
    color: var(--muted-foreground);
}

/* ── shadcn Button ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    height: var(--btn-height);
    padding: 0 16px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.btn:focus-visible {
    box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}
.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
}
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-foreground); }
.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-color: var(--border);
}
.btn-secondary:hover { background: var(--accent); }
.btn-outline {
    background: var(--background);
    color: var(--foreground);
    border-color: var(--border);
}
.btn-outline:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-ghost {
    background: transparent;
    color: var(--foreground);
}
.btn-ghost:hover { background: var(--accent); }
.btn-lg { height: 44px; padding: 0 32px; font-size: 15px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Section header (shadcn page header style) ── */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}
.section-header-text { display: flex; flex-direction: column; gap: 6px; }
.section-eyebrow { margin-bottom: 4px; }
.section-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--foreground);
}
.section-subtitle {
    font-size: 14px;
    color: var(--muted-foreground);
    max-width: 520px;
}
.section-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color var(--transition);
    flex-shrink: 0;
}
.section-link:hover { color: var(--foreground); }

.section { padding: 64px 0; }
.section-muted { background: var(--muted); }

/* ── Announcement ── */
.announcement-bar {
    background: var(--dao-ink);
    color: #FAFAFA;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.announcement-promo { color: #A1A1AA; }
.announcement-cta {
    color: var(--dao-gold);
    font-weight: 500;
    font-size: 13px;
}
.announcement-cta:hover { color: #fff; }

/* ── Trust bar — badge row ── */
.trust-bar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.trust-bar .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 4px 10px;
    border-radius: var(--radius-md);
    background: var(--muted);
    border: 1px solid transparent;
    transition: all var(--transition);
}
.trust-bar .trust-item:hover { background: var(--accent); color: var(--foreground); }
.trust-bar .trust-icon {
    display: flex;
    width: 14px;
    height: 14px;
    color: var(--primary);
}
.trust-bar .trust-icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
.trust-link { cursor: pointer; }

/* ── Language switcher — dropdown ── */
.lang-switcher-dropdown {
    display: inline-flex;
    align-items: center;
    position: relative;
}
.lang-switcher-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.lang-select {
    appearance: none;
    -webkit-appearance: none;
    min-width: 120px;
    max-width: 180px;
    height: 32px;
    padding: 0 28px 0 10px;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    color: var(--foreground);
    background-color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
}
.lang-select:hover {
    border-color: var(--primary);
}
.lang-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent);
}
.lang-select option {
    color: var(--foreground);
    background: var(--card);
}
.header-actions .lang-switcher {
    flex-shrink: 0;
}
.header-actions .lang-select {
    min-width: 72px;
    max-width: 88px;
    padding-right: 24px;
    text-align: center;
}
.lang-switcher-drawer .lang-select {
    width: 100%;
    max-width: none;
    min-width: 0;
    text-align: left;
}

/* ── Header ── */
.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 16px;
    min-width: 0;
}
.main-navigation {
    flex: 1;
    min-width: 0;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }
.site-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-title-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}
.site-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}
.site-logo {
    height: 40px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
}
.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--foreground);
    background: var(--accent);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--muted-foreground);
    transition: all var(--transition);
    position: relative;
}
.header-icon:hover { background: var(--accent); color: var(--foreground); }
.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--destructive);
    color: var(--destructive-foreground);
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card);
}
.header-register { margin-left: 4px; }
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-md);
}
.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--foreground);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu overlay + drawer */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}
body.menu-open { overflow: hidden; }

.mobile-drawer-header,
.mobile-drawer-footer { display: none; }

/* ── Search overlay ── */
.search-overlay {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    box-shadow: var(--shadow-md);
}
.search-overlay.active { display: block; }
.search-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--background);
    box-shadow: var(--shadow-xs);
}
.search-form input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    font-size: 14px;
    background: transparent;
    outline: none;
    color: var(--foreground);
}
.search-form input::placeholder { color: var(--muted-foreground); }
.search-form button {
    padding: 10px 16px;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}
.search-form button:hover { background: var(--primary-hover); }
.search-close {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--muted);
    border: 1px solid var(--border);
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Hero — shadcn landing block ── */
.hero {
    padding: 64px 0 48px;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }
.hero-text { display: flex; flex-direction: column; gap: 16px; }
.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--foreground);
}
.hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted-foreground);
    max-width: 440px;
}
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-value {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--foreground);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-value span { color: var(--primary); }
.stat-label {
    font-size: 13px;
    color: var(--muted-foreground);
}
.stat-card-featured {
    grid-column: span 2;
    background: var(--primary-muted);
    border-color: rgba(201, 169, 98, 0.25);
}
.stat-card-featured .stat-value { color: var(--primary-hover); }

/* ── Quick links — card grid ── */
.quick-links { padding: 32px 0 0; margin-top: -24px; position: relative; z-index: 2; }
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--card);
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.quick-link-card:hover {
    border-color: rgba(201, 169, 98, 0.35);
    box-shadow: var(--shadow-md);
    color: var(--foreground);
}
.quick-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-muted);
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 169, 98, 0.2);
}
.quick-link-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
}
.quick-link-desc {
    font-size: 12px;
    color: var(--muted-foreground);
    line-height: 1.4;
}

/* ── Intentions ── */
.intentions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.intention-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
}
.intention-card:hover {
    background: var(--accent);
    border-color: var(--border);
    color: var(--foreground);
    box-shadow: var(--shadow-sm);
}
.intention-icon { font-size: 20px; }
.intention-name {
    font-size: 14px;
    font-weight: 500;
}

/* ── Products ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 169, 98, 0.25);
}
.product-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    max-height: 220px;
    overflow: hidden;
    background: var(--muted);
    border-bottom: 1px solid var(--border);
}
.product-image, .product-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: cover;
    transition: transform 300ms ease;
}
.product-card:hover .product-image,
.product-card:hover .product-image-wrap img { transform: scale(1.03); }
.product-placeholder {
    width: 100%;
    height: 100%;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 24px;
}
.product-info { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}
.product-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--foreground);
}
.product-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
}
.product-price del {
    font-weight: 400;
    color: var(--muted-foreground);
    margin-right: 6px;
    font-size: 13px;
}
.product-price ins { text-decoration: none; }

/* ── Trust section — metric cards ── */
.trust-section { padding: 48px 0; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.trust-section .trust-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow-xs);
}
.trust-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin-bottom: 4px;
}
.trust-label {
    font-size: 12px;
    color: var(--muted-foreground);
}

/* ── Brand ── */
.brand-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.brand-content { display: flex; flex-direction: column; gap: 16px; }
.brand-content p {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.75;
}
.brand-visual .card {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--muted);
    font-size: 14px;
    color: var(--muted-foreground);
    font-weight: 500;
}

/* ── Guides ── */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.guide-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
}
.guide-card:hover { box-shadow: var(--shadow-md); }
.guide-card a { display: block; }
.guide-image, .guide-image-placeholder {
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--muted);
    border-bottom: 1px solid var(--border);
}
.guide-content { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.guide-card h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.guide-link {
    font-size: 13px;
    color: var(--muted-foreground);
    font-weight: 500;
}

/* ── CTA banner ── */
.cta-banner {
    background: var(--dao-ink);
    color: #FAFAFA;
    padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cta-content { display: flex; flex-direction: column; gap: 8px; }
.cta-content h2 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.cta-content p { font-size: 14px; color: #A1A1AA; }
.cta-banner .btn-primary { flex-shrink: 0; }

/* ── Footer ── */
.newsletter-section {
    background: var(--muted);
    border-top: 1px solid var(--border);
    padding: 48px 0;
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.newsletter-content h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.newsletter-content p { font-size: 14px; color: var(--muted-foreground); }
.newsletter-form {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.newsletter-form input {
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    width: 260px;
    background: var(--card);
    outline: none;
    color: var(--foreground);
    box-shadow: var(--shadow-xs);
}
.newsletter-form input:focus {
    border-color: var(--ring);
    box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.2);
}

.footer-main {
    padding: 56px 0 40px;
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-logo {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 12px;
    color: #FAFAFA;
}
.footer-tagline {
    font-size: 14px;
    color: #71717A;
    line-height: 1.6;
    margin-bottom: 20px;
}
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-links a {
    font-size: 12px;
    font-weight: 500;
    color: #A1A1AA;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.social-links a:hover { color: #FAFAFA; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #FAFAFA;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 14px;
    color: #71717A;
    transition: color var(--transition);
}
.footer-col a:hover { color: #FAFAFA; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    background: var(--color-footer-bg);
}
.footer-bottom p {
    font-size: 12px;
    color: #52525B;
    text-align: center;
}
.footer-payments {
    font-size: 11px;
    color: #52525B;
    margin-top: 6px;
    text-align: center;
}

/* ── Policy page ── */
.policy-page { max-width: 640px; margin: 0 auto; padding: 16px 0 64px; }
.policy-page h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.policy-page h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 8px;
}
.policy-page p, .policy-page li {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.75;
}
.policy-page a { color: var(--primary); text-decoration: underline; }

/* ── WooCommerce Shop / Archive ── */
.woocommerce-page { padding: 0 0 64px; }

.shop-header {
    background: var(--muted);
    border-bottom: 1px solid var(--border);
    padding: 40px 0 36px;
    text-align: center;
    margin-bottom: 0;
}
.shop-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--muted-foreground);
    margin-bottom: 12px;
}
.shop-breadcrumb a { color: var(--muted-foreground); }
.shop-breadcrumb a:hover { color: var(--primary); }
.shop-breadcrumb .sep { opacity: 0.5; }
.shop-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.shop-desc {
    color: var(--muted-foreground);
    margin: 10px auto 0;
    font-size: 14px;
    max-width: 560px;
    line-height: 1.6;
}

.shop-category-nav {
    border-bottom: 1px solid var(--border);
    background: var(--background);
    padding: 16px 0;
    position: sticky;
    top: var(--header-height, 64px);
    z-index: 20;
}
.shop-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.shop-pill {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--card);
    font-size: 13px;
    font-weight: 500;
    color: var(--foreground);
    transition: all var(--transition);
}
.shop-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.shop-pill.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
}

.shop-content { padding: 0; }
.shop-toolbar-wrap { padding-top: 8px; }
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.shop-toolbar .woocommerce-result-count {
    margin: 0 !important;
    font-size: 13px;
    color: var(--muted-foreground);
    float: none !important;
}
.shop-toolbar .woocommerce-ordering {
    margin: 0 !important;
    float: none !important;
}
.shop-toolbar .woocommerce-ordering select {
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card);
    font-size: 13px;
    color: var(--foreground);
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product,
.woocommerce ul.products li.product-card-wrap {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    padding: 0 !important;
}

.woocommerce ul.products .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
}
.woocommerce ul.products .product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 169, 98, 0.25);
}
.woocommerce ul.products .product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}
.woocommerce ul.products .product-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    max-height: 200px;
    overflow: hidden;
    background: var(--muted);
    border-bottom: 1px solid var(--border);
}
.woocommerce ul.products .product-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    transition: transform 300ms ease;
}
.woocommerce ul.products .product-card:hover .product-image-wrap img { transform: scale(1.02); }
.woocommerce ul.products .product-info {
    padding: 10px 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.woocommerce ul.products .product-name {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.woocommerce ul.products .product-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--foreground);
}
.woocommerce ul.products .product-price .amount { font-weight: 600; }
.woocommerce ul.products .product-card-actions {
    padding: 0 12px 12px;
    margin-top: auto;
}
.woocommerce ul.products .product-card-actions .button {
    width: 100%;
    justify-content: center;
    margin: 0 !important;
    height: 32px !important;
    font-size: 12px !important;
}

.woocommerce .button, .woocommerce a.button {
    background: var(--primary) !important;
    color: var(--primary-foreground) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    height: 36px !important;
    padding: 0 16px !important;
    border-radius: var(--radius-md) !important;
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
}
.woocommerce .button:hover, .woocommerce a.button:hover {
    background: var(--primary-hover) !important;
}

.shop-pagination {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin: 0 3px;
    font-size: 13px;
}
.shop-pagination .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    border-radius: var(--radius-md);
    border-top: none;
    background: var(--muted);
    margin-bottom: 16px;
}

.page-content { padding: 48px 0 64px; }
.page-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-serif);
}
.em-page-content h1 { font-family: var(--font-serif); font-size: 32px; margin-bottom: 16px; }
.em-page-content h2 { font-size: 22px; margin: 32px 0 12px; }
.em-page-content h3 { font-size: 18px; margin: 24px 0 8px; }
.em-page-content p, .em-page-content li { color: var(--muted-foreground); line-height: 1.75; margin-bottom: 12px; }
.em-page-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    font-style: italic;
    background: var(--muted);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ── Mobile nav ── */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: var(--card);
    border-top: 1px solid var(--border);
    z-index: 50;
    padding-bottom: env(safe-area-inset-bottom);
}
.mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 10px;
    font-weight: 500;
    color: var(--muted-foreground);
}
.mob-nav-item:hover, .mob-nav-item.active { color: var(--foreground); }
.mob-nav-icon { font-size: 18px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .products-grid, .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    }
    .woocommerce ul.products .product-image-wrap,
    .woocommerce ul.products .product-image-wrap img { max-height: 180px; }
    .guides-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .trust-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-inner { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    .header-login,
    .header-register {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-actions > .lang-switcher {
        display: none;
    }
    .mobile-menu-toggle { display: flex; }
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid, .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .product-image-wrap,
    .product-image-wrap img,
    .woocommerce ul.products .product-image-wrap,
    .woocommerce ul.products .product-image-wrap img { max-height: 160px; }
    .product-info,
    .woocommerce ul.products .product-info { padding: 8px 10px; }
    .woocommerce ul.products .product-card-actions { padding: 0 10px 10px; }
    .shop-title { font-size: 24px; }
    .shop-category-nav { position: static; }
    .shop-toolbar { flex-direction: column; align-items: stretch; }
    .shop-toolbar .woocommerce-ordering { width: 100%; }
    .shop-toolbar .woocommerce-ordering select { width: 100%; }
    .intentions-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { width: 100%; }
    .newsletter-form input { flex: 1; width: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .hero { padding: 48px 0 32px; }
    .section { padding: 48px 0; }
    .guides-grid { grid-template-columns: 1fr; }
    body { padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom)); }
    body.menu-open .mobile-bottom-nav { display: none; }
    .mobile-bottom-nav { display: flex; }

    .main-navigation {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 88vw);
        background: var(--card);
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding: 0;
    }
    .main-navigation.mobile-open {
        transform: translateX(0);
    }
    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        flex-shrink: 0;
    }
    .mobile-drawer-title {
        font-size: 15px;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: var(--foreground);
    }
    .mobile-drawer-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--muted);
        color: var(--muted-foreground);
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        transition: background var(--transition);
    }
    .mobile-drawer-close:hover { background: var(--accent); color: var(--foreground); }
    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 2px;
        padding: 12px;
        flex: 1;
    }
    .main-navigation .nav-menu a {
        display: block;
        padding: 12px 14px;
        min-height: var(--tap-min);
        font-size: 15px;
        border-radius: var(--radius-md);
    }
    .mobile-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 16px;
        border-top: 1px solid var(--border);
        margin-top: auto;
        flex-shrink: 0;
    }
    .mobile-drawer-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        font-size: 14px;
        font-weight: 500;
        color: var(--foreground);
        border-radius: var(--radius-md);
        transition: background var(--transition);
    }
    .mobile-drawer-link:hover { background: var(--accent); }
    .mobile-drawer-lang {
        padding: 12px 14px 4px;
    }
    .mobile-drawer-lang .lang-select {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .quick-links { margin-top: -16px; }
    .single-product-grid { gap: 16px; }
}

/* ── Theme toggle ── */
.theme-toggle .icon-moon { display: none; }
.dark .theme-toggle .icon-sun { display: none; }
.dark .theme-toggle .icon-moon { display: block; }

/* ── Single Product Page ── */
.single-product-page {
    padding: 32px 0 64px;
    background: var(--background);
}
.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    font-size: 13px;
    color: var(--muted-foreground);
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.product-breadcrumb::-webkit-scrollbar { display: none; }
.product-breadcrumb a { white-space: nowrap; flex-shrink: 0; }
.breadcrumb-current { white-space: nowrap; }
.product-breadcrumb a:hover { color: var(--foreground); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--foreground); font-weight: 500; }

.single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
    align-items: start;
}
.product-gallery-card .card-content,
.product-summary-card .card-content { padding: 24px; }
.product-gallery-inner { position: relative; }
.product-gallery-inner .onsale {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: var(--destructive);
    color: var(--destructive-foreground);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-md);
}

.product-summary-inner { display: flex; flex-direction: column; gap: 16px; }
.product-energy-tags--single {
    margin: -8px 0 0;
    font-size: 12px;
}
.product-summary-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.product-stock-badge {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
}
.product-stock-badge.in-stock {
    color: var(--primary);
    background: var(--primary-muted);
    border-color: rgba(201, 169, 98, 0.3);
}
.product-stock-badge.out-of-stock {
    color: var(--destructive);
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}
.single-product-wrap .product_title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--foreground);
}
.single-product-wrap .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted-foreground);
}
.single-product-wrap .price {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--foreground) !important;
    letter-spacing: -0.02em;
}
.single-product-wrap .price del {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: var(--muted-foreground) !important;
    margin-right: 8px;
}
.single-product-wrap .price ins { text-decoration: none; color: var(--destructive) !important; }
.product-short-desc { font-size: 14px; color: var(--muted-foreground); line-height: 1.7; }
.product-purchase-box {
    padding: 20px;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.product-purchase-box .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-right: 8px;
    background: var(--card);
}
.product-purchase-box .quantity input {
    width: 48px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--foreground);
    padding: 8px 4px;
}
.product-purchase-box .single_add_to_cart_button {
    height: 40px !important;
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: var(--radius-md) !important;
    background: var(--primary) !important;
    color: var(--primary-foreground) !important;
    border: none !important;
    cursor: pointer;
    transition: background var(--transition);
}
.product-purchase-box .single_add_to_cart_button:hover { background: var(--primary-hover) !important; }
.product-trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.single-product-wrap .product_meta {
    font-size: 13px;
    color: var(--muted-foreground);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.single-product-wrap .product_meta a { color: var(--primary); }

.product-detail-card { margin-bottom: 24px; }
.product-specs-card { margin-bottom: 24px; }
.product-specs-list { display: flex; flex-direction: column; gap: 0; }
.product-spec-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.product-spec-row:last-child { border-bottom: none; }
.product-spec-row dt {
    font-weight: 500;
    color: var(--muted-foreground);
}
.product-spec-row dd {
    color: var(--foreground);
    margin: 0;
}
.product-detail-card .card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.product-detail-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.product-detail-content {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.8;
}
.product-detail-content p { margin-bottom: 12px; }

.related-products-section { margin-top: 16px; }
.related-products-section > h2 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* WooCommerce gallery */
.woocommerce div.product div.images {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery {
    border-radius: var(--radius-md);
    overflow: hidden;
}
.woocommerce div.product div.images img {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.woocommerce div.product div.summary {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
}
.woocommerce-product-gallery__trigger { display: none; }
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px !important;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    width: 64px !important;
    float: none !important;
    margin: 0 !important;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color var(--transition);
    cursor: pointer;
}
.woocommerce div.product div.images .flex-control-thumbs li.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li:hover {
    border-color: var(--primary);
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    border: none;
    border-radius: 0;
    opacity: 0.7;
    transition: opacity var(--transition);
}
.woocommerce div.product div.images .flex-control-thumbs li.flex-active img,
.woocommerce div.product div.images .flex-control-thumbs li:hover img {
    opacity: 1;
}

/* Sticky mobile buy bar (single product) */
.product-mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
    z-index: 95;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.25s ease;
}
.product-mobile-bar.visible { transform: translateY(0); }
.product-mobile-bar-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.product-mobile-bar-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.product-mobile-bar-price del {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted-foreground);
    margin-right: 6px;
}
.product-mobile-bar-price ins { text-decoration: none; color: var(--destructive); }
.product-mobile-bar-stock {
    font-size: 11px;
    color: var(--destructive);
    font-weight: 500;
}
.product-mobile-bar-btn {
    flex-shrink: 0;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    white-space: nowrap;
}
.product-mobile-bar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .single-product-grid { grid-template-columns: 1fr; }
    .single-product-wrap .product_title { font-size: 22px; }
    .single-product-wrap .price { font-size: 22px !important; }
    .product-gallery-card .card-content,
    .product-summary-card .card-content { padding: 16px; }
    .product-purchase-box { padding: 16px; }
    .product-spec-row { grid-template-columns: 1fr; gap: 4px; }
    .product-mobile-bar { display: flex; }
    body.single-product {
        padding-bottom: calc(var(--mobile-nav-height) + 56px + env(safe-area-inset-bottom));
    }
}

/* ── 玄冥道韵首页布局 ── */
.announcement-dual { gap: 12px; }
.announcement-line { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.announcement-promo { color: var(--dao-gold); }
.announcement-promo:hover { color: #fff; }
.announcement-ship { color: #A1A1AA; }
.announcement-divider { color: rgba(255,255,255,0.2); }

.header-account-link {
    display: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--muted-foreground);
    padding: 6px 10px;
}
.header-account-link:hover { color: var(--foreground); }
@media (min-width: 1024px) {
    .header-account-link { display: inline-flex; }
    .header-icon-account { display: none; }
}

.em-hero-cinematic {
    position: relative;
    padding: 120px 0 100px;
    text-align: left;
    overflow: hidden;
    border-bottom: none;
    min-height: 520px;
    display: flex;
    align-items: center;
}
.em-hero-cinematic .em-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    transform: scale(1.02);
}
.em-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.45) 45%, rgba(9, 9, 11, 0.15) 100%);
}
.dark .em-hero-overlay {
    background: linear-gradient(105deg, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0.55) 50%, rgba(9, 9, 11, 0.25) 100%);
}
.em-hero-cinematic .em-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}
.em-hero-cinematic .em-hero-eyebrow {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
}
.em-hero-cinematic .em-hero-title {
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}
.em-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
    max-width: 520px;
}
.em-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.em-hero-cta-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}
.em-hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

.em-hero {
    position: relative;
    padding: 96px 0 80px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.em-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, var(--dao-mist), transparent),
        linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}
.em-hero-inner { position: relative; max-width: 720px; }
.em-hero-eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 16px;
}
.em-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 32px;
    color: var(--foreground);
}
.em-hero-cta { min-width: 200px; }

.em-spotlight-visual {
    width: 280px;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.em-spotlight-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-visual-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
}
.brand-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Newsletter v2 */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-muted) 0%, var(--card) 50%, var(--muted) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.newsletter-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 6px;
    box-shadow: var(--shadow-sm);
}
.newsletter-form input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-weight: 500;
    transition: all var(--transition);
}
.social-links a:hover {
    background: var(--primary-muted);
    border-color: var(--primary);
    color: #fff;
}

/* Product card quick-add polish */
.woocommerce ul.products .product-card-actions .button {
    border-radius: var(--radius-md) !important;
    font-weight: 500 !important;
    width: 100%;
    justify-content: center;
}
.product-card-actions .button:hover {
    background: var(--primary-hover) !important;
}

@media (max-width: 768px) {
    .em-hero-cinematic {
        padding: 88px 0 72px;
        min-height: 440px;
        text-align: center;
    }
    .em-hero-cinematic .em-hero-inner { max-width: 100%; }
    .em-hero-desc { margin-left: auto; margin-right: auto; }
    .em-hero-actions { justify-content: center; }
    .em-spotlight-inner { grid-template-columns: 1fr; text-align: center; }
    .em-spotlight-visual { width: 100%; max-width: 320px; height: 200px; margin: 0 auto; }
}

.em-showcase { padding: 0 0 48px; margin-top: -32px; position: relative; z-index: 2; }
.em-showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.em-showcase-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 140px;
    padding: 24px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-align: center;
}
.em-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 169, 98, 0.3);
}
.em-showcase-icon {
    font-size: 28px;
    line-height: 1;
    color: var(--primary);
}
.em-showcase-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.em-showcase-jewelry { background: linear-gradient(135deg, rgba(201, 169, 98, 0.12), var(--card)); }
.em-showcase-crystals { background: linear-gradient(135deg, rgba(92, 77, 138, 0.18), var(--card)); }
.em-showcase-talisman { background: linear-gradient(135deg, rgba(184, 50, 50, 0.12), var(--card)); }
.em-showcase-supplies { background: linear-gradient(135deg, rgba(61, 122, 106, 0.14), var(--card)); }
.em-showcase-bestsellers { background: linear-gradient(135deg, var(--primary-muted), var(--card)); }

.section-header-center { justify-content: center; text-align: center; }
.section-header-center .section-subtitle { margin: 0 auto; }
.em-intentions-grid { grid-template-columns: repeat(4, 1fr); }

.product-energy-tags {
    font-size: 11px;
    color: var(--muted-foreground);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 4px 0 8px;
    line-height: 1.4;
}
.product-energy-tags .tag-sep { margin: 0 4px; opacity: 0.5; }
.badge-new { background: var(--dao-ink); color: #fff; }

.em-trust-section { padding: 48px 0; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.em-trust-grid { grid-template-columns: repeat(5, 1fr); text-align: center; }

.em-spotlight {
    padding: 64px 0;
    background: var(--dao-ink);
    color: #FAFAFA;
}
.em-spotlight-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}
.em-spotlight h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.em-spotlight p { color: #A1A1AA; font-size: 16px; line-height: 1.7; margin-bottom: 24px; max-width: 480px; }
.em-spotlight-visual {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--dao-gold);
    background: rgba(255,255,255,0.04);
}

.em-benefits { padding: 32px 0 48px; }
.em-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.em-benefit-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.em-benefit-card:hover {
    background: var(--primary-muted);
    border-color: rgba(201, 169, 98, 0.35);
    color: var(--primary-hover);
}

.em-footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
.newsletter-offer { font-size: 13px; color: var(--dao-gold); margin-top: 8px; }
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-payments { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: var(--color-footer-text);
}
.footer-contact-block { margin-top: 16px; font-size: 13px; color: var(--color-footer-text); line-height: 1.6; }
.footer-contact-block p { margin-bottom: 4px; }

.checkout-payment-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.checkout-payment-trust .pay-badge {
    background: var(--muted);
    border-color: var(--border);
    color: var(--muted-foreground);
}

@media (max-width: 1024px) {
    .em-showcase-grid { grid-template-columns: repeat(3, 1fr); }
    .em-intentions-grid { grid-template-columns: repeat(4, 1fr); }
    .em-trust-grid { grid-template-columns: repeat(3, 1fr); }
    .em-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .em-spotlight-inner { grid-template-columns: 1fr; text-align: center; }
    .em-spotlight p { margin-left: auto; margin-right: auto; }
    .em-spotlight-visual { margin: 0 auto; }
}

@media (max-width: 768px) {
    .em-hero { padding: 64px 0 48px; }
    .em-showcase-grid { grid-template-columns: repeat(2, 1fr); }
    .em-intentions-grid { grid-template-columns: repeat(2, 1fr); }
    .em-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .em-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .em-footer-grid { grid-template-columns: 1fr 1fr; }
    .announcement-divider { display: none; }
    .announcement-dual { flex-direction: column; gap: 4px; }
}

/* ── RTL (Arabic) layout fixes ── */
html[dir="rtl"] body {
    direction: rtl;
}
html[dir="rtl"] .header-inner,
html[dir="rtl"] .trust-bar-inner,
html[dir="rtl"] .announcement-inner,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .section-header,
html[dir="rtl"] .cta-inner {
    direction: rtl;
}
html[dir="rtl"] .lang-select {
    padding: 0 10px 0 28px;
    background-position: left 8px center;
}
html[dir="rtl"] .header-actions .lang-select {
    padding-left: 24px;
    padding-right: 10px;
}
html[dir="rtl"] .lang-switcher-drawer .lang-select {
    text-align: right;
}
html[dir="rtl"] .em-hero-overlay {
    background: linear-gradient(255deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.45) 45%, rgba(9, 9, 11, 0.15) 100%);
}
html[dir="rtl"].dark .em-hero-overlay,
html.dark[dir="rtl"] .em-hero-overlay {
    background: linear-gradient(255deg, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0.55) 50%, rgba(9, 9, 11, 0.25) 100%);
}
html[dir="rtl"] .em-hero-cinematic {
    text-align: right;
}
html[dir="rtl"] .em-hero-cinematic .em-hero-inner {
    margin-right: 0;
    margin-left: auto;
}
@media (max-width: 768px) {
    html[dir="rtl"] .main-navigation {
        right: auto;
        left: 0;
        border-left: none;
        border-right: 1px solid var(--border);
        transform: translateX(-100%);
    }
    html[dir="rtl"] .main-navigation.mobile-open {
        transform: translateX(0);
    }
}
