:root {
  --ink: #17202a;
  --muted: #64707d;
  --line: #dfe5ec;
  --surface: #ffffff;
  --soft: #f6f8fb;
  --accent: #0f9f8f;
  --accent-2: #f2b705;
  --danger: #c2410c;
  --dark: #17202a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand,
.top-actions,
.metric,
.profile-card,
.row-actions,
.form-grid,
.meta-line {
  display: flex;
  align-items: center;
}

.brand { gap: 10px; font-weight: 800; font-size: 20px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: white;
  background: var(--accent);
}

.top-actions { gap: 12px; flex-wrap: wrap; font-weight: 600; color: var(--muted); }
.notification-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-bell {
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.header-bell i {
  font-size: 16px;
}
.notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--danger);
  color: white;
  font-size: 12px;
  font-weight: 800;
}
.header-bell .notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
}

.sidebar-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-dark { color: white; background: var(--dark); border-color: var(--dark); }
.btn-accent { color: white; background: var(--accent); border-color: var(--accent); }
.btn-danger { color: white; background: var(--danger); border-color: var(--danger); }
.btn-ghost { background: transparent; }
.btn-small { min-height: 34px; padding: 0 10px; font-size: 13px; }

.public-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 138px);
}

.sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
  height: calc(100vh - 72px);
  padding: 18px;
  background: #eef3f6;
  border-right: 1px solid var(--line);
  transition: transform .25s ease, opacity .25s ease;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 159, 143, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 10;
}

.sidebar-open .sidebar-overlay {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-open .sidebar {
  transform: translateX(0);
  opacity: 1;
}

.footer {
  padding: 24px clamp(16px, 4vw, 48px);
  background: #0f9f8f;
  color: white;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-branding strong { font-size: 18px; display:block; }
.footer-branding small { color: rgba(255,255,255,.85); font-size: 13px; }

.footer-nav a { display: block; color: rgba(255,255,255,.95); margin: 6px 0; font-weight: 600; }
.footer-nav a:hover { text-decoration: underline; }

.footer-meta { margin-top: 18px; color: rgba(255,255,255,.92); }

.footer-branding,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-links a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.page-title {
  margin-bottom: 24px;
}

  .page-dark-mobile-shell {
    background: transparent;
  }

  @media (max-width: 860px) {
    .page-dark-mobile-shell {
      background: #07101a;
      color: #f2f8ff;
      padding: 24px 16px 32px;
    }

    .page-dark-mobile-shell .page-title,
    .page-dark-mobile-shell .page-card,
    .page-dark-mobile-shell .accordion-toggle,
    .page-dark-mobile-shell .accordion-panel,
    .page-dark-mobile-shell .field {
      background: transparent;
      color: #f2f8ff;
    }

    .page-dark-mobile-shell .page-card {
      border-color: rgba(255,255,255,.08);
      box-shadow: none;
      padding: 20px 0 0;
      margin-bottom: 20px;
    }

    .page-dark-mobile-shell .page-title h1,
    .page-dark-mobile-shell .page-title p,
    .page-dark-mobile-shell .page-card h2,
    .page-dark-mobile-shell .page-card p,
    .page-dark-mobile-shell .page-card li,
    .page-dark-mobile-shell .page-card strong,
    .page-dark-mobile-shell .accordion-toggle,
    .page-dark-mobile-shell .accordion-panel p,
    .page-dark-mobile-shell .field label,
    .page-dark-mobile-shell .field input,
    .page-dark-mobile-shell .field textarea,
    .page-dark-mobile-shell .btn {
      color: #f2f8ff;
    }

    .page-dark-mobile-shell .page-title h1 {
      color: #ffffff;
    }

    .page-dark-mobile-shell .page-card {
      background: rgba(255,255,255,.04);
    }

    .page-dark-mobile-shell .accordion-toggle {
      background: rgba(255,255,255,.06);
      border-radius: 16px;
      margin-bottom: 10px;
    }

    .page-dark-mobile-shell .accordion-panel {
      background: rgba(255,255,255,.04);
      border-radius: 0 0 16px 16px;
      padding: 0 20px 16px;
    }

    .page-dark-mobile-shell .field {
      margin-bottom: 18px;
    }

    .page-dark-mobile-shell .field input,
    .page-dark-mobile-shell .field textarea {
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.15);
      color: #f2f8ff;
    }

    .page-dark-mobile-shell a {
      color: #8ed1ff;
    }
  }
  margin-bottom: 24px;
}

.section-card h2,
.page-card h2 {
  margin-top: 0;
}

.accordion {
  overflow: hidden;
  padding: 0;
}

