/* =============================================================
   Velvet & Vice - storefront theme
   Sensual dark palette: charcoal base, rose-gold + magenta accents.
   Generated by AI | Prompt: build full PHP adult e-commerce site.
   ============================================================= */

:root {
    --bg:        #0c0a0f;
    --bg-2:      #141017;
    --surface:   #1b1620;
    --surface-2: #241c2c;
    --line:      #322637;
    --text:      #f3eef5;
    --muted:     #a99fb2;
    --rose:      #e6a4b4;
    --rose-deep: #c64f73;
    --gold:      #d8a657;
    --magenta:   #b5179e;
    --accent:    #d6447a;
    --accent-2:  #7b2d6b;
    --radius:    14px;
    --shadow:    0 18px 40px rgba(0,0,0,.45);
    --serif:     'Cormorant Garamond', Georgia, serif;
    --sans:      'Jost', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: radial-gradient(1200px 600px at 70% -10%, #1d1322 0%, var(--bg) 55%) fixed;
    color: var(--text);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .8em 1.6em; border-radius: 999px; border: 1px solid transparent;
    font-family: var(--sans); font-size: .92rem; font-weight: 500; letter-spacing: .02em;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; box-shadow: 0 8px 22px rgba(214,68,122,.32);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(214,68,122,.45); }
.btn-primary[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn-link { background: none; border: none; color: var(--muted); padding: .5em; }
.btn-link:hover { color: var(--rose); }
.btn-sm { padding: .55em 1.1em; font-size: .82rem; }
.btn-lg { padding: 1em 2.2em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.topbar {
    background: var(--bg-2); color: var(--muted); font-size: .76rem; letter-spacing: .06em;
    text-transform: uppercase; text-align: center; padding: .55rem 1rem;
}
.topbar-sep { color: var(--accent); margin: 0 .5rem; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(12,10,15,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-main {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem;
    max-width: 1280px; margin: 0 auto; padding: 1rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark {
    font-family: var(--serif); font-weight: 700; font-size: 1.1rem; letter-spacing: .04em;
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
}
.brand-mark.large { width: 64px; height: 64px; font-size: 1.5rem; margin: 0 auto 1rem; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .03em; }
.search { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search input { flex: 1; background: none; border: none; color: var(--text); padding: .75rem 1.2rem; font-family: var(--sans); outline: none; }
.search input::placeholder { color: var(--muted); }
.search button { background: none; border: none; color: var(--rose); padding: 0 1.2rem; font-size: 1.1rem; cursor: pointer; }
.header-actions { display: flex; gap: 1.2rem; }
.icon-link { position: relative; font-size: 1.4rem; color: var(--text); transition: color .2s; }
.icon-link:hover { color: var(--rose); }
.badge {
    position: absolute; top: -6px; right: -10px; background: var(--accent); color: #fff;
    font-family: var(--sans); font-size: .68rem; min-width: 18px; height: 18px; border-radius: 999px;
    display: grid; place-items: center; padding: 0 4px;
}
.catnav {
    display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap;
    max-width: 1280px; margin: 0 auto; padding: .2rem 1.5rem 1rem;
    font-size: .9rem; letter-spacing: .03em;
}
.catnav a { color: var(--muted); transition: color .2s; white-space: nowrap; }
.catnav a:hover { color: var(--text); }
.catnav-all { color: var(--text); font-weight: 500; }
.catnav-sale { color: var(--gold); font-weight: 500; }

/* ---------- Layout ---------- */
.site-main { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.section { margin-top: 3.5rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.4rem; }
.section-head h2 { font-size: 2rem; margin: 0; }
.section-link { color: var(--rose); font-size: .9rem; }
.section-link:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; border-radius: var(--radius); overflow: hidden; margin-top: 2rem; min-height: 460px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,10,15,.9) 0%, rgba(12,10,15,.55) 45%, rgba(12,10,15,.15) 100%); }
.hero-content { position: relative; padding: 3.5rem; max-width: 620px; }
.hero-kicker { text-transform: uppercase; letter-spacing: .35em; color: var(--rose); font-size: .8rem; margin: 0 0 1rem; }
.hero-title { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: 0 0 1rem; }
.hero-sub { color: var(--text); opacity: .85; font-size: 1.1rem; margin: 0 0 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; opacity: .82; }
.cat-tile:hover img { transform: scale(1.07); opacity: 1; }
.cat-tile-info { position: absolute; inset: auto 0 0 0; padding: 1.1rem; background: linear-gradient(transparent, rgba(12,10,15,.92)); }
.cat-tile-name { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.cat-tile-count { color: var(--muted); font-size: .8rem; }

/* ---------- Promo band ---------- */
.promo { margin-top: 3.5rem; border-radius: var(--radius); background: linear-gradient(120deg, var(--accent-2), var(--bg-2)); border: 1px solid var(--line); }
.promo-inner { padding: 3rem; text-align: center; max-width: 700px; margin: 0 auto; }
.promo-inner h2 { font-size: 2.2rem; }
.promo-inner p { color: var(--text); opacity: .85; margin-bottom: 1.5rem; }

/* ---------- Product grid + cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--rose-deep); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.tag { position: absolute; top: .7rem; font-size: .72rem; font-weight: 600; padding: .3em .7em; border-radius: 999px; letter-spacing: .03em; }
.tag-sale { left: .7rem; background: var(--gold); color: #2a1c05; }
.tag-oos { right: .7rem; background: rgba(0,0,0,.7); color: #fff; }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-brand { color: var(--rose); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.card-title { font-family: var(--sans); font-size: .98rem; font-weight: 400; line-height: 1.35; margin: 0; }
.card-title a:hover { color: var(--rose); }
.card-rating { font-size: .8rem; }
.card-price { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
.price-now { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--text); }
.price-was { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.card-actions { margin-top: .4rem; }
.stars { color: var(--gold); letter-spacing: 1px; }
.stars .empty { color: var(--line); }
.rating-count { color: var(--muted); font-size: .78rem; margin-left: .4rem; }

/* ---------- Breadcrumb / heads ---------- */
.breadcrumb { color: var(--muted); font-size: .85rem; margin: 1.6rem 0 .6rem; }
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb-wide { margin-top: 1.6rem; }
.shop-head, .page-head { padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.8rem; }
.shop-head h1, .page-head h1 { font-size: 2.4rem; margin: .2rem 0; }
.shop-count, .page-head p { color: var(--muted); }

/* ---------- Shop layout + filters ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; align-items: start; }
.filters { position: sticky; top: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.filter-block { padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.filter-block h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--muted); margin-bottom: .8rem; }
.filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.filter-list a { display: flex; justify-content: space-between; color: var(--text); opacity: .8; font-size: .9rem; padding: .2rem 0; }
.filter-list a:hover, .filter-list a.active { opacity: 1; color: var(--rose); }
.filter-list a span { color: var(--muted); font-size: .78rem; }
.price-inputs { display: flex; align-items: center; gap: .5rem; }
.price-inputs input, .filters select { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: .55rem .7rem; font-family: var(--sans); }
.check { display: flex; align-items: center; gap: .6rem; color: var(--text); opacity: .85; font-size: .9rem; margin-bottom: .5rem; cursor: pointer; }
.check input { accent-color: var(--accent); }
.filters .btn { margin-top: .4rem; }

.results-toolbar { display: flex; justify-content: flex-end; margin-bottom: 1.2rem; }
.sort-form label { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .85rem; }
.sort-form select { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: .5rem .8rem; font-family: var(--sans); }

.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a { min-width: 42px; text-align: center; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: .9rem; }
.pagination a:hover { border-color: var(--rose); color: var(--rose); }
.pagination a.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty h3 { color: var(--text); }
.empty .btn { margin-top: 1rem; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: .5rem; }
.pd-media { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.pd-media img { width: 100%; height: 100%; object-fit: contain; }
.pd-brand { color: var(--rose); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; }
.pd-title { font-size: 2.4rem; margin: .4rem 0; }
.pd-rating { margin-bottom: 1rem; }
.pd-price { display: flex; align-items: baseline; gap: .9rem; margin: 1rem 0; }
.pd-price .price-now { font-size: 2rem; }
.price-save { background: rgba(216,166,87,.15); color: var(--gold); font-size: .8rem; padding: .25em .7em; border-radius: 999px; }
.pd-stock { font-size: .9rem; }
.pd-stock.in { color: #6fcf97; }
.pd-stock.out { color: var(--rose-deep); }
.pd-meta { list-style: none; padding: 1.2rem 0; margin: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .5rem; }
.pd-meta li { display: flex; gap: 1rem; font-size: .92rem; }
.pd-meta span { color: var(--muted); min-width: 90px; }
.pd-buy { display: flex; gap: 1rem; align-items: center; margin: 1.5rem 0 .5rem; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button { background: var(--surface); border: none; color: var(--text); width: 42px; height: 46px; font-size: 1.2rem; cursor: pointer; }
.qty-stepper button:hover { color: var(--rose); }
.qty-stepper input { width: 52px; height: 46px; text-align: center; background: var(--bg-2); border: none; color: var(--text); font-family: var(--sans); -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.chip { background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: .78rem; padding: .35em .8em; border-radius: 999px; }
.chip:hover { color: var(--rose); border-color: var(--rose-deep); }
.pd-description { margin-top: 3rem; max-width: 820px; }
.pd-description h2 { font-size: 1.8rem; }
.pd-description p { color: var(--text); opacity: .85; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.cart-row { display: grid; grid-template-columns: 90px 1fr 90px 90px; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-thumb { background: #fff; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: flex; flex-direction: column; gap: .2rem; }
.cart-brand { color: var(--rose); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.cart-name { font-size: .98rem; }
.cart-name:hover { color: var(--rose); }
.cart-unit { color: var(--muted); font-size: .82rem; }
.cart-qty { width: 70px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: .5rem; text-align: center; }
.cart-line { font-family: var(--serif); font-size: 1.2rem; text-align: right; }
.cart-actions { padding-top: 1.2rem; }
.cart-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 150px; }
.cart-summary h3 { font-size: 1.4rem; }
.sum-row { display: flex; justify-content: space-between; padding: .55rem 0; color: var(--text); opacity: .85; }
.sum-note { color: var(--gold); font-size: .82rem; }
.sum-total { font-family: var(--serif); font-size: 1.4rem; opacity: 1; border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; }
.cart-summary .btn { margin-top: .6rem; }
.cart-clear { margin-top: .2rem; }

/* ---------- Checkout / confirmation ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.checkout-fields h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.checkout-fields h3:first-child { margin-top: 0; }
.checkout-fields label { display: flex; flex-direction: column; gap: .4rem; color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.checkout-fields input { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: .75rem .9rem; font-family: var(--sans); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pay-note { color: var(--gold); font-size: .85rem; background: rgba(216,166,87,.1); padding: .8rem 1rem; border-radius: 8px; }
.checkout-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 150px; }
.co-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.co-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.co-qty { color: var(--rose); }
.co-amt { font-variant-numeric: tabular-nums; }
.confirmation { text-align: center; max-width: 600px; margin: 2rem auto; }
.confirm-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: 2.5rem; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.confirm-ref { color: var(--muted); }
.confirm-summary { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin: 2rem 0; }

/* ---------- Age gate ---------- */
.age-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.5rem;
    background: radial-gradient(800px 500px at 50% 0%, #221428, #08060a 80%); }
.age-card { max-width: 440px; width: 100%; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 2.5rem 2rem; box-shadow: var(--shadow); }
.age-card h1 { font-size: 2rem; margin: 0 0 1rem; }
.age-lead { color: var(--text); opacity: .85; margin-bottom: 1.5rem; }
.age-leave { display: inline-block; margin-top: 1rem; color: var(--muted); font-size: .85rem; }
.age-leave:hover { color: var(--rose); }
.age-fine { color: var(--muted); font-size: .72rem; margin-top: 1.5rem; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 4rem; }
.footer-grid { max-width: 1280px; margin: 0 auto; padding: 3rem 1.5rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2rem; }
.footer-grid h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--rose); }
.footer-grid p { color: var(--muted); font-size: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-grid a { color: var(--muted); font-size: .9rem; }
.footer-grid a:hover { color: var(--rose); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .8rem; }

/* ---------- Content / policy pages ---------- */
.prose { max-width: 820px; color: var(--text); }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--text); opacity: .85; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--rose); }
.prose a:hover { color: var(--gold); }
.prose-note { font-size: .85rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 1rem; margin-top: 2rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.contact-form label { display: flex; flex-direction: column; gap: .4rem; color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.contact-form input, .contact-form textarea { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: .75rem .9rem; font-family: var(--sans); resize: vertical; }
.alert-success { background: rgba(111,207,151,.12); border: 1px solid #6fcf97; color: #9be3b8; padding: .9rem 1.1rem; border-radius: 8px; margin-bottom: 1.2rem; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1rem 1.4rem; box-shadow: var(--shadow);
}
.cookie-text { color: var(--text); font-size: .88rem; opacity: .9; flex: 1; min-width: 240px; }
.cookie-text a { color: var(--rose); }
.cookie-actions { display: flex; gap: .6rem; }
.cookie-banner.hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .shop-layout { grid-template-columns: 1fr; }
    .filters { position: static; }
    .product-detail { grid-template-columns: 1fr; gap: 1.5rem; }
    .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
    .cart-summary, .checkout-summary { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .header-main { grid-template-columns: auto auto; row-gap: .8rem; }
    .search { grid-column: 1 / -1; order: 3; }
    .brand-name { display: none; }
    .hero-content { padding: 2rem 1.5rem; }
    .section-head h2 { font-size: 1.5rem; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cart-row { grid-template-columns: 64px 1fr; grid-template-areas: "thumb info" "thumb qty" "line line"; }
}
