/* old colorss */
:root {
    --bg: #0f0f0f;
    --panel: #141414;
    --panel2: #101010;
    --text: #f5f5f5;
    --muted: rgba(245, 245, 245, .72);
    --muted2: rgba(245, 245, 245, .55);
    --border: rgba(255, 255, 255, .10);
    --accent: #d7c08a;
    --accent2: rgba(215, 192, 138, .15);
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
    --radius: 18px;
    --radius2: 24px;
    --max: 1120px;
    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

html[data-theme="light"] {
    --bg: #fbfbfb;
    --panel: #ffffff;
    --panel2: #ffffff;
    --text: #121212;
    --muted: rgba(18, 18, 18, .70);
    --muted2: rgba(18, 18, 18, .55);
    --border: rgba(0, 0, 0, .10);
    --accent: #111111;
    --accent2: rgba(0, 0, 0, .06);
    --shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

/* new colors */
:root {
    /* Warm luxury dark */
    --bg: #0E0B08;
    --panel: #14100C;
    --panel2: #1A1510;

    --text: #F4F1EC;
    --muted: rgba(244, 241, 236, .74);
    --muted2: rgba(244, 241, 236, .58);

    --border: rgba(244, 241, 236, .10);

    /* Champagne accent */
    --accent: #D6BE8A;
    --accent2: rgba(214, 190, 138, .14);

    --shadow: 0 18px 50px rgba(0, 0, 0, .55);
    --radius: 18px;
    --radius2: 24px;
    --max: 1120px;
    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

html[data-theme="light"] {
    /* Warm luxury light */
    --bg: #FBFAF8;
    --panel: #FFFFFF;
    --panel2: #FFFFFF;

    --text: #16130F;
    --muted: rgba(22, 19, 15, .68);
    --muted2: rgba(22, 19, 15, .55);

    --border: rgba(22, 19, 15, .10);

    /* Keep champagne for highlights; primary buttons become near-black in light */
    --accent: #1A1510;
    --accent2: rgba(26, 21, 16, .08);

    --shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

/* 
html[data-theme="light"] .chip,
html[data-theme="light"] .tag,
html[data-theme="light"] .pill {
    background: rgba(214, 190, 138, .16);
    border-color: rgba(22, 19, 15, .10);
} */

:root {
    /* Deep Navy Dark */
    --bg: #070A12;
    --panel: #0D1220;
    --panel2: #10182B;

    --text: #F2F5FF;
    --muted: rgba(242, 245, 255, .74);
    --muted2: rgba(242, 245, 255, .58);

    --border: rgba(242, 245, 255, .10);

    /* Silver accent */
    --accent: #C9CDD7;
    --accent2: rgba(201, 205, 215, .14);

    --shadow: 0 18px 50px rgba(0, 0, 0, .55);
    --radius: 18px;
    --radius2: 24px;
    --max: 1120px;
    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

html[data-theme="light"] {
    /* Clean cool light */
    --bg: #FBFCFF;
    --panel: #FFFFFF;
    --panel2: #FFFFFF;

    --text: #0B1020;
    --muted: rgba(11, 16, 32, .70);
    --muted2: rgba(11, 16, 32, .55);

    --border: rgba(11, 16, 32, .10);

    /* Deep navy accent in light mode */
    --accent: #0B1020;
    --accent2: rgba(11, 16, 32, .08);

    --shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

html[data-theme="light"] .btn--primary {
    color: #ffffff;
}

.chip,
.tag,
.pill {
    background: color-mix(in srgb, var(--accent2) 60%, transparent);
    border-color: rgba(242, 245, 255, .12);
}


* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.45;
}

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

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

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}

.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--accent2);
    border: 1px solid var(--border);
    font-weight: 700;
}

.brand__name {
    font-weight: 650;
    letter-spacing: .2px;
}

.nav {
    display: none;
    gap: 18px;
    margin-left: auto;
}

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

.nav__link:hover {
    color: var(--text);
}

.controls {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.btn {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: transform .05s ease, background .2s ease, border-color .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    user-select: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn--ghost {
    background: color-mix(in srgb, var(--panel) 65%, transparent);
}

.btn--primary {
    background: var(--accent);
    border-color: transparent;
    color: #0B1020;
    font-weight: 650;
}

html[data-theme="light"] .btn--primary {
    color: #ffffff;
}

.btn--secondary {
    background: transparent;
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.pill {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent2);
    border: 1px solid var(--border);
    color: var(--muted);
}

.hero {
    padding: 42px 0 28px;
}

.hero__inner {
    display: grid;
    gap: 26px;
    align-items: center;
}

.hero__copy {
    max-width: 680px;
}

.h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
}

.lead {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 16px;
    max-width: 60ch;
}

.hero__cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.trust {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    color: var(--muted2);
    font-size: 13px;
}

.trust__dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--border);
}

.hero__panel {
    display: none;
}

.hero__card {
    position: relative;
    background:
        radial-gradient(900px 420px at 10% 10%, rgba(201, 205, 215, .16), transparent 55%),
        radial-gradient(700px 340px at 90% 20%, rgba(120, 140, 200, .10), transparent 60%),
        linear-gradient(180deg, var(--panel), var(--panel2));
    border: 1px solid var(--border);
    border-radius: var(--radius2);
    box-shadow: var(--shadow);
    padding: 18px;
    overflow: hidden;
}



.hero__glow {
    position: absolute;
    inset: -60px -60px auto auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--accent2), transparent 70%);
    filter: blur(8px);
}