.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: none;
  background: #f8fbff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
}

.accordion-toggle i {
  transition: transform .25s ease;
}

.accordion-toggle.open i {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 20px;
  background: white;
}

.accordion-panel p {
  margin: 16px 0;
  color: var(--muted);
  line-height: 1.7;
}

.table-wrap {
  overflow-x: auto;
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .sidebar-toggle {
    display: inline-flex;
  }

  .top-actions {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
  }

  .app-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sidebar {
    position: fixed;
    top: 72px;
    left: 0;
    width: min(280px, 85vw);
    height: calc(100vh - 72px);
    transform: translateX(-100%);
    opacity: 0.98;
    z-index: 20;
    box-shadow: 10px 0 40px rgba(0,0,0,.12);
    border-right: 1px solid var(--line);
  }

  .content {
    padding: 20px 16px;
  }

  .footer {
    padding: 22px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-col { align-items: flex-start; }

  .footer-branding { order: -1; }

  .hero {
    grid-template-columns: 1fr;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-shell,
  .public-shell {
    width: min(100%, calc(100% - 0px));
    margin: 0;
    padding: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-detail-shell { grid-template-columns: 1fr; }
  .product-detail-gallery,
  .product-detail-summary {
    border-radius: 28px;
  }
  .product-detail-summary .card-body {
    padding: 20px;
  }
  .product-gallery-stage {
    min-height: 360px;
  }
  .product-gallery-strip {
    gap: 10px;
  }
  .product-thumb { width: 70px; height: 70px; }
  .row-actions { flex-wrap: wrap; }
  .row-actions .btn,
  .row-actions button,
  .row-actions .badge {
    width: 100%;
  }

}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  margin: 4px 0;
  border-radius: 8px;
  color: #334155;
  font-weight: 700;
}

.sidebar a:hover { background: white; }

.profile-card {
  gap: 12px;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #263238;
  color: white;
  font-weight: 800;
}

.profile-card small { display: block; color: var(--muted); margin-top: 3px; }

.content { padding: 28px clamp(16px, 4vw, 42px); min-width: 0; }
.content > * { max-width: 100%; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
  padding: 28px;
  background: #dcefea;
  border: 1px solid #c5ded8;
  border-radius: 8px;
}

.hero h1,
.page-title h1 { margin: 0 0 10px; font-size: clamp(30px, 5vw, 58px); line-height: 1.02; }
.hero p,
.page-title p { margin: 0; color: var(--muted); line-height: 1.7; }
.hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }

.insta-topbar-shell {
  position: sticky;
  top: 86px;
  z-index: 6;
  margin-bottom: 16px;
}

.insta-utility-bar,
.insta-pathway-scroller,
.insta-filter-panel,
.insta-summary-strip,
.insta-shelf {
  border: 1px solid rgba(2, 6, 12, .08);
  background: #fff;
  box-shadow: 0 8px 24px rgba(2, 6, 12, .06);
}

.insta-utility-bar {
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(260px, 1.8fr) 56px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 20px 20px 14px 14px;
}

.insta-location-card,
.insta-searchbar,
.insta-profile-chip,
.insta-pathway-chip,
.insta-meta-card,
.insta-summary-note {
  display: flex;
  align-items: center;
}

.insta-location-card {
  gap: 12px;
  min-width: 0;
}

.insta-location-card strong {
  display: block;
  font-size: 15px;
}

.insta-location-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.insta-location-icon,
.insta-profile-chip {
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.insta-location-icon {
  background: #fff4d1;
  color: #bf7a00;
}

.insta-searchbar {
  gap: 10px;
  min-height: 52px;
  padding: 0 10px 0 16px;
  border: 1px solid #e2e2e7;
  border-radius: 16px;
  background: #f0f0f5;
}

.insta-searchbar input {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.insta-search-icon {
  color: rgba(2, 6, 12, .6);
}

.insta-profile-chip {
  background: linear-gradient(180deg, rgba(54, 57, 62, .8), #36393e);
  color: #fff;
  font-weight: 800;
}

.insta-pathway-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px 14px 20px 20px;
}

.insta-pathway-scroller::-webkit-scrollbar {
  display: none;
}

.insta-pathway-chip {
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: #f3f4f7;
  color: #4b5563;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
}

.insta-pathway-chip.is-active {
  background: var(--path-pill);
  color: var(--path-text);
}

.insta-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 16px;
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 24px;
  background: var(--masthead-bg);
  color: var(--masthead-text);
}

.insta-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.insta-masthead-copy h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .95;
  letter-spacing: -.04em;
}

.insta-masthead-copy p {
  margin: 0;
  max-width: 56ch;
  line-height: 1.7;
  color: inherit;
  opacity: .92;
}

.insta-masthead-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.insta-masthead-meta {
  display: grid;
  gap: 12px;
}

.insta-meta-card {
  gap: 10px;
  justify-content: space-between;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  color: #1f2937;
}

.insta-meta-card strong {
  display: block;
  font-size: 24px;
}

.insta-meta-card span {
  color: #5b6471;
  font-weight: 700;
}

.insta-filter-panel {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 20px;
}

.insta-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.insta-filter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.insta-promo-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.insta-promo-tile {
  padding: 18px;
  border-radius: 22px;
  background: var(--promo-bg);
  color: var(--promo-text);
  min-height: 132px;
}

.insta-promo-tile small,
.insta-promo-tile span {
  display: block;
  opacity: .88;
}

.insta-promo-tile strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.05;
}

