/* ==========================================================================
   Nortex — style.css
   Marketplace (Amazon-inspired) layout: dark navigation, dense product grid,
   yellow primary CTA. Distinct from FPV Strike palette.
   ========================================================================== */

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

:root {
  --color-bg: #eaeded;
  --color-surface: #ffffff;
  --color-surface-2: #f4f5f5;
  --color-border: #d5d9d9;
  --color-text: #0f1111;
  --color-muted: #565959;
  --color-accent: #007185;
  --color-accent-hover: #004e59;
  --color-accent-light: rgba(0,113,133,0.08);
  --color-price: #b12704;
  --color-cta: #ffd814;
  --color-cta-hover: #f7ca00;
  --color-cta-text: #0f1111;
  --color-cta-light: rgba(255,216,20,0.18);
  --color-danger: #d0021b;
  --color-success: #007600;
  --radius: 4px;
  --radius-lg: 8px;
  --font-head: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-card: 0 2px 5px rgba(15,17,17,0.15);
  --header-h: 72px;
  --nav-h: 40px;
  --color-nav-dark: #131921;
  --color-nav-dark-2: #232f3e;
  --color-nav-dark-3: #37475a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body > main, body > .layout { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; margin: 0 0 12px; color: var(--color-text); }
p { margin: 0 0 12px; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: var(--radius-lg); border: 1px solid transparent; font-weight: 600; font-size: 14px; transition: background .15s, box-shadow .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--color-surface); color: var(--color-text); border-color: #a6a6a6; box-shadow: 0 2px 5px rgba(213,217,217,.5); }
.btn-primary:hover { background: #f7fafa; }
.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-cart, .btn-cta { background: var(--color-cta); color: var(--color-cta-text); border-color: #fcd200; }
.btn-cart:hover, .btn-cta:hover { background: var(--color-cta-hover); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 100; }
.header-top { background: var(--color-nav-dark); }
.header-inner { display: flex; align-items: center; justify-content: center; gap: 28px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 52px; width: auto; display: block; object-fit: contain; }
.footer-logo-img { height: 56px; width: auto; display: block; object-fit: contain; }
.header-search { flex: 1; max-width: 640px; display: flex; align-items: center; background: #ffffff; border-radius: var(--radius); overflow: hidden; height: 40px; margin: 0 auto; }
.header-search input { flex: 1; border: none; background: transparent; padding: 0 12px; color: var(--color-text); outline: none; font-size: 14px; height: 100%; }
.header-search input::placeholder { color: var(--color-muted); }
.search-btn { background: #febd69; border: none; color: #0f1111; padding: 0 14px; height: 100%; display: flex; align-items: center; }
.search-btn:hover { background: #f3a847; }
.header-sub { background: var(--color-nav-dark-2); }
.header-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 22px; min-height: var(--nav-h); }
.header-nav a { font-size: 13px; font-weight: 500; color: #ffffff; white-space: nowrap; opacity: .92; }
.header-nav a:hover { opacity: 1; text-decoration: underline; }
.nav-dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 0; min-width: 260px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 8px 24px rgba(16,24,40,0.25); padding: 6px; z-index: 150; }
.nav-dropdown::before { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 260px; height: 12px; }
.nav-dropdown:hover .nav-dropdown-menu { display: flex; flex-direction: column; }
.nav-dropdown-menu a { display: block; padding: 10px 12px; font-size: 13px; color: var(--color-text); opacity: 1; border-radius: var(--radius); white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--color-accent-light); color: var(--color-accent); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switcher { display: flex; border: 1px solid #3a4553; border-radius: var(--radius); overflow: hidden; }
.lang-switcher button { background: transparent; border: none; color: #ffffff; padding: 7px 10px; font-size: 12px; font-weight: 700; opacity: .8; }
.lang-switcher button.active { background: var(--color-nav-dark-3); opacity: 1; }
.cart-open-btn { position: relative; background: transparent; border: none; color: #ffffff; padding: 8px; display: flex; align-items: center; }
.cart-open-btn:hover { opacity: .85; }
.cart-badge { position: absolute; top: -6px; right: -6px; background: var(--color-price); color: #ffffff; font-size: 11px; font-weight: 800; min-width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.cart-badge.hidden { display: none; }

/* ---------------- Hero banners ---------------- */
.hero-banners { display: flex; flex-wrap: wrap; gap: 16px; padding: 24px 0; }
.hero-banner { position: relative; flex: 1 1 300px; aspect-ratio: 16/9; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); transition: box-shadow .15s, border-color .15s; }
.hero-banner:hover { border-color: var(--color-accent); box-shadow: var(--shadow-card); }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------- Section headings ---------------- */
.section { padding: 40px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 24px; }
.section-title { font-size: 24px; margin: 0; }
.section-link { font-size: 13px; font-weight: 600; color: var(--color-accent); }

/* ---------------- Product grid & card ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.product-card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.product-card:hover { border-color: #a6a6a6; box-shadow: var(--shadow-card); }
.product-card-link { display: block; color: inherit; }
.product-img-wrap, .thumb-wrap { position: relative; width: 100%; aspect-ratio: 1/1; background: var(--color-surface); overflow: hidden; flex-shrink: 0; }
.product-card img, .thumb-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px; box-sizing: border-box; }
.no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--color-muted); font-size: 12px; background: var(--color-surface-2); }
.badge-out { position: absolute; top: 8px; left: 8px; background: var(--color-danger); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 3px; text-transform: uppercase; }
.product-card.out-of-stock { background: var(--color-surface-2); }
.product-card.out-of-stock .product-img-wrap img { filter: grayscale(1); opacity: .55; }
.product-card.out-of-stock .product-name,
.product-card.out-of-stock .product-price { color: var(--color-muted); }
.product-body { padding: 0 12px 4px; flex: 1; }
.product-brand { font-size: 11px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.product-name { font-size: 13px; font-weight: 400; line-height: 1.35; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--color-text); }
.product-card .desc { font-size: 12px; color: var(--color-muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.product-price { font-size: 19px; font-weight: 700; color: var(--color-price); }
.product-footer { padding: 0 12px 12px; }
.product-footer button { width: 100%; padding: 8px; border-radius: var(--radius-lg); border: 1px solid #fcd200; background: var(--color-cta); color: var(--color-cta-text); font-weight: 600; font-size: 13px; }
.product-footer button:hover { background: var(--color-cta-hover); }
.product-footer button:disabled { background: var(--color-surface-2); border-color: var(--color-border); color: var(--color-muted); cursor: not-allowed; }

/* ---------------- Category tiles ---------------- */
.category-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.category-grid .category-tile { flex: 1 1 220px; max-width: 260px; }
.category-tile { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 84px; padding: 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 15px; font-weight: 700; color: var(--color-text); box-shadow: var(--shadow-card); transition: box-shadow .15s; }
.category-tile:hover { box-shadow: 0 4px 10px rgba(15,17,17,.2); }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: var(--color-surface); }
.faq-q { padding: 15px 18px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 20px; color: var(--color-accent); }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { padding: 0 18px; max-height: 0; overflow: hidden; color: var(--color-muted); transition: max-height .2s, padding .2s; }
.faq-item.open .faq-a { padding: 0 18px 16px; max-height: 400px; }

/* ---------------- Reviews ---------------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 18px; }
.review-stars { color: var(--color-cta); font-size: 14px; margin-bottom: 8px; }
.review-name { font-weight: 700; margin-top: 10px; }
.review-role { font-size: 12px; color: var(--color-muted); }

/* ---------------- Advantages ---------------- */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.advantage-card { padding: 22px 20px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); text-align: center; }
.advantage-icon { width: 42px; height: 42px; border-radius: var(--radius); background: var(--color-accent-light); color: var(--color-accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.advantage-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.advantage-text { font-size: 13px; color: var(--color-muted); margin: 0; }

/* ---------------- About teaser ---------------- */
.about-teaser { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.about-teaser-text { flex: 1 1 400px; }

/* ---------------- Footer ---------------- */
.site-footer { margin-top: auto; background: #060c17; color: #93a2bd; padding: 44px 0 20px; }
.footer-brand { margin-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; font-size: 13px; color: #93a2bd; margin-bottom: 10px; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid #1b2a42; padding-top: 18px; font-size: 12px; color: #6b7a94; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------------- Catalog layout ---------------- */
.catalog-layout { display: flex; gap: 28px; align-items: flex-start; padding: 28px 0 60px; }
.catalog-sidebar { width: 260px; flex-shrink: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.catalog-main { flex: 1; min-width: 0; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.catalog-title { font-size: 22px; margin: 0; }
.catalog-count { font-size: 13px; color: var(--color-muted); }
.sort-select { padding: 9px 12px; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-surface-2); color: var(--color-text); font-size: 13px; }

.filter-block { border-bottom: 1px solid var(--color-border); padding-bottom: 16px; margin-bottom: 16px; }
.filter-block:last-child { border-bottom: none; }
.filter-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-text); margin-bottom: 10px; }
.filter-group-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-accent); margin: 14px 0 6px; }
.filter-group-title:first-child { margin-top: 0; }
.filter-check { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: var(--color-muted); }
.filter-check input { accent-color: var(--color-accent); }
.filter-check label { cursor: pointer; }
.filter-count { margin-left: auto; color: var(--color-muted); font-size: 12px; }
.filter-price-row { display: flex; gap: 8px; }
.filter-price-row input { width: 100%; padding: 8px 10px; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-surface-2); color: var(--color-text); font-size: 13px; }
.filter-scroll { max-height: 260px; overflow-y: auto; padding-right: 4px; }

.no-results { text-align: center; padding: 60px 20px; color: var(--color-muted); }

/* ---------------- Pagination ---------------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination button { min-width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); font-size: 13px; }
.pagination button.active { background: var(--color-accent); border-color: var(--color-accent); color: #ffffff; font-weight: 700; }
.pagination button:hover:not(.active) { border-color: var(--color-accent); color: var(--color-accent); }
.pagination-nav { font-weight: 700; }

/* ---------------- Product page ---------------- */
.product-page { padding: 24px 0 60px; }
.breadcrumbs { font-size: 12px; color: var(--color-muted); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--color-accent); }
.product-top { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.product-gallery { flex: 1 1 380px; max-width: 460px; }
.gallery-main { aspect-ratio: 1/1; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb { width: 64px; height: 64px; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-surface); overflow: hidden; cursor: pointer; }
.gallery-thumb.active { border-color: var(--color-accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info { flex: 1 1 380px; }
.product-title { font-size: 24px; margin-bottom: 10px; }
.product-meta-row { display: flex; gap: 16px; font-size: 13px; color: var(--color-muted); margin-bottom: 16px; flex-wrap: wrap; }
.product-meta-row a { color: var(--color-accent); }
.product-price-block { font-size: 30px; font-weight: 700; color: var(--color-price); margin-bottom: 6px; }
.stock-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.stock-badge.in { color: var(--color-success); }
.stock-badge.out { color: var(--color-danger); }
.stock-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.product-actions .btn { flex: 1 1 180px; }

/* dp-tabs (РґРѕСЃС‚Р°РІРєР°/РѕРїР»Р°С‚Р°) */
.dp-tabs { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; margin: 20px 0; background: var(--color-surface); }
.dp-tab-btns { display: flex; border-bottom: 1px solid var(--color-border); }
.dp-tab-btn { flex: 1; padding: 11px 14px; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); display: flex; align-items: center; justify-content: center; gap: 7px; }
.dp-tab-btn.active { color: var(--color-accent); border-bottom-color: var(--color-accent); background: var(--color-accent-light); }
.dp-tab-panel { display: none; padding: 16px; font-size: 13px; color: var(--color-muted); }
.dp-tab-panel.active { display: block; }
.dp-tab-panel a { color: var(--color-accent); font-weight: 600; }

.bank-requisites { background: var(--color-surface-2); border: 1px solid var(--color-accent); border-radius: var(--radius); padding: 14px 16px; margin-top: 12px; }
.bank-requisites-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--color-accent); margin-bottom: 8px; font-weight: 700; }
.bank-requisites-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bank-requisites-table td { padding: 5px 0; border-bottom: 1px solid var(--color-border); }
.bank-requisites-table td:first-child { color: var(--color-muted); width: 38%; }
.bank-requisites-table td:last-child { font-weight: 600; color: var(--color-text); word-break: break-all; }

/* product description / characteristics */
.product-section { margin-bottom: 34px; }
.product-section-title { font-size: 18px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border); }
.specs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.specs-table tr:nth-child(odd) { background: var(--color-surface); }
.specs-table td { padding: 10px 14px; border: 1px solid var(--color-border); }
.specs-table td:first-child { color: var(--color-muted); width: 40%; }
.specs-table td:last-child { font-weight: 600; }

/* product description dark theme (prom.ua html blocks) */
.product-desc-content { font-size: 14px; color: var(--color-muted); }
.product-desc-content .dp-wrap { background: transparent; }
.product-desc-content .dp-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.product-desc-content h2, .product-desc-content h3 { color: var(--color-text); }
.product-desc-content p, .product-desc-content li { color: var(--color-muted); line-height: 1.6; }
.product-desc-content strong, .product-desc-content b { color: var(--color-text); }
.product-desc-content ul, .product-desc-content ol { padding-left: 20px; margin-bottom: 12px; }
.product-desc-content table { border-collapse: collapse; width: 100%; margin-bottom: 14px; }
.product-desc-content table th { background: var(--color-surface-2); color: var(--color-text); padding: 9px 12px; text-align: left; border: 1px solid var(--color-border); }
.product-desc-content table td { border: 1px solid var(--color-border); color: var(--color-muted); padding: 8px 12px; }
.product-desc-content img { border-radius: var(--radius); margin: 10px 0; }
.product-desc-content a { color: var(--color-accent); }

/* ---------------- Static pages ---------------- */
.page-header { padding: 34px 0 10px; text-align: center; }
.page-title { font-size: 28px; }
.static-content { max-width: 860px; padding: 10px 0 60px; }
.static-content h2 { font-size: 19px; margin-top: 28px; }
.static-content p, .static-content li { color: var(--color-muted); line-height: 1.7; }
.static-content ul { padding-left: 20px; }
.static-content ul li { list-style: disc; margin-bottom: 6px; }

/* ---------------- Cart drawer ---------------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(16,24,40,.5); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .2s; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: relative; width: 460px; max-width: 100%; max-height: min(720px, 90vh); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); z-index: 201; display: flex; flex-direction: column; transform: scale(.96); opacity: 0; transition: transform .2s, opacity .2s; box-shadow: 0 24px 60px rgba(16,24,40,.25); }
.cart-overlay.open .cart-drawer { transform: scale(1); opacity: 1; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--color-border); }
.cart-header h3 { margin: 0; font-size: 17px; }
.cart-close { background: transparent; border: none; color: var(--color-muted); font-size: 22px; line-height: 1; }
.cart-close:hover { color: var(--color-accent); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.cart-item img { width: 60px; height: 60px; object-fit: contain; background: var(--color-surface-2); border-radius: var(--radius); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { color: var(--color-accent); font-weight: 700; font-size: 13px; }
.qty-control { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-control button { width: 24px; height: 24px; border-radius: 4px; border: 1px solid var(--color-border); background: var(--color-surface-2); color: var(--color-text); font-size: 14px; line-height: 1; }
.qty-control span { font-size: 13px; min-width: 18px; text-align: center; }
.cart-item-remove { background: transparent; border: none; color: var(--color-muted); font-size: 12px; margin-top: 6px; text-decoration: underline; }
.cart-item-remove:hover { color: var(--color-danger); }
.cart-footer { border-top: 1px solid var(--color-border); padding: 16px 20px 20px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.cart-empty-msg { text-align: center; color: var(--color-muted); padding: 60px 20px; }

.order-form { display: flex; flex-direction: column; gap: 10px; }
.order-form label { font-size: 12px; color: var(--color-muted); margin-bottom: 4px; display: block; }
.order-form input, .order-form select { width: 100%; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-surface-2); color: var(--color-text); font-size: 13px; }
.order-form input:focus, .order-form select:focus { outline: none; border-color: var(--color-accent); }

/* ---------------- Toast ---------------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--color-surface); border: 1px solid var(--color-accent); color: var(--color-text); padding: 12px 20px; border-radius: var(--radius); font-size: 13px; font-weight: 600; z-index: 300; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 20px; }
  .catalog-layout { flex-direction: column; }
  .catalog-sidebar { width: 100%; position: static; }
}
@media (max-width: 600px) {
  .cart-overlay { padding: 0; align-items: flex-end; }
  .cart-drawer { width: 100%; max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .product-top { gap: 20px; }
  .product-actions .btn { flex: 1 1 100%; }
}

