/* ============================================================
   BOBUI Angel Wear — main stylesheet
   Modern dark streetwear catalog
   ============================================================ */

:root {
    --bg: #0e0e10;
    --bg-soft: #161619;
    --surface: #1c1c21;
    --surface-2: #26262c;
    --text: #f5f5f7;
    --text-dim: #a1a1aa;
    --border: #2a2a31;
    --accent: #e8c547;      /* gold */
    --accent-2: #d4af37;
    --danger: #ff5a5f;
    --radius: 14px;
    --radius-sm: 10px;
    --maxw: 1240px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --display: 'Anton', 'Inter', sans-serif;
    --shadow: 0 12px 40px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: var(--accent); color: #000; padding: 10px 16px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
    border: 1.5px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(14,14,16,.82); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand-text {
    font-family: var(--display); font-size: 26px; letter-spacing: .04em; color: var(--text);
}
.brand-text span { color: var(--accent); font-size: .65em; vertical-align: super; }
.nav { flex: 1; }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { font-weight: 500; font-size: 15px; color: var(--text-dim); transition: .15s; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface); color: var(--text); border: 1px solid var(--border); cursor: pointer;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(232,197,71,.12), transparent 60%),
        radial-gradient(900px 500px at 0% 110%, rgba(212,175,55,.10), transparent 55%),
        var(--bg);
    padding: 96px 0 72px;
    border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 820px; }
.hero-eyebrow {
    text-transform: uppercase; letter-spacing: .22em; font-size: 13px;
    color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.hero-title {
    font-family: var(--display); font-size: clamp(48px, 9vw, 108px); line-height: .92;
    letter-spacing: .01em; margin: 0 0 22px;
}
.hero-title span { color: var(--accent); font-size: .42em; vertical-align: super; }
.hero-sub { font-size: 19px; color: var(--text-dim); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 22px; }
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-item strong { font-size: 15px; }
.trust-item span { font-size: 13.5px; color: var(--text-dim); }

/* ---------- Section head ---------- */
.section-featured, .section-collections, .section-cta, .related { padding: 64px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; }
.section-head h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 42px); letter-spacing: .01em; }
.link-more { color: var(--accent); font-weight: 600; }
.link-more:hover { text-decoration: underline; }

/* ---------- Product grid ---------- */
.product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.product-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: .22s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--surface-2); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.product-card:hover .card-media img { transform: scale(1.06); }
.no-image { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-dim); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-sale { background: var(--danger); color: #fff; }
.card-quick {
    position: absolute; left: 12px; right: 12px; bottom: 12px; text-align: center;
    background: rgba(14,14,16,.9); color: var(--text); padding: 10px; border-radius: 10px;
    font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: .22s;
}
.product-card:hover .card-quick { opacity: 1; transform: translateY(0); }
.card-body { padding: 16px 16px 18px; }
.card-title { font-size: 15.5px; font-weight: 600; margin: 0 0 8px; }
.card-title a:hover { color: var(--accent); }
.card-price { display: flex; align-items: baseline; gap: 10px; }
.price-current { color: var(--accent); font-weight: 700; font-size: 17px; }
.price-old { color: var(--text-dim); text-decoration: line-through; font-size: 14px; }

/* ---------- Collections ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.collection-tile {
    display: flex; align-items: center; justify-content: center; min-height: 140px;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border); border-radius: var(--radius); font-weight: 700; font-size: 18px;
    transition: .2s;
}
.collection-tile:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #111;
    border-radius: 22px; padding: 56px 40px; text-align: center;
}
.cta-banner h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.cta-banner p { font-size: 18px; opacity: .82; margin-bottom: 26px; }
.cta-banner .btn-primary { background: #111; color: var(--accent); }
.cta-banner .btn-primary:hover { background: #000; }

/* ---------- Archive / catalog ---------- */
.archive-hero { padding: 54px 0 28px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.archive-title { font-family: var(--display); font-size: clamp(32px, 5vw, 54px); margin: 8px 0 0; }
.archive-desc { color: var(--text-dim); margin-top: 12px; max-width: 720px; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--text-dim); flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--accent); }
.catalog { display: grid; grid-template-columns: 230px 1fr; gap: 34px; padding: 44px 22px; }
.catalog:not(:has(.filters)) { grid-template-columns: 1fr; }
.filters h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 14px; }
.filters ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.filters li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text-dim); font-size: 14.5px; }
.filters li a:hover, .filters li.active a { background: var(--surface); color: var(--text); }
.empty { color: var(--text-dim); padding: 40px 0; }
.pagination { margin-top: 40px; display: flex; justify-content: center; }
.pagination .page-numbers { padding: 10px 16px; margin: 0 4px; border: 1px solid var(--border); border-radius: 8px; }
.pagination .page-numbers.current { background: var(--accent); color: #111; border-color: var(--accent); }

/* ---------- Single product ---------- */
.single-product { padding: 40px 22px 70px; }
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; margin-top: 22px; }
.product-gallery .gallery-main {
    border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border);
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs img { width: 82px; height: 102px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); cursor: pointer; }
.product-title { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.product-collections { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 6px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-size: 13px; }
.chip-outline { background: transparent; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.product-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 8px; }
.product-price .price-current { font-size: 30px; }
.product-price .price-old { font-size: 19px; }
.product-variants { margin: 18px 0; }
.product-variants .label { color: var(--text-dim); margin-right: 8px; }
.product-desc { color: var(--text-dim); margin: 20px 0 28px; }
.cta-group { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.product-benefits { list-style: none; padding: 0; margin: 0; color: var(--text-dim); }
.product-benefits li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.product-benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- Content pages / blog ---------- */
.content-page { max-width: 820px; padding: 54px 22px 80px; }
.page-title, .post-title { font-family: var(--display); font-size: clamp(30px, 5vw, 48px); margin-bottom: 12px; }
.post-meta { color: var(--text-dim); margin-bottom: 26px; }
.page-content, .post-content { font-size: 17px; }
.page-content h2, .post-content h2 { margin-top: 1.5em; }
.page-content img, .post-content img { border-radius: var(--radius); margin: 1em 0; }
.post-item { padding: 26px 0; border-bottom: 1px solid var(--border); }
.post-item h2 { font-size: 24px; }
.post-excerpt { color: var(--text-dim); }
.page-404 { text-align: center; padding: 100px 22px; }
.page-404 h1 { font-family: var(--display); font-size: 90px; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 56px 22px 40px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-dim); font-size: 14.5px; }
.footer-col a:hover { color: var(--accent); }
.tagline { color: var(--text-dim); font-size: 14.5px; margin: 14px 0 18px; }
.footer-social { display: flex; gap: 16px; }
.contact-list a { color: var(--accent); }
.newsletter { color: var(--text-dim); font-size: 13.5px; margin-top: 14px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom p { margin: 0; color: var(--text-dim); font-size: 13px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .product-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    .nav {
        position: fixed; inset: 72px 0 auto 0; background: var(--bg);
        border-bottom: 1px solid var(--border); padding: 18px 22px; display: none;
    }
    .nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 16px; }
    .nav-toggle { display: inline-flex; }
    .header-cta .btn { display: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .collection-grid { grid-template-columns: 1fr 1fr; }
    .catalog { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 50px; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
}