.insta-summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
}

.insta-summary-strip strong {
  font-size: 22px;
}

.insta-summary-strip > div span,
.insta-summary-note span {
  color: var(--muted);
  font-weight: 700;
}

.insta-summary-note {
  gap: 8px;
}

.insta-shelf {
  padding: 18px;
  margin-bottom: 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .98)),
    var(--shelf-bg);
}

.insta-shelf-head {
  align-items: center;
  margin-bottom: 16px;
}

.insta-shelf-head h2 {
  margin: 8px 0 6px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

.insta-shelf-head p {
  margin: 0;
  color: var(--muted);
}

.insta-shelf-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.insta-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.insta-product-card {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(2, 6, 12, .08);
  box-shadow: 0 8px 20px rgba(2, 6, 12, .05);
}

.insta-product-card img {
  aspect-ratio: 1 / 1;
  background: #f4f5f7;
}

.insta-product-card .card-body {
  padding: 14px;
}

.insta-product-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.insta-product-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  color: var(--muted);
}

.insta-meta-line {
  font-size: 13px;
}

.insta-price {
  margin: 10px 0;
  font-size: 20px;
}

.blink-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr);
  gap: 18px;
  margin-bottom: 22px;
}

.blink-hero-main,
.blink-hero-side,
.blink-control-bar,
.blink-search-panel,
.blink-feature-card,
.blink-category-card,
.blink-mini-chip,
.blink-shelf {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(23, 32, 42, .06);
}

.blink-hero-main {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .38), transparent 28%),
    linear-gradient(135deg, #ffe141 0%, #ffd231 48%, #ffce2f 100%);
}

.blink-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(23, 32, 42, .92);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blink-hero-main h1 {
  margin: 16px 0 12px;
  max-width: 12ch;
  font-size: clamp(34px, 5vw, 60px);
  line-height: .98;
  letter-spacing: -.03em;
}

.blink-hero-main p {
  margin: 0;
  max-width: 54ch;
  color: #30404b;
  line-height: 1.72;
}

.blink-hero-actions,
.blink-hero-metrics,
.blink-shelf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blink-hero-actions {
  margin-top: 20px;
}

.blink-hero-metrics {
  margin-top: 22px;
}

.blink-metric-card {
  min-width: 140px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(23, 32, 42, .08);
}

.blink-metric-card strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.blink-metric-card span {
  display: block;
  margin-top: 6px;
  color: #53626f;
  font-size: 13px;
  font-weight: 700;
}

.blink-hero-side {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: #fffdf6;
}

.blink-promo-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(23, 32, 42, .08);
}

.blink-promo-yellow { background: linear-gradient(135deg, #fff6bf, #ffe073); }
.blink-promo-white { background: linear-gradient(135deg, #ffffff, #f5f7fb); }
.blink-promo-green { background: linear-gradient(135deg, #ddf8eb, #baf0d3); }

.blink-promo-card small,
.blink-category-copy small {
  display: block;
  color: #5d6875;
  font-weight: 700;
}

.blink-promo-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 22px;
  line-height: 1.1;
}

.blink-promo-card span {
  color: #4d5865;
  line-height: 1.65;
}

.blink-control-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 20px;
}

.blink-control-bar h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.05;
}

.blink-control-bar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.blink-search-panel {
  margin-bottom: 18px;
  padding: 18px;
  border-color: #f0e4a2;
  background: linear-gradient(180deg, #fffef6, #ffffff);
}

.blink-feature-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.blink-feature-card {
  display: flex;
  gap: 14px;
  align-items: start;
  padding: 18px;
}

.blink-feature-card i,
.blink-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.blink-feature-card i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff2b2;
  color: #1b2430;
}

.blink-feature-card strong {
  display: block;
  margin-bottom: 5px;
}

.blink-feature-card span {
  color: var(--muted);
  line-height: 1.65;
}

.blink-summary {
  padding: 0 4px;
}

.blink-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.blink-category-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border-color: var(--cat-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .97)),
    linear-gradient(135deg, var(--cat-tint), white);
}

.blink-category-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  font-size: 22px;
}

