:root {
    --primary: #8b6f47;
    --secondary: #f5f2ed;
    --accent: #b8860b;
    --text: #1c1a17;
    --muted: #514a42;
    --bg: #f8f6f2;
    --card: #ffffff;
    --border: #e6e0d7;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    --radius: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Noto Serif', serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

.page {
    background: linear-gradient(180deg, var(--secondary), #ffffff 50%, var(--secondary));
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text);
}

.brand-mark {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-text {
    letter-spacing: 0.02em;
    font-size: 15px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
    color: var(--muted);
}

.nav-links a {
    padding: 10px 6px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
    border-color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
}

.nav-btn.solid {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(139, 111, 71, 0.25);
}

.nav-btn.ghost {
    color: var(--muted);
    background: #fff;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 8px 24px 16px;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    background: #fff;
}

.mobile-menu.open {
    display: flex;
}

.navbar.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.06);
}

.navbar.scrolled .nav-inner {
    height: 70px;
}

.hero {
    padding: 72px 0 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    margin: 12px 0 16px;
    color: var(--text);
}

.lede {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 20px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 6px 0 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn.solid {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 18px 40px rgba(139, 111, 71, 0.25);
}

.btn.solid:hover {
    transform: translateY(-1px);
}

.btn.ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.hero-pills {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-pills li {
    background: rgba(139, 111, 71, 0.08);
    color: var(--muted);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    border: 1px solid rgba(139, 111, 71, 0.15);
}

.hero-media {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    width: min(420px, 100%);
    background: var(--card);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.hero-image {
    height: 260px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(184, 134, 11, 0.18), transparent 40%),
        linear-gradient(135deg, rgba(247, 242, 234, 0.9) 0%, rgba(233, 223, 207, 0.95) 100%),
        url("https://media.mytaoshop.com/assets/images/hero/hero-1.png");
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card-body {
    padding: 18px 20px 20px;
}

.hero-card-title {
    font-weight: 700;
    margin: 0 0 6px;
}

.hero-card-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.section {
    padding: 64px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 16px;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.filter-chip {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.filter-chip.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(139, 111, 71, 0.08);
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px auto 0;
    flex-wrap: wrap;
}

.pagination-info {
    color: var(--muted);
    font-size: 14px;
}

.pagination-actions {
    display: flex;
    gap: 10px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.section h2 {
    margin: 4px 0 8px;
    font-size: 28px;
}

.section-lede {
    color: var(--muted);
    margin: 0;
    max-width: 720px;
    line-height: 1.6;
}

.link-inline {
    color: var(--primary);
    font-weight: 600;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
}

.card-media {
    background: linear-gradient(135deg, #f3eadc 0%, #e6d4be 100%);
    height: 220px;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.link-block {
    color: inherit;
    text-decoration: none;
}

.card-media.link-block {
    display: block;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 16px 16px 18px;
}

.card-title {
    margin: 0 0 6px;
    font-weight: 700;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: start;
}

.detail-media {
    width: 100%;
    min-height: 320px;
    aspect-ratio: 4 / 5;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: #fff;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 8px;
    padding: 10px;
}

.media-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: calc(var(--radius) + 2px);
}

.media-track {
    position: relative;
    height: 100%;
}

.media-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.media-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.media-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-50%) scale(1.02);
}

.slider-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    padding: 0;
}

.slider-dot.active {
    background: #111;
    border-color: #111;
}

.thumb-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(60px, 1fr);
    gap: 8px;
}

.thumb-btn {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #fff;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.thumb-btn.active {
    border-color: #111;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.detail-copy h1 {
    margin: 8px 0 10px;
    font-size: clamp(28px, 3vw, 34px);
}

.detail-price {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
}

.detail-meta {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 12px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 12px;
}

.badge-pill {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(139, 111, 71, 0.08);
    border: 1px solid rgba(139, 111, 71, 0.15);
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
}

.quantity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.qty-input {
    width: 64px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}

.detail-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--muted);
    font-size: 13px;
}

.accordion {
    display: grid;
    gap: 10px;
}

.accordion details {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.accordion summary {
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion-body {
    padding: 0 16px 14px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.summary-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
    padding: 18px;
}

.summary-card h3 {
    margin: 0 0 10px;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
}

.summary-title {
    margin: 0;
    font-weight: 700;
}

.summary-meta {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.summary-price {
    font-weight: 700;
    color: var(--text);
}

.summary-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    font-weight: 700;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 14px;
    color: var(--muted);
}

.summary-note {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}

.summary-empty {
    color: var(--muted);
    font-size: 13px;
}

.card-price {
    font-weight: 700;
    color: var(--text);
}

.contrast {
    background: linear-gradient(120deg, rgba(139, 111, 71, 0.08), rgba(245, 242, 237, 0.9));
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    align-items: center;
}

.story-media {
    height: 320px;
    border-radius: var(--radius);
    background: url("https://media.mytaoshop.com/assets/images/generated/generated-culture-hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.story-copy h2 {
    margin: 6px 0 10px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.culture-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.culture-card h3 {
    margin: 6px 0 8px;
    font-size: 20px;
}

.culture-card .section-lede {
    margin-bottom: 10px;
}

.bullet-list {
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.6;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.focus-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.focus-title {
    font-weight: 700;
    margin: 0 0 6px;
}

.focus-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg), #fff);
}

.newsletter-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    min-height: 480px;
}

.newsletter-image {
    position: relative;
    overflow: hidden;
    background: #f0ebe5;
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.newsletter-split:hover .newsletter-image img {
    transform: scale(1.03);
}

.newsletter-content {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-content h2 {
    font-size: 36px;
    margin: 12px 0 16px;
    line-height: 1.1;
}

.newsletter-content .section-lede {
    margin-bottom: 32px;
    font-size: 17px;
}

.newsletter-form {
    width: 100%;
    max-width: 420px;
}

.newsletter-form .input-group {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #f9f9f9;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}

.newsletter-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
    opacity: 0.7;
}

@media (max-width: 900px) {
    .newsletter-split {
        grid-template-columns: 1fr;
    }

    .newsletter-image {
        height: 280px;
    }

    .newsletter-content {
        padding: 40px 24px;
    }

    .newsletter-content h2 {
        font-size: 28px;
    }
}

.newsletter-form button {
    border-radius: 12px;
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(139, 111, 71, 0.22);
}

.compliance-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    padding: 24px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.05);
    display: grid;
    gap: 10px;
}

.footer {
    background: #0f0d0a;
    color: #f1ede7;
    padding: 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.footer-mark {
    width: 36px;
    height: 36px;
}

.footer-text {
    color: #c7c0b6;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    gap: 8px;
    align-content: start;
}

.footer-links a {
    color: #f1ede7;
}

.footer-meta {
    color: #bdb5a6;
    display: grid;
    gap: 4px;
}

.footer-copy {
    margin: 0;
}

.hidden {
    display: none !important;
}
