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

:root {
  --nx-purple: #8136ef;
  --nx-purple-dark: #6523d7;
  --nx-ink: #151626;
  --nx-muted: #6f7180;
  --nx-line: #ececf2;
  --nx-soft: #faf9fc;
  --nx-shadow: 0 12px 36px rgba(23,20,44,.08);
  --green: #138b57;
  --red: #c43d4b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--nx-ink);
  background: #fff;
  font-size: 14px;
}
h1,h2,h3,h4,.brand { font-family: Manrope,'DM Sans',sans-serif; }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s, transform .2s; }
img { max-width: 100%; }
button,input,select,textarea { font: inherit; }
.container { width: min(1320px, calc(100% - 54px)); margin: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 10px; padding: 14px 22px;
  font-weight: 800; font-size: 13px; cursor: pointer; text-decoration: none;
  transition: .2s;
}
.btn.primary { background: linear-gradient(120deg,#a444ff,#7225e8); color: #fff; box-shadow: 0 10px 24px #842de044; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 15px 30px #842de055; }
.btn.ghost { border-color: #77778b; color: #fff; background: #ffffff08; }
.btn.outline { border: 1px solid var(--nx-line); color: var(--nx-ink); background: #fff; }
.btn.outline:hover { border-color: #c9c6d6; }
.btn.full { width: 100%; }
.btn.small { padding: 9px 14px; font-size: 12px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.danger { background: #fff0f0; color: var(--red); }

/* Topbar */
.topbar { background: #171829; color: #f8f8ff; font-size: 10px; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 7px 0; }
.topbar-inner > span { letter-spacing: .01em; }
.locale { display: flex; gap: 8px; }
.locale select { background: transparent; color: #e9e9f1; border: 0; font-size: 10px; padding: 4px; }
.locale option { color: #222; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 80; border-bottom: 1px solid #f0f0f5; box-shadow: 0 6px 20px #1010200b; }
.header-inner { height: 78px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 25px; letter-spacing: .12em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; color: #fff; font-weight: 900; font-size: 26px; font-style: italic; border-radius: 10px; background: linear-gradient(145deg,#b96aff,#6d21e4); box-shadow: 0 7px 18px #872ef333; }
.main-nav { display: flex; gap: 22px; align-items: center; margin: auto; font-weight: 700; font-size: 13px; }
.main-nav > a, .nav-dropdown > a { padding: 27px 0; display: block; }
.main-nav a:hover, .main-nav a.active { color: var(--nx-purple); }
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; gap: 4px; }
.dropdown-menu { display: none; position: absolute; top: 64px; left: -18px; width: 230px; padding: 10px; background: #fff; border: 1px solid var(--nx-line); border-radius: 14px; box-shadow: var(--nx-shadow); z-index: 40; }
.dropdown-menu a { display: block; padding: 10px; border-radius: 8px; }
.dropdown-menu a:hover { background: #f6efff; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.header-search { height: 43px; display: flex; border: 1px solid #e9e8ef; border-radius: 30px; overflow: hidden; width: 245px; background: #f9f9fc; }
.header-search input { border: 0; background: transparent; padding: 0 14px; min-width: 0; width: 100%; outline: 0; }
.header-search button { width: 42px; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.header-actions { display: flex; gap: 17px; font-size: 21px; align-items: center; }
.header-actions a { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 32px; color: #202235; }
.cart-action small { position: absolute; top: -2px; right: -5px; background: var(--nx-purple); color: #fff; border-radius: 20px; min-width: 16px; height: 16px; display: grid; place-items: center; font-size: 9px; }
.mobile-toggle { display: none; border: 0; background: transparent; font-size: 24px; cursor: pointer; }
.nx-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.header-actions .cart-action .nx-icon, .header-actions a .nx-icon { width: 23px; height: 23px; }
.header-search button, .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }

/* Hero */
.nx-hero { background: radial-gradient(circle at 78% 40%,#6330a2 0,transparent 34%), linear-gradient(110deg,#151627,#242037 54%,#151626); color: #fff; overflow: hidden; position: relative; }
.nx-hero:before { content:''; position:absolute; inset:auto 0 0; height:80px; background:linear-gradient(0deg,#7a35e5aa,transparent); pointer-events:none; }
.nx-hero-inner { min-height: 470px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 20px; position: relative; padding: 54px 0; }
.nx-hero-copy { position: relative; z-index: 2; max-width: 680px; }
.nx-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #c99cff; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nx-eyebrow:before { content:''; width:20px; height:2px; background:#a458ff; }
.nx-hero h1 { font-size: clamp(38px,4.4vw,63px); line-height: 1.08; letter-spacing: -.055em; margin: 20px 0 18px; max-width: 680px; }
.nx-hero h1 strong { color: #b478ff; }
.nx-hero-copy > p { color: #d8d7e2; line-height: 1.75; font-size: 16px; max-width: 545px; }
.nx-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.nx-hero-image { height: 390px; position: relative; display: grid; place-items: center; }
.nx-hero-image:before { content:''; position:absolute; width:390px; height:290px; border-radius:50%; background:#883dff55; filter:blur(75px); }
.nx-hero-image img { position: relative; width: min(490px,100%); max-height: 400px; object-fit: contain; filter: drop-shadow(0 28px 34px #0009); }
.nx-hero-caption { position: absolute; bottom: 22px; right: 8%; background: #171728d9; border: 1px solid #ffffff2b; border-radius: 14px; padding: 12px 17px; backdrop-filter: blur(12px); font-size: 11px; }
.nx-hero-caption b { display: block; color: #fff; font-size: 13px; margin-bottom: 3px; }
.nx-hero-caption span { color: #c2bfd0; }

/* Trust */
.nx-trust { background: #fff; border-bottom: 1px solid var(--nx-line); }
.nx-trust-inner { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; padding: 22px 0; }
.nx-trust-item { display: flex; align-items: center; gap: 11px; padding: 8px; }
.nx-trust-icon { width: 39px; height: 39px; border-radius: 12px; background: #f4ecff; color: #8533e9; display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.nx-trust-item b { display: block; font-size: 12px; }
.nx-trust-item small { display: block; color: var(--nx-muted); font-size: 10px; margin-top: 3px; }

/* Sections */
.nx-section { padding: 54px 0; }
.nx-section.soft { background: #faf9fc; }
.nx-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.nx-section-head h2 { font-size: 28px; letter-spacing: -.04em; margin: 0; }
.nx-section-head p { font-size: 12px; color: var(--nx-muted); margin: 8px 0 0; }
.nx-link { color: #7e31e8; font-size: 12px; font-weight: 800; }

/* Categories */
.nx-category-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; }
.nx-category { position: relative; border: 1px solid var(--nx-line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px #11101a06; }
.nx-category:hover { transform: translateY(-4px); box-shadow: var(--nx-shadow); }
.nx-category img { width: 100%; height: 156px; object-fit: cover; object-position: center; display: block; background: linear-gradient(135deg,#f1ebf8,#fbfaff); }
.nx-category-foot { padding: 15px 16px; display: flex; justify-content: space-between; align-items: center; }
.nx-category-foot b { font-size: 13px; }
.nx-category-foot span { color: var(--nx-purple); font-size: 18px; }

/* Product grid & cards */
.product-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 17px; }
.product-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
.product-card { border: 1px solid #e9e8f0; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 18px #11101a05; position: relative; transition: .22s; background: #fff; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--nx-shadow); }
.product-image { height: 225px; background: #f6f6f8; display: grid; place-items: center; position: relative; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-image .pill { position: absolute; left: 12px; top: 12px; z-index: 1; }
.pill { background: #8034e9; color: #fff; border-radius: 6px; font-size: 10px; padding: 6px 8px; font-weight: 700; }
.pill.green { background: var(--green); }
.pill.blue { background: #2b6ee9; }
.pill.orange { background: #e07b00; }
.heart { position: absolute; right: 12px; top: 12px; font-size: 18px; color: #171626; border: 1px solid #e5e4ec; background: #ffffffed; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; z-index: 2; }
.heart.is-active { color: #8b35ef; background: #f3e9ff; }
.product-info { padding: 15px; display: flex; flex-direction: column; flex: 1; }
.product-title { font-size: 13px; line-height: 1.45; min-height: 37px; font-weight: 700; display: block; }
.product-meta-line { display: flex; justify-content: space-between; color: var(--nx-muted); font-size: 10px; margin: 10px 0; }
.stock-label { font-size: 10px; color: var(--green); }
.price-row { display: flex; align-items: center; gap: 8px; margin: 13px 0; flex-wrap: wrap; }
.price-row strong { font-size: 17px; }
.price-row del { font-size: 10px; color: #a5a6ae; }
.price-row em { font-style: normal; font-size: 10px; padding: 4px 6px; background: #f1e4ff; color: #7c31e5; border-radius: 6px; }
.product-info .btn { margin-top: auto; padding: 12px; border-radius: 9px; }
.product-type-tag { font-size: 9px; color: var(--nx-muted); text-transform: uppercase; letter-spacing: .05em; }
.rating { display: flex; align-items: center; gap: 7px; }
.rating span { color: #f0a322; letter-spacing: 1px; }
.rating small { font-size: 10px; color: #8b8b98; }

/* Promo */
.nx-promo-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 17px; }
.nx-promo { min-height: 265px; border-radius: 19px; overflow: hidden; position: relative; padding: 32px; display: flex; align-items: center; color: #fff; background: radial-gradient(circle at 78% 45%,#7130a1,transparent 42%), linear-gradient(110deg,#171728,#281b42); }
.nx-promo:after { content:'N'; font:800 260px Manrope; position:absolute; right:12px; top:-48px; color:#ffffff0b; }
.nx-promo h2 { font-size: 29px; line-height: 1.12; max-width: 410px; margin: 14px 0; }
.nx-promo p { color: #d7d2e1; font-size: 12px; }
.nx-promo .btn { margin-top: 12px; }
.nx-promo-image { position: absolute; right: 4%; bottom: -6px; width: 40%; height: 90%; object-fit: contain; filter: drop-shadow(0 20px 30px #0008); }
.nx-promo.light { background: linear-gradient(145deg,#f2e9ff,#f9f6ff); color: #1b1a28; }
.nx-promo.light p { color: #767083; }
.nx-promo.light:after { color: #7f32e90a; }

/* Values & steps */
.nx-value-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.nx-value { border: 1px solid var(--nx-line); border-radius: 14px; padding: 20px; background: #fff; }
.nx-value-icon { color: var(--nx-purple); font-size: 23px; }
.nx-value b { display: block; font-size: 13px; margin: 10px 0 5px; }
.nx-value p { font-size: 11px; color: var(--nx-muted); line-height: 1.6; margin: 0; }
.nx-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.nx-step { border: 1px solid var(--nx-line); border-radius: 15px; padding: 22px; background: #fff; display: flex; gap: 14px; }
.nx-step-no { width: 35px; height: 35px; flex-shrink: 0; display: grid; place-items: center; border-radius: 11px; background: #f0e5ff; color: #7f31e7; font-weight: 900; }
.nx-step h3 { margin: 2px 0 7px; font-size: 14px; }
.nx-step p { margin: 0; color: var(--nx-muted); font-size: 11px; line-height: 1.7; }
.nx-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nx-faq-grid details { background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; padding: 16px; }
.nx-faq-grid summary { font-weight: 800; font-size: 12px; cursor: pointer; }
.nx-faq-grid p { font-size: 11px; line-height: 1.7; color: var(--nx-muted); margin-bottom: 0; }

/* Newsletter */
.newsletter { background: linear-gradient(110deg,#f1e8ff,#faf7ff); border: 1px solid #eee2ff; border-radius: 17px; padding: 24px 28px; margin: 45px auto 55px; gap: 20px; display: flex; align-items: center; flex-wrap: wrap; }
.newsletter-icon { background: #fff; color: #8c35ef; border-radius: 14px; width: 50px; height: 50px; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.newsletter h2 { font-size: 18px; margin: 0 0 4px; }
.newsletter p { font-size: 11px; color: var(--nx-muted); margin: 0; }
.newsletter form { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; width: 42%; }
.newsletter form input[type=email] { flex: 1; min-width: 0; border: 1px solid #e2deec; border-radius: 10px; padding: 13px 15px; }
.newsletter-consent { font-size: 10px; color: var(--nx-muted); flex-basis: 100%; display: flex; gap: 6px; align-items: center; }

/* Footer */
.site-footer { background: #141525; color: #f8f7ff; padding-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 35px; padding: 48px 0 35px; }
.brand.light { color: #fff; font-size: 22px; }
.footer-grid p { color: #c1bfd0; line-height: 1.7; font-size: 12px; max-width: 270px; }
.footer-grid h4 { font-size: 12px; letter-spacing: .04em; margin: 5px 0 15px; }
.footer-grid > div > a:not(.brand) { display: block; color: #c6c4d2; font-size: 11px; margin: 10px 0; }
.footer-grid > div > a:not(.brand):hover { color: #fff; }
.socials { display: flex; gap: 14px; font-weight: 800; font-size: 17px; }
.footer-assurance { color: #a7a5b7; font-size: 10px; display: block; margin-top: 15px; }
.payment-logos { display: flex; gap: 5px; flex-wrap: wrap; }
.payment-logos span { padding: 6px 8px; border-radius: 5px; background: #fff; color: #222; font-size: 10px; font-weight: 900; }
.footer-payments p { color: #a8a5b5; font-size: 9px; line-height: 1.5; }
.footer-delivery { font-size: 11px; background: #ffffff12; padding: 9px 12px; border-radius: 8px; display: inline-block; margin-top: 12px; }
.footer-contact { display: block; color: #c58cff; margin-top: 15px; font-size: 11px; font-weight: 700; }
.footer-bottom { border-top: 1px solid #292a3b; color: #b7b5c4; font-size: 10px; padding: 15px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #c7a3ff; }

/* Page wrap */
.page-wrap { padding-top: 38px; padding-bottom: 72px; min-height: 55vh; }
.breadcrumb { font-size: 11px; color: #999; margin-bottom: 25px; }
.breadcrumb a { color: var(--nx-purple); }
.page-wrap > h1 { font-size: 34px; letter-spacing: -.04em; }
.page-intro { color: var(--nx-muted); font-size: 13px; margin-bottom: 25px; }

/* Catalog */
.catalog-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 30px; }
.filters { border: 0; background: #faf9fc; border-radius: 16px; padding: 22px; height: max-content; }
.filters h3 { margin: 0 0 13px; font-size: 14px; }
.filters a { display: block; color: #666b7b; padding: 8px 0; font-size: 12px; }
.filters a:hover, .filters a.active { color: var(--nx-purple); }
.filters hr { border: 0; border-top: 1px solid var(--nx-line); margin: 14px 0; }
.catalog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.catalog-head h1 { font-size: 29px; margin: 0 0 4px; }
.catalog-head small { color: var(--nx-muted); }
.catalog-head select { padding: 9px; border: 1px solid var(--nx-line); border-radius: 8px; background: #fff; }
.catalog-products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.empty-state { text-align: center; border: 1px dashed #d8d5e1; border-radius: 16px; padding: 55px 20px; grid-column: 1/-1; }
.empty-icon { font-size: 44px; }
.empty-state h2 { margin: 10px; }
.empty-state p { color: var(--nx-muted); }
.pagination { display: flex; gap: 7px; justify-content: center; margin: 28px 0; flex-wrap: wrap; }
.pagination a { min-width: 34px; height: 34px; border: 1px solid var(--nx-line); border-radius: 8px; display: grid; place-items: center; font-size: 11px; padding: 0 8px; }
.pagination a.active { background: #8034e9; color: #fff; border-color: #8034e9; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; padding: 12px 0; }
.detail-image { background: #f6f6f8; border-radius: 22px; overflow: hidden; display: grid; place-items: center; min-height: 480px; }
.detail-image img { width: 90%; height: 440px; object-fit: contain; mix-blend-mode: multiply; }
.detail-copy { padding-top: 18px; }
.detail-copy h1 { font-size: 38px; letter-spacing: -.04em; margin: 12px 0; }
.detail-copy > p { line-height: 1.8; color: #666b7b; font-size: 14px; }
.detail-price { display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.detail-price strong { font-size: 32px; color: #201d2c; }
.detail-price del { color: #999; }
.stock-status { font-size: 12px; background: #edfbf3; border-radius: 30px; display: inline-block; padding: 8px 12px; color: var(--green); font-weight: 700; }
.stock-status.out { background: #fff0f0; color: var(--red); }
.detail-add { display: flex; align-items: end; gap: 12px; margin: 22px 0; }
.detail-add label { display: grid; gap: 7px; font-size: 12px; }
.detail-add input { width: 74px; padding: 12px; border: 1px solid var(--nx-line); border-radius: 8px; }
.detail-add .btn { min-width: 200px; }
.mini-benefits { border-top: 1px solid var(--nx-line); padding-top: 19px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: #6e7080; }
.detail-description { border: 1px solid var(--nx-line); padding: 25px; border-radius: 16px; margin-top: 45px; line-height: 1.8; color: #636879; }
.product-thumbnails { display: flex; gap: 9px; margin-top: 12px; flex-wrap: wrap; }
.product-thumbnails img { width: 70px; height: 66px; object-fit: contain; border: 1px solid var(--nx-line); border-radius: 9px; background: #f7f7f9; padding: 3px; mix-blend-mode: multiply; }

/* Cart */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.6fr .8fr; gap: 30px; align-items: start; }
.cart-list, .summary-card, .checkout-form { border: 1px solid var(--nx-line); border-radius: 16px; padding: 22px; background: #fff; }
.cart-item { display: grid; grid-template-columns: 85px 1fr 90px 100px 25px; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--nx-line); }
.cart-item img { width: 80px; height: 70px; object-fit: contain; background: #f5f5f7; border-radius: 8px; mix-blend-mode: multiply; }
.cart-item-name { display: grid; gap: 7px; }
.cart-item-name small { color: var(--nx-muted); }
.cart-item input { width: 60px; padding: 8px; border: 1px solid var(--nx-line); border-radius: 7px; }
.text-button { border: 0; background: transparent; font-size: 22px; color: #a2a2aa; cursor: pointer; }
.summary-card { box-shadow: var(--nx-shadow); }
.summary-card h2 { font-size: 18px; margin: 0 0 18px; }
.summary-card > div { display: flex; align-items: center; justify-content: space-between; margin: 14px 0; font-size: 13px; }
.summary-card hr { border: 0; border-top: 1px solid var(--nx-line); margin: 18px 0; }
.summary-total strong { font-size: 21px; color: var(--nx-purple); }
.summary-card > small { display: block; color: var(--nx-muted); font-size: 10px; line-height: 1.6; margin: 14px 0; }
.continue-link { display: block; text-align: center; margin-top: 14px; color: var(--nx-purple); font-size: 12px; }
.coupon-form { border-top: 1px solid var(--nx-line); margin-top: 20px; padding-top: 17px; }
.coupon-form label { display: block; font-size: 11px; font-weight: 800; margin-bottom: 7px; }
.coupon-form > div { display: flex; gap: 7px; }
.coupon-form input { flex: 1; min-width: 0; padding: 11px; border: 1px solid var(--nx-line); border-radius: 8px; }
.coupon-applied { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: #effaf3; color: #16814b; padding: 10px; border-radius: 8px; font-size: 10px; margin-top: 10px; }
.discount-row { color: #208453; }

/* Checkout */
.checkout-form h2 { font-size: 18px; }
.checkout-step { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.checkout-step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f0e3ff; color: var(--nx-purple); font-weight: 800; }
.checkout-step h2 { margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label, .contact-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 600; }
.form-grid input, .form-grid select, .form-grid textarea, .contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--nx-line); border-radius: 8px; padding: 12px; outline: 0; background: #fff; }
.form-grid input:focus, .form-grid select:focus { border-color: #9b65e8; box-shadow: 0 0 0 3px #8c39e817; }
.full-span { grid-column: 1/-1; }
.radio-line { display: flex; align-items: start; gap: 10px; padding: 13px; border: 1px solid var(--nx-line); border-radius: 9px; margin: 10px 0; cursor: pointer; }
.radio-line span { display: grid; gap: 4px; }
.radio-line small { color: var(--nx-muted); font-size: 11px; }
.check-line { display: flex; gap: 9px; font-size: 11px; line-height: 1.5; margin-top: 16px; align-items: flex-start; }
.check-line input { width: auto; }
.checkout-product { display: flex; align-items: center; gap: 10px; font-size: 11px; margin: 12px 0; }
.checkout-product img { width: 54px; height: 48px; object-fit: contain; }
.checkout-product span { flex: 1; }

/* Alerts */
.alert { padding: 13px 16px; border-radius: 9px; background: #f8f2ff; color: #7036a8; margin: 15px 0; font-size: 12px; }
.alert.error { background: #fff0f0; color: #b52b39; }
.alert.success { background: #eefaf2; color: #187c49; }

/* Success */
.success-card { max-width: 700px; margin: 50px auto; text-align: center; padding: 55px 30px; border: 1px solid var(--nx-line); border-radius: 18px; box-shadow: var(--nx-shadow); }
.success-icon { width: 64px; height: 64px; background: #e8f9ef; border-radius: 50%; display: grid; place-items: center; color: #1c9c5a; font-size: 34px; margin: auto; }
.success-card h1 { font-size: 30px; }
.success-card p { color: var(--nx-muted); }

/* Content page */
.content-page { max-width: 900px; margin: auto; line-height: 1.8; }
.content-page h1 { font-size: 34px; letter-spacing: -.04em; }
.content-page h2 { margin-top: 28px; }
.cms-content { white-space: pre-line; line-height: 1.85; color: #5e6170; font-size: 14px; }
.contact-form { max-width: 550px; display: grid; gap: 14px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.blog-card { border: 1px solid var(--nx-line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px #10102007; }
.blog-card > a { display: block; color: inherit; }
.blog-card img { width: 100%; height: 210px; object-fit: cover; background: #f5f5f7; }
.blog-card > a > div { padding: 18px; }
.blog-card small { color: #8035e8; font-size: 10px; font-weight: 800; }
.blog-card h2 { font-size: 16px; line-height: 1.35; margin: 10px 0; }
.blog-card p { font-size: 11px; line-height: 1.65; color: var(--nx-muted); }
.blog-card b { font-size: 11px; color: #8035e8; }
.article-cover { width: 100%; max-height: 380px; object-fit: cover; border-radius: 18px; margin-bottom: 25px; }
.article-body { line-height: 1.85; color: #5e6170; font-size: 15px; max-width: 780px; }

/* Account */
.account-card { max-width: 510px; margin: 20px auto; padding: 30px; border: 1px solid var(--nx-line); border-radius: 18px; box-shadow: var(--nx-shadow); background: #fff; }
.account-card h1 { font-size: 25px; }
.account-card > p { font-size: 11px; color: var(--nx-muted); }
.account-card form { display: grid; gap: 12px; }
.account-card label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.account-card input { padding: 12px; border: 1px solid var(--nx-line); border-radius: 8px; }
.account-switch { display: flex; gap: 8px; margin-bottom: 20px; background: #f6f5f9; padding: 5px; border-radius: 10px; }
.account-switch a { flex: 1; text-align: center; padding: 9px; border-radius: 7px; font-size: 11px; font-weight: 800; }
.account-switch a.active { background: #fff; color: #8034e9; box-shadow: 0 2px 7px #17152c12; }
.account-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 18px; align-items: start; }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-size: 11px; color: var(--nx-muted); text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid var(--nx-line); }
.table td { padding: 12px; border-bottom: 1px solid var(--nx-line); }
.table tr:hover td { background: #faf9fc; }
.manager-panel { border: 1px solid var(--nx-line); border-radius: 16px; padding: 22px; background: #fff; }
.manager-panel h2 { font-size: 18px; margin-top: 0; }

/* Tracking */
.tracking-result { padding: 20px; border-radius: 14px; background: #f8f5ff; border: 1px solid #eadcff; margin-top: 25px; }
.tracking-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 20px; }
.tracking-step { font-size: 11px; padding: 13px; border-radius: 10px; background: #fff; border: 1px solid var(--nx-line); }
.tracking-step.active { border-color: #a56be9; background: #f6edff; }

/* Toast */
.store-toast { position: fixed; z-index: 120; right: 22px; bottom: 22px; padding: 12px 17px; background: #171728; color: #fff; border: 1px solid #ffffff1c; border-radius: 10px; box-shadow: 0 12px 32px #0003; font-size: 11px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .22s; }
.store-toast.show { opacity: 1; transform: translateY(0); }

/* Status pills */
.status-pill { display: inline-block; padding: 4px 9px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.status-pill.new { background: #f0e3ff; color: #7036a8; }
.status-pill.paid { background: #eefaf2; color: #187c49; }
.status-pill.processing { background: #e8f1ff; color: #2b6ee9; }
.status-pill.shipped { background: #fff4e6; color: #c46a00; }
.status-pill.delivered { background: #e8f9ef; color: #138b57; }
.status-pill.cancelled, .status-pill.refunded { background: #fff0f0; color: #b52b39; }

@media (min-width: 761px) { .site-header .mobile-toggle { display: none !important; } }

@media (max-width: 1120px) {
  .main-nav { gap: 14px; } .header-inner { gap: 16px; } .header-search { width: 190px; }
  .nx-category-grid { grid-template-columns: repeat(3,1fr); } .catalog-products { grid-template-columns: repeat(3,1fr); }
  .nx-trust-inner { grid-template-columns: repeat(3,1fr); }
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 30px,600px); }
  .topbar-inner { gap: 8px; } .topbar-inner > span:nth-child(2), .topbar-inner > span:nth-child(3), .topbar-inner > span:nth-child(4) { display: none; }
  .header-inner { height: auto; min-height: 66px; padding: 10px 0; gap: 10px; flex-wrap: wrap; }
  .brand { font-size: 20px; margin-right: auto; order: 1; } .header-actions { order: 2; gap: 12px; font-size: 18px; } .mobile-toggle { order: 3; display: inline-flex; }
  .brand-mark { width: 32px; height: 32px; }
  .main-nav { display: none; order: 5; position: absolute; top: 116px; left: 0; right: 0; background: #fff; box-shadow: var(--nx-shadow); padding: 10px 20px; align-items: stretch; flex-direction: column; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-dropdown > a { padding: 12px 4px; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; padding-left: 15px; }
  .header-search { order: 4; width: 100%; display: flex; }
  .nx-hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 42px 0 26px; }
  .nx-hero h1 { font-size: 38px; max-width: 520px; }
  .nx-hero-copy > p { font-size: 13px; }
  .nx-hero-image { height: 245px; grid-row: 1; } .nx-hero-image img { height: 240px; width: min(360px,100%); }
  .nx-hero-caption { bottom: 0; right: 4%; font-size: 9px; }
  .nx-trust-inner { grid-template-columns: 1fr 1fr; padding: 13px 0; }
  .nx-trust-item b { font-size: 10px; } .nx-trust-item small { font-size: 9px; }
  .nx-section { padding: 37px 0; } .nx-section-head h2 { font-size: 23px; }
  .nx-category-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .nx-category img { height: 105px; } .nx-category-foot { padding: 11px; } .nx-category-foot b { font-size: 11px; }
  .product-grid, .catalog-products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .product-image { height: 155px; } .product-info { padding: 10px; } .product-title { font-size: 11px; }
  .price-row strong { font-size: 14px; } .price-row em { display: none; }
  .nx-promo-grid { grid-template-columns: 1fr; } .nx-promo { min-height: 220px; padding: 22px; } .nx-promo h2 { font-size: 25px; max-width: 270px; }
  .nx-promo-image { width: 43%; height: 82%; right: 0; }
  .nx-value-grid { grid-template-columns: 1fr 1fr; gap: 9px; } .nx-value { padding: 14px; } .nx-value p { font-size: 10px; }
  .nx-steps { grid-template-columns: 1fr; gap: 9px; }
  .nx-faq-grid { grid-template-columns: 1fr; }
  .page-wrap { padding-top: 25px; } .page-wrap > h1 { font-size: 27px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px; } .filters h3 { width: 100%; margin: 0; } .filters a { padding: 6px 9px; background: #fff; border-radius: 7px; }
  .catalog-head h1 { font-size: 22px; }
  .product-detail { grid-template-columns: 1fr; gap: 20px; }
  .detail-image { min-height: 300px; } .detail-image img { height: 290px; } .detail-copy h1 { font-size: 29px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 60px 1fr 50px; gap: 8px; } .cart-item img { width: 60px; height: 55px; }
  .form-grid { grid-template-columns: 1fr; } .full-span { grid-column: auto; }
  .tracking-steps { grid-template-columns: 1fr 1fr; }
  .newsletter { margin: 30px auto; padding: 17px; gap: 12px; } .newsletter form { width: 100%; margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; } .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1/-1; }
  .blog-grid { grid-template-columns: 1fr; } .blog-card img { height: 185px; }
  .account-layout { grid-template-columns: 1fr; }
}