.blink-category-copy {
  min-width: 0;
}

.blink-category-copy strong {
  display: block;
  margin-bottom: 4px;
}

.blink-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(23, 32, 42, .07);
  font-size: 13px;
  font-weight: 800;
}

.blink-mini-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.blink-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
}

.blink-mini-chip small {
  color: var(--muted);
  font-weight: 700;
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 22px;
  margin-bottom: 28px;
}

.catalog-hero-copy,
.catalog-hero-panels,
.catalog-search,
.catalog-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(23, 32, 42, .06);
}

.catalog-hero-copy {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(242, 183, 5, .14), transparent 34%),
    linear-gradient(135deg, #fffdf6 0%, #eef7f4 100%);
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.catalog-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.catalog-hero-copy p {
  margin: 0;
  max-width: 58ch;
  color: #4f5c68;
  line-height: 1.75;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.catalog-hero-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(246, 248, 251, .95)),
    linear-gradient(135deg, rgba(15, 159, 143, .06), rgba(242, 183, 5, .08));
}

.hero-panel,
.section-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--panel-line, var(--chip-line, var(--line)));
  background: var(--panel-tint, var(--chip-tint, #fff));
}

.hero-panel strong,
.section-chip strong {
  display: block;
}

.hero-panel small,
.section-chip small {
  color: var(--muted);
}

.hero-panel-icon,
.section-chip-icon,
.section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hero-panel-icon,
.section-chip-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}

.page-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.card,
.table-wrap,
.form-card,
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 32, 42, .06);
}

.product-card { overflow: hidden; position: relative; }
.product-card.sold-out-card {
  border-color: #f7d6d3;
  background: rgba(253, 226, 221, .16);
}
.product-card.sold-out-card .product-card-media {
  opacity: .9;
}
.product-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #dde5ec; }
.product-card-link {
  display: block;
}
.product-card-media {
  position: relative;
  overflow: hidden;
  background: #dde5ec;
}
.product-card-image {
  display: block;
}
.gallery-mini-nav,
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  background: rgba(23, 32, 42, .78);
  color: #fff;
  border-color: transparent;
}
.gallery-mini-nav.prev,
.gallery-nav.prev { left: 12px; }
.gallery-mini-nav.next,
.gallery-nav.next { right: 12px; }
.gallery-mini-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(23, 32, 42, .72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.card-body { padding: 16px; }
.product-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.customer-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.dashboard-sidebar {
  position: sticky;
  top: 20px;
  padding: 0;
}
.sidebar-action-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.sidebar-action-link {
  display: inline-block;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.sidebar-action-link:hover {
  color: var(--primary);
}
.sidebar-permissions {
  margin-bottom: 18px;
}
.sidebar-permissions h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.sidebar-form {
  margin-top: 12px;
}
@media (max-width: 960px) {
  .dashboard-layout {
    display: block;
  }
  .dashboard-sidebar {
    position: static;
    top: auto;
  }
}
.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.card h3 { margin: 0 0 8px; }
.product-card h3 { min-height: 52px; }
.product-card h3 a { color: inherit; }
.product-card p {
  color: var(--muted);
  line-height: 1.6;
}
.price { font-size: 22px; font-weight: 800; margin: 12px 0; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e7f7f4; color: #0b766c; font-size: 12px; font-weight: 800; }
.badge-warn { background: #fff5d6; color: #7c5b00; }
.badge-dark { background: #e5e7eb; color: #1f2937; }
.badge-danger { background: #fde2dd; color: #b91c1c; }
.sold-out-notice {
  margin: 12px 0 0;
}
.sold-out-notice .badge-danger {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
}
.meta-line { gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.row-actions { gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.stack-mobile { align-items: stretch; }

.catalog-search {
  margin-bottom: 18px;
  padding: 18px;
  position: sticky;
  top: 84px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .98)),
    linear-gradient(135deg, #fffdf6, #eef7f4);
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.catalog-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}

.field-search input {
  min-height: 52px;
  padding-left: 14px;
  border-radius: 14px;
}

.catalog-search-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--muted);
}

.catalog-summary strong {
  color: var(--ink);
  font-size: 24px;
}

.section-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.catalog-with-rail {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.catalog-main {
  min-width: 0;
}

.catalog-nav-sticky,
.catalog-image-sticky {
  position: sticky;
  top: 98px;
}

.catalog-rail-title {
  margin-bottom: 14px;
}

.catalog-rail-title h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.catalog-rail-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.catalog-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(23, 32, 42, .06);
}

.catalog-nav-link.is-active {
  border-color: var(--accent);
  background: #eefbf8;
}

.catalog-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f5f9;
}

.catalog-nav-copy {
  min-width: 0;
}

.catalog-nav-copy strong,
.catalog-nav-copy small {
  display: block;
}

.catalog-nav-copy small {
  color: var(--muted);
  margin-top: 3px;
}

.catalog-rail-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(23, 32, 42, .06);
}

.catalog-rail-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(15, 159, 143, .12);
}

.catalog-rail-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: #dde5ec;
}

.catalog-rail-card strong,
.catalog-rail-card small,
.catalog-rail-card span {
  display: block;
}

.catalog-rail-card small,
.catalog-rail-card span {
  color: var(--muted);
}

.catalog-rail-card strong {
  margin-bottom: 4px;
}

.catalog-rail-card span {
  margin-top: 6px;
  font-weight: 700;
}

.category-sidebar {
  position: sticky;
  top: 98px;
}

.category-image-link {
  display: block;
  position: relative;
  margin-bottom: 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(23, 32, 42, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-image-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(23, 32, 42, .12);
}

.category-image-link.active {
  box-shadow: 0 14px 34px rgba(15, 159, 143, .12);
  border-color: var(--accent);
}

.category-image-link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.category-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 12px;
  text-align: center;
}

.category-label strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.category-label small {
  display: block;
  font-size: 12px;
  opacity: 0.9;
  margin-top: 4px;
}

.inline-gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-gallery img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.pagination {
  padding: 24px 0 4px;
  text-align: center;
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.pagination-info {
  font-weight: 500;
  color: var(--muted);
}

.catalog-section {
  padding: 22px;
  margin-bottom: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .98)),
    linear-gradient(135deg, var(--section-tint), white);
  border-color: var(--section-line);
}

