:root {
  color-scheme: dark;
  --bg: #0b0c10;
  --surface: #15181f;
  --surface-raised: #1b1f28;
  --border: #292e39;
  --accent: #00f2fe;
  --text: #f5f7fa;
  --muted: #9299a6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgb(11 12 16 / 88%);
  border-bottom: 1px solid rgb(255 255 255 / 7%);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 850; letter-spacing: .025em; }
.brand-logo { display: block; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 50%; object-fit: cover; }
.brand-name { color: var(--text); }
.header-actions { display: flex; gap: 9px; }
.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.icon-button:hover, .icon-button:focus-visible { color: var(--accent); border-color: var(--accent); }
.icon-button svg, .search-bar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

.search-bar {
  position: absolute;
  top: calc(100% + 9px);
  left: 16px;
  right: 16px;
  z-index: 21;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 16px 40px #0009;
}
.search-bar input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--text); background: transparent; }
.search-close, .dialog-close { border: 0; background: transparent; color: var(--muted); font-size: 24px; cursor: pointer; }

.hero { padding: 54px 22px 48px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { margin: 0; max-width: 650px; font-size: clamp(42px, 12vw, 72px); line-height: .99; letter-spacing: -.065em; }
.hero h1 span { color: var(--accent); }
.hero-copy { max-width: 430px; margin: 18px 0 23px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero-link { display: inline-flex; gap: 12px; align-items: center; color: var(--text); font-size: 13px; font-weight: 700; }
.hero-link span { color: var(--accent); font-size: 18px; }

.shop-section { padding: 25px 16px 64px; scroll-margin-top: 70px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 19px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.045em; }
.result-count { color: var(--muted); font-size: 11px; white-space: nowrap; }
.category-bar {
  display: flex;
  gap: 8px;
  margin: 0 -16px 16px;
  padding: 0 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.category-bar::-webkit-scrollbar { display: none; }
.category-pill {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: #b7bdc8;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: .18s ease;
}
.category-pill.active, .category-pill:hover { border-color: var(--accent); background: var(--accent); color: #061013; }

.controls {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
}
.sort-control, .price-control { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.sort-control select {
  max-width: 68%;
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: 0;
  background: #101218;
  color: var(--text);
  font-size: 12px;
}
.sort-control select:focus-visible { border-color: var(--accent); }
.price-control { display: grid; gap: 8px; }
.price-heading { display: flex; justify-content: space-between; }
.price-heading strong { color: var(--accent); font-size: 12px; }
input[type="range"] { width: 100%; height: 4px; accent-color: var(--accent); cursor: pointer; }

.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.video-frame {
  position: relative;
  width: min(100%, 440px);
  max-height: 440px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background:
    radial-gradient(ellipse at 63% 34%, rgb(244 158 110 / .82), transparent 22%),
    linear-gradient(160deg, #293d51 0%, #7a5361 45%, #e49b62 65%, #232634 66%, #11141b 100%);
}
.video-frame::after { position: absolute; inset: 45% 0 0; content: ""; background: linear-gradient(transparent, rgb(0 0 0 / .48)); pointer-events: none; }
.preview-video { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.45) contrast(1.08) hue-rotate(-8deg); transition: filter .2s; }
.video-frame.is-raw .preview-video { filter: saturate(.72) contrast(.96); }
.video-frame.video-error .preview-video { display: none; }
.video-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 7px 9px; border: 1px solid rgb(255 255 255 / 17%); border-radius: 7px; background: rgb(5 8 12 / 75%); color: var(--accent); font-size: 9px; font-weight: 850; letter-spacing: .08em; backdrop-filter: blur(10px); }
.compare-switch {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  display: flex;
  width: max-content;
  padding: 4px;
  transform: translateX(-50%);
  border: 1px solid rgb(255 255 255 / 17%);
  border-radius: 999px;
  background: rgb(5 8 12 / 78%);
  backdrop-filter: blur(10px);
}
.compare-switch button { padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; color: #d7dbe0; font-size: 10px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.compare-switch button.active { background: var(--accent); color: #061013; }
.video-fallback-label { position: absolute; top: 50%; left: 50%; z-index: 1; width: 80%; transform: translate(-50%, -50%); color: rgb(255 255 255 / .72); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-align: center; }
.video-error .video-fallback-label { display: block; }
.video-fallback-label { display: none; }

.card-info { display: grid; gap: 14px; padding: 15px; }
.product-title-row { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.product-title { margin: 0; font-size: 15px; line-height: 1.35; }
.product-category { display: inline-block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.product-price { flex: 0 0 auto; color: var(--accent); font-size: 15px; font-weight: 800; }
.card-action { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9px; background: var(--accent); color: #061013; font-size: 12px; font-weight: 850; cursor: pointer; transition: background .2s, transform .2s; }
.card-action:hover { transform: translateY(-1px); background: #7af8ff; }
.empty-state { padding: 40px 10px; color: var(--muted); text-align: center; font-size: 14px; }

.site-footer { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 25px 20px 34px; border-top: 1px solid var(--border); color: var(--muted); text-align: center; font-size: 11px; }
.site-footer .brand { color: var(--text); }

.cart-button { position: relative; }
.cart-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--accent); color: #061013; font-size: 9px; font-weight: 850; }

.product-dialog {
  position: fixed;
  width: min(100% - 24px, 1000px);
  max-width: none;
  max-height: min(92vh, 850px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 25px 90px #000b;
}
.product-dialog[open] { animation: modal-in .18s ease-out; }
.product-dialog::backdrop { background: rgb(0 0 0 / .78); backdrop-filter: blur(7px); }
.product-dialog > .dialog-close { position: sticky; top: 10px; right: 10px; z-index: 4; float: right; margin: 10px 10px -44px 0; border-radius: 50%; background: rgb(11 12 16 / .8); color: white; }
.cart-dialog {
  position: fixed;
  width: min(100% - 24px, 520px);
  max-width: none;
  max-height: min(88vh, 720px);
  padding: 21px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 25px 90px #000b;
}
.cart-dialog[open] { animation: modal-in .18s ease-out; }
.cart-dialog::backdrop { background: rgb(0 0 0 / .78); backdrop-filter: blur(7px); }
.cart-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-right: 36px; }
.cart-header .eyebrow { margin-bottom: 5px; }
.cart-header h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.cart-dialog > .dialog-close { position: absolute; top: 12px; right: 13px; }
.cart-items { display: grid; gap: 0; margin-top: 20px; }
.cart-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--border); }
.cart-item-art { display: grid; width: 52px; height: 66px; place-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: linear-gradient(145deg, #293d51, #7a5361 50%, #e49b62); color: white; font-size: 13px; font-weight: 850; }
.cart-item-info { display: grid; min-width: 0; gap: 5px; }
.cart-item-info > strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-info > span { color: var(--muted); font-size: 10px; }
.cart-quantity { display: inline-flex; width: max-content; align-items: center; gap: 11px; margin-top: 3px; padding: 3px 6px; border: 1px solid var(--border); border-radius: 7px; color: var(--text); font-size: 10px; }
.cart-quantity button { width: 19px; height: 19px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--accent); cursor: pointer; }
.cart-quantity button:hover { background: rgb(0 242 254 / 10%); }
.cart-item-end { display: grid; justify-items: end; gap: 8px; }
.cart-item-end > strong { color: var(--accent); font-size: 12px; }
.cart-remove { padding: 3px 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart-remove:hover { color: #ff8291; }
.cart-empty { display: grid; min-height: 170px; align-content: center; justify-items: center; gap: 8px; border-top: 1px solid var(--border); text-align: center; }
.cart-empty > span { color: var(--accent); font-size: 24px; }
.cart-empty > strong { font-size: 13px; }
.cart-empty > p { max-width: 260px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.cart-footer { padding-top: 16px; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.cart-subtotal strong { color: var(--accent); font-size: 17px; }
.cart-tax-note { margin: 6px 0 14px; color: var(--muted); font-size: 10px; }
.cart-checkout { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9px; background: var(--accent); color: #061013; font-size: 12px; font-weight: 850; cursor: pointer; }
.cart-checkout:disabled { opacity: .5; cursor: not-allowed; }
.cart-checkout:not(:disabled):hover { background: #7af8ff; }
.checkout-dialog { position: fixed; width: min(100% - 24px, 470px); max-width: none; max-height: min(92vh, 880px); padding: 24px; overflow: auto; border: 1px solid rgb(0 242 254 / 22%); border-radius: 20px; background: linear-gradient(145deg, rgb(24 28 38 / 97%), rgb(14 16 23 / 98%)); color: var(--text); box-shadow: 0 25px 90px #000c, 0 0 50px rgb(0 242 254 / 7%); backdrop-filter: blur(18px); }
.checkout-dialog[open] { animation: modal-in .2s ease-out; }
.checkout-dialog::backdrop { background: rgb(0 0 0 / .78); backdrop-filter: blur(8px); }
.checkout-dialog > .dialog-close { position: absolute; top: 12px; right: 13px; }
.checkout-heading { padding-right: 28px; }
.checkout-heading .eyebrow { margin: 0 0 6px; }
.checkout-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.checkout-product { margin: 8px 0 2px; color: #c2c8d2; font-size: 12px; }
.checkout-price { color: var(--accent); font-size: 20px; }
.upi-payment { display: grid; justify-items: center; gap: 8px; margin: 18px 0; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: rgb(8 10 15 / 58%); }
.upi-qr-frame { display: grid; width: 200px; height: 200px; place-items: center; overflow: hidden; border-radius: 10px; background: white; }
.upi-qr-frame img { display: block; width: 200px; height: 200px; object-fit: contain; }
.upi-qr-frame img:not([src]), .upi-qr-frame img[src=""] { display: none; }
.upi-payment > p { margin: 0; color: var(--muted); font-size: 11px; }
.upi-id-row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin-top: 5px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.upi-id-row > span { display: grid; min-width: 0; gap: 4px; }
.upi-id-row small { color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.upi-id-row strong { overflow-wrap: anywhere; font-size: 12px; }
.copy-upi-button { flex: 0 0 auto; padding: 7px 12px; border: 1px solid rgb(0 242 254 / 35%); border-radius: 7px; background: rgb(0 242 254 / 8%); color: var(--accent); font-size: 10px; font-weight: 750; cursor: pointer; }
.copy-upi-button:hover { background: rgb(0 242 254 / 15%); }
.checkout-form { display: grid; gap: 12px; }
.checkout-field { display: grid; gap: 6px; color: #c4c9d1; font-size: 10px; font-weight: 700; }
.checkout-field input { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid var(--border); border-radius: 8px; outline: none; background: #101218; color: var(--text); font-size: 12px; }
.checkout-field input:focus { border-color: var(--accent); }
.checkout-message { min-height: 0; margin: 0; color: #ff9aa7; font-size: 10px; line-height: 1.5; }
.checkout-message:empty { display: none; }
.checkout-submit { min-height: 45px; border: 0; border-radius: 9px; background: var(--accent); color: #061013; font-size: 12px; font-weight: 850; cursor: pointer; transition: background .18s, transform .18s; }
.checkout-submit:hover { transform: translateY(-1px); background: #7af8ff; }
.checkout-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.order-success-dialog { position: fixed; width: min(100% - 32px, 500px); max-width: none; padding: 38px 28px 28px; overflow: visible; border: 1px solid rgb(0 242 254 / 32%); border-radius: 24px; background: linear-gradient(145deg, rgb(29 37 49 / 92%), rgb(12 16 24 / 96%)); color: var(--text); text-align: center; box-shadow: 0 28px 100px #000d, 0 0 55px rgb(0 242 254 / 12%); backdrop-filter: blur(24px); }
.order-success-dialog[open] { animation: modal-in .22s ease-out; }
.order-success-dialog::backdrop { background: rgb(0 0 0 / 78%); backdrop-filter: blur(9px); }
.order-success-dialog > .dialog-close { top: 10px; right: 12px; }
.order-success-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 20px; place-items: center; border: 1px solid rgb(0 242 254 / 45%); border-radius: 50%; background: rgb(0 242 254 / 11%); color: var(--accent); font-size: 30px; box-shadow: 0 0 30px rgb(0 242 254 / 14%), inset 0 0 20px rgb(0 242 254 / 8%); }
.order-success-dialog > .eyebrow { margin-bottom: 9px; }
.order-success-dialog h2 { margin: 0; font-size: clamp(25px, 6vw, 34px); letter-spacing: -.05em; }
.order-success-message { max-width: 390px; margin: 14px auto 24px; color: #c4cbd5; font-size: clamp(15px, 3.8vw, 18px); line-height: 1.65; }
.order-success-cta { min-height: 48px; padding: 0 22px; border: 1px solid var(--accent); border-radius: 11px; background: var(--accent); color: #061013; font-size: 13px; font-weight: 850; cursor: pointer; box-shadow: 0 8px 26px rgb(0 242 254 / 16%); transition: transform .18s, background .18s; }
.order-success-cta:hover { transform: translateY(-1px); background: #7af8ff; }
.account-dialog { position: fixed; width: min(100% - 24px, 560px); max-width: none; max-height: min(90vh, 760px); padding: 25px; overflow: auto; border: 1px solid rgb(0 242 254 / 22%); border-radius: 20px; background: linear-gradient(145deg, rgb(24 28 38 / 97%), rgb(14 16 23 / 98%)); color: var(--text); box-shadow: 0 25px 90px #000c, 0 0 50px rgb(0 242 254 / 6%); backdrop-filter: blur(18px); }
.account-dialog[open] { animation: modal-in .2s ease-out; }
.account-dialog::backdrop { background: rgb(0 0 0 / .78); backdrop-filter: blur(8px); }
.account-dialog > .dialog-close { position: absolute; top: 12px; right: 13px; }
.account-heading { padding-right: 32px; }
.account-heading .eyebrow { margin: 0 0 6px; }
.account-heading h2 { margin: 0; font-size: clamp(20px, 5vw, 25px); letter-spacing: -.04em; }
.account-user { display: flex; align-items: center; gap: 13px; margin: 21px 0; padding: 14px; border: 1px solid var(--border); border-radius: 13px; background: rgb(8 10 15 / 48%); }
.account-avatar { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid rgb(0 242 254 / 38%); border-radius: 50%; background: linear-gradient(145deg, #00aab5, #394466); color: white; font-size: 17px; font-weight: 800; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-user-copy { display: grid; min-width: 0; gap: 4px; }
.account-user-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.account-user-copy span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; }
.account-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.account-section-heading h3 { margin: 0; font-size: 14px; }
.account-section-heading > span { color: var(--muted); font-size: 10px; }
.account-orders { display: grid; gap: 10px; }
.account-order-card { position: relative; display: grid; gap: 12px; padding: 14px; overflow: hidden; border: 1px solid rgb(0 242 254 / 18%); border-radius: 12px; background: linear-gradient(125deg, rgb(15 21 29 / 92%), rgb(10 12 18 / 88%)); box-shadow: inset 0 0 24px rgb(0 242 254 / 3%); }
.account-order-card::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgb(0 242 254 / 55%), transparent); }
.account-order-ticket-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 9px; border-bottom: 1px dashed rgb(255 255 255 / 12%); }
.account-ticket-id { color: var(--accent); font-size: 10px; letter-spacing: .06em; }
.account-ticket-date { color: var(--muted); font-size: 9px; }
.account-order-main { display: grid; min-width: 0; gap: 6px; }
.account-order-title { overflow-wrap: anywhere; font-size: 12px; font-weight: 750; }
.account-category-badge { width: max-content; max-width: 100%; padding: 4px 8px; border: 1px solid rgb(170 129 255 / 28%); border-radius: 999px; background: rgb(170 129 255 / 8%); color: #c5a9ff; font-size: 8px; font-weight: 750; }
.account-order-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.account-order-meta strong { color: var(--text); font-size: 12px; }
.account-order-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.account-order-note { margin: -4px 0 0; color: #c4b385; font-size: 10px; line-height: 1.5; }
.account-status { display: inline-flex; min-height: 23px; align-items: center; padding: 0 9px; border: 1px solid; border-radius: 999px; font-size: 9px; font-weight: 800; }
.account-status.pending { border-color: rgb(255 198 89 / 42%); background: rgb(255 198 89 / 11%); color: #ffd27b; box-shadow: 0 0 14px rgb(255 198 89 / 10%); }
.account-status.approved { border-color: rgb(99 230 178 / 42%); background: rgb(99 230 178 / 11%); color: #75e8b3; box-shadow: 0 0 14px rgb(99 230 178 / 10%); }
.account-status.rejected { border-color: rgb(255 124 145 / 28%); background: rgb(255 124 145 / 9%); color: #ff9aa7; }
.download-file-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid rgb(0 242 254 / 42%); border-radius: 8px; background: linear-gradient(100deg, rgb(0 242 254 / 13%), rgb(0 242 254 / 7%)); color: var(--accent); font-size: 10px; font-weight: 800; text-align: center; }
.download-file-button:hover { background: rgb(0 242 254 / 16%); }
.download-file-disabled { color: var(--muted); font-size: 9px; }
.account-orders-loading, .account-orders-error, .account-orders-empty { margin: 0; padding: 26px 14px; border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }
.account-orders-empty strong { display: block; margin-bottom: 5px; color: var(--text); font-size: 12px; }
.account-orders-empty a { display: inline-block; margin-top: 9px; color: var(--accent); font-weight: 750; }
.account-actions { margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--border); }
.sign-out-button { width: 100%; min-height: 42px; border: 1px solid rgb(255 124 145 / 45%); border-radius: 9px; background: rgb(255 124 145 / 5%); color: #ff9aa7; font-size: 11px; font-weight: 800; cursor: pointer; transition: background .18s, border-color .18s; }
.sign-out-button:hover { border-color: #ff7c91; background: rgb(255 124 145 / 12%); }
.sign-out-button:disabled { opacity: .6; cursor: wait; }
.product-detail-layout { display: flex; flex-direction: column; }
.detail-preview { display: grid; min-height: 250px; place-items: center; padding: 20px; background: #0c0e13; }
.detail-video-frame { position: relative; width: min(100%, 300px); max-height: 46vh; overflow: hidden; aspect-ratio: 9 / 16; border: 1px solid var(--border); border-radius: 10px; background: radial-gradient(ellipse at 63% 34%, rgb(244 158 110 / .82), transparent 22%), linear-gradient(160deg, #293d51 0%, #7a5361 45%, #e49b62 65%, #232634 66%, #11141b 100%); }
.detail-video-frame::after { position: absolute; inset: 45% 0 0; content: ""; background: linear-gradient(transparent, rgb(0 0 0 / .38)); pointer-events: none; }
.detail-video-frame .video-badge { top: 10px; left: 10px; }
.product-detail-copy { padding: 26px 22px 24px; }
.product-detail-copy > .eyebrow { padding-right: 35px; line-height: 1.6; }
.product-detail-copy h2 { margin: 0; font-size: clamp(24px, 6vw, 36px); line-height: 1.12; letter-spacing: -.05em; }
.detail-price { margin: 15px 0 4px; font-size: 19px; font-weight: 750; }
.tax-note { margin: 0; color: var(--muted); font-size: 10px; }
.detail-description { margin: 22px 0; color: #c1c6d0; font-size: 13px; line-height: 1.8; }
.purchase-actions { display: grid; gap: 9px; }
.purchase-actions button { min-height: 46px; border-radius: 11px; font-size: 12px; font-weight: 750; cursor: pointer; transition: transform .18s, background .18s, color .18s; }
.purchase-actions button:hover { transform: translateY(-1px); }
.add-cart-button { border: 1px solid var(--text); background: transparent; color: var(--text); }
.add-cart-button:hover { border-color: var(--accent); color: var(--accent); }
.buy-now-button { border: 1px solid var(--accent); background: var(--accent); color: #061013; }
.buy-now-button:hover { background: #7af8ff; }
.license-terms { margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.85; }
.license-terms strong { color: var(--text); }

.auth-dialog {
  position: fixed;
  width: min(100% - 32px, 410px);
  max-width: none;
  max-height: min(90vh, 700px);
  padding: 28px 22px 22px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 25px 90px #000b;
}
.auth-dialog[open] { animation: modal-in .18s ease-out; }
.auth-dialog::backdrop { background: rgb(0 0 0 / .72); backdrop-filter: blur(7px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; font-size: 27px; }
.auth-dialog > .eyebrow { padding-right: 35px; }
.auth-dialog h2 { margin: 0 28px 22px 0; font-size: 23px; letter-spacing: -.04em; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 18px; padding: 4px; border-radius: 10px; background: #101218; }
.auth-tab { padding: 10px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 750; cursor: pointer; }
.auth-tab.active { background: var(--surface-raised); color: var(--text); }
.auth-form { display: grid; gap: 13px; }
.auth-field { display: grid; gap: 7px; color: #c4c9d1; font-size: 11px; font-weight: 700; }
.auth-field input { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; outline: none; background: #101218; color: var(--text); font-size: 13px; }
.auth-field input:focus { border-color: var(--accent); }
.submit-button, .google-button { min-height: 44px; border: 0; border-radius: 8px; font-size: 12px; font-weight: 800; cursor: pointer; }
.submit-button:disabled, .google-button:disabled { opacity: .65; cursor: wait; }
.submit-button { margin-top: 4px; background: var(--accent); color: #061013; }
.google-button { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--border); background: #101218; }
.google-g { color: #4285f4; font-size: 16px; font-weight: 900; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: 11px; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; content: ""; background: var(--border); }
.auth-note { min-height: 16px; margin: 12px 0 0; color: var(--accent); font-size: 11px; text-align: center; }
.toast { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 30; max-width: 420px; margin: 0 auto; padding: 13px 16px; transform: translateY(20px); border: 1px solid var(--border); border-radius: 10px; background: var(--surface-raised); color: var(--text); font-size: 12px; opacity: 0; pointer-events: none; transition: .2s; }
.toast.visible { transform: translateY(0); opacity: 1; }

@media (min-width: 600px) {
  .site-header { padding: 0 32px; }
  .hero { padding: 76px 40px 65px; }
  .shop-section { padding: 35px 32px 80px; }
  .category-bar { margin-right: -32px; margin-left: -32px; padding-right: 32px; padding-left: 32px; }
  .controls { flex-direction: row; align-items: center; justify-content: space-between; }
  .sort-control { justify-content: start; }
  .sort-control select { max-width: none; }
  .price-control { width: min(45%, 280px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .card-info { padding: 16px; }
  .product-dialog { width: min(100% - 48px, 1000px); }
  .product-detail-layout { min-height: 550px; flex-direction: row; }
  .detail-preview { width: 48%; flex: 0 0 48%; padding: 26px; }
  .detail-video-frame { width: min(100%, 340px); max-height: 68vh; }
  .product-detail-copy { align-self: center; padding: 52px 34px 32px; }
}

@media (max-width: 380px) {
  .checkout-dialog { padding: 20px 16px; }
  .upi-qr-frame, .upi-qr-frame img { width: 180px; height: 180px; }
}

@media (min-width: 960px) {
  .site-header { min-height: 72px; padding: 0 max(40px, calc((100vw - 1200px) / 2)); }
  .search-bar { right: max(40px, calc((100vw - 1200px) / 2)); left: auto; width: 390px; }
  .hero, .shop-section { max-width: 1280px; margin: 0 auto; }
  .hero { padding: 100px 48px 80px; }
  .hero h1 { font-size: clamp(70px, 8vw, 100px); }
  .hero-copy { font-size: 16px; }
  .shop-section { padding: 38px 48px 100px; }
  .category-bar { margin-right: -48px; margin-left: -48px; padding-right: 48px; padding-left: 48px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .product-detail-layout { min-height: 620px; }
  .product-detail-copy { padding-right: 42px; padding-left: 42px; }
  .site-footer { flex-direction: row; justify-content: space-between; padding-right: max(48px, calc((100vw - 1184px) / 2)); padding-left: max(48px, calc((100vw - 1184px) / 2)); text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
