:root {
    --ink: #17120f;
    --muted: #706760;
    --line: #e8dfd7;
    --paper: #fffaf5;
    --cream: #f7efe6;
    --gold: #c5892f;
    --green: #0f6b57;
    --coral: #d94f45;
    --indigo: #263d78;
    --shadow: 0 24px 70px rgba(48, 32, 20, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 14px clamp(18px, 5vw, 72px);
    background: rgba(255, 250, 245, .9);
    border-bottom: 1px solid rgba(232, 223, 215, .78);
    backdrop-filter: blur(18px);
}
.brand, .nav-links { display: flex; align-items: center; gap: 12px; }
.brand { font-weight: 800; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 50%;
    background: conic-gradient(from 120deg, var(--green), var(--gold), var(--coral), var(--indigo), var(--green));
    font-size: .8rem;
    letter-spacing: .04em;
}
.nav-links a { color: var(--muted); font-size: .94rem; font-weight: 700; }
.nav-links a:hover { color: var(--ink); }

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px) clamp(42px, 6vw, 70px);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: auto -15vw -22vw 35vw;
    height: 34vw;
    background: linear-gradient(90deg, rgba(15, 107, 87, .14), rgba(197, 137, 47, .18), rgba(217, 79, 69, .14));
    transform: rotate(-7deg);
    z-index: -1;
}
.hero-copy { max-width: 700px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--green);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: 0; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; }
.hero h1 { margin-top: 14px; font-size: clamp(3.1rem, 7vw, 6.8rem); max-width: 820px; }
.hero p, .section-heading p, .order-band p, .detail-copy > p { color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.button.primary { color: #fff; background: var(--green); box-shadow: 0 14px 32px rgba(15, 107, 87, .24); }
.button.secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.button.compact { width: 100%; min-height: 42px; color: var(--green); background: #edf7f3; }
.button:hover { transform: translateY(-1px); }
.hero-media {
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }

.notice {
    margin: 0 clamp(18px, 5vw, 72px) 28px;
    padding: 16px 18px;
    color: #114637;
    background: #e6f5ee;
    border: 1px solid #bfe2d2;
    border-radius: 8px;
    font-weight: 700;
}
.section { padding: clamp(46px, 6vw, 78px) clamp(18px, 5vw, 72px); }
.section-heading { margin-bottom: 24px; }
.section-heading h2 { margin-top: 8px; font-size: clamp(2rem, 4vw, 4rem); }
.section-heading.split { display: flex; align-items: end; justify-content: space-between; gap: 20px; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(150px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 136px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.category-card span { font-weight: 900; }
.category-card small { color: var(--muted); }
.category-card.active, .category-card:hover { border-color: rgba(15, 107, 87, .38); box-shadow: 0 14px 32px rgba(43, 26, 14, .08); }

.shop-section { background: #fff; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.swatch, .detail-visual {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    background-size: 92px 92px, 100% 100%;
}
.swatch::after, .detail-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.35), transparent 24%), linear-gradient(135deg, rgba(255,255,255,.14), transparent 44%);
}
.swatch span, .detail-visual span {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 1;
    padding: 7px 10px;
    color: #fff;
    background: rgba(0, 0, 0, .36);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
}
.swatch-ankara { background: repeating-conic-gradient(from 25deg, #f2bb3f 0 13deg, #135d57 13deg 26deg, #d94f45 26deg 39deg, #283f85 39deg 52deg), linear-gradient(135deg, #f5d267, #b8243b); }
.swatch-lace { background: radial-gradient(circle, rgba(255,255,255,.9) 0 16%, transparent 18% 100%) 0 0 / 34px 34px, linear-gradient(135deg, #ddc8a7, #8a6b78); }
.swatch-aso-oke { background: repeating-linear-gradient(90deg, #7f1836 0 14px, #d7a23a 14px 20px, #f6e4be 20px 34px, #123f38 34px 44px); }
.swatch-adire { background: radial-gradient(circle at 30% 30%, #f3f7ff 0 7px, transparent 8px), radial-gradient(circle at 70% 65%, #f3f7ff 0 5px, transparent 6px), #173d7a; background-size: 56px 56px; }
.swatch-kente { background: repeating-linear-gradient(0deg, #f0bd2e 0 18px, #1d6b42 18px 30px, #111 30px 38px, #c63931 38px 50px), repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,.2) 28px 32px); }
.swatch-george { background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.35), transparent 18%), linear-gradient(135deg, #1a1619, #9a5f3f 48%, #d4a15e); }
.swatch-brocade { background: radial-gradient(ellipse at center, rgba(255,255,255,.28) 0 20%, transparent 22% 100%) 0 0 / 52px 36px, linear-gradient(135deg, #d9d0bf, #6f7a85); }
.swatch-guinea-brocade { background: repeating-linear-gradient(45deg, #fbfbf5 0 16px, #d8e3ee 16px 18px, #ffffff 18px 34px), linear-gradient(135deg, #fff, #b8d4e8); }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 18px; }
.product-category { margin: 0 0 6px; color: var(--green); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.product-body h3 { font-size: 1.2rem; }
.product-body p { margin: 0; color: var(--muted); }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-meta strong, .detail-price strong { font-size: 1.4rem; }
.product-meta span, .detail-price span { color: var(--muted); font-weight: 700; }

.order-band {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(24px, 5vw, 64px);
    padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
    color: #fff;
    background: #17120f;
}
.order-band .eyebrow, .order-band p { color: #f3c879; }
.order-band h2 { margin-top: 8px; font-size: clamp(2.1rem, 5vw, 4.6rem); }
.order-form, .quick-order {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
label { display: grid; gap: 7px; font-size: .84rem; font-weight: 800; }
input, select, textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    font: inherit;
}
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }

.product-detail { padding: clamp(32px, 6vw, 72px) clamp(18px, 5vw, 72px); }
.back-link { color: var(--green); font-weight: 900; }
.detail-grid { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 60px); align-items: start; margin-top: 22px; }
.detail-visual { min-height: 620px; border-radius: 8px; box-shadow: var(--shadow); }
.detail-copy { display: grid; gap: 20px; }
.detail-copy h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
.detail-price { display: flex; align-items: baseline; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-price strong { font-size: 2rem; }
.color-list { display: flex; flex-wrap: wrap; gap: 8px; }
.color-list span { padding: 8px 11px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; }
.quick-order { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1050px) {
    .hero, .order-band, .detail-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-media, .hero-media img, .detail-visual { min-height: 420px; }
}

@media (max-width: 680px) {
    .site-header { align-items: flex-start; flex-direction: column; min-height: auto; }
    .nav-links { width: 100%; justify-content: space-between; }
    .hero h1 { font-size: 3rem; }
    .section-heading.split { align-items: start; flex-direction: column; }
    .product-grid, .related-grid, .order-form, .quick-order { grid-template-columns: 1fr; }
    .hero-media, .hero-media img, .detail-visual { min-height: 320px; }
}