.blink-shelf {
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .98)),
    linear-gradient(180deg, #fffef5, var(--section-tint));
}

.catalog-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.catalog-section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 38px);
}

.catalog-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 22px;
  align-items: start;
}

.product-detail-gallery,
.product-detail-summary,
.rider-hero-main,
.rider-hero-side,
.rider-action-card,
.rider-map-panel {
  border-radius: 22px;
}

.product-gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #eef2f5;
}

.product-gallery-stage img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-zoom-trigger {
  position: absolute;
  left: 12px;
  bottom: 12px;
}

.product-gallery-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 14px;
}

.product-thumb {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid transparent;
  background: #fff;
}

.product-thumb.is-active {
  border-color: var(--accent);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-summary .card-body {
  padding: 24px;
}

.product-detail-summary h1 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.product-detail-copy {
  color: var(--muted);
  line-height: 1.8;
}

.product-detail-price {
  font-size: 32px;
  margin: 18px 0;
}

.product-detail-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
}

.product-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.product-zoom-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 32, 42, .82);
}

.product-zoom-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  width: min(92vw, 1100px);
  height: min(88vh, 820px);
  margin: 5vh auto;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
}

.product-zoom-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.product-zoom-stage {
  display: grid;
  place-items: center;
  overflow: auto;
  border-radius: 18px;
  background: #f4f7fa;
}

.product-zoom-stage img {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  transition: transform .2s ease;
}

body.modal-open {
  overflow: hidden;
}

.rider-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 340px;
  gap: 18px;
  margin-bottom: 20px;
}

.rider-hero-main,
.rider-hero-side,
.rider-action-card,
.rider-map-panel,
.rider-panel,
.rider-table {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(23, 32, 42, .06);
}

.rider-hero-main {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .32), transparent 30%),
    linear-gradient(135deg, #ffd84d 0%, #ffcd29 42%, #ffbe0b 100%);
}

.rider-badge {
  display: inline-flex;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(23, 32, 42, .88);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  align-items: center;
}

.rider-hero-main h1 {
  margin: 16px 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .95;
}

.rider-hero-main p {
  margin: 0;
  max-width: 54ch;
  color: #3e4652;
  line-height: 1.75;
}

.rider-hero-actions,
.rider-action-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rider-hero-actions {
  margin-top: 20px;
}

.rider-hero-side {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: #fffdf6;
}

.rider-stat-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #fff7d4);
  border: 1px solid rgba(23, 32, 42, .08);
}