.hero__cardTop {
    display: flex;
    gap: 8px;
}

.chip {
    font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--panel) 70%, transparent);
}

.hero__cardMid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 16px;
    margin-top: 18px;
    align-items: center;
}

.mockBottle {
    width: 100%;
    aspect-ratio: 3/5;
    border-radius: 22px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
        linear-gradient(180deg, color-mix(in srgb, var(--panel) 50%, transparent), var(--panel2));
    border: 1px solid var(--border);
}

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

.line {
    height: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--text) 14%, transparent);
}

.w80 {
    width: 80%;
}

.w60 {
    width: 60%;
}

.w40 {
    width: 40%;
}

.hero__cardBottom {
    margin-top: 16px;
}

.section {
    padding: 40px 0;
}

.section__head {
    margin-bottom: 18px;
}

.section__head--row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    align-items: end;
}

.h2 {
    font-size: 22px;
    margin: 0 0 6px;
}

.h3 {
    font-size: 16px;
    margin: 10px 0 6px;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 12px;
}

.label {
    color: var(--muted2);
    font-size: 12px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.grid {
    display: grid;
    gap: 12px;
}

.grid--3 {
    grid-template-columns: 1fr;
}

.card {
    background: linear-gradient(180deg, var(--panel), var(--panel2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.card__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--accent2);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 700;
}

.segmented {
    display: inline-flex;
    background: color-mix(in srgb, var(--panel) 80%, transparent);
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.segmented__btn {
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
}

.segmented__btn.is-active {
    color: var(--text);
    background: var(--accent2);
}

.products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.product {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    align-items: center;
    background: linear-gradient(180deg, var(--panel), var(--panel2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
}

.product__img {
    width: 92px;
    height: 92px;
    border-radius: 16px;
    border: 1px solid var(--border);
    object-fit: cover;
    background: color-mix(in srgb, var(--panel) 75%, transparent);
}

.product__title {
    margin: 0;
    font-weight: 650;
}

.product__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: color-mix(in srgb, var(--panel) 70%, transparent);
}

.product__actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.contactCard {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(180deg, var(--panel), var(--panel2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.value {
    font-size: 18px;
    font-weight: 650;
}

.footer {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer__links {
    display: flex;
    gap: 14px;
}

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

.footer__link:hover {
    color: var(--text);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 100;
}

.modal.is-open {
    display: block;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.modal__panel {
    position: relative;
    width: min(980px, calc(100% - 24px));
    margin: 60px auto;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius2);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--panel) 70%, transparent);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 22px;
    line-height: 0;
}

.modal__content {
    display: grid;
    grid-template-columns: 1fr;
}

.modal__imageWrap {
    background: radial-gradient(900px 300px at 20% 10%, var(--accent2), transparent 55%),
        linear-gradient(180deg, var(--panel2), var(--panel));
    padding: 16px;
}

.modal__image {
    width: 100%;
    height: 320px;
    object-fit: contain;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--panel) 70%, transparent);
}

.modal__info {
    padding: 16px;
}

.kicker {
    color: var(--muted2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.modal__title {
    margin: 8px 0 4px;
}

.modal__block {
    margin-top: 14px;
}

.sizeRow {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sizeBtn {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.sizeBtn.is-active {
    background: var(--accent2);
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.price {
    font-size: 26px;
    font-weight: 750;
    letter-spacing: -0.3px;
}

.modal__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.fineprint {
    margin-top: 14px;
    color: var(--muted2);
    font-size: 12px;
}

/* Drawer (Cart) */
.drawer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 110;
}

.drawer.is-open {
    display: block;
}

.drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 92vw);
    background: var(--panel);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.drawer__head {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--panel), var(--panel2));
}

.drawer__body {
    padding: 12px 16px;
    overflow: auto;
    display: grid;
    gap: 10px;
}

.drawer__footer {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, var(--panel2), var(--panel));
}

.drawer__actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.cartItem {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--panel), var(--panel2));
    padding: 10px;
}

.cartItem__img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--panel) 75%, transparent);
}

.cartItem__title {
    margin: 0;
    font-weight: 650;
    font-size: 14px;
}

.cartItem__meta {
    margin-top: 4px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

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

.qtyBtn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.qtyVal {
    min-width: 22px;
    text-align: center;
    font-weight: 650;
}

.totals {
    display: grid;
    gap: 8px;
}

.totals__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

/* Form */
.form {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.form__row {
    display: grid;
    gap: 6px;
}

.input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 12px;
    font-size: 14px;
    color: var(--text);
    background: color-mix(in srgb, var(--panel2) 75%, transparent);
    outline: none;
}

.input:focus {
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent2) 55%, transparent);
}


/* Responsive */
@media (min-width: 860px) {
    .nav {
        display: flex;
    }

    .controls {
        margin-left: 0;
    }

    .hero__inner {
        grid-template-columns: 1.15fr .85fr;
    }

    .hero__panel {
        display: block;
    }

    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .products {
        grid-template-columns: repeat(3, 1fr);
    }

    .product {
        grid-template-columns: 1fr;
    }

    .product__img {
        width: 100%;
        height: 180px;
    }

    .modal__content {
        grid-template-columns: 1fr 1fr;
    }

    .modal__image {
        height: 420px;
    }
}

/* Shop tools (search + sort) */
.shopTools{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  width: 100%;
  justify-content: flex-end;
}
.input--search{
  flex: 1 1 220px;
  min-width: 220px;
}
.select{
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--panel2) 75%, transparent);
  outline: none;
}
.select:focus{
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent2) 55%, transparent);
}
