@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --ink: #10213d;
  --muted: #66748b;
  --blue: #1769f5;
  --blue-dark: #0e52c6;
  --blue-soft: #eaf2ff;
  --line: #dfe7f3;
  --surface: #fff;
  --soft: #f5f8fd;
  --green: #11875d;
  --red: #d64343;
  --shadow: 0 18px 50px rgba(38, 72, 125, .11);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 15px/1.65 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, 100%); }
.center { text-align: center; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
h1, h2, h3, strong {
  font-family: "Manrope", "DM Sans", sans-serif;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1.07; letter-spacing: -.045em; }
h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.18; letter-spacing: -.035em; }
h3 { line-height: 1.3; }
.eyebrow {
  display: inline-flex;
  margin-bottom: 15px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow.light { color: #cfe1ff; }
.lead { color: var(--muted); font-size: 17px; }
.section { padding: 88px 0; }
.soft-section { background: var(--soft); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(222, 232, 245, .9);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}
.header-row { display: flex; align-items: center; min-height: 76px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #3e89ff, #0d55df);
  box-shadow: 0 8px 18px rgba(23, 105, 245, .25);
  font: 800 20px/1 "Manrope";
}
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-size: 16px; letter-spacing: .08em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a {
  padding: 9px 13px;
  border-radius: 10px;
  color: #526078;
  font-weight: 600;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: var(--blue-soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; padding: 8px; border: 0; background: transparent; }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 700;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(23, 105, 245, .22); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-white { color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.btn-soft { color: var(--blue); border-color: #d6e5ff; background: var(--blue-soft); }
.btn-ghost { color: #526078; border-color: var(--line); background: #fff; }
.btn-danger { color: #fff; background: var(--red); }
.btn-success { color: #fff; background: var(--green); }
.btn-sm { min-height: 38px; padding: 7px 13px; border-radius: 10px; font-size: 13px; }
.btn-block { width: 100%; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 700;
}
.text-link .icon { width: 17px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 75% 25%, rgba(77, 144, 255, .2), transparent 30%),
    linear-gradient(160deg, #f5f9ff 0%, #fff 62%);
}
.hero::before {
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: linear-gradient(#d9e7fa 1px, transparent 1px), linear-gradient(90deg, #d9e7fa 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent, #000);
  content: "";
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; }
.hero-copy h1 { margin-bottom: 25px; }
.hero-copy h1 span { color: var(--blue); }
.hero-copy > p { max-width: 650px; margin-bottom: 29px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; color: #53627a; font-size: 13px; font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row .icon { width: 17px; color: var(--blue); }
.hero-panel { position: relative; min-height: 430px; }
.hero-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 310px;
  height: 310px;
  padding: 48px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 45% 55% 51% 49% / 58% 43% 57% 42%;
  color: #fff;
  background: linear-gradient(145deg, #5b9bff, #1267f1 58%, #094bbf);
  box-shadow: 0 45px 80px rgba(18, 103, 241, .3);
  transform: translate(-50%, -50%) rotate(-5deg);
}
.hero-orb span { font: 800 100px/.8 "Manrope"; opacity: .22; }
.hero-orb div { margin-top: -25px; font: 800 30px/1.13 "Manrope"; letter-spacing: -.04em; }
.floating-card {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 170px;
  padding: 20px;
  border: 1px solid rgba(212, 225, 243, .8);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.floating-card small, .floating-card span { color: var(--muted); }
.floating-card strong { margin: 4px 0; color: var(--blue); font-size: 30px; }
.card-a { top: 32px; left: 5px; }
.card-b { right: 2px; bottom: 22px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading.center { justify-content: center; text-align: center; }
.section-heading.center p { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: .25s ease;
}
.product-card:hover { border-color: #bad3ff; box-shadow: var(--shadow); transform: translateY(-4px); }
.product-cover-link { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.product-cover { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.product-card:hover .product-cover { transform: scale(1.025); }
.product-body { padding: 21px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-meta span:last-child { color: #8a96a8; }
.product-card h3 { margin-bottom: 9px; font-size: 20px; }
.product-card h3 a:hover { color: var(--blue); }
.product-card p { min-height: 48px; color: var(--muted); font-size: 14px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--line); }
.product-bottom strong { font-size: 20px; }
.circle-link { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-grid article { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-grid article > span { position: absolute; top: 24px; right: 26px; color: #cbd8e9; font: 800 18px "Manrope"; }
.step-grid article > .icon { width: 34px; height: 34px; margin-bottom: 24px; color: var(--blue); }
.step-grid h3 { margin-bottom: 8px; font-size: 20px; }
.step-grid p { margin: 0; color: var(--muted); }
.seller-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 52px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(130deg, #0f59d7, #287cfb);
  box-shadow: 0 30px 60px rgba(23, 105, 245, .22);
}
.seller-cta h2 { margin-bottom: 12px; }
.seller-cta p { max-width: 650px; margin: 0; color: #dce9ff; font-size: 16px; }
.seller-cta.small { margin-top: 55px; padding: 36px; }
.seller-cta.small h2 { font-size: 28px; }

.page-hero { padding: 78px 0; text-align: center; background: linear-gradient(180deg, #f3f8ff, #fff); }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 58px); }
.page-hero p { color: var(--muted); font-size: 18px; }
.page-hero.compact { padding: 60px 0; text-align: left; }
.page-hero.compact h1 { margin-bottom: 12px; }
.page-hero.compact p { max-width: 720px; margin-bottom: 0; }
.catalog-section { padding-top: 40px; }
.catalog-filter { display: grid; grid-template-columns: 1fr 220px auto; gap: 12px; margin-bottom: 20px; }
.search-box { position: relative; }
.search-box .icon { position: absolute; top: 50%; left: 15px; width: 18px; color: #8190a8; transform: translateY(-50%); }
.search-box input { padding-left: 44px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8e2f0;
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 105, 245, .1); }
textarea { resize: vertical; }
.catalog-result { margin-bottom: 24px; color: var(--muted); }
.empty-inline { padding: 60px 20px; border: 1px dashed #c9d7e9; border-radius: var(--radius); text-align: center; background: var(--soft); }
.empty-inline h3 { margin-bottom: 8px; font-size: 23px; }
.empty-inline p { color: var(--muted); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--blue); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr); gap: 48px; align-items: start; }
.gallery-main { overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 26px; background: var(--soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
.gallery-thumbs button { overflow: hidden; width: 80px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--soft); cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy-card { position: sticky; top: 105px; padding: 32px; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.buy-card h1 { margin-bottom: 14px; font-size: 38px; }
.seller-line, .secure-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.seller-line { padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seller-line .icon, .secure-note .icon { color: var(--blue); }
.price-block { display: grid; padding: 24px 0; }
.price-block small { color: var(--muted); }
.price-block strong { font-size: 34px; }
.secure-note { justify-content: center; margin: 14px 0 0; }
.quick-specs { margin: 25px 0 0; }
.quick-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.quick-specs dt { color: var(--muted); }
.quick-specs dd { margin: 0; text-align: right; font-weight: 700; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 50px; margin-top: 70px; padding-top: 55px; border-top: 1px solid var(--line); }
.rich-copy { color: #485873; font-size: 16px; white-space: normal; }
.detail-content article h3 { margin-top: 34px; }
.detail-content aside { padding: 28px; border-radius: 20px; background: var(--soft); align-self: start; }
.feature-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; }
.feature-list .icon { width: 19px; color: var(--green); }

.guide-list { display: grid; gap: 0; }
.guide-step { display: grid; grid-template-columns: 66px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.guide-step > span { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 17px; color: var(--blue); background: var(--blue-soft); font: 800 16px "Manrope"; }
.guide-step h2 { margin-bottom: 8px; font-size: 25px; }
.guide-step p { color: var(--muted); }
.info-panel, .notice-box { display: flex; gap: 16px; margin-top: 40px; padding: 24px; border: 1px solid #cfe0fb; border-radius: 17px; background: #f2f7ff; }
.info-panel > div:first-child, .notice-box > .icon { color: var(--blue); }
.info-panel h3 { margin-bottom: 5px; }
.info-panel p, .notice-box p { margin: 0; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary span { color: var(--blue); font-size: 22px; }
.faq-list details p { padding: 0 0 20px; color: var(--muted); }

.auth-page { min-height: 720px; padding: 70px 0; background: var(--soft); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 960px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.auth-aside { padding: 58px; color: #fff; background: linear-gradient(145deg, #0c54cb, #277bfa); }
.auth-aside h1 { margin: 22px 0 35px; font-size: 42px; }
.auth-aside ul { display: grid; gap: 15px; padding: 0; list-style: none; }
.auth-aside li { display: flex; align-items: center; gap: 10px; color: #e2edff; }
.auth-card { padding: 58px; background: #fff; }
.auth-card h2 { margin-bottom: 8px; font-size: 32px; }
.auth-card > p { color: var(--muted); }
.form-stack { display: grid; gap: 17px; }
.form-stack label, .form-fields label { display: grid; gap: 7px; font-weight: 700; }
.form-stack label small, .form-fields label small { color: var(--muted); font-weight: 400; }
.auth-switch { margin: 23px 0 0; text-align: center; }
.auth-switch a { color: var(--blue); font-weight: 700; }
.check-row { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 9px !important; color: var(--muted); font-weight: 500 !important; }
.check-row input { width: auto; margin-top: 5px; }

.checkout-heading { margin-bottom: 32px; }
.checkout-heading h1 { margin-bottom: 10px; font-size: 45px; }
.checkout-heading p { color: var(--muted); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 30px; align-items: start; }
.checkout-form-card, .order-summary, .panel { padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.checkout-form-card h2, .order-summary h2 { font-size: 23px; }
.order-summary { position: sticky; top: 105px; }
.summary-product { display: flex; gap: 14px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary-product img { width: 75px; height: 60px; border-radius: 10px; object-fit: cover; }
.summary-product div { display: grid; align-content: center; }
.summary-product span { color: var(--muted); font-size: 13px; }
.order-summary dl div { display: flex; justify-content: space-between; padding-top: 14px; }
.order-summary dt { color: var(--muted); }
.order-summary dd { margin: 0; font-weight: 700; }
.order-summary .summary-total { margin-top: 13px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 19px; }

.order-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.order-head h1 { margin: 0; font-size: 40px; }
.payment-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; padding: 40px; border: 1px solid var(--line); border-radius: 27px; box-shadow: var(--shadow); }
.qr-column { display: grid; justify-items: center; gap: 14px; }
.qr-frame { width: min(100%, 320px); padding: 13px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.qr-frame img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.qris-pill { display: inline-flex; padding: 5px 12px; border-radius: 8px; color: var(--blue); background: var(--blue-soft); font: 800 12px "Manrope"; letter-spacing: .08em; }
.payment-copy { align-self: center; }
.payment-copy h2 { margin-bottom: 20px; font-size: 38px; }
.payment-copy ol { margin: 0 0 24px; padding-left: 20px; color: var(--muted); }
.payment-copy li { margin-bottom: 8px; }
.poll-message { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.no-qr { grid-column: 1 / -1; padding: 25px; text-align: center; }
.paid-panel { grid-column: 1 / -1; padding: 15px; text-align: center; }
.success-icon { display: grid; width: 70px; height: 70px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); }
.success-icon .icon { width: 34px; height: 34px; }
.download-list { display: grid; gap: 10px; max-width: 650px; margin: 30px auto 0; text-align: left; }
.download-list > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; }
.download-list span { display: grid; }
.download-list small { color: var(--muted); }
.order-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.order-info > div { display: grid; padding: 17px; border-radius: 13px; background: var(--soft); }
.order-info span { color: var(--muted); font-size: 12px; }
.order-info strong { overflow-wrap: anywhere; font-size: 13px; }
.status { display: inline-flex; width: fit-content; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status-draft { color: #637087; background: #edf0f5; }
.status-pending { color: #9b6200; background: #fff1cb; }
.status-approved, .status-paid { color: #08744e; background: #dff7ec; }
.status-rejected, .status-failed, .status-cancelled, .status-expired { color: #a42f2f; background: #ffe4e4; }
.status-refunded { color: #6650a6; background: #eee8ff; }

.portal-bar { border-bottom: 1px solid #d7e4f8; background: #f1f6ff; }
.portal-row { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 20px; }
.portal-label { color: #52647e; font-size: 13px; font-weight: 700; }
.portal-row nav { display: flex; align-items: center; gap: 4px; }
.portal-row nav a, .portal-row nav button { padding: 7px 10px; border: 0; border-radius: 8px; color: #5d6d84; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.portal-row nav a:hover, .portal-row nav a.active { color: var(--blue); background: #fff; }
.portal-row form { margin: 0; }
.dashboard-head { padding: 48px 0 32px; background: linear-gradient(180deg, #f6f9ff, #fff); }
.dashboard-head > .shell { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.dashboard-head h1 { margin-bottom: 8px; font-size: 42px; }
.dashboard-head p { margin: 0; color: var(--muted); }
.dashboard-section { padding: 25px 0 80px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; margin-bottom: 24px; }
.metric-card { display: grid; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.metric-card > div { display: grid; width: 40px; height: 40px; margin-bottom: 17px; place-items: center; border-radius: 11px; color: var(--blue); background: var(--blue-soft); }
.metric-card span, .metric-card small { color: var(--muted); }
.metric-card strong { margin: 3px 0; font-size: 27px; overflow-wrap: anywhere; }
.panel { box-shadow: 0 6px 24px rgba(41, 69, 112, .04); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-head h2 { margin-bottom: 4px; font-size: 24px; }
.panel-head p { margin: 0; color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.tabs a { padding: 8px 14px; border-radius: 9px; color: var(--muted); font-weight: 700; }
.tabs a.active { color: var(--blue); background: var(--blue-soft); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th, td { padding: 14px 13px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: #7a879a; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
.table-product { display: flex; min-width: 250px; align-items: center; gap: 12px; }
.table-product img { width: 54px; height: 43px; border-radius: 8px; object-fit: cover; }
.table-product span { display: grid; }
.table-product small, .table-sub { display: block; color: var(--muted); font-size: 12px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; align-items: start; }
.product-form { padding: 0; overflow: hidden; }
.form-section { display: grid; grid-template-columns: 240px 1fr; gap: 35px; padding: 34px; border-bottom: 1px solid var(--line); }
.form-section > div:first-child > span { color: var(--blue); font-weight: 800; }
.form-section h2 { margin: 8px 0; font-size: 23px; }
.form-section > div:first-child p { color: var(--muted); }
.form-fields { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.current-images { display: flex; flex-wrap: wrap; gap: 9px; }
.current-images img { width: 92px; height: 70px; border: 1px solid var(--line); border-radius: 9px; object-fit: cover; }
.file-present { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px; border-radius: 10px; color: var(--green); background: #ebfaf4; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 25px 34px; background: var(--soft); }
.form-sidebar { position: sticky; top: 142px; display: grid; gap: 14px; }
.form-sidebar h3 { margin-bottom: 14px; }
.form-sidebar p { margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.moderation-note { margin-top: 17px; padding: 13px; border-radius: 10px; background: #fff3d4; }
.moderation-note p { margin: 5px 0 0; color: #725417; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 23px; align-items: start; }
.review-preview { padding: 35px; }
.review-cover { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 25px; border-radius: 18px; background: var(--soft); }
.review-cover img { width: 100%; height: 100%; object-fit: cover; }
.review-preview h1 { font-size: 38px; }
.review-price { margin: 20px 0; font: 800 28px "Manrope"; }
.review-section { padding-top: 24px; border-top: 1px solid var(--line); }
.review-section h2 { font-size: 23px; }
.review-section p { color: #526078; }
.review-sidebar { position: sticky; top: 142px; display: grid; gap: 14px; }

.flash-wrap { position: relative; z-index: 5; }
.flash { margin-top: 14px; padding: 13px 16px; border-radius: 11px; font-weight: 600; }
.flash-success { color: #086b49; background: #def7eb; }
.flash-error { color: #9c2929; background: #ffe4e4; }
.empty-page { min-height: 600px; padding: 100px 0; background: var(--soft); }
.empty-card { padding: 60px; border: 1px solid var(--line); border-radius: 25px; text-align: center; background: #fff; box-shadow: var(--shadow); }
.empty-card h1 { font-size: 43px; }
.empty-card p { color: var(--muted); }

.site-footer { padding: 65px 0 25px; color: #b9c8dc; background: #0e203a; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 35px; }
.footer-brand { margin-bottom: 18px; color: #fff; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid h3 { color: #fff; font-size: 14px; }
.footer-grid p { max-width: 310px; }
.footer-grid a:not(.brand) { margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 45px; padding-top: 20px; border-top: 1px solid #243751; font-size: 12px; }

@media (max-width: 980px) {
  .nav-toggle { display: grid; order: 2; }
  .header-actions { order: 3; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: grid; }
  .hero-grid, .auth-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-panel { min-height: 400px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .detail-content, .checkout-grid, .review-layout { grid-template-columns: 1fr; }
  .buy-card, .order-summary, .review-sidebar { position: static; }
  .form-layout { grid-template-columns: 1fr; }
  .form-sidebar { position: static; }
  .payment-card { grid-template-columns: 1fr; }
  .order-info { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1160px); }
  .section { padding: 62px 0; }
  .header-row { min-height: 68px; gap: 8px; }
  .brand small { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .header-actions .login-link, .header-actions .btn span { display: none; }
  .header-actions .btn { min-width: 40px; padding: 8px 11px; }
  .main-nav { top: 68px; }
  .hero { padding: 68px 0 48px; }
  .hero-grid { gap: 30px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-panel { min-height: 330px; }
  .hero-orb { width: 240px; height: 240px; padding: 36px; }
  .hero-orb span { font-size: 80px; }
  .hero-orb div { font-size: 24px; }
  .floating-card { min-width: 130px; padding: 14px; }
  .floating-card strong { font-size: 23px; }
  .product-grid, .step-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .section-heading, .seller-cta, .dashboard-head > .shell, .order-head { align-items: flex-start; flex-direction: column; }
  .seller-cta { padding: 34px 27px; }
  .page-hero { padding: 58px 0; }
  .catalog-filter { grid-template-columns: 1fr; }
  .gallery-thumbs button { width: 65px; height: 52px; }
  .buy-card { padding: 24px; }
  .buy-card h1 { font-size: 32px; }
  .detail-content { margin-top: 45px; padding-top: 38px; }
  .auth-page { padding: 30px 0; }
  .auth-grid { width: min(100% - 28px, 960px); }
  .auth-aside, .auth-card { padding: 35px 27px; }
  .auth-aside h1 { font-size: 34px; }
  .checkout-page { padding-top: 45px; }
  .checkout-heading h1 { font-size: 38px; }
  .payment-card { padding: 23px; gap: 25px; }
  .order-head h1 { font-size: 34px; }
  .order-info, .metric-grid { grid-template-columns: 1fr; }
  .portal-row { align-items: flex-start; flex-direction: column; padding-block: 10px; }
  .portal-row nav { width: 100%; overflow-x: auto; }
  .dashboard-head h1 { font-size: 34px; }
  .form-section { grid-template-columns: 1fr; gap: 15px; padding: 25px 20px; }
  .form-actions { flex-direction: column-reverse; padding: 20px; }
  .form-actions .btn { width: 100%; }
  .panel { padding: 20px; }
  .product-form { padding: 0; }
  .guide-step { grid-template-columns: 50px 1fr; gap: 15px; }
  .guide-step > span { width: 45px; height: 45px; }
  .download-list > div { align-items: stretch; flex-direction: column; }
}


/* NEXA v1.1 — Sharely-inspired motion layer */
:root {
  --violet: #7357ff;
  --pink: #ff75b7;
  --mint: #38c993;
  --sun: #ffbd59;
}
body { overflow-x: hidden; background: linear-gradient(180deg, #fff 0%, #fbfcff 55%, #fff 100%); }
.site-header { box-shadow: 0 10px 35px rgba(38,72,125,.045); }
.brand-mark { background: linear-gradient(145deg, #1769f5, #7357ff 70%, #ff75b7); box-shadow: 0 9px 22px rgba(91,93,240,.24); }
.btn-primary { background: linear-gradient(135deg, #1769f5, #7357ff); box-shadow: 0 12px 28px rgba(84,91,232,.25); }
.hero { background: radial-gradient(circle at 75% 25%, rgba(115,87,255,.19), transparent 29%), radial-gradient(circle at 12% 78%, rgba(255,117,183,.14), transparent 23%), linear-gradient(155deg,#f6f9ff,#fff 65%); }
.hero-orb { background: linear-gradient(145deg,#6ea5ff,#5969f6 53%,#8c5df8); animation: blobFloat 6s ease-in-out infinite; }
.card-a { animation: floatY 4.8s ease-in-out infinite; }
.card-b { animation: floatY 5.5s ease-in-out .7s infinite reverse; }
.product-card, .step-grid article, .panel, .buy-card, .auth-grid, .seller-cta { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.step-grid article:hover, .metric-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(57,80,150,.10); border-color: #cfd9ff; }
.metric-card:nth-child(2n) > div { color: var(--violet); background: #f0edff; }
.metric-card:nth-child(3n) > div { color: #d85394; background: #fff0f7; }
.metric-card:nth-child(4n) > div { color: #168a67; background: #e8fbf4; }
.page-hero, .dashboard-head { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 30%,rgba(115,87,255,.12),transparent 22%), radial-gradient(circle at 12% 80%,rgba(255,117,183,.10),transparent 18%), linear-gradient(180deg,#f6f9ff,#fff); }
.dashboard-head::after, .page-hero::after { position:absolute; width:170px; height:170px; right:7%; top:-95px; border-radius:48% 52% 61% 39%; background:linear-gradient(145deg,rgba(115,87,255,.16),rgba(255,117,183,.12)); content:""; animation: spinSoft 15s linear infinite; }

.ambient-art { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
main, .site-header, .portal-bar, .site-footer { position: relative; z-index: 1; }
.ambient { position: absolute; width: 110px; opacity: .22; filter: drop-shadow(0 16px 22px rgba(70,85,140,.12)); }
.ambient-a { left: -35px; top: 19vh; animation: ambientDrift 9s ease-in-out infinite; }
.ambient-b { right: -45px; top: 52vh; width: 130px; animation: ambientDrift 11s ease-in-out 1.2s infinite reverse; }
.ambient-c { left: 5vw; bottom: -35px; width: 90px; animation: ambientDrift 8s ease-in-out .4s infinite; }

.portal-bar { background: rgba(244,247,255,.92); backdrop-filter: blur(12px); }
.portal-row nav a, .portal-row nav button { white-space: nowrap; }
.portal-row nav a.active { box-shadow: 0 6px 18px rgba(70,91,160,.08); }
.table-actions { display:flex; align-items:center; gap:7px; }
.table-actions form { margin:0; }
.admin-filter { display:grid; grid-template-columns: 1.5fr 1fr auto; align-items:end; gap:14px; margin-bottom:18px; }
.settings-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:22px; align-items:start; }
.smtp-test-card { position:sticky; top:145px; overflow:hidden; background:linear-gradient(155deg,#fff,#f8f6ff); }
.settings-illustration { width:min(100%,300px); margin:-15px auto 5px; animation: floatY 5.2s ease-in-out infinite; }
.smtp-dot { width:12px; height:12px; border-radius:50%; background:#d2d8e4; box-shadow:0 0 0 6px #f0f2f6; }
.smtp-dot.ready { background:#2bc48b; box-shadow:0 0 0 6px #e5f9f1; }
.check-row { display:flex !important; align-items:center; gap:9px; font-weight:700; }
.check-row input { width:auto; }
.field-hint { display:block; margin-top:5px; color:var(--muted); font-weight:400; }
.form-actions-inline { display:flex; justify-content:flex-end; gap:10px; padding-top:6px; }
.site-footer .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
.footer-payment { min-width:120px; }

@keyframes floatY { 0%,100% { transform:translateY(0) rotate(0deg); } 50% { transform:translateY(-11px) rotate(1deg); } }
@keyframes blobFloat { 0%,100% { transform:translate(-50%,-50%) rotate(-5deg) scale(1); } 50% { transform:translate(-50%,-53%) rotate(2deg) scale(1.025); } }
@keyframes ambientDrift { 0%,100% { transform:translate3d(0,0,0) rotate(-4deg); } 50% { transform:translate3d(16px,-28px,0) rotate(5deg); } }
@keyframes spinSoft { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }
@media (max-width: 980px) { .settings-grid { grid-template-columns:1fr; } .smtp-test-card { position:static; } .site-footer .footer-grid { grid-template-columns:repeat(2,1fr); } .ambient { opacity:.12; } }
@media (max-width: 720px) { .admin-filter { grid-template-columns:1fr; } .site-footer .footer-grid { grid-template-columns:1fr; } .table-actions { align-items:stretch; flex-direction:column; } .table-actions .btn { width:100%; } .ambient { display:none; } }

.hero-art { position:absolute; z-index:3; width:118px; filter:drop-shadow(0 18px 24px rgba(59,75,140,.14)); }
.hero-art-shop { right:4%; top:20px; animation:floatY 5.8s ease-in-out .4s infinite; }
.hero-art-spark { left:9%; bottom:6px; width:94px; animation:floatY 4.6s ease-in-out .9s infinite reverse; }
@media(max-width:720px){ .hero-art-shop{width:88px;right:0}.hero-art-spark{width:72px;left:0} }

.admin-tool-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:0 0 24px; }
.admin-tool-card { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px; min-height:100px; padding:18px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(42,64,120,.05); transition:.25s ease; }
.admin-tool-card:hover { transform:translateY(-4px); box-shadow:0 18px 42px rgba(42,64,120,.10); }
.admin-tool-card > span { display:grid; width:48px; height:48px; place-items:center; border-radius:15px; }
.admin-tool-card strong, .admin-tool-card small { display:block; }
.admin-tool-card small { margin-top:3px; color:var(--muted); }
.admin-tool-card > .icon { width:18px; color:#8390a5; }
.tool-users > span { color:#1769f5; background:#eaf2ff; }
.tool-links > span { color:#7357ff; background:#f0edff; }
.tool-smtp > span { color:#d85394; background:#fff0f7; }
@media(max-width:980px){.admin-tool-grid{grid-template-columns:1fr 1fr}.admin-tool-card:last-child{grid-column:1/-1}}
@media(max-width:720px){.admin-tool-grid{grid-template-columns:1fr}.admin-tool-card:last-child{grid-column:auto}}