.rider-stat-card small,
.rider-stat-card span {
  display: block;
  color: #586472;
}

.rider-stat-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 28px;
  line-height: 1;
}

.rider-action-grid {
  margin-bottom: 20px;
}

.rider-action-card {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  padding: 20px;
}

.rider-action-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff1b5;
}

.rider-map-panel {
  padding: 18px;
  margin-bottom: 18px;
}

.tracking-progress {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.tracking-step {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 32, 42, .05);
}

.tracking-step.is-done {
  border-color: #9bd9bf;
  background: linear-gradient(135deg, #f4fff8, #ffffff);
}

.tracking-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #eef2f7;
  color: #52606d;
  flex: 0 0 auto;
}

.tracking-step.is-done .tracking-dot {
  background: #dff7ea;
  color: #0b766c;
}

.tracking-step strong,
.tracking-step small {
  display: block;
}

.tracking-step small {
  margin-top: 4px;
  color: var(--muted);
}

.section-count {
  min-width: 96px;
  height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--section-line);
  background: rgba(255, 255, 255, .86);
  color: #294050;
  font-weight: 800;
}

.blink-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.blink-product-card {
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(23, 32, 42, .05);
}

.blink-product-card .card-body {
  padding: 14px;
}

.blink-product-card .price {
  font-size: 20px;
  margin: 10px 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric {
  justify-content: space-between;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric strong { display: block; font-size: 30px; margin-top: 4px; }
.metric i { font-size: 28px; color: var(--accent); }

.auth-wrap {
  display: grid;
  place-items: center;
  min-height: 68vh;
}

.auth-card,
.form-card { width: min(720px, 100%); padding: 24px; }
.auth-card { max-width: 460px; }

.form-grid {
  align-items: start;
  gap: 16px;
  flex-wrap: wrap;
}

.field { flex: 1 1 260px; margin-bottom: 14px; }
label { display: block; margin-bottom: 7px; font-weight: 800; }
input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font: inherit;
}
textarea { min-height: 110px; resize: vertical; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th,
td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f8fafc; font-size: 13px; color: var(--muted); text-transform: uppercase; }

.flash {
  width: min(980px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  font-weight: 700;
}
.flash-success { border-color: #9bd9bf; background: #ecfdf5; }
.flash-danger { border-color: #fecaca; background: #fff1f2; }
.flash-warning { border-color: #fde68a; background: #fffbeb; }

.map {
  width: 100%;
  height: 430px;
  border-radius: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.map .leaflet-pane,
.map .leaflet-top,
.map .leaflet-bottom {
  z-index: 5;
}

.footer {
  margin-top: 24px;
  padding: 0 clamp(16px, 4vw, 48px) 24px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: white;
  border-radius: 8px;
}

.footer-branding,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-branding strong {
  color: var(--ink);
  font-size: 14px;
}

.footer-branding span,
.footer-meta span {
  font-size: 13px;
  line-height: 1.5;
}

.footer-meta {
  text-align: right;
}

@media (min-width: 861px) {
  .footer-auth {
    width: calc(100% - 260px);
    margin-left: 260px;
  }
}

@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 72px;
    left: 0;
    z-index: 40;
    width: min(300px, calc(100vw - 40px));
    height: calc(100vh - 72px);
    overflow-y: auto;
    display: block;
    transform: translateX(-100%);
    opacity: 0;
    box-shadow: 0 20px 40px rgba(23, 32, 42, .18);
  }
  body.sidebar-open .sidebar {
    transform: translateX(0);
    opacity: 1;
  }
  .sidebar-overlay {
    position: fixed;
    inset: 72px 0 0 0;
    z-index: 35;
    background: rgba(23, 32, 42, .36);
  }
  body.sidebar-open .sidebar-overlay {
    display: block;
  }
  .sidebar-toggle {
    display: inline-flex;
  }
  .profile-card { grid-column: 1 / -1; }
  .insta-topbar-shell { position: static; }
  .insta-utility-bar,
  .insta-masthead,
  .insta-filter-grid,
  .insta-promo-rail { grid-template-columns: 1fr; }
  .insta-summary-strip,
  .insta-shelf-head { flex-direction: column; align-items: start; }
  .blink-hero { grid-template-columns: 1fr; }
  .product-detail-shell,
  .rider-hero { grid-template-columns: 1fr; }
  .blink-control-bar,
  .blink-feature-rail { grid-template-columns: 1fr; }
  .catalog-with-rail { grid-template-columns: 1fr; }
  .category-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .category-image-link { margin-bottom: 0; }
  .catalog-nav-sticky,
  .catalog-image-sticky { position: static; }
  .blink-control-bar { flex-direction: column; align-items: start; }
  .blink-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .catalog-hero { grid-template-columns: 1fr; }
  .catalog-search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-section-head { flex-direction: column; align-items: start; }
  .page-title { align-items: start; flex-direction: column; }
  .content { padding: 18px 14px 24px; }
  .form-card,
  .auth-card { padding: 18px; }
  table { min-width: 680px; }
  .footer-auth {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .topbar-main { width: 100%; justify-content: space-between; }
  .product-gallery-stage {
    min-height: 300px;
  }
  .product-detail-summary h1 {
    font-size: 28px;
  }
  .product-detail-price {
    font-size: 26px;
  }
  .product-thumb { width: 56px; height: 56px; }
  .product-gallery-strip { gap: 8px; }
  .row-actions .btn,
  .row-actions button,
  .row-actions .badge {
    width: 100%;
  }
  .top-actions { width: 100%; }
  .top-actions a,
  .top-actions .btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
  .public-shell { width: min(100%, calc(100% - 20px)); margin: 16px auto; }
  .catalog-nav-link { margin-bottom: 8px; }
  .catalog-rail-card { grid-template-columns: 72px minmax(0, 1fr); }
  .insta-utility-bar,
  .insta-filter-panel,
  .insta-shelf,
  .insta-summary-strip { padding: 14px; }
  .insta-searchbar { padding-right: 8px; }
  .insta-searchbar input { font-size: 14px; }
  .insta-masthead { padding: 16px; border-radius: 20px; }
  .insta-masthead-copy h1 { font-size: 34px; }
  .insta-promo-rail { grid-template-columns: 1fr; }
  .insta-summary-strip strong { display: block; }
  .blink-hero-main,
  .blink-hero-side,
  .blink-control-bar,
  .blink-search-panel,
  .blink-feature-card,
  .blink-category-card,
  .blink-shelf { padding: 16px; }
  .hero { padding: 16px; gap: 16px; }
  .catalog-hero-copy,
  .catalog-hero-panels,
  .catalog-search,
  .catalog-section { padding: 16px; }
  .catalog-search { top: 72px; }
  .catalog-hero-panels,
  .blink-category-grid,
  .section-strip,
  .catalog-search-form { grid-template-columns: 1fr; }
  .category-sidebar { grid-template-columns: 1fr; }
  .hero h1,
  .page-title h1 { font-size: 30px; }
  .gallery-mini-nav,
  .gallery-nav {
    width: 34px;
    height: 34px;
  }
  .blink-hero-main h1 { max-width: none; font-size: 34px; }
  .grid { grid-template-columns: 1fr; }
  .catalog-summary { flex-direction: column; align-items: start; }
  .row-actions,
  .form-grid { flex-direction: column; align-items: stretch; }
  .row-actions .btn,
  .row-actions button,
  .blink-hero-actions .btn,
  .catalog-search-actions .btn,
  .stack-mobile select { width: 100%; }
  .field { flex: 1 1 100%; margin-bottom: 10px; }
  table { min-width: 560px; }
  th,
  td { padding: 10px 12px; font-size: 13px; }
  .metric { padding: 16px; }
  .metric strong { font-size: 24px; }
  .map { height: 320px; }
  .notification-link { width: 100%; justify-content: center; }
  .header-bell {
    width: 100%;
    justify-content: center;
  }
  .header-bell .notification-badge {
    right: calc(50% - 28px);
  }
  .footer {
    padding: 0 10px 16px;
  }
  .footer-inner,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* Compact footer: normal document flow prevents overlap with page content. */
.footer {
  position: relative;
  clear: both;
  margin-top: 16px;
  padding: 0 clamp(10px, 2vw, 24px) 12px;
  background: transparent;
  color: #000;
  border-top: 0;
}

.footer-auth {
  margin-top: 16px;
}

.footer-inner {
  display: block;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) repeat(3, minmax(120px, 1fr));
  gap: 10px 18px;
  align-items: start;
}

.footer-col,
.footer-branding,
.footer-meta {
  gap: 3px;
  min-width: 0;
  color: #000;
}

.footer-col h4 {
  margin: 0 0 4px;
  color: #000;
  font-size: 13px;
  line-height: 1.2;
}

.footer-branding strong {
  color: #000;
  font-size: 14px;
  line-height: 1.25;
}

.footer-branding span,
.footer-branding small,
.footer-meta span,
.footer-nav a,
.footer-links a {
  color: #000;
  font-size: 12px;
  line-height: 1.35;
}

.footer-nav a {
  display: block;
  margin: 2px 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer-meta {
  margin-top: 8px;
  text-align: left;
}

@media (min-width: 861px) {
  .footer-auth {
    width: calc(100% - 260px);
    margin-left: 260px;
  }
}

@media (max-width: 860px) {
  .footer {
    padding: 0 10px 10px;
  }

  .footer-inner {
    padding: 10px 12px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  .footer-branding {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ================= HERO V2 ================= */

.hero-v2{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:40px;
    align-items:center;
    padding:60px;
    margin-bottom:35px;
    border-radius:25px;

    background:linear-gradient(135deg,#0f9f8f,#0a6b61);
    color:#fff;

    overflow:hidden;
    position:relative;
}

.hero-v2::before{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    right:-120px;
    top:-120px;
}

.hero-left{
    position:relative;
    z-index:2;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:10px 18px;

    background:rgba(255,255,255,.15);

    border-radius:50px;

    font-weight:700;

    backdrop-filter:blur(8px);
}

.hero-left h1{

    font-size:58px;

    line-height:1.1;

    margin:25px 0 15px;

    font-weight:800;

}

.hero-left h1 span{

    color:#ffd84d;

}

.hero-left p{

    font-size:18px;

    max-width:600px;

    opacity:.92;

    line-height:1.8;

}

.hero-search{

    display:flex;

    margin-top:30px;

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.15);

}

.hero-search input{

    border:none;

    flex:1;

    padding:18px;

    font-size:16px;

    outline:none;

}

.hero-search button{

    border:none;

    width:70px;

    border-radius:0;

}

.hero-buttons{

    display:flex;

    gap:15px;

    margin-top:25px;

}

.hero-buttons .btn{

    min-width:170px;

    height:52px;

    border-radius:12px;

    font-size:16px;

}

.hero-right{

    display:grid;

    gap:20px;

    position:relative;

    z-index:2;

}

.hero-card{

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.2);

    padding:22px;

    border-radius:18px;

    transition:.3s;

}

.hero-card:hover{

    transform:translateY(-6px);

}

.hero-card i{

    font-size:30px;

    color:#ffd84d;

    margin-bottom:12px;

}

.hero-card strong{

    display:block;

    font-size:20px;

}

.hero-card small{

    opacity:.9;

}

@media(max-width:900px){

.hero-v2{

grid-template-columns:1fr;

padding:30px;

}

.hero-left h1{

font-size:38px;

}

.hero-buttons{

flex-direction:column;

}

.hero-buttons .btn{

width:100%;

}

}
/* ===== SERVICES SECTION ===== */

.services-v2{
    padding:70px 0;
}

.services-v2 h2{
    text-align:center;
    font-size:36px;
    margin-bottom:40px;
    font-weight:800;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.service-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    text-decoration:none;
    color:#222;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}

.service-card i{
    font-size:40px;
    color:#0F9F8F;
    margin-bottom:18px;
}

.service-card h3{
    margin-bottom:10px;
    font-size:24px;
}

.service-card p{
    color:#666;
    line-height:1.6;
}

/* =========================================================
   QUICK SERVICES
========================================================= */

.quick-services{
    margin:70px 0 50px;
}

.quick-services h2{
    text-align:center;
    font-size:38px;
    font-weight:800;
    color:#17202A;
    margin-bottom:35px;
}

.quick-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.quick-grid a{
    background:#ffffff;
    border-radius:22px;
    padding:35px 25px;
    text-align:center;
    text-decoration:none;
    color:#17202A;

    border:1px solid rgba(15,159,143,.12);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:all .35s ease;

    position:relative;

    overflow:hidden;
}

.quick-grid a::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:linear-gradient(90deg,#0F9F8F,#FFD54A);

}

.quick-grid a:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.quick-grid a:hover h3{

    color:#0F9F8F;

}

.quick-grid a{

    font-size:55px;

}

.quick-grid h3{

    margin:18px 0 10px;

    font-size:24px;

    font-weight:700;

    transition:.3s;

}

.quick-grid p{

    color:#666;

    font-size:15px;

    line-height:1.6;

}

/* Tablet */

@media(max-width:991px){

.quick-grid{

grid-template-columns:repeat(2,1fr);

}

}

/* Mobile */

@media(max-width:600px){

.quick-services{

margin:45px 0;

}

.quick-services h2{

font-size:28px;

}

.quick-grid{

grid-template-columns:1fr;

gap:18px;

}

.quick-grid a{

padding:28px 20px;

font-size:48px;

}

.quick-grid h3{

font-size:22px;

}

}
