:root {
  --bg: #070304;
  --bg-soft: #0b0507;
  --panel: #12090b;
  --panel-2: #190c10;
  --panel-3: #211014;
  --line: rgba(255, 120, 130, 0.14);
  --line-strong: rgba(255, 43, 58, 0.28);
  --text: #fff7f8;
  --muted: #a58d91;
  --muted-2: #745f63;
  --accent: #ff2b3c;
  --accent-2: #a70012;
  --accent-soft: rgba(255, 43, 60, 0.13);
  --green: #5ce3aa;
  --yellow: #ffcc62;
  --red: #ff4054;
  --shopier: #8f6cff;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.36);
  --container: 1220px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::selection { background: rgba(255, 43, 60, 0.25); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
main { min-height: 65vh; position: relative; z-index: 1; }

.site-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 5%, rgba(167, 0, 18, 0.08), transparent 32%),
    radial-gradient(circle at 90% 28%, rgba(255, 43, 60, 0.055), transparent 27%),
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: auto, auto, 54px 54px, 54px 54px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.7) 55%, transparent 100%);
}
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }

.kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.kicker > span,
.eyebrow > span { width: 24px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.kicker.light { color: rgba(255,255,255,.8); }
.kicker.center, .eyebrow.center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 21px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 14px;
  transition: .22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #180003;
  box-shadow: 0 12px 35px rgba(167, 0, 18, .22);
}
.btn-primary:hover { box-shadow: 0 18px 44px rgba(167, 0, 18, .32); }
.btn-secondary,
.btn-ghost {
  background: rgba(255,255,255,.035);
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary:hover,
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(255,43,60,.065); }
.btn-shopier { background: linear-gradient(135deg, #a98cff, #7257e6); color: #fff; box-shadow: 0 12px 35px rgba(143,108,255,.23); }
.btn-white { background: #fff; color: #160206; }
.btn-light { background: #fff; color: #160206; }
.btn-block { width: 100%; }
.btn-large { min-height: 54px; padding-inline: 27px; font-size: 15px; }
.btn.small { min-height: 38px; padding-inline: 15px; border-radius: 10px; font-size: 12px; }
.text-action, .text-link, .section-link { color: var(--accent); font-weight: 700; }
.section-link { display: inline-flex; align-items: center; gap: 8px; }
.back-link { color: var(--muted); font-weight: 700; }

.announcement {
  position: relative;
  z-index: 20;
  height: 34px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: #080405;
  color: var(--muted);
  font-size: 11px;
}
.announcement-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announcement-inner > span { display: flex; align-items: center; gap: 9px; }
.announcement-inner > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(92,227,170,.75); }
.announcement a { color: #c7d3e4; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 19;
  height: 78px;
  border-bottom: 1px solid transparent;
  background: rgba(7,3,4,.74);
  backdrop-filter: blur(18px);
  transition: .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7,3,4,.93); box-shadow: 0 15px 45px rgba(0,0,0,.2); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 174px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 27px; margin-right: auto; }
.main-nav a { position: relative; color: #9aa8ba; font-size: 13px; font-weight: 700; transition: .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -29px; background: linear-gradient(90deg,var(--accent),var(--accent-2)); border-radius: 3px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.login-link { color: #d6deea; font-weight: 700; font-size: 13px; padding: 10px 7px; }
.account-button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}
.avatar-small { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #180003; background: linear-gradient(135deg,var(--accent),var(--accent-2)); font-weight: 900; }
.account-copy { display: grid; line-height: 1.15; }
.account-copy b { font-size: 12px; }
.account-copy small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.square-button { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.square-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cart-button { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 11px 0 13px; border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 12px; font-size: 12px; font-weight: 750; }
.cart-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-button b { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 5px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 11px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; transition: .2s; }

.flash-stack { position: fixed; z-index: 100; right: 24px; top: 126px; width: min(390px, calc(100% - 40px)); display: grid; gap: 10px; }
.flash { padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: rgba(18,8,11,.96); color: #dce5f1; box-shadow: var(--shadow); transition: .35s; }
.flash-success { border-color: rgba(92,227,170,.3); }
.flash-warning { border-color: rgba(246,199,106,.3); }
.flash-danger { border-color: rgba(255,111,134,.32); }
.flash.fade-out { opacity: 0; transform: translateY(-8px); pointer-events: none; }

.hero-modern { padding: 106px 0 82px; min-height: 690px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-modern::before { content: ""; position: absolute; width: 700px; height: 700px; right: -250px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(167,0,18,.15), transparent 65%); filter: blur(4px); }
.hero-modern-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 74px; }
.hero-modern-copy h1 { margin: 20px 0 24px; max-width: 650px; font-size: clamp(48px, 5.1vw, 74px); line-height: 1.04; letter-spacing: -.045em; }
.hero-modern-copy h1 em { color: transparent; font-style: normal; background: linear-gradient(135deg,#fff 10%,var(--accent) 58%,var(--accent-2)); -webkit-background-clip: text; background-clip: text; }
.hero-modern-copy > p { max-width: 610px; color: #aa969a; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.hero-proof { display: flex; gap: 34px; margin-top: 48px; padding-top: 27px; border-top: 1px solid var(--line); }
.hero-proof div { display: grid; gap: 2px; }
.hero-proof strong { font-size: 21px; letter-spacing: -.02em; }
.hero-proof span { color: var(--muted); font-size: 11px; }
.hero-dashboard { position: relative; }
.dashboard-window { border: 1px solid rgba(255,96,110,.2); background: linear-gradient(155deg,rgba(17,25,37,.97),rgba(12,5,7,.97)); border-radius: 24px; box-shadow: 0 50px 120px rgba(0,0,0,.52), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; transform: perspective(1300px) rotateY(-4deg) rotateX(2deg); }
.window-bar { height: 49px; display: flex; align-items: center; gap: 18px; padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.window-bar > div { display: flex; gap: 6px; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #394556; }
.window-bar span { margin-right: auto; color: #758399; font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.window-bar b { color: var(--green); font-size: 9px; letter-spacing: .14em; }
.window-content { padding: 28px; }
.resource-overview { display: flex; align-items: center; gap: 17px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.025); }
.resource-logo { width: 66px; height: 66px; padding: 8px; border-radius: 17px; background: rgba(255,43,60,.07); }
.resource-overview small, .dash-card small { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.resource-overview h3 { margin: 4px 0 2px; font-size: 20px; }
.resource-overview p { margin: 0; color: var(--muted); font-size: 11px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.dash-card { min-height: 118px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); }
.dash-card strong { margin-top: 8px; font-size: 19px; }
.dash-card span { color: var(--muted); font-size: 10px; }
.dash-card.wide { grid-column: 1/-1; min-height: 104px; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 30px; }
.dash-card.wide strong { display: block; font-size: 14px; }
.progress { width: 130px; height: 6px; border-radius: 5px; background: rgba(255,255,255,.07); overflow: hidden; }
.progress i { display: block; width: 78%; height: 100%; background: linear-gradient(90deg,var(--accent-2),var(--accent)); }
.terminal-row { margin-top: 12px; display: flex; align-items: center; gap: 9px; padding: 12px 15px; border: 1px solid var(--line); background: #080405; border-radius: 13px; color: #718095; font-size: 10px; }
.terminal-row span { color: var(--accent); }
.terminal-row code { color: #b8c3d2; margin-right: auto; }
.terminal-row b { color: var(--green); }
.dashboard-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; min-width: 164px; padding: 12px 14px; border: 1px solid rgba(255,43,60,.2); border-radius: 13px; background: rgba(11,16,24,.94); box-shadow: 0 18px 48px rgba(0,0,0,.4); backdrop-filter: blur(12px); }
.dashboard-float > i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px rgba(255,43,60,.75); }
.dashboard-float span { display: grid; line-height: 1.2; }
.dashboard-float b { font-size: 12px; }
.dashboard-float small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.float-one { left: -45px; bottom: 78px; }
.float-two { right: -25px; top: 72px; }
.framework-band { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); }
.framework-band .container { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 25px; color: #78666a; font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 37px; }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(34px,4vw,52px); line-height: 1.12; letter-spacing: -.035em; }
.section-heading h2 em { font-style: normal; color: var(--accent); }
.product-section { background: linear-gradient(to bottom, transparent, rgba(10,14,20,.72), transparent); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.product-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: rgba(18,8,11,.76); transition: .25s ease; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,43,60,.24); box-shadow: 0 24px 65px rgba(0,0,0,.3); }
.product-media { position: relative; display: block; height: 225px; overflow: hidden; border-bottom: 1px solid var(--line); background: #0a0e15; }
.product-media > img { width: 100%; height: 100%; object-fit: cover; transition: .45s ease; }
.product-card:hover .product-media > img { transform: scale(1.035); }
.media-placeholder { position: relative; width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%,rgba(167,0,18,.14),transparent 38%), linear-gradient(145deg,#101722,#0a0406); }
.media-placeholder::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom,#000,transparent); }
.media-placeholder img { position: relative; width: 82px; filter: drop-shadow(0 20px 30px rgba(167,0,18,.23)); }
.media-placeholder span { position: absolute; bottom: 15px; right: 16px; color: #6f8096; font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.product-badges { position: absolute; z-index: 2; left: 13px; top: 13px; right: 13px; display: flex; gap: 7px; flex-wrap: wrap; }
.product-badges > span, .detail-labels > span { padding: 6px 9px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: rgba(9,4,5,.8); backdrop-filter: blur(10px); font-size: 8px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.type-badge.type-free { color: var(--green); border-color: rgba(92,227,170,.22); background: rgba(92,227,170,.08); }
.type-badge.type-shopier { color: #b9a8ff; border-color: rgba(143,108,255,.26); background: rgba(143,108,255,.1); }
.type-badge.type-internal { color: var(--accent); border-color: rgba(255,43,60,.23); background: rgba(255,43,60,.08); }
.product-content { padding: 19px 19px 20px; }
.product-meta { display: flex; justify-content: space-between; gap: 15px; color: #6f7c8f; font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.product-content h3 { margin: 10px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.product-content h3 a:hover { color: var(--accent); }
.product-content p { min-height: 49px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.product-bottom { margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.product-price { display: grid; }
.product-price del { color: #697487; font-size: 10px; }
.product-price strong { font-size: 17px; }
.circle-link { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--accent); background: rgba(255,255,255,.025); transition: .2s; }
.product-card:hover .circle-link { background: var(--accent); color: #0b0406; border-color: transparent; }

.service-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0a0406; }
.service-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.service-intro { position: sticky; top: 120px; }
.service-intro h2 { margin: 14px 0 18px; font-size: 42px; line-height: 1.16; letter-spacing: -.035em; }
.service-intro p { color: var(--muted); max-width: 440px; }
.service-intro .btn { margin-top: 20px; }
.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-cards article { min-height: 220px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg,rgba(255,255,255,.027),rgba(255,255,255,.008)); }
.service-cards article > span { display: block; color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.service-cards h3 { margin: 60px 0 10px; font-size: 19px; }
.service-cards p { margin: 0; color: var(--muted); font-size: 12px; }
.final-cta { padding-top: 70px; }
.final-cta-box { min-height: 260px; padding: 55px 58px; display: flex; align-items: center; justify-content: space-between; gap: 45px; border-radius: 26px; background: linear-gradient(125deg,#1b68d4,#1faaca 75%,#47d7e4); color: #fff; box-shadow: 0 35px 90px rgba(27,104,212,.23); overflow: hidden; position: relative; }
.final-cta-box::after { content: ""; position: absolute; width: 430px; height: 430px; right: -140px; top: -170px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.035),0 0 0 96px rgba(255,255,255,.025); }
.final-cta-box > * { position: relative; z-index: 1; }
.final-cta-box h2 { margin: 12px 0 10px; max-width: 690px; font-size: 40px; line-height: 1.15; letter-spacing: -.03em; }
.final-cta-box p { margin: 0; color: rgba(255,255,255,.76); }

.site-footer { position: relative; z-index: 2; padding-top: 65px; border-top: 1px solid var(--line); background: #06080b; }
.footer-main { display: grid; grid-template-columns: 1.65fr repeat(3,1fr); gap: 50px; padding-bottom: 55px; }
.footer-brand img { width: 190px; }
.footer-brand-block > p { max-width: 360px; color: var(--muted); font-size: 12px; }
.footer-status { margin-top: 20px; display: flex; align-items: center; gap: 9px; color: #8492a5; font-size: 10px; }
.footer-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(92,227,170,.6); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h4 { margin: 7px 0 8px; color: #e5ebf4; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a { color: #7f8b9d; font-size: 12px; transition: .2s; }
.footer-column a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #596678; font-size: 10px; }

.page-hero { padding: 80px 0 58px; border-bottom: 1px solid var(--line); background: linear-gradient(to bottom,rgba(167,0,18,.055),transparent); }
.page-hero.compact { padding: 58px 0 42px; }
.page-hero h1 { margin: 15px 0 10px; max-width: 900px; font-size: clamp(39px,5vw,63px); line-height: 1.08; letter-spacing: -.04em; }
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; }
.catalog-section { padding-top: 54px; }
.catalog-toolbar, .shop-toolbar { display: grid; grid-template-columns: minmax(220px,1.7fr) repeat(3,minmax(145px,.75fr)) auto; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: rgba(18,8,11,.85); }
.search-field, .search-box { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 14px; width: 17px; fill: none; stroke: #6e7e93; stroke-width: 1.7; }
.search-field input { padding-left: 42px !important; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0a0406;
  color: var(--text);
  outline: none;
  transition: .2s;
}
input, select { min-height: 46px; padding: 0 13px; }
textarea { padding: 12px 13px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(255,43,60,.42); box-shadow: 0 0 0 3px rgba(255,43,60,.06); }
input::placeholder, textarea::placeholder { color: #4e5b6c; }
select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,#746266 50%),linear-gradient(135deg,#746266 50%,transparent 50%); background-position: calc(100% - 17px) 19px,calc(100% - 12px) 19px; background-size: 5px 5px,5px 5px; background-repeat: no-repeat; padding-right: 31px; }
.catalog-summary, .results-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 25px 0 21px; color: var(--muted); font-size: 11px; }
.catalog-summary b { color: var(--text); }
.catalog-summary a, .results-row a { color: var(--accent); font-weight: 700; }
.empty-panel, .empty-state, .account-empty { padding: 70px 25px; text-align: center; border: 1px dashed rgba(135,157,188,.23); border-radius: 20px; background: rgba(255,255,255,.015); }
.empty-panel > img, .account-empty > img { width: 70px; margin: 0 auto 15px; opacity: .8; }
.empty-panel h2, .empty-state h2, .account-empty h3 { margin: 5px 0 8px; }
.empty-panel p, .empty-state p, .account-empty p { margin: 0 auto 22px; max-width: 520px; color: var(--muted); }

.product-detail { padding-top: 70px; }
.detail-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 62px; align-items: start; }
.detail-media { position: sticky; top: 112px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #0b0507; }
.detail-cover { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.detail-placeholder { aspect-ratio: 16/11; display: flex; align-items: center; justify-content: center; gap: 20px; background: radial-gradient(circle at center,rgba(167,0,18,.15),transparent 38%),linear-gradient(145deg,#111925,#0a0406); }
.detail-placeholder > img { width: 120px; }
.detail-placeholder > div { display: grid; }
.detail-placeholder small { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.detail-placeholder strong { margin-top: 7px; font-size: 20px; }
.detail-media-footer { min-height: 55px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; color: #728095; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #657286; font-size: 10px; }
.breadcrumbs a:hover { color: var(--accent); }
.detail-labels { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 27px; }
.detail-copy h1 { margin: 17px 0 15px; font-size: clamp(40px,4.4vw,59px); line-height: 1.06; letter-spacing: -.042em; }
.detail-lead { color: #aa969a; font-size: 16px; line-height: 1.75; }
.detail-spec-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0; }
.detail-spec-pills span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; color: #9caabd; background: rgba(255,255,255,.02); font-size: 10px; }
.detail-price { display: grid; margin: 30px 0 24px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-price del { color: #657185; font-size: 12px; }
.detail-price strong { font-size: 31px; line-height: 1.2; }
.detail-price small { margin-top: 5px; color: var(--muted); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-actions form { flex: 1; }
.detail-actions form .btn { width: 100%; }
.split-actions > form:first-child { min-width: 230px; }
.owned-notice { display: flex; gap: 12px; align-items: center; padding: 15px; margin-bottom: 12px; border: 1px solid rgba(92,227,170,.22); border-radius: 13px; background: rgba(92,227,170,.06); }
.owned-notice > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: rgba(92,227,170,.13); color: var(--green); font-style: normal; font-weight: 900; }
.owned-notice div { display: grid; }
.owned-notice span { color: var(--muted); font-size: 10px; }
.trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 23px; }
.trust-row div { display: grid; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.016); }
.trust-row b { font-size: 11px; }
.trust-row span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.detail-info-section { border-top: 1px solid var(--line); background: #0a0406; }
.detail-info-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 65px; align-items: start; }
.detail-description h2 { margin: 13px 0 18px; font-size: 35px; }
.detail-description p { color: #9aa7b9; white-space: normal; line-height: 1.9; }
.spec-card { padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }
.spec-card h3 { margin: 0 0 18px; font-size: 17px; }
.spec-card dl { margin: 0; }
.spec-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-card dl div:last-child { border-bottom: 0; }
.spec-card dt { color: var(--muted); font-size: 11px; }
.spec-card dd { margin: 0; font-size: 11px; font-weight: 750; text-align: right; }
.related-section { padding-top: 75px; }

.auth-section { padding: 82px 0 100px; }
.auth-wrap { display: flex; justify-content: center; }
.auth-layout { display: grid; grid-template-columns: minmax(0,1fr) 410px; max-width: 1050px; gap: 20px; align-items: stretch; }
.auth-card { width: min(100%, 550px); padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: rgba(18,8,11,.9); box-shadow: var(--shadow); }
.auth-layout .auth-card { width: auto; }
.auth-card h1 { margin: 15px 0 8px; font-size: 40px; line-height: 1.13; letter-spacing: -.035em; }
.auth-card h1 em { color: var(--accent); font-style: normal; }
.auth-card > p { margin: 0 0 26px; color: var(--muted); }
.form-grid, .auth-form { display: grid; gap: 15px; }
.form-grid label, .auth-form label, .profile-form label, .form-panel label, .full-label { display: grid; gap: 7px; color: #abb7c7; font-size: 11px; font-weight: 700; }
.form-grid label small, .auth-form label small, .form-panel label small { color: var(--muted-2); font-weight: 500; }
.form-errors { display: grid; gap: 6px; margin: 17px 0; }
.form-errors div { padding: 11px 13px; border: 1px solid rgba(255,111,134,.24); border-radius: 10px; background: rgba(255,111,134,.06); color: #ff9bac; font-size: 11px; }
.auth-switch { margin-top: 20px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 11px; }
.auth-switch a { color: var(--accent); font-weight: 750; }
.auth-aside { padding: 42px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg,#111b29,#0b1018); }
.auth-aside > img { width: 190px; }
.auth-aside h2 { margin: 45px 0 25px; font-size: 29px; }
.auth-aside ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.auth-aside li { display: flex; align-items: flex-start; gap: 13px; }
.auth-aside li > span { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--accent); font-size: 10px; font-weight: 800; }
.auth-aside li div { display: grid; }
.auth-aside li b { font-size: 12px; }
.auth-aside li p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.claim-product { margin: 22px 0; display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.02); }
.claim-product > img { width: 50px; }
.claim-product > div { display: grid; }
.claim-product small { color: var(--accent); font-size: 8px; letter-spacing: .15em; font-weight: 850; }
.claim-product b { margin-top: 4px; }
.claim-product span { color: var(--muted); font-size: 10px; }
.claim-security { margin-top: 17px; padding: 12px; border-radius: 10px; background: rgba(246,199,106,.06); border: 1px solid rgba(246,199,106,.17); color: #b9a77f; font-size: 10px; }

.account-hero { padding: 58px 0; border-bottom: 1px solid var(--line); background: linear-gradient(120deg,rgba(167,0,18,.07),transparent 45%); }
.account-hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.account-identity { display: flex; align-items: center; gap: 21px; }
.account-avatar { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(135deg,var(--accent),var(--accent-2)); color: #061019; font-size: 27px; font-weight: 950; box-shadow: 0 16px 45px rgba(167,0,18,.2); }
.account-identity h1 { margin: 8px 0 0; font-size: 30px; }
.account-identity p { margin: 1px 0 0; color: var(--muted); }
.account-layout-section { padding-top: 50px; }
.account-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 24px; align-items: start; }
.account-sidebar { position: sticky; top: 105px; display: grid; gap: 15px; }
.account-sidebar nav { padding: 9px; display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.account-sidebar nav a { display: flex; align-items: center; gap: 11px; min-height: 45px; padding: 0 11px; border-radius: 10px; color: #909daf; font-size: 11px; font-weight: 700; }
.account-sidebar nav a:hover { color: #fff; background: rgba(255,43,60,.06); }
.account-sidebar nav svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.account-side-note { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.015); }
.account-side-note b { font-size: 12px; }
.account-side-note p { color: var(--muted); font-size: 10px; }
.account-side-note a { color: var(--accent); font-size: 10px; font-weight: 750; }
.account-content { display: grid; gap: 20px; min-width: 0; }
.account-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.account-stats article, .account-stats > div { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.account-stats span { color: var(--muted); font-size: 10px; }
.account-stats strong { display: block; margin-top: 8px; font-size: 27px; }
.account-stats small { color: #667487; font-size: 9px; }
.account-panel { scroll-margin-top: 105px; padding: 26px; border: 1px solid var(--line); border-radius: 19px; background: rgba(18,8,11,.82); }
.account-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.account-panel-head h2 { margin: 9px 0 3px; font-size: 25px; }
.account-panel-head p { margin: 0; color: var(--muted); font-size: 11px; }
.library-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.library-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #0c0507; }
.library-cover { height: 150px; display: block; border-bottom: 1px solid var(--line); background: #0a0406; }
.library-cover > img { width: 100%; height: 100%; object-fit: cover; }
.library-cover > div { height: 100%; display: grid; place-items: center; position: relative; background: radial-gradient(circle,rgba(167,0,18,.14),transparent 42%); }
.library-cover > div img { width: 66px; }
.library-cover > div span { position: absolute; right: 12px; bottom: 10px; color: var(--muted); font-size: 8px; font-weight: 800; }
.library-body { padding: 16px; }
.library-top { display: flex; justify-content: space-between; color: #6f7d91; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.library-body h3 { margin: 8px 0 3px; font-size: 16px; }
.library-body > p { margin: 0; color: var(--muted); font-size: 10px; }
.library-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.library-actions .text-action { font-size: 9px; }
.file-pending { color: var(--yellow); font-size: 9px; }
.simple-empty { padding: 24px; border: 1px dashed var(--line); border-radius: 13px; color: var(--muted); text-align: center; font-size: 11px; }
.claim-list, .orders-list { display: grid; gap: 10px; }
.claim-list article { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #0c0507; }
.claim-list h3 { margin: 7px 0 1px; font-size: 14px; }
.claim-list p, .claim-list small { margin: 0; color: var(--muted); font-size: 9px; }
.claim-list > article > a { color: var(--accent); font-size: 10px; font-weight: 700; }
.order-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #0c0507; }
.order-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.order-top > div:last-child { display: flex; align-items: center; gap: 15px; }
.order-top small { color: var(--muted); font-size: 9px; }
.order-top h3 { margin: 2px 0 0; font-size: 14px; }
.order-products { display: grid; gap: 10px; padding-top: 13px; }
.order-products > div { display: flex; align-items: center; gap: 12px; }
.order-product-thumb, .order-product-icon { width: 41px; height: 41px; flex: 0 0 41px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #0d131c; }
.order-product-thumb img, .order-product-icon img { width: 100%; height: 100%; object-fit: cover; }
.order-products > div > div { display: grid; margin-right: auto; }
.order-products b { font-size: 11px; }
.order-products small { color: var(--muted); font-size: 9px; }
.status { display: inline-flex; align-items: center; justify-content: center; min-height: 25px; padding: 0 8px; border-radius: 7px; font-size: 8px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.status-success { background: rgba(92,227,170,.09); color: var(--green); border: 1px solid rgba(92,227,170,.17); }
.status-warning { background: rgba(246,199,106,.09); color: var(--yellow); border: 1px solid rgba(246,199,106,.17); }
.status-danger { background: rgba(255,111,134,.09); color: var(--red); border: 1px solid rgba(255,111,134,.17); }
.profile-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.profile-form { display: grid; gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #0c0507; }
.profile-form h3 { margin: 0 0 2px; font-size: 15px; }

.cart-section, .checkout-section { padding-top: 52px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 20px; align-items: start; }
.cart-list, .checkout-card { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }
.cart-item { display: grid; grid-template-columns: 75px minmax(0,1fr) 120px 110px 34px; align-items: center; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-child { padding-top: 0; }
.cart-thumb { width: 75px; height: 60px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #0b0507; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb span { color: var(--accent); font-weight: 900; }
.cart-info > span { color: var(--accent); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.cart-info h3 { margin: 3px 0 0; font-size: 14px; }
.cart-info small { color: var(--muted); font-size: 9px; }
.qty { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { height: 36px; border: 0; background: rgba(255,255,255,.03); color: #fff; }
.qty input { min-height: 36px; padding: 0; border: 0; border-radius: 0; text-align: center; -moz-appearance: textfield; }
.cart-price { text-align: right; font-size: 13px; }
.remove-btn { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); }
.remove-btn:hover { color: var(--red); border-color: rgba(255,111,134,.28); }
.text-button { margin-top: 14px; border: 0; background: none; color: var(--accent); font-size: 10px; font-weight: 700; }
.summary-card { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); position: sticky; top: 105px; }
.summary-card h3 { margin: 0 0 20px; }
.summary-card > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 9px 0; color: var(--muted); font-size: 11px; }
.summary-card > div b { color: var(--text); }
.summary-card hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.summary-card .summary-total { color: #fff; }
.summary-total strong { font-size: 21px; }
.summary-card .btn { margin-top: 17px; }
.summary-card > p { color: #78666a; text-align: center; font-size: 9px; }
.checkout-card h2 { margin: 2px 0 20px; }
.payment-option { position: relative; display: flex; align-items: center; gap: 13px; margin-bottom: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #0c0507; cursor: pointer; }
.payment-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--accent); font-weight: 800; }
.payment-option > div { display: grid; }
.payment-option strong { font-size: 12px; }
.payment-option small { color: var(--muted); font-size: 9px; }
.payment-option > i { margin-left: auto; width: 15px; height: 15px; border: 1px solid #4f5c6e; border-radius: 50%; }
.payment-option:has(input:checked) { border-color: rgba(255,43,60,.34); background: rgba(255,43,60,.045); }
.payment-option:has(input:checked) > i { border: 4px solid var(--accent); }
.full-label { margin-top: 16px; }
.terms-note { margin: 15px 0; padding: 11px; border-radius: 10px; background: rgba(255,255,255,.02); color: var(--muted); font-size: 9px; }
.checkout-item { font-size: 10px !important; }

.success-section { padding: 80px 0; }
.success-card { padding: 42px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); text-align: center; box-shadow: var(--shadow); }
.success-icon { width: 65px; height: 65px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 18px; background: rgba(92,227,170,.09); color: var(--green); font-size: 27px; }
.success-card h1 { font-size: 38px; }
.success-card h1 em { color: var(--accent); font-style: normal; }
.success-card > p { color: var(--muted); }
.order-code { margin: 25px 0; display: grid; justify-items: center; gap: 3px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 14px; background: #0a0406; }
.order-code span { color: var(--muted); font-size: 9px; }
.order-code strong { font-size: 20px; letter-spacing: .08em; }
.order-code button { border: 0; background: none; color: var(--accent); font-size: 10px; }
.bank-box { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #0c0507; }
.bank-box pre { white-space: pre-wrap; color: #c9d3e1; font: 12px/1.8 var(--font); }
.bank-box small { color: var(--muted); }

/* Admin */
.admin-body { background: #070304; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 235px minmax(0,1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 25px 15px 16px; border-right: 1px solid var(--line); background: #0a0406; z-index: 5; }
.admin-logo { padding: 2px 10px 25px; border-bottom: 1px solid var(--line); }
.admin-logo img { width: 170px; }
.admin-sidebar nav { display: grid; gap: 4px; padding: 20px 0; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 0 11px; border-radius: 10px; color: #7e8b9e; font-size: 11px; font-weight: 700; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,43,60,.065); color: #fff; }
.admin-sidebar nav a > b { margin-left: auto; min-width: 21px; height: 21px; display: grid; place-items: center; border-radius: 6px; background: var(--accent); color: #0b0406; font-size: 9px; }
.nav-icon { width: 22px; text-align: center; color: var(--accent); }
.admin-profile { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.admin-profile > div { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(135deg,var(--accent),var(--accent-2)); color: #0b0406; font-weight: 900; }
.admin-profile > span { min-width: 0; display: grid; margin-right: auto; line-height: 1.2; }
.admin-profile b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.admin-profile small { overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 8px; }
.admin-profile > a { color: var(--muted); }
.admin-main { min-width: 0; padding: 0 30px 45px; }
.admin-top { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 25px; }
.admin-top small { color: var(--accent); font-size: 8px; font-weight: 850; letter-spacing: .16em; }
.admin-top h1 { margin: 5px 0 0; font-size: 27px; }
.admin-live { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; }
.admin-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(92,227,170,.6); }
.admin-flashes { position: static; width: auto; margin-bottom: 15px; }
.admin-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 20px; }
.metric-card { min-height: 135px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.metric-card.primary { background: linear-gradient(145deg,rgba(167,0,18,.19),rgba(18,8,11,.95)); border-color: rgba(255,43,60,.2); }
.metric-card > span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.metric-card strong { display: block; margin: 13px 0 3px; font-size: 25px; }
.metric-card small { color: #756367; font-size: 9px; }
.admin-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,.65fr); gap: 16px; }
.admin-panel { border: 1px solid var(--line); border-radius: 15px; background: var(--panel); overflow: hidden; }
.admin-panel.form-panel { padding: 23px; overflow: visible; }
.panel-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.form-panel > .panel-head { padding: 0 0 18px; margin-bottom: 20px; }
.panel-head small { color: var(--accent); font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.panel-head h2 { margin: 3px 0 0; font-size: 17px; }
.panel-head > a { color: var(--accent); font-size: 9px; font-weight: 700; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table th { padding: 12px 16px; border-bottom: 1px solid var(--line); color: #647185; text-align: left; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.admin-table td { padding: 13px 16px; border-bottom: 1px solid rgba(157,178,207,.08); color: #b5c0cf; font-size: 10px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover, .admin-table tr.selected { background: rgba(255,43,60,.035); }
.admin-table td > small, .admin-table td div > small { display: block; color: #756367; font-size: 8px; }
.admin-table td > b { color: #e9eff7; }
.clickable-row { cursor: pointer; }
.admin-product-cell { display: flex; align-items: center; gap: 10px; }
.admin-product-cell > span { width: 42px; height: 36px; flex: 0 0 42px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #0b0507; }
.admin-product-cell img { width: 100%; height: 100%; object-fit: cover; }
.admin-product-cell > div { display: grid; }
.table-actions { display: flex; gap: 7px; justify-content: flex-end; }
.table-actions a, .table-actions button { border: 1px solid var(--line); border-radius: 8px; background: transparent; color: #a2afbf; padding: 6px 8px; font-size: 8px; }
.table-actions form { display: inline; }
.top-list { padding: 10px 18px 18px; display: grid; gap: 2px; }
.top-list > div { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.top-list > div > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,43,60,.06); color: var(--accent); font-size: 9px; }
.top-list p { margin: 0; display: grid; }
.top-list b { font-size: 10px; }
.top-list small { color: var(--muted); font-size: 8px; }
.admin-panel > .btn-block { width: calc(100% - 36px); margin: 0 18px 18px; }
.admin-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.admin-search input { width: 250px; min-height: 41px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-tabs a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 9px; font-weight: 700; }
.filter-tabs a.active { border-color: rgba(255,43,60,.25); color: var(--accent); background: rgba(255,43,60,.06); }
.admin-form-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(320px,.7fr); gap: 16px; }
.form-panel { display: grid; gap: 14px; align-content: start; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.check-row { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #0c0507; }
.check-row label { display: flex !important; align-items: center; gap: 8px !important; }
.check-row input { width: 15px; min-height: 15px; accent-color: var(--accent); }
.admin-error { margin-bottom: 15px; }
.orders-admin-layout { display: grid; grid-template-columns: minmax(0,1fr) 370px; gap: 15px; align-items: start; }
.order-detail-panel { position: sticky; top: 20px; }
.order-customer { display: flex; align-items: center; gap: 11px; margin: 18px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #0c0507; }
.order-customer > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg,var(--accent),var(--accent-2)); color: #0b0406; font-weight: 900; }
.order-customer > div { display: grid; }
.order-customer b { font-size: 11px; }
.order-customer small { color: var(--muted); font-size: 8px; }
.order-detail-list { margin: 0 18px; }
.order-detail-list > div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 9px; }
.order-detail-list dt { color: var(--muted); }
.order-detail-list dd { margin: 0; text-align: right; }
.selected-items { margin: 15px 18px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #0c0507; }
.selected-items > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; color: var(--muted); font-size: 9px; }
.note-box { margin: 15px 18px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.form-panel .note-box { margin: 0; }
.note-box small { color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.note-box p { margin: 6px 0 0; color: var(--muted); font-size: 9px; }
.order-update-form { padding: 0 18px 18px; }
.settings-grid { grid-template-columns: 1fr 1fr; }

.reveal { opacity: 0; transform: translateY(17px); transition: opacity .7s ease, transform .7s ease; }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .account-copy { display: none; }
  .hero-modern-grid { gap: 38px; }
  .float-one { left: -15px; }
  .float-two { right: -10px; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .catalog-toolbar { grid-template-columns: 1.4fr 1fr 1fr; }
  .catalog-toolbar select[name="type"], .catalog-toolbar .btn { grid-row: 2; }
  .catalog-toolbar .btn { grid-column: 3; }
  .admin-metrics { grid-template-columns: repeat(2,1fr); }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-header { height: 68px; }
  .nav-wrap { gap: 15px; }
  .brand img { width: 155px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: rgba(10,14,20,.98); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 10px; border-radius: 8px; }
  .main-nav a:hover, .main-nav a.active { background: rgba(255,43,60,.06); }
  .main-nav a.active::after { display: none; }
  .nav-actions .account-button, .nav-actions .login-link, .nav-actions .square-button { display: none; }
  .cart-button span { display: none; }
  .hero-modern { padding: 72px 0; }
  .hero-modern-grid { grid-template-columns: 1fr; }
  .hero-modern-copy { text-align: center; }
  .hero-modern-copy > p { margin-inline: auto; }
  .hero-modern-copy .kicker { justify-content: center; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-dashboard { width: min(100%,660px); margin-inline: auto; }
  .framework-band .container { overflow-x: auto; justify-content: flex-start; min-height: 64px; }
  .framework-band span { flex: 0 0 auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-intro { position: static; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-media { position: static; }
  .detail-info-grid { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .account-sidebar nav { grid-template-columns: repeat(4,1fr); overflow-x: auto; }
  .account-sidebar nav a { white-space: nowrap; justify-content: center; }
  .account-sidebar nav svg { display: none; }
  .account-side-note { display: none; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .admin-shell { grid-template-columns: 75px minmax(0,1fr); }
  .admin-sidebar { padding-inline: 9px; }
  .admin-logo { padding-inline: 2px; }
  .admin-logo img { width: 58px; height: 58px; object-fit: cover; object-position: left; }
  .admin-sidebar nav a { justify-content: center; padding: 0; }
  .admin-sidebar nav a > span:not(.nav-icon), .admin-sidebar nav a > b, .admin-profile > span, .admin-profile > a { display: none; }
  .admin-profile { justify-content: center; padding: 6px; }
  .admin-main { padding-inline: 18px; }
  .admin-form-grid, .settings-grid, .orders-admin-layout { grid-template-columns: 1fr; }
  .order-detail-panel { position: static; }
}

@media (max-width: 680px) {
  .container, .narrow { width: min(calc(100% - 26px), var(--container)); }
  .announcement { display: none; }
  .section { padding: 68px 0; }
  .hero-modern-copy h1 { font-size: 45px; }
  .hero-proof { gap: 20px; flex-wrap: wrap; }
  .dashboard-window { transform: none; }
  .dashboard-float { display: none; }
  .window-content { padding: 16px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-card.wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .product-grid, .service-cards, .library-grid, .profile-forms, .account-stats { grid-template-columns: 1fr; }
  .product-media { height: 220px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .final-cta-box { padding: 38px 28px; flex-direction: column; align-items: flex-start; }
  .final-cta-box h2 { font-size: 31px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; }
  .catalog-toolbar, .shop-toolbar { grid-template-columns: 1fr; }
  .catalog-toolbar select[name="type"], .catalog-toolbar .btn { grid-row: auto; grid-column: auto; }
  .detail-copy h1 { font-size: 40px; }
  .trust-row { grid-template-columns: 1fr; }
  .account-hero-grid { align-items: flex-start; flex-direction: column; }
  .account-sidebar nav { grid-template-columns: repeat(4,minmax(150px,1fr)); }
  .account-panel { padding: 18px; }
  .account-panel-head { flex-direction: column; }
  .order-top { flex-direction: column; }
  .order-top > div:last-child { justify-content: space-between; }
  .cart-item { grid-template-columns: 62px minmax(0,1fr) 30px; }
  .cart-thumb { width: 62px; height: 54px; }
  .qty, .cart-price { grid-column: 2; width: 120px; }
  .cart-price { text-align: left; }
  .remove-btn { grid-column: 3; grid-row: 1; }
  .form-two { grid-template-columns: 1fr; }
  .admin-metrics { grid-template-columns: 1fr; }
  .admin-main { padding-inline: 12px; }
  .admin-top { min-height: 88px; }
  .admin-top h1 { font-size: 22px; }
}

@media (max-width: 460px) {
  .brand img { width: 135px; }
  .hero-modern-copy h1 { font-size: 39px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-proof div:last-child { grid-column: 1/-1; }
  .resource-overview { align-items: flex-start; }
  .resource-logo { width: 52px; height: 52px; }
  .resource-overview h3 { font-size: 16px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand-block { grid-column: auto; }
  .detail-actions, .split-actions { display: grid; grid-template-columns: 1fr; }
  .detail-actions .btn, .detail-actions form { width: 100%; }
  .account-identity { align-items: flex-start; }
  .account-avatar { width: 60px; height: 60px; border-radius: 16px; }
  .account-identity h1 { font-size: 23px; }
  .auth-card { padding: 25px; }
  .auth-card h1 { font-size: 33px; }
}

.admin-login-body { min-height: 100vh; display: grid; place-items: center; padding: 25px; background: radial-gradient(circle at 50% 0,rgba(167,0,18,.12),transparent 38%),#070304; }
.admin-login-card { width: min(100%,440px); padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: rgba(18,8,11,.96); box-shadow: var(--shadow); text-align: center; }
.admin-login-logo { display: flex; justify-content: center; margin-bottom: 32px; }
.admin-login-logo img { width: 210px; }
.admin-login-card h1 { margin: 15px 0 6px; font-size: 31px; }
.admin-login-card > p { margin: 0 0 25px; color: var(--muted); }
.admin-login-card .form-grid { text-align: left; }
.admin-login-card > .back-link { display: inline-block; margin-top: 20px; font-size: 10px; }


/* =========================================================
   REODEVELOPMENT REDLINE THEME — 3.0
   ========================================================= */
body {
  background:
    radial-gradient(circle at 50% -20%, rgba(181,0,18,.18), transparent 35%),
    linear-gradient(180deg,#070304 0%,#080405 55%,#050203 100%);
}
.site-backdrop {
  opacity:.9;
  background:
    radial-gradient(circle at 16% 4%, rgba(255,35,53,.12), transparent 31%),
    radial-gradient(circle at 91% 21%, rgba(120,0,13,.16), transparent 28%),
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size:auto,auto,58px 58px,58px 58px;
}
.announcement{background:#050203;border-color:rgba(255,255,255,.045)}
.announcement-inner>span i{background:var(--accent);box-shadow:0 0 16px rgba(255,43,60,.8)}
.site-header{background:rgba(7,3,4,.78)}
.site-header.scrolled{background:rgba(7,3,4,.96)}
.brand img{width:188px}
.main-nav a.active::after{background:linear-gradient(90deg,var(--accent),#ff6b76)}
.btn-primary{
  color:#fff;
  background:linear-gradient(135deg,#ff3347 0%,#d5001d 48%,#8e0010 100%);
  box-shadow:0 15px 42px rgba(196,0,23,.28),inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover{box-shadow:0 20px 52px rgba(220,0,28,.4)}
.btn-secondary:hover,.btn-ghost:hover{background:rgba(255,43,60,.07)}
.avatar-small{color:#fff;background:linear-gradient(145deg,#ff3447,#8d0010)}
.cart-button b{background:rgba(255,43,60,.16);color:#ff6d7a}
.flash{background:rgba(18,8,11,.98)}
.kicker,.eyebrow{color:#ff5362}
.product-card{
  background:linear-gradient(180deg,rgba(24,10,13,.96),rgba(12,6,8,.98));
  border-color:rgba(255,255,255,.08);
}
.product-card:hover{
  border-color:rgba(255,43,60,.38);
  box-shadow:0 28px 70px rgba(0,0,0,.45),0 0 35px rgba(183,0,20,.1);
}
.product-media::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 48%,rgba(7,2,3,.82) 100%);
  pointer-events:none;
}
.product-badges{z-index:2}
.product-content{position:relative}
.product-content::before{
  content:"";position:absolute;left:22px;right:22px;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,43,60,.3),transparent);
}
.type-internal{background:rgba(255,43,60,.17)!important;color:#ff7b87!important;border-color:rgba(255,43,60,.28)!important}
.circle-link{background:linear-gradient(135deg,#ff2b3c,#8f0010)!important;color:#fff!important}
.status-success{color:#69e7b5!important}
.status-warning{color:#ffd06a!important}
.status-danger{color:#ff6878!important}
.site-footer{background:#060203}
.footer-status i{background:var(--accent);box-shadow:0 0 12px rgba(255,43,60,.7)}
.admin-shell{background:#070304}
.admin-sidebar{background:#090405}
.admin-nav a.active,.admin-nav a:hover{background:rgba(255,43,60,.09);color:#fff}
.admin-nav a.active::before{background:var(--accent)}
.admin-topbar{background:rgba(8,3,4,.9)}
.metric-card.primary{background:linear-gradient(140deg,#d2001c,#75000d)}
.admin-table tbody tr:hover{background:rgba(255,43,60,.04)}
input:focus,select:focus,textarea:focus{border-color:rgba(255,43,60,.55)!important;box-shadow:0 0 0 4px rgba(255,43,60,.08)!important}

/* Home — marketplace composition */
.market-hero{
  position:relative;
  min-height:660px;
  padding:86px 0 72px;
  display:flex;align-items:center;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.market-hero::before{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(6,2,3,.98) 0%,rgba(6,2,3,.92) 43%,rgba(6,2,3,.28) 72%,rgba(6,2,3,.68) 100%),
    url("../img/hero-scene.svg") center/cover no-repeat;
  filter:saturate(1.08);
}
.market-hero::after{
  content:"";position:absolute;inset:auto 0 0;height:180px;
  background:linear-gradient(transparent,#070304);
}
.market-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}
.market-hero-copy{max-width:720px}
.market-hero-copy h1{
  margin:18px 0 18px;
  font-size:clamp(54px,6.1vw,88px);
  letter-spacing:-.055em;line-height:.92;text-transform:uppercase;
}
.market-hero-copy h1 span{display:block;color:#fff}
.market-hero-copy h1 em{
  display:block;font-style:normal;color:transparent;
  background:linear-gradient(135deg,#ff8b94 0%,#ff3042 42%,#9c0011 100%);
  -webkit-background-clip:text;background-clip:text;
  text-shadow:0 0 60px rgba(255,30,48,.18);
}
.market-hero-copy>p{max-width:640px;color:#b49da1;font-size:17px;line-height:1.78}
.market-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.market-search{
  margin-top:34px;display:grid;grid-template-columns:1fr auto;
  max-width:680px;padding:7px;border:1px solid rgba(255,255,255,.11);
  background:rgba(10,4,6,.8);border-radius:16px;box-shadow:0 18px 55px rgba(0,0,0,.34);
  backdrop-filter:blur(14px)
}
.market-search label{display:flex;align-items:center;gap:12px;padding:0 15px}
.market-search svg{width:20px;fill:none;stroke:#c3aeb1;stroke-width:1.7}
.market-search input{width:100%;height:48px;background:transparent!important;border:0!important;box-shadow:none!important;color:#fff;padding:0!important}
.market-search button{min-height:48px;border-radius:11px}
.hero-category-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
.hero-category-row a{
  padding:8px 12px;border:1px solid rgba(255,255,255,.09);border-radius:999px;
  background:rgba(255,255,255,.025);color:#bfaeb1;font-size:11px;font-weight:750;
}
.hero-category-row a:hover{color:#fff;border-color:rgba(255,43,60,.38);background:rgba(255,43,60,.08)}
.market-hero-panel{
  position:relative;min-height:460px;
}
.hero-product-stack{position:absolute;inset:0}
.hero-product-card{
  position:absolute;width:330px;border-radius:24px;overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,rgba(27,10,14,.96),rgba(11,5,7,.98));
  box-shadow:0 40px 90px rgba(0,0,0,.48);
}
.hero-product-card img{width:100%;height:220px;object-fit:cover}
.hero-product-card .hero-product-body{padding:18px}
.hero-product-card small{color:#ff6572;font-weight:800;letter-spacing:.12em}
.hero-product-card h3{margin:6px 0 12px;font-size:21px}
.hero-product-card .hero-product-price{display:flex;justify-content:space-between;align-items:center}
.hero-product-card .hero-product-price strong{font-size:24px}
.hero-product-card .hero-product-price span{color:#ffd06a;letter-spacing:2px;font-size:12px}
.hero-product-card.primary{right:0;top:22px;z-index:3;transform:rotate(1.8deg)}
.hero-product-card.secondary{left:5px;bottom:4px;z-index:2;transform:scale(.86) rotate(-4deg);filter:saturate(.78)}
.hero-product-card.secondary::after{content:"";position:absolute;inset:0;background:rgba(7,2,3,.18)}
.hero-floating{
  position:absolute;z-index:5;display:flex;gap:11px;align-items:center;
  padding:12px 15px;border:1px solid rgba(255,255,255,.12);
  background:rgba(9,4,5,.9);backdrop-filter:blur(15px);border-radius:15px;
  box-shadow:0 18px 50px rgba(0,0,0,.36)
}
.hero-floating i{width:9px;height:9px;border-radius:50%;background:#5ce3aa;box-shadow:0 0 14px rgba(92,227,170,.65)}
.hero-floating b{display:block;font-size:12px}
.hero-floating small{display:block;color:#9e898d;font-size:10px}
.hero-floating.one{left:25px;top:32px}
.hero-floating.two{right:-10px;bottom:18px}
.market-strip{position:relative;z-index:3;border-block:1px solid rgba(255,255,255,.06);background:#090405}
.market-strip .container{display:grid;grid-template-columns:repeat(4,1fr)}
.market-strip article{padding:20px 24px;border-right:1px solid rgba(255,255,255,.06);display:flex;align-items:center;gap:13px}
.market-strip article:first-child{border-left:1px solid rgba(255,255,255,.06)}
.market-strip svg{width:24px;fill:none;stroke:#ff5362;stroke-width:1.5}
.market-strip b{display:block;font-size:13px}.market-strip small{color:#8f7b7f;font-size:10px}
.shop-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}
.shop-heading h2{margin:10px 0 0;font-size:clamp(34px,4vw,52px);letter-spacing:-.04em;line-height:1}
.shop-heading p{margin:12px 0 0;color:#9e898d}
.category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}
.category-tabs a{padding:9px 14px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:#0e0709;color:#a89094;font-size:12px;font-weight:750}
.category-tabs a:hover,.category-tabs a.active{background:linear-gradient(135deg,#db001d,#84000e);color:#fff;border-color:transparent}
.product-stars{color:#ffc34f;font-size:11px;letter-spacing:2px}
.product-bottom .product-price strong{font-size:21px}
.home-account-preview{
  display:grid;grid-template-columns:240px 1fr 280px;gap:18px;
  border:1px solid rgba(255,255,255,.08);border-radius:24px;
  padding:18px;background:linear-gradient(145deg,#12080b,#090405);
  box-shadow:0 30px 80px rgba(0,0,0,.35)
}
.preview-sidebar{border:1px solid rgba(255,255,255,.07);border-radius:18px;background:#0b0507;padding:20px}
.preview-avatar{width:64px;height:64px;border-radius:18px;background:linear-gradient(145deg,#ff3447,#8b000f);display:grid;place-items:center;font-size:26px;font-weight:900;margin-bottom:14px}
.preview-sidebar h3{margin:0;font-size:18px}.preview-sidebar p{color:#8e787c;font-size:12px;margin:4px 0 18px}
.preview-nav{display:grid;gap:6px}.preview-nav span{padding:10px 12px;border-radius:10px;color:#8f7b7f;font-size:12px}.preview-nav span.active{background:rgba(255,43,60,.1);color:#fff}
.preview-library{padding:8px 4px}
.preview-library-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.preview-library-head h3{margin:0;font-size:20px}.preview-library-head span{color:#ff5362;font-size:11px;font-weight:800}
.preview-library-list{display:grid;gap:10px}
.preview-library-item{display:grid;grid-template-columns:74px 1fr auto;gap:12px;align-items:center;padding:10px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(255,255,255,.018)}
.preview-library-item img{width:74px;height:54px;object-fit:cover;border-radius:9px}
.preview-library-item b{display:block;font-size:13px}.preview-library-item small{color:#8d797d;font-size:10px}.preview-library-item strong{font-size:11px;color:#5ce3aa}
.preview-license{border:1px solid rgba(255,255,255,.07);border-radius:18px;background:#0b0507;padding:20px}
.preview-license h3{margin:0 0 18px;font-size:17px}.preview-license dl{display:grid;gap:12px;margin:0}.preview-license dl div{display:flex;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.06)}.preview-license dt{color:#8e787c;font-size:11px}.preview-license dd{margin:0;font-size:11px;font-weight:750}
.preview-license .btn{margin-top:18px}
.why-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}
.why-copy h2{font-size:clamp(38px,4vw,58px);line-height:1.05;letter-spacing:-.045em;margin:14px 0 18px}.why-copy p{color:#a28d91;font-size:16px;line-height:1.8}
.why-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.why-card{padding:24px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(145deg,#12080b,#0a0506)}
.why-card span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(255,43,60,.1);color:#ff5967;font-weight:900}.why-card h3{font-size:16px;margin:17px 0 8px}.why-card p{font-size:12px;color:#8f7b7f;margin:0}
.redline-cta{position:relative;overflow:hidden;padding:44px;border:1px solid rgba(255,80,95,.25);border-radius:26px;background:linear-gradient(135deg,#b80017,#5f000a);box-shadow:0 28px 80px rgba(131,0,15,.28);display:flex;align-items:center;justify-content:space-between;gap:30px}
.redline-cta::after{content:"R";position:absolute;right:5%;top:-80px;font-size:260px;font-weight:950;color:rgba(255,255,255,.04);line-height:1}
.redline-cta h2{position:relative;z-index:1;margin:0 0 8px;font-size:36px}.redline-cta p{position:relative;z-index:1;margin:0;color:rgba(255,255,255,.72)}
.redline-cta .btn{position:relative;z-index:1}

/* Product/account refinements */
.product-card .product-meta{font-size:10px;text-transform:uppercase;letter-spacing:.07em}
.product-card h3{font-size:18px}
.detail-media{box-shadow:0 30px 90px rgba(0,0,0,.42),0 0 45px rgba(170,0,19,.08)}
.account-hero{background:linear-gradient(180deg,rgba(112,0,13,.17),transparent)}
.account-avatar{background:linear-gradient(145deg,#ff3447,#84000e)}
.library-card{background:linear-gradient(145deg,#150a0d,#0a0506)}
.library-top span{background:rgba(255,43,60,.11);color:#ff6875}
.license-key-row{margin:12px 0 0;padding:10px 11px;border:1px dashed rgba(255,67,82,.28);border-radius:10px;background:rgba(255,43,60,.045)}
.license-key-row small{display:block;color:#846e72;font-size:9px;letter-spacing:.12em;font-weight:800}
.license-key-row code{display:block;margin-top:4px;color:#ffc0c6;font-size:11px;word-break:break-all}

/* Responsive additions */
@media (max-width: 1040px){
  .market-hero-grid{grid-template-columns:1fr;gap:35px}.market-hero-panel{min-height:420px;max-width:650px;width:100%}
  .market-strip .container{grid-template-columns:1fr 1fr}.market-strip article:nth-child(3){border-left:1px solid rgba(255,255,255,.06)}
  .home-account-preview{grid-template-columns:210px 1fr}.preview-license{grid-column:1/-1}
  .why-grid{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .market-hero{padding:58px 0 48px;min-height:auto}.market-hero-copy h1{font-size:49px}.market-hero-panel{min-height:360px}
  .hero-product-card{width:280px}.hero-product-card img{height:180px}.hero-product-card.secondary{left:-25px}
  .market-search{grid-template-columns:1fr}.market-search button{width:100%}
  .market-strip .container{grid-template-columns:1fr}.market-strip article{border-left:1px solid rgba(255,255,255,.06)}
  .shop-heading{align-items:flex-start;flex-direction:column}.home-account-preview{grid-template-columns:1fr}.preview-sidebar{display:none}.preview-library-item{grid-template-columns:62px 1fr}.preview-library-item img{width:62px}.preview-library-item strong{display:none}
  .why-cards{grid-template-columns:1fr}.redline-cta{padding:30px;align-items:flex-start;flex-direction:column}.redline-cta h2{font-size:29px}
}
.admin-search{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.admin-search input{min-width:310px}.admin-search select{min-width:170px}.admin-license-code{display:block;max-width:245px;padding:8px 10px;border:1px dashed rgba(255,67,82,.26);border-radius:8px;background:rgba(255,43,60,.045);color:#ffc0c6;font-size:10px;word-break:break-all}.admin-inline-actions{display:flex;gap:6px;flex-wrap:wrap}.admin-inline-actions form{margin:0}
@media(max-width:720px){.admin-search input,.admin-search select{min-width:100%;width:100%}}
.license-grant-panel{margin-bottom:16px}.license-grant-form{display:grid;grid-template-columns:1.2fr 1.2fr 1fr auto;gap:10px;align-items:end;padding:0 18px 18px}.license-grant-form label{display:grid;gap:6px;color:#8f7b7f;font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.license-grant-form input,.license-grant-form select{min-width:0}
@media(max-width:1050px){.license-grant-form{grid-template-columns:1fr 1fr}.license-grant-form .btn{width:100%}}@media(max-width:720px){.license-grant-form{grid-template-columns:1fr}}

/* REODEVELOPMENT v4 — spacious REODEVELOPMENT + Firebase edition */
:root { --container: 1320px; --radius-xl: 34px; }
body { font-size: 16px; }
.section { padding: 112px 0; }
.container { width: min(calc(100% - 56px), var(--container)); }
.market-hero { min-height: 760px; padding: 112px 0 92px; }
.market-hero-grid { grid-template-columns: 1.08fr .92fr; gap: 96px; }
.market-hero-copy > p { font-size: 18px; max-width: 690px; }
.market-hero-copy h1 { font-size: clamp(60px, 6.4vw, 96px); }
.market-hero-panel { min-height: 540px; }
.hero-micro-stats { display:flex; gap:28px; flex-wrap:wrap; margin-top:34px; padding-top:25px; border-top:1px solid rgba(255,255,255,.08); max-width:680px; }
.hero-micro-stats div { display:grid; gap:2px; min-width:110px; }
.hero-micro-stats strong { font-size:24px; letter-spacing:-.04em; }
.hero-micro-stats span { color:#9a8589; font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.08em; }

.reodev-stage { isolation:isolate; border:1px solid rgba(255,255,255,.08); border-radius:34px; background:linear-gradient(145deg,rgba(30,9,14,.75),rgba(8,3,5,.94)); box-shadow:0 55px 130px rgba(0,0,0,.52),0 0 90px rgba(180,0,24,.12); overflow:hidden; }
.stage-grid { position:absolute; inset:0; opacity:.24; background-image:linear-gradient(rgba(255,255,255,.065) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.065) 1px,transparent 1px); background-size:42px 42px; mask-image:radial-gradient(circle at center,#000 20%,transparent 82%); }
.stage-glow { position:absolute; width:520px; height:520px; border-radius:50%; left:50%; top:50%; transform:translate(-50%,-50%); background:radial-gradient(circle,rgba(255,31,54,.24),rgba(120,0,17,.07) 44%,transparent 72%); filter:blur(7px); animation:stagePulse 4.5s ease-in-out infinite; }
@keyframes stagePulse { 0%,100%{transform:translate(-50%,-50%) scale(.94);opacity:.72} 50%{transform:translate(-50%,-50%) scale(1.06);opacity:1} }
.reodev-logo-card { position:absolute; z-index:3; inset:76px 62px 82px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:45px; border:1px solid rgba(255,255,255,.11); border-radius:28px; background:linear-gradient(160deg,rgba(20,8,11,.82),rgba(7,3,4,.88)); backdrop-filter:blur(20px); box-shadow:0 35px 90px rgba(0,0,0,.45),inset 0 1px rgba(255,255,255,.05); }
.reodev-logo-card::after { content:""; position:absolute; inset:14px; border:1px dashed rgba(255,68,84,.16); border-radius:20px; pointer-events:none; }
.reodev-logo-card img { position:relative; z-index:1; width:min(100%,560px); filter:drop-shadow(0 24px 38px rgba(92,0,14,.52)); }
.logo-card-top { position:absolute; z-index:2; left:28px; right:28px; top:23px; display:flex; justify-content:space-between; align-items:center; color:#8f7a7e; font-size:9px; font-weight:850; letter-spacing:.14em; }
.logo-card-top span { display:flex; gap:8px; align-items:center; }
.logo-card-top i { width:7px; height:7px; border-radius:50%; background:#5ce3aa; box-shadow:0 0 15px rgba(92,227,170,.7); }
.reodev-logo-card p { position:relative; z-index:1; margin:14px 0 20px; color:#a99095; font-size:12px; letter-spacing:.04em; }
.dev-stack { position:relative; z-index:1; display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.dev-stack span { padding:7px 11px; border:1px solid rgba(255,255,255,.08); border-radius:999px; background:rgba(255,255,255,.025); color:#c8b7ba; font-size:9px; font-weight:800; letter-spacing:.08em; }
.code-orbit { position:absolute; z-index:5; display:flex; align-items:center; gap:8px; padding:9px 11px; border:1px solid rgba(255,255,255,.1); border-radius:12px; background:rgba(7,3,4,.88); box-shadow:0 16px 42px rgba(0,0,0,.35); color:#9d898d; font-size:8px; letter-spacing:.1em; font-weight:850; }
.code-orbit span { display:grid; place-items:center; width:27px; height:27px; border-radius:8px; background:rgba(255,43,60,.1); color:#ff6572; font-size:11px; }
.orbit-one { top:34px; right:24px; transform:rotate(3deg); }
.orbit-two { left:20px; bottom:78px; transform:rotate(-3deg); }
.orbit-three { right:26px; bottom:95px; transform:rotate(2deg); }
.reodev-stage .hero-floating.one { left:-18px; top:105px; }
.reodev-stage .hero-floating.two { right:-20px; bottom:25px; }

.fun-marquee { position:relative; z-index:4; overflow:hidden; border-block:1px solid rgba(255,255,255,.07); background:linear-gradient(90deg,#87000e,#d9001b,#87000e); }
.fun-marquee-track { width:max-content; display:flex; align-items:center; gap:28px; min-height:48px; animation:marqueeMove 28s linear infinite; color:#fff; font-size:11px; font-weight:900; letter-spacing:.14em; }
.fun-marquee-track i { font-style:normal; color:rgba(255,255,255,.55); }
@keyframes marqueeMove { to { transform:translateX(-50%); } }

.product-grid.roomy-grid { gap:28px; }
.product-card { border-radius:24px; }
.product-media { height:245px; }
.product-content { padding:25px 25px 26px; }
.product-content h3 { margin:13px 0 10px; font-size:21px; }
.product-content p { min-height:58px; font-size:13px; line-height:1.72; }
.product-rating-row { display:flex; align-items:center; gap:10px; margin-top:16px; }
.product-rating-row small { color:#806d71; font-size:10px; }
.product-stars small { color:#8e797d; letter-spacing:0; }
.account-showcase { background:linear-gradient(180deg,transparent,rgba(125,0,15,.055),transparent); }
.home-account-preview { padding:24px; gap:24px; border-radius:30px; }
.preview-sidebar,.preview-license { padding:26px; border-radius:22px; }
.preview-library { padding:14px 8px; }
.preview-library-list { gap:14px; }
.preview-library-item { padding:14px; border-radius:16px; }

.community-section { border-block:1px solid rgba(255,255,255,.055); background:radial-gradient(circle at 80% 10%,rgba(170,0,22,.12),transparent 34%),#090405; }
.community-score { min-width:150px; text-align:right; }
.community-score strong { display:block; font-size:42px; line-height:1; letter-spacing:-.05em; }
.community-score span { display:block; color:#ffc34f; letter-spacing:3px; margin-top:7px; }
.community-score small { color:#8e797d; font-size:10px; }
.community-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.community-card { display:flex; min-height:285px; flex-direction:column; padding:30px; border:1px solid rgba(255,255,255,.08); border-radius:24px; background:linear-gradient(145deg,rgba(24,9,13,.9),rgba(10,4,6,.96)); transition:.24s ease; }
.community-card:hover { transform:translateY(-5px); border-color:rgba(255,53,70,.25); box-shadow:0 28px 70px rgba(0,0,0,.28); }
.community-card-head { display:flex; justify-content:space-between; gap:18px; color:#ffc34f; letter-spacing:2px; font-size:11px; }
.community-card-head small { color:#6f5d61; letter-spacing:.08em; }
.community-card h3 { margin:30px 0 12px; font-size:21px; }
.community-card p { flex:1; margin:0; color:#aa9498; line-height:1.8; font-size:14px; }
.community-card footer { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-top:28px; padding-top:18px; border-top:1px solid rgba(255,255,255,.07); }
.community-card footer b { font-size:12px; }
.community-card footer a { color:#ff5867; font-size:11px; font-weight:750; text-align:right; }

.detail-rating { display:flex; align-items:center; gap:10px; margin:-2px 0 18px; }
.detail-rating > span { color:#ffc34f; letter-spacing:2px; font-size:14px; }
.detail-rating b { font-size:13px; }
.detail-rating a { color:#957f83; font-size:11px; text-decoration:underline; text-underline-offset:3px; }
.reviews-section { background:linear-gradient(180deg,rgba(116,0,14,.05),transparent); border-top:1px solid rgba(255,255,255,.055); }
.reviews-layout { display:grid; grid-template-columns:minmax(0,1fr) 390px; gap:42px; align-items:start; }
.reviews-main { min-width:0; }
.reviews-heading { align-items:flex-end; }
.rating-hero { min-width:150px; padding:18px 20px; border:1px solid rgba(255,255,255,.08); border-radius:18px; background:rgba(255,255,255,.025); text-align:center; }
.rating-hero strong { display:block; font-size:36px; line-height:1; }
.rating-hero span { display:block; margin:7px 0 3px; color:#ffc34f; letter-spacing:3px; font-size:12px; }
.rating-hero small { color:#826e72; font-size:10px; }
.review-list { display:grid; gap:16px; }
.review-card { display:grid; grid-template-columns:52px minmax(0,1fr); gap:18px; padding:25px; border:1px solid rgba(255,255,255,.08); border-radius:22px; background:linear-gradient(145deg,#14080b,#0a0406); }
.review-avatar { width:52px; height:52px; display:grid; place-items:center; border-radius:16px; background:linear-gradient(145deg,#ff3648,#81000e); color:#fff; font-weight:900; box-shadow:0 15px 35px rgba(105,0,14,.24); }
.review-top { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.review-top > div { display:flex; flex-wrap:wrap; align-items:center; gap:9px; }
.review-top b { font-size:14px; }
.review-top time { color:#6e5b60; font-size:10px; white-space:nowrap; }
.verified-chip { padding:4px 7px; border-radius:999px; background:rgba(92,227,170,.08); color:#63dfab; font-size:8px; font-weight:800; letter-spacing:.05em; }
.review-stars { margin:9px 0 4px; color:#ffc34f; letter-spacing:3px; font-size:12px; }
.review-body h3 { margin:8px 0 5px; font-size:17px; }
.review-body p { margin:0; color:#a58f94; line-height:1.78; font-size:13px; }
.review-form-card { position:sticky; top:112px; padding:30px; border:1px solid rgba(255,73,88,.19); border-radius:25px; background:linear-gradient(150deg,#18090d,#090405); box-shadow:0 28px 80px rgba(0,0,0,.28); }
.review-form-card h3 { margin:13px 0 8px; font-size:24px; }
.review-form-card > p { color:#9e888c; font-size:13px; line-height:1.7; }
.review-form { display:grid; gap:16px; margin-top:22px; }
.review-form label { display:grid; gap:7px; color:#998488; font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.review-form label small { color:#655459; font-weight:600; text-transform:none; }
.star-picker { direction:rtl; display:flex; justify-content:flex-end; gap:5px; margin:0; padding:0; border:0; }
.star-picker legend { direction:ltr; width:100%; margin-bottom:8px; color:#998488; font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.star-picker input { position:absolute; opacity:0; pointer-events:none; }
.star-picker label { display:block; color:#44383b; font-size:31px; line-height:1; cursor:pointer; transition:.16s ease; }
.star-picker label:hover,.star-picker label:hover ~ label,.star-picker input:checked ~ label { color:#ffc34f; transform:translateY(-2px); }
.review-policy { color:#6c595e; font-size:9px; line-height:1.55; text-align:center; }
.empty-review { display:grid; place-items:center; min-height:260px; padding:35px; border:1px dashed rgba(255,255,255,.1); border-radius:22px; text-align:center; }
.empty-review span { color:#ff6070; font-size:38px; }
.empty-review h3 { margin:11px 0 5px; }
.empty-review p { margin:0; color:#8c787c; }

.admin-review-stars { color:#ffc34f; letter-spacing:2px; white-space:nowrap; }

@media (max-width: 1120px) {
  .market-hero-grid { grid-template-columns:1fr; gap:56px; }
  .market-hero-panel { width:100%; max-width:760px; min-height:520px; }
  .reodev-stage .hero-floating.one { left:18px; }
  .reodev-stage .hero-floating.two { right:18px; }
  .reviews-layout { grid-template-columns:1fr; }
  .review-form-card { position:static; }
  .community-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width:min(calc(100% - 30px),var(--container)); }
  .section { padding:76px 0; }
  .market-hero { min-height:auto; padding:68px 0 60px; }
  .market-hero-copy h1 { font-size:50px; }
  .market-hero-copy > p { font-size:16px; }
  .hero-micro-stats { gap:18px; }
  .market-hero-panel { min-height:410px; }
  .reodev-logo-card { inset:54px 18px 64px; padding:25px; }
  .logo-card-top { left:18px; right:18px; top:16px; font-size:7px; }
  .reodev-logo-card p { text-align:center; font-size:10px; }
  .code-orbit { display:none; }
  .reodev-stage .hero-floating.one { left:8px; top:18px; }
  .reodev-stage .hero-floating.two { right:8px; bottom:12px; }
  .hero-floating { padding:9px 11px; }
  .hero-floating b { font-size:10px; }
  .hero-floating small { font-size:8px; }
  .fun-marquee-track { min-height:42px; font-size:9px; }
  .community-grid { grid-template-columns:1fr; }
  .community-score { text-align:left; }
  .review-card { grid-template-columns:1fr; }
  .review-top { flex-direction:column; }
  .reviews-heading { align-items:flex-start; }
  .rating-hero { text-align:left; }
  .product-media { height:220px; }
}
@media (prefers-reduced-motion: reduce) {
  .fun-marquee-track,.stage-glow { animation:none; }
}

/* Shopier API management */
.admin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.admin-stat-grid article{min-width:0;padding:19px;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:linear-gradient(145deg,rgba(23,10,13,.96),rgba(9,4,6,.96));box-shadow:0 18px 44px rgba(0,0,0,.2)}
.admin-stat-grid span,.admin-stat-grid small{display:block;color:#927b80;font-size:10px;letter-spacing:.06em}
.admin-stat-grid strong{display:block;margin:8px 0 5px;color:#fff;font-size:20px;letter-spacing:.02em;overflow-wrap:anywhere}
.shopier-status-grid article:nth-child(1) strong,.shopier-status-grid article:nth-child(2) strong,.shopier-status-grid article:nth-child(3) strong{font-size:15px}
.switch-label{display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;border:1px solid rgba(255,255,255,.075);border-radius:13px;background:rgba(255,255,255,.025)}
.switch-label span{display:grid;gap:4px}.switch-label b{color:#f4ebed;font-size:13px}.switch-label small{margin:0!important}
.switch-label input{appearance:none;width:46px;height:25px;flex:none;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:#261317;position:relative;cursor:pointer;transition:.2s ease}
.switch-label input:after{content:"";position:absolute;width:17px;height:17px;top:3px;left:4px;border-radius:50%;background:#8b7479;transition:.2s ease}
.switch-label input:checked{background:linear-gradient(135deg,#f10d30,#8d0013);border-color:#ff2545;box-shadow:0 0 20px rgba(241,13,48,.18)}
.switch-label input:checked:after{left:23px;background:#fff}
.danger-check{display:flex!important;align-items:center;gap:8px;color:#e7a5ae!important;font-size:11px!important;padding:8px 0}
.danger-check input{width:auto!important;accent-color:#e51432}
.copy-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.copy-field input{min-width:0}
.copy-field button{border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:0 15px;background:#1b0d10;color:#f5e8eb;font-weight:800;cursor:pointer;transition:.2s ease}
.copy-field button:hover{border-color:rgba(255,31,63,.45);background:#2b0f15}
.shopier-test-panel{margin-top:18px}
.inline-test-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:12px}
.inline-test-form label{margin:0}
.api-test-result{display:grid;gap:6px;margin-top:14px;padding:15px 17px;border-radius:13px;border:1px solid rgba(255,255,255,.08)}
.api-test-result b{font-size:13px}.api-test-result span,.api-test-result small{font-size:11px;color:#a99095}
.api-test-result.success{background:rgba(26,141,87,.09);border-color:rgba(39,201,125,.24)}
.api-test-result.success b{color:#62e4a6}
.api-test-result.danger{background:rgba(220,14,46,.08);border-color:rgba(255,35,68,.22)}
.api-test-result.danger b{color:#ff8799}
.api-verify-form{display:grid;gap:8px;margin:14px 0}.api-verify-form small{text-align:center;color:#8f777c;font-size:10px}
.note-box a{color:#ff526c;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1100px){.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.admin-stat-grid{grid-template-columns:1fr}.inline-test-form{grid-template-columns:1fr}.copy-field{grid-template-columns:1fr}.copy-field button{min-height:42px}}
.shopier-webhook-log{margin-top:18px}.shopier-webhook-log .admin-table td:first-child small{max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Consent Mode / privacy banner */
.consent-banner{position:fixed;left:50%;bottom:20px;z-index:1200;transform:translateX(-50%);width:min(760px,calc(100% - 30px));display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;border:1px solid rgba(255,255,255,.12);border-radius:17px;background:rgba(12,5,7,.96);box-shadow:0 24px 80px rgba(0,0,0,.58);backdrop-filter:blur(22px)}
.consent-banner[hidden]{display:none}.consent-banner b{display:block;color:#fff;font-size:13px;margin-bottom:5px}.consent-banner p{margin:0;color:#a58d92;font-size:11px;line-height:1.6}.consent-actions{display:flex;gap:9px;flex:none}.consent-actions .btn{min-width:96px;padding:11px 15px}
@media(max-width:720px){.consent-banner{align-items:stretch;flex-direction:column;gap:14px}.consent-actions{display:grid;grid-template-columns:1fr 1fr}.consent-actions .btn{width:100%}}

/* REODEVELOPMENT v4.2 brand adjustments */
.brand img{width:235px}
.footer-brand img{width:248px}
.admin-logo img{width:205px}
.admin-login-logo img{width:255px}
.storefront-empty{margin-top:24px}
.preview-library-empty{display:flex;align-items:center;gap:16px;min-height:106px;padding:20px;border:1px dashed rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.018)}
.preview-library-empty>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:rgba(255,42,60,.1);color:#ff5060;font-size:25px}
.preview-library-empty b,.preview-library-empty small{display:block}.preview-library-empty small{margin-top:5px;color:var(--muted);line-height:1.5}
.community-empty{grid-column:1/-1;width:100%}.empty-stars{display:block;color:#6f5358;font-size:24px;letter-spacing:5px;margin-bottom:8px}
@media(max-width:900px){.brand img{width:190px}.admin-logo img{width:58px;height:58px;object-fit:cover;object-position:left}}
@media(max-width:460px){.brand img{width:160px}.footer-brand img{width:215px}}
