/* ========================================================================== 
   SHADOWZ STOREFRONT - UI REMAKE v1.3
   ========================================================================== */

:root {
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --bg-page: #f3f6fb;
  --bg-surface: #ffffff;
  --bg-soft: #eef3fb;
  --bg-dark: #0f2344;

  --text-strong: #102442;
  --text-body: #44597a;
  --text-muted: #6f81a0;
  --text-inverse: #f8fbff;

  --primary-600: #2f63da;
  --primary-500: #3f79f5;
  --primary-100: #e8f0ff;

  --success-600: #10865a;
  --danger-600: #cf4b4b;

  --border: #d7e1ef;
  --shadow-sm: 0 8px 20px rgba(16, 37, 67, 0.08);
  --shadow-md: 0 14px 34px rgba(16, 37, 67, 0.12);
  --shadow-lg: 0 22px 42px rgba(16, 37, 67, 0.18);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --transition: all 0.24s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 106.25%;
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-strong);
  background:
    radial-gradient(circle at 8% 8%, rgba(63, 121, 245, 0.14), transparent 30%),
    radial-gradient(circle at 95% 0%, rgba(15, 35, 68, 0.1), transparent 30%),
    var(--bg-page);
  line-height: 1.55;
  overflow-x: hidden;
  width: 100%;
}

html.is-scroll-locked,
body.is-scroll-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: 0;
}

.section-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------------------------------------------------------------- */
/* Utility                                                                     */
/* -------------------------------------------------------------------------- */
.neon-text {
  color: var(--primary-600);
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.page-top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* Trust Strip + Navbar                                                       */
/* -------------------------------------------------------------------------- */
.trust-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 210;
  background: linear-gradient(90deg, #12284a, #224777);
  color: #dce8ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.trust-marquee {
  width: 100%;
  overflow: hidden;
}

.trust-marquee-track {
  --marquee-duration: 28s;
  display: inline-flex;
  align-items: center;
  gap: 46px;
  width: max-content;
  min-width: 200%;
  padding: 8px 0;
  animation: trustMarquee var(--marquee-duration) linear infinite;
  will-change: transform;
}

.trust-marquee-track span {
  flex: 0 0 auto;
  font-size: 0.81rem;
  font-weight: 600;
  white-space: nowrap;
}

.trust-marquee-track span::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 46px;
  border-radius: 999px;
  background: rgba(220, 232, 255, 0.65);
  vertical-align: middle;
}

@keyframes trustMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.navbar {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: visible;
  color: inherit;
  text-decoration: none;
}

.nav-logo {
  width: auto;
  height: 52px;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
  display: block;
  border: none;
  background: transparent;
  filter: drop-shadow(0 4px 8px rgba(16, 37, 67, 0.18));
}

.nav-title {
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--text-strong);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-600);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */
.hero-section {
  min-height: auto;
  display: none;
  place-items: center;
  padding: 126px 20px 24px;
  position: relative;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 22%;
  left: 52%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(63, 121, 245, 0.16), rgba(63, 121, 245, 0) 64%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  will-change: transform;
}

.hero-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary-100);
  border: 1px solid #c5d7ff;
  color: #1f4ca9;
  font-weight: 700;
  font-size: 0.83rem;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.06;
  margin-bottom: 10px;
}

.hero-subtitle {
  color: var(--text-body);
  font-size: clamp(0.95rem, 1.8vw, 1.16rem);
  max-width: 760px;
  margin: 0 auto 16px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.hero-proof-item {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.hero-proof-item strong {
  display: block;
  color: #1f4ca9;
  font-size: 0.96rem;
  margin-bottom: 2px;
}

.hero-proof-item span {
  color: var(--text-body);
  font-size: 0.86rem;
}

/* -------------------------------------------------------------------------- */
/* Buttons + Inputs                                                           */
/* -------------------------------------------------------------------------- */
.btn {
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 99, 218, 0.32);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(47, 99, 218, 0.36);
  }
}

.btn-secondary {
  background: #fff;
  color: #1f4ca9;
  border: 1px solid #bfd2fa;
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background: #f5f9ff;
    border-color: #94b6f6;
  }
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 0.93rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd9ec;
  background: #fff;
  color: var(--text-strong);
  border-radius: 10px;
  padding: 11px 12px;
  font-family: var(--font-body);
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #5d89ee;
  box-shadow: 0 0 0 3px rgba(63, 121, 245, 0.18);
}

input.input-error,
select.input-error,
textarea.input-error {
  border-color: var(--danger-600);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

/* -------------------------------------------------------------------------- */
/* Trust + Process Sections                                                   */
/* -------------------------------------------------------------------------- */
.trust-section,
.process-section {
  padding: 14px 0 50px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.trust-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-height: 128px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.trust-card h3 {
  font-size: 0.92rem;
  line-height: 1.28;
  min-height: 2.35em;
  margin-bottom: 8px;
}

.trust-card p {
  color: var(--text-body);
  font-size: 0.8rem;
  line-height: 1.42;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-body);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  box-shadow: var(--shadow-sm);
}

.step-index {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-100);
  color: #1f4ca9;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.process-step h4 {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.process-step p {
  font-size: 0.86rem;
  color: var(--text-body);
}

/* -------------------------------------------------------------------------- */
/* Catalog Cards                                                              */
/* -------------------------------------------------------------------------- */
.catalog-section {
  padding: 92px 0 52px;
}

.catalog-hero-header {
  max-width: 780px;
  margin: 0 auto 28px;
}

.catalog-hero-title {
  color: var(--text-strong);
  font-size: clamp(2.25rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.catalog-hero-title span {
  display: inline;
}

.catalog-hero-subtitle {
  color: var(--text-body);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 400;
  margin: 0 auto;
  max-width: 620px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.filter-btn {
  border: 1px solid #c9d8f2;
  background: #f6f9ff;
  color: #294772;
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #2f63da, #3f79f5);
  color: #fff;
  border-color: #2f63da;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 18px;
}

.catalog-grid .product-card,
.product-listing-page .product-card {
  opacity: 1;
  transform: none;
}

.catalog-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 16px;
}

.catalog-preview-header h2 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  color: var(--text-strong);
}

.catalog-more-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  align-content: center;
  gap: 10px;
}

.catalog-more-card h3 {
  font-size: 1rem;
}

.catalog-more-card p {
  color: var(--text-body);
  font-size: 0.86rem;
}

.product-listing-page {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: none;
  flex-direction: column;
  background: var(--bg-page);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.product-listing-page.open {
  display: flex;
}

.listing-header {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.listing-header h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #18365f;
}

.listing-header span {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.listing-layout {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px;
}

.listing-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 14px;
  align-self: start;
  display: grid;
  gap: 14px;
}

.listing-control-group {
  display: grid;
  gap: 8px;
}

.listing-control-group label,
.listing-control-group h3 {
  font-size: 0.84rem;
  color: #244879;
  font-weight: 800;
}

.listing-control-group input,
.listing-control-group select {
  width: 100%;
  border: 1px solid #cad9ef;
  border-radius: 10px;
  padding: 10px 11px;
  background: #fff;
  color: var(--text-strong);
}

.listing-category-list {
  display: grid;
  gap: 7px;
}

.listing-category-btn {
  width: 100%;
  border: 1px solid #d6e2f3;
  border-radius: 10px;
  padding: 9px 10px;
  background: #f8fbff;
  color: var(--text-body);
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}

.listing-category-btn.active,
.listing-category-btn:hover {
  background: var(--primary-100);
  color: #1f4ca9;
  border-color: #b9cffc;
}

.listing-results {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
  padding-right: 4px;
}

.product-card {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  transition: var(--transition);
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #b8ccf0;
  }
}

.card-header-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #d4e0f2;
  background: #f8fbff;
  color: #3d5987;
  font-weight: 700;
}

.card-image-container {
  width: 100%;
  height: 178px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .card-image {
    transform: scale(1.04);
  }
}

.card-logo-placeholder {
  width: 100%;
  height: 178px;
  border-radius: 12px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-family: var(--font-heading);
  color: #6d85aa;
  background: linear-gradient(145deg, #eef4ff, #f8fbff);
  border: 1px solid var(--border);
}

.card-title {
  font-size: 1rem;
  margin-bottom: 2px;
}

.card-code {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-customizer {
  background: var(--bg-soft);
  border: 1px solid #dce6f8;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 12px;
}

.customizer-group label {
  display: block;
  font-size: 0.78rem;
  color: #3e5a86;
  margin-bottom: 5px;
  font-weight: 700;
}

.card-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.swatch:hover {
  transform: scale(1.1);
}

.swatch.active {
  outline: 2px solid #16346c;
  outline-offset: 2px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.price-view {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-price {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--success-600);
}

.product-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 38, 0.78);
  display: none;
  z-index: 320;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.product-detail-overlay.open {
  display: flex;
}

.product-detail-panel {
  width: min(1180px, 100%);
  max-height: 92vh;
  overflow: auto;
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
}

.detail-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.detail-close-btn:hover {
  background: #f1f5fd;
  color: var(--danger-600);
}

.detail-top {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  margin-bottom: 28px;
}

.detail-gallery-container {
  position: relative;
  width: 100%;
}

.detail-gallery {
  width: 100%;
  min-height: 380px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  border-radius: var(--radius-md);
  scrollbar-width: none; /* Hide standard scrollbar */
}

.detail-gallery::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f7faff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-dot.active {
  background: var(--primary-600);
  transform: scale(1.2);
}

.detail-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1e3f77;
  font-weight: 700;
  font-size: 0.8rem;
}

.stock-badge {
  color: var(--success-600);
  background: #e6f6f0;
  border: 1px solid #a3e2cc;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-title {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 1.1;
  color: var(--text-strong);
}

.detail-description-text {
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.6;
}

.detail-bullets-list {
  list-style: none;
  padding-left: 0;
  margin-top: -6px;
}

.detail-bullets-list li {
  position: relative;
  font-size: 0.88rem;
  color: var(--text-strong);
  line-height: 1.5;
  margin-bottom: 6px;
}

.specs-header-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #1a3c6d;
  margin-top: 4px;
  margin-bottom: -10px;
}

.detail-specs {
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}

.detail-specs .spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  border-bottom: 1px solid #eef2f8;
}

.detail-specs .spec-row:last-child {
  border-bottom: none;
}

.detail-specs .spec-row:nth-child(even) {
  background: #f7faff;
}

.detail-specs .spec-row span {
  padding: 8px 12px;
  font-size: 0.86rem;
}

.detail-specs .spec-title {
  font-weight: 700;
  color: #234b88;
  background: rgba(47, 99, 218, 0.03);
  border-right: 1px solid #eef2f8;
  height: 100%;
  display: flex;
  align-items: center;
}

.amazon-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
  background: #fbfcfe;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px dashed #d1e1f7;
}

.amazon-badges .badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #435b82;
  gap: 4px;
}

.amazon-badges .badge-item span {
  font-size: 1.15rem;
}

.detail-actions {
  margin-top: 8px;
}

.detail-actions .btn {
  width: 100%;
  min-height: 48px;
}

.detail-related {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 16px;
}

.detail-related-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.detail-related-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-strong);
}

.detail-related-header span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.other-products-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
}

.other-products-carousel::-webkit-scrollbar {
  height: 6px;
}

.other-products-carousel::-webkit-scrollbar-track {
  background: #eef2fb;
}

.other-products-carousel::-webkit-scrollbar-thumb {
  background: #c5d4f2;
  border-radius: 999px;
}

.other-product-card {
  flex: 0 0 240px;
  min-width: 240px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  padding: 12px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  scroll-snap-align: start;
}

.other-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #b3cbe8;
}

.other-product-card img {
  width: 100%;
  height: 138px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.other-product-card h4 {
  font-size: 0.86rem;
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.other-product-card p {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--success-600);
}

@media (max-width: 920px) {
  .detail-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .other-product-card {
    min-width: 220px;
  }
}

@media (max-width: 760px) {
  .product-detail-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .product-detail-panel {
    width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    padding: 24px 16px 16px;
    border-bottom: 0;
  }

  .detail-close-btn {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .detail-gallery {
    min-height: 280px;
    gap: 12px;
  }

  .gallery-slide img {
    min-height: 280px;
  }

  .detail-summary {
    gap: 14px;
  }

  .detail-specs {
    padding: 0;
  }

  .detail-specs .spec-row {
    grid-template-columns: 120px 1fr;
  }

  .detail-related {
    padding-top: 18px;
  }

  .other-products-carousel {
    gap: 12px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .other-product-card {
    min-width: 210px;
    padding: 10px;
  }
}

/* -------------------------------------------------------------------------- */
/* Cart Drawer                                                                 */
/* -------------------------------------------------------------------------- */
.cart-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 35, 68, 0.4);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 260;
}

.cart-sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100dvh;
  background: #fff;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 270;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.cart-sidebar.open {
  transform: translateX(0) !important;
}

.cart-header,
.cart-footer {
  padding: 16px;
  background: #f8fbff;
  border-bottom: 1px solid var(--border);
}

.cart-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  font-size: 1.04rem;
}

.btn-close-cart {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text-body);
  font-size: 1.3rem;
}

.cart-items-container {
  flex: 1;
  overflow: auto;
  padding: 14px;
}

.cart-empty-message {
  text-align: center;
  color: var(--text-body);
  padding: 28px 8px;
}

.cart-item {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.cart-item-details {
  margin-bottom: 8px;
}

.cart-item-title {
  font-size: 0.93rem;
  margin-bottom: 2px;
}

.cart-item-price {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qty-spinner {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}

.spinner-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #f4f7fc;
  color: #27436f;
  cursor: pointer;
  font-size: 1rem;
}

.spinner-btn:hover {
  background: #e7eef9;
}

.spinner-val {
  min-width: 34px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-total {
  color: var(--success-600);
  font-weight: 800;
}

.btn-remove-item {
  border: none;
  background: transparent;
  cursor: pointer;
}

.cart-checkout-form {
  border-top: 1px solid var(--border);
  background: #fbfdff;
  padding: 14px;
}

.cart-checkout-form h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #224777;
}

.checkout-page {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--bg-page);
}

.checkout-page.open {
  display: flex;
}

.checkout-page-header {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.checkout-page-header h2 {
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  color: #18365f;
}

.checkout-page-body {
  flex: 1 1 auto;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 16px;
}

.checkout-summary-card,
.checkout-page .cart-checkout-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.checkout-summary-card {
  align-self: start;
  padding: 14px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100dvh - 118px);
}

.checkout-summary-card h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #224777;
}

.checkout-summary-items {
  display: grid;
  gap: 10px;
  min-height: 0;
  max-height: min(420px, calc(100dvh - 245px));
  overflow-y: auto;
  padding-right: 3px;
}

.checkout-summary-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px;
  border: 1px solid #e4ebf5;
  border-radius: 10px;
  background: #f9fbff;
}

.checkout-summary-item h4 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #1c365d;
}

.checkout-summary-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checkout-summary-item strong {
  flex: 0 0 auto;
  color: var(--success-600);
}

.checkout-summary-total {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: #1c365d;
}

.checkout-summary-total strong {
  color: var(--success-600);
}

.checkout-page .cart-checkout-form {
  align-self: start;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 4px;
  color: #425d87;
  font-weight: 700;
}

.form-group.has-error label {
  color: var(--danger-600);
}

.field-error {
  display: block;
  margin-top: 5px;
  color: var(--danger-600);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
}

.email-otp-container {
  display: flex;
  gap: 8px;
}

.email-otp-container input {
  flex: 1;
}

.otp-group {
  background: #edf4ff;
  border: 1px solid #c8dafe;
  border-radius: 11px;
  padding: 10px;
}

.otp-label {
  color: #1f4ca9;
}

.otp-input {
  text-align: center;
  letter-spacing: 4px;
  font-weight: 700;
}

.otp-status {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  text-align: center;
  color: #267a55;
}

.address-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #cad9ef;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.address-suggestion {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-bottom: 1px solid #e6edf8;
  background: transparent;
  text-align: left;
  color: var(--text-body);
  cursor: pointer;
}

.address-suggestion:hover,
.address-suggestion:focus {
  outline: none;
  background: #f0f6ff;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-subtotal-row span:first-child {
  color: var(--text-body);
}

.cart-subtotal-row span:last-child {
  color: var(--success-600);
  font-size: 1.25rem;
  font-weight: 800;
}

.btn-checkout-action {
  width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Floating Cart + Toast + Success                                            */
/* -------------------------------------------------------------------------- */
.floating-cart-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  color: #fff;
  font-size: 1.42rem;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(47, 99, 218, 0.36);
  z-index: 180;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .floating-cart-btn:hover {
    transform: translateY(-2px) scale(1.03);
  }
}

.floating-cart-btn.pop-animation {
  animation: cartPop 0.3s ease;
}

@keyframes cartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--danger-600);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.toast-container {
  position: fixed;
  top: 92px;
  right: 14px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  min-width: 250px;
  max-width: 340px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-strong);
  padding: 10px 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.16s ease, transform 0.16s ease;
  font-weight: 800;
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-success {
  border-left: 4px solid var(--success-600);
}

.toast-error {
  border-left: 4px solid var(--danger-600);
}

.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 35, 68, 0.55);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: none;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
}

.success-overlay.open {
  display: grid;
}

.success-card {
  width: min(550px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.success-checkmark {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.success-title {
  margin-bottom: 8px;
}

.success-text {
  color: var(--text-body);
  margin-bottom: 16px;
}

.workflow-info {
  border: 1px solid var(--border);
  background: #f7fbff;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
  text-align: left;
}

.workflow-info h4 {
  margin-bottom: 8px;
  color: #1f4ca9;
  font-size: 0.94rem;
}

.workflow-info ol {
  padding-left: 18px;
  color: var(--text-body);
  font-size: 0.86rem;
}

.workflow-info li + li {
  margin-top: 6px;
}

/* -------------------------------------------------------------------------- */
/* Contact + Footer                                                            */
/* -------------------------------------------------------------------------- */
.contact-section {
  padding: 48px 0;
}

.contact-layout {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-details h2 {
  margin-bottom: 8px;
}

.contact-details > p {
  color: var(--text-body);
  margin-bottom: 14px;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--bg-dark), #224777);
  box-shadow: 0 8px 18px rgba(15, 35, 68, 0.18);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon-logo {
  background: #fff;
  border: 1px solid var(--border);
}

.contact-icon-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.contact-item h4 {
  font-size: 0.9rem;
  margin-bottom: 1px;
}

.contact-item p {
  color: var(--text-body);
  font-size: 0.86rem;
}

.contact-actions {
  margin-top: 14px;
}

.contact-map {
  display: block;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.contact-map iframe {
  border: 0;
  display: block;
}

.shop-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.84rem;
  padding: 18px 14px 26px;
}

/* -------------------------------------------------------------------------- */
/* Scroll Reveal Motion                                                        */
/* -------------------------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(34px) scale(0.975) rotateX(6deg);
  transform-origin: center top;
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

.reveal-item.motion-slide-left {
  transform: translateX(-36px) scale(0.985);
}

.reveal-item.motion-slide-right {
  transform: translateX(36px) scale(0.985);
}

.reveal-item.motion-pop {
  transform: translateY(26px) scale(0.88);
}

.reveal-item.motion-zoom {
  transform: scale(0.9);
}

.reveal-item.motion-footer {
  transform: translateY(20px);
}

.reveal-item.motion-hero {
  transform: translateY(22px) scale(0.98);
}

.hero-glow {
  transition: transform 0.22s linear;
  will-change: transform;
}

/* Catalog Search Styles */
.catalog-search-container {
  max-width: 580px;
  margin: 0 auto 24px;
  position: relative;
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  padding: 12px 42px 12px 18px;
  font-size: 0.96rem;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(63, 121, 245, 0.15), var(--shadow-sm);
  background: #fff;
}

.search-icon {
  display: none;
}

.btn-clear-search {
  position: absolute;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.btn-clear-search:hover {
  background: #f1f5fd;
  color: var(--danger-600);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
  backdrop-filter: blur(10px);
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid #f1f5fd;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: #f6f9ff;
}

.suggestion-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.suggestion-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.suggestion-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------- */
/* Responsive Layout System (Strict Mobile-First Cascading)                   */
/* -------------------------------------------------------------------------- */

@media (min-width: 1280px) {
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-section {
    min-height: 82vh;
  }
}

@media (max-width: 1100px) {
  .trust-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 980px) {
  html {
    font-size: 100%;
  }

  .trust-strip {
    position: static;
  }

  .navbar {
    position: sticky;
    top: 0;
  }

  .hero-section {
    padding-top: 64px;
    min-height: auto;
  }

  .section-header {
    align-items: flex-start;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .trust-marquee-track {
    gap: 34px;
    padding: 8px 0;
  }

  .trust-marquee-track span {
    font-size: 0.75rem;
  }

  .trust-marquee-track span::after {
    margin-left: 34px;
  }

  .navbar {
    top: 0;
  }

  .nav-container {
    padding: 10px 14px;
  }

  .nav-title {
    font-size: 0.95rem;
  }

  .nav-logo {
    width: auto;
    height: 44px;
    max-width: 140px;
  }

  .nav-links {
    gap: 11px;
  }

  .nav-link {
    font-size: 0.84rem;
  }

  .hero-section {
    min-height: 76vh;
    padding-top: 168px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .category-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .category-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .cart-sidebar {
    width: 100%;
    right: 0;
    transform: translateX(100%);
  }

  .toast-container {
    left: 10px;
    right: 10px;
    top: 114px;
  }

  .toast {
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 760px) {
  body {
    background: var(--bg-page);
  }

  .trust-strip {
    display: block;
    position: static;
  }

  .navbar {
    position: sticky;
    top: 0;
  }

  .trust-marquee-track {
    gap: 26px;
    min-width: 220%;
    padding: 7px 0;
  }

  .trust-marquee-track span {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .trust-marquee-track span::after {
    width: 5px;
    height: 5px;
    margin-left: 26px;
  }

  .nav-container {
    padding: 8px 12px 10px;
    flex-direction: column;
    gap: 7px;
  }

  .nav-brand {
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }

  .nav-link {
    flex: 1 1 0;
    min-height: 38px;
    padding: 8px 6px;
    border-radius: 999px;
    background: var(--bg-soft);
    text-align: center;
  }

  .hero-section {
    padding: 30px 14px 38px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-tag {
    border-radius: 12px;
  }

  .hero-proof-item,
  .trust-card,
  .process-step {
    padding: 16px;
  }

  .trust-section,
  .process-section,
  .catalog-section,
  .contact-section {
    padding: 34px 0;
  }

  .catalog-hero-header {
    margin-bottom: 22px;
  }

  .catalog-hero-title {
    font-size: clamp(2.15rem, 12vw, 3.15rem);
    line-height: 1;
    margin-bottom: 12px;
  }

  .catalog-hero-title span {
    display: block;
  }

  .catalog-hero-subtitle {
    font-size: 0.98rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-card {
    min-width: 0;
  }

  .card-image-container,
  .card-placeholder {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .card-price {
    font-size: 1.08rem;
  }

  .card-footer .btn {
    width: 100%;
    min-height: 44px;
  }

  .product-card-body {
    padding: 14px;
  }

  .category-filters {
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .filter-btn {
    min-height: 40px;
  }

  .floating-cart-btn {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .contact-layout {
    padding: 14px;
    border-radius: 14px;
  }

  .contact-map iframe {
    height: 320px;
  }

  /* Bottom sheet modal styling for product detail */
  .product-detail-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .product-detail-panel {
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    padding: 24px 16px 16px;
    border-bottom: 0;
  }

  .detail-close-btn {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .detail-gallery {
    min-height: 280px;
    gap: 12px;
  }

  .gallery-slide img {
    min-height: 280px;
  }

  .detail-summary {
    gap: 14px;
  }

  .detail-specs {
    padding: 0;
  }

  .detail-specs .spec-row {
    grid-template-columns: 120px 1fr;
  }

  .detail-related {
    padding-top: 18px;
  }

  .other-products-carousel {
    gap: 12px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .other-product-card {
    min-width: 210px;
    padding: 10px;
  }

  .amazon-badges {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .amazon-badges .badge-item {
    flex-direction: row;
    text-align: left;
    gap: 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 640px) {
  .trust-grid,
  .process-grid,
  .hero-proof-row {
    grid-template-columns: 1fr;
  }

  .section-container {
    padding: 0 14px;
  }

  .email-otp-container {
    flex-direction: column;
  }

}

@media (max-width: 520px) {
  .section-container {
    padding: 0 12px;
  }

  .nav-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav-logo {
    height: 38px;
    max-width: 118px;
  }

  .nav-title {
    font-size: 0.9rem;
  }

  .nav-link {
    font-size: 0.76rem;
    padding: 7px 5px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cart-sidebar {
    width: 100%;
    display: flex;
    overflow-y: auto;
    height: 100dvh;
  }

  .cart-header {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }

  .cart-footer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    padding: 14px;
    background: #fff;
    border-top: 1px solid var(--border);
  }

  .cart-header h2 {
    font-size: 1rem;
  }

  .cart-items-container {
    padding: 12px 14px;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-item-controls {
    justify-content: space-between;
  }

  .cart-checkout-form {
    overflow: visible;
    padding: 14px;
  }

  .cart-checkout-form input,
  .cart-checkout-form textarea {
    min-height: 42px;
  }

  .email-otp-container .btn {
    width: 100%;
  }

  .success-card {
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    padding: 20px;
  }

  .toast-container {
    top: 10px;
  }

  .contact-map iframe {
    height: 260px;
  }
}

@media (max-width: 360px) {
  .nav-links {
    gap: 5px;
  }

  .nav-link {
    font-size: 0.72rem;
    padding: 7px 8px;
  }

  .hero-title {
    font-size: 1.72rem;
  }
}

@media (max-width: 760px) {
  .success-overlay {
    padding: 14px;
    align-items: center;
    justify-items: center;
  }

  .success-card {
    width: 100%;
    max-height: calc(100dvh - 28px);
    padding: 20px 16px;
    border-radius: 18px;
  }

  .success-title {
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .workflow-info {
    padding: 12px;
  }
}

/* -------------------------------------------------------------------------- */
/* Mobile UX Repair Layer                                                     */
/* -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .hero-glow {
    display: none;
  }

  .reveal-item,
  .reveal-item.motion-slide-left,
  .reveal-item.motion-slide-right,
  .reveal-item.motion-fade-up,
  .reveal-item.motion-pop,
  .reveal-item.motion-hero {
    opacity: 1;
    transform: none;
  }

  .section-container {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .navbar {
    box-shadow: 0 8px 22px rgba(16, 37, 67, 0.08);
  }

  .nav-container {
    align-items: stretch;
  }

  .nav-brand {
    min-height: 42px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .hero-section {
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 30px;
  }

  .hero-proof-row,
  .trust-grid,
  .process-grid {
    gap: 10px;
  }

  .trust-card,
  .process-step,
  .product-card,
  .contact-layout {
    border-radius: 14px;
  }

  .catalog-search-container {
    margin-bottom: 16px;
  }

  .catalog-section {
    padding-top: 56px;
  }

  .catalog-preview-header {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-preview-header .btn {
    width: 100%;
  }

  .catalog-search-wrapper {
    border-radius: 12px;
  }

  .category-filters {
    width: calc(100% + 28px);
    max-width: none;
    scroll-padding-left: 14px;
  }

  .catalog-grid {
    width: 100%;
  }

  .listing-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px;
  }

  .listing-header > .btn {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .listing-header > div {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .listing-header .btn-close-cart {
    grid-column: 2;
    grid-row: 1;
  }

  .listing-layout {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 10px 18px;
    overflow-y: auto;
  }

  .listing-sidebar {
    position: static;
    z-index: 1;
    grid-template-columns: 1fr;
    align-self: stretch;
    gap: 10px;
    padding: 12px;
  }

  .listing-category-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .listing-category-btn {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .listing-results {
    overflow: visible;
    grid-template-columns: 1fr;
    padding-right: 0;
    gap: 10px;
  }

  .product-listing-page .product-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    align-items: stretch;
  }

  .product-listing-page .card-title {
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .product-listing-page .card-image-container,
  .product-listing-page .card-logo-placeholder {
    height: 112px;
    aspect-ratio: auto;
    margin-bottom: 0;
  }

  .product-listing-page .product-card-body {
    min-width: 0;
    padding: 0;
    display: grid;
    gap: 4px;
    align-content: center;
  }

  .product-listing-page .card-code {
    margin-bottom: 4px;
  }

  .product-listing-page .card-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .product-listing-page .card-footer .btn {
    width: 100%;
    min-height: 42px;
  }

  .product-listing-page .card-header-badge {
    top: 8px;
    right: 8px;
    max-width: 104px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-detail-overlay {
    align-items: stretch;
    padding: 0;
  }

  .product-detail-panel {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    padding: 54px 14px 18px;
    overflow-y: auto;
  }

  .detail-top {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 18px;
  }

  .detail-gallery {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .gallery-slide img {
    min-height: 0;
    height: 100%;
  }

  .detail-badge-row,
  .detail-rating-row,
  .detail-actions {
    flex-wrap: wrap;
  }

  .detail-title {
    font-size: 1.35rem;
  }

  .detail-actions .btn,
  .detail-actions select {
    width: 100%;
    min-height: 44px;
  }

  .detail-specs .spec-row {
    grid-template-columns: 1fr;
  }

  .detail-specs .spec-title {
    border-right: 0;
    border-bottom: 1px solid #eef2f8;
  }

  .other-products-carousel {
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .cart-sidebar {
    display: flex;
    right: auto;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .cart-sidebar.open {
    right: auto;
    transform: translateX(0);
  }

  .cart-items-container {
    flex: 1 1 auto;
    max-height: none;
    overflow-y: auto;
    min-height: 0;
    border-bottom: 1px solid var(--border);
    background: #fff;
  }

  .cart-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-item-details {
    min-width: 0;
    margin-bottom: 0;
  }

  .cart-item-title {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  .cart-item-controls {
    flex-wrap: wrap;
    align-items: center;
  }

  .cart-item-total {
    margin-left: auto;
  }

  .cart-checkout-form {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 16px;
  }

  .checkout-page-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px;
  }

  .checkout-page-header h2 {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: left;
    font-size: 1.05rem;
  }

  .checkout-page-header .btn {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .checkout-page-header .btn-close-cart {
    grid-column: 2;
    grid-row: 1;
  }

  .checkout-page-body {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
    align-content: start;
    display: block;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .checkout-summary-card {
    order: initial;
    padding: 12px;
    max-height: none;
    position: static;
    margin-top: 12px;
  }

  .checkout-page .cart-checkout-form {
    order: initial;
    padding: 12px;
    margin: 0;
    overflow: visible;
  }

  .checkout-summary-items {
    display: none;
  }

  .cart-footer {
    flex-shrink: 0;
  }

  .email-otp-container {
    display: grid;
    grid-template-columns: 1fr;
  }

  .floating-cart-btn {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }

  .toast-container {
    left: 12px;
    right: 12px;
    top: 12px;
  }
}

@media (max-width: 420px) {
  .section-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav-links {
    gap: 5px;
  }

  .nav-link {
    min-height: 36px;
    font-size: 0.73rem;
    padding: 6px 4px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .catalog-hero-title {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  .hero-subtitle,
  .section-subtitle {
    font-size: 0.92rem;
  }

  .catalog-grid {
    gap: 12px;
  }

  .product-card {
    padding: 10px;
  }

  .cart-header,
  .cart-footer,
  .cart-checkout-form,
  .cart-items-container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* -------------------------------------------------------------------------- */
/* Mobile/Desktop Responsiveness Hardening                                    */
/* -------------------------------------------------------------------------- */
img,
iframe {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.btn,
.filter-btn,
.btn-close-cart,
.qty-btn,
.floating-cart-btn {
  touch-action: manipulation;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .hero-glow,
  .floating-cart-btn,
  .product-card,
  .btn,
  .trust-marquee-track {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .trust-marquee {
    overflow-x: auto;
  }
}

/* -------------------------------------------------------------------------- */
/* Shopify Feather Theme Port                                                  */
/* -------------------------------------------------------------------------- */
:root {
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-soft: #f6f6f3;
  --bg-dark: #000000;

  --text-strong: #000000;
  --text-body: #292929;
  --text-muted: #666666;
  --text-inverse: #ffffff;

  --primary-600: #000000;
  --primary-500: #161616;
  --primary-100: #f1f1ee;

  --success-600: #000000;
  --danger-600: #b3261e;

  --border: #d8d8d2;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: 0 18px 46px rgba(0, 0, 0, 0.12);

  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 14px;
}

html {
  font-size: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.38) #ffffff;
}

body {
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  line-height: 1.65;
  font-variation-settings: 'slnt' 0;
}

h1,
h2,
h3,
h4,
.nav-title,
.btn {
  font-family: var(--font-body);
}

.section-container,
.nav-container {
  max-width: 1180px;
}

.glass-card,
.product-card,
.trust-card,
.process-step,
.catalog-more-card,
.listing-sidebar,
.checkout-summary-card,
.cart-checkout-form,
.success-card,
.contact-layout {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: none;
  backdrop-filter: none;
}

.trust-strip {
  background: #000000;
  color: #ffffff;
  border-bottom: 0;
}

.trust-marquee-track {
  padding: 10px 0;
}

.trust-marquee-track span {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
}

.trust-marquee-track span::after {
  background: rgba(255, 255, 255, 0.7);
}

.navbar {
  top: 39px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6e6e0;
  backdrop-filter: blur(8px);
}

.nav-container {
  padding: 14px 22px;
}

.nav-logo {
  height: 42px;
  filter: none;
}

.nav-title {
  color: #000000;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-link {
  color: #000000;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-link:hover {
  color: #5b5b55;
}

.catalog-section {
  padding: 128px 0 58px;
}

.catalog-hero-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.catalog-hero-title {
  color: #000000;
  font-size: clamp(2.7rem, 6.5vw, 5.45rem);
  font-weight: 700;
  line-height: 0.92;
  text-transform: none;
}

.catalog-hero-subtitle {
  color: #3f3f3a;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
}

.catalog-search-container {
  max-width: 640px;
  margin-bottom: 26px;
}

.search-input,
input,
select,
textarea {
  border-color: #cfcfca;
  border-radius: 4px;
  background: #ffffff;
  color: #000000;
  box-shadow: none;
}

.search-input {
  border-radius: 999px;
  padding: 13px 42px 13px 18px;
}

input:focus,
select:focus,
textarea:focus,
.search-input:focus {
  border-color: #000000;
  box-shadow: 0 0 0 1px #000000;
}

.filter-btn,
.listing-category-btn {
  background: #ffffff;
  color: #000000;
  border-color: #cfcfca;
  border-radius: 999px;
  font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active,
.listing-category-btn.active,
.listing-category-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.catalog-preview-header {
  margin-top: 18px;
  margin-bottom: 22px;
}

.catalog-preview-header h2,
.listing-header h2,
.contact-details h2,
.section-title {
  color: #000000;
  font-weight: 700;
}

.catalog-grid {
  gap: 36px 18px;
}

.product-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
  }

  .product-card:hover .card-image {
    transform: none;
  }
}

.card-image-container,
.card-logo-placeholder {
  height: auto;
  aspect-ratio: 3 / 4;
  margin-bottom: 12px;
  border: 1px solid #e2e2dc;
  border-radius: 0;
  background: #f7f7f4;
}

.card-logo-placeholder {
  color: #9c9c94;
  font-size: 2.5rem;
  font-weight: 400;
}

.card-image {
  object-fit: cover;
}

.card-header-badge {
  top: 10px;
  right: 10px;
  background: #ffffff;
  color: #000000;
  border-color: #d8d8d2;
  border-radius: 999px;
  font-weight: 500;
}

.product-card-body {
  padding: 0;
}

.card-title {
  color: #000000;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.card-code,
.listing-header span,
.catalog-more-card p,
.trust-card p,
.process-step p,
.contact-details > p,
.contact-item p,
.section-subtitle,
.suggestion-meta {
  color: #666666;
}

.card-price,
.cart-item-total,
.checkout-summary-total strong,
.price-view,
.detail-price {
  color: #000000;
}

.card-footer {
  align-items: center;
}

.btn {
  border-radius: 14px;
  font-weight: 700;
  box-shadow: none;
}

.btn-primary,
.btn-checkout-action {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.btn-secondary {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .btn-checkout-action:hover {
    background: #30302d;
    border-color: #30302d;
    transform: none;
    box-shadow: none;
  }

  .btn-secondary:hover {
    background: #f5f5f1;
    border-color: #000000;
  }
}

.catalog-more-card {
  border-radius: 4px;
  padding: 24px;
}

.product-listing-page,
.checkout-page {
  background: #ffffff;
}

.listing-header,
.checkout-page-header,
.cart-header,
.cart-footer {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: none;
}

.listing-layout {
  max-width: 1240px;
  gap: 24px;
}

.listing-sidebar {
  border-radius: 4px;
}

.listing-results {
  gap: 36px 18px;
}

.product-detail-overlay {
  background: rgba(0, 0, 0, 0.72);
}

.product-detail-panel {
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.detail-close-btn,
.btn-close-cart,
.btn-remove-item,
.spinner-btn {
  background: #ffffff;
  color: #000000;
  border: 1px solid #d8d8d2;
  border-radius: 999px;
}

.detail-close-btn:hover,
.btn-close-cart:hover,
.btn-remove-item:hover,
.spinner-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.detail-badge,
.stock-badge,
.badge-item,
.step-index,
.contact-icon {
  background: #f4f4f0;
  color: #000000;
  border-color: #d8d8d2;
}

.detail-specs,
.workflow-info,
.checkout-summary-item,
.cart-item,
.contact-item {
  border-color: #e2e2dc;
}

.cart-sidebar {
  border-left: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.cart-header .btn-close-cart,
.checkout-page-header .btn-close-cart,
.listing-header .btn-close-cart,
.detail-close-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.15rem;
}

.cart-item {
  border-radius: 14px;
  padding: 14px;
}

.cart-item-controls {
  display: grid;
  grid-template-columns: auto minmax(72px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.qty-spinner {
  height: 34px;
  display: inline-grid;
  grid-template-columns: 30px minmax(28px, auto) 30px;
  align-items: center;
  overflow: visible;
  border-radius: 999px;
  padding: 1px;
}

.spinner-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #000000;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.spinner-btn:hover {
  background: #000000;
  color: #ffffff;
}

.spinner-val {
  min-width: 28px;
  padding: 0 4px;
  color: #000000;
  font-size: 0.9rem;
}

.cart-item-total {
  justify-self: end;
  font-size: 0.98rem;
}

.btn-remove-item {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #d8d8d2;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-size: 1rem;
  line-height: 1;
}

.btn-remove-item:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.cart-sidebar-overlay {
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: none;
}

.qty-spinner {
  border-color: #d8d8d2;
  background: #ffffff;
}

.floating-cart-btn {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.cart-badge {
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
}

.toast {
  background: #ffffff;
  color: #000000;
  border: 1px solid #d8d8d2;
  border-left: 4px solid #000000;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.toast-success,
.toast-error {
  border-left-color: #000000;
}

.success-checkmark {
  color: #000000;
}

.contact-layout {
  border-radius: 4px;
}

.contact-icon svg {
  stroke: #000000;
}

.contact-map {
  border-color: #d8d8d2;
  border-radius: 4px;
}

.shop-footer {
  background: #000000;
  color: #ffffff;
}

@media (max-width: 980px) {
  .navbar {
    top: 0;
  }

  .catalog-section {
    padding-top: 64px;
  }
}

@media (max-width: 760px) {
  .trust-strip {
    background: #000000;
  }

  .nav-link {
    background: #ffffff;
    border: 1px solid #d8d8d2;
  }

  .catalog-section {
    padding-top: 44px;
  }

  .catalog-hero-title {
    font-size: clamp(2.35rem, 13vw, 3.25rem);
  }

  .product-listing-page .product-card {
    border: 1px solid #e2e2dc;
    border-radius: 4px;
    padding: 10px;
    background: #ffffff;
  }

  .product-listing-page .card-image-container,
  .product-listing-page .card-logo-placeholder {
    aspect-ratio: auto;
    border-radius: 0;
  }

  .cart-item-controls {
    grid-template-columns: auto minmax(64px, 1fr) auto;
    gap: 10px;
  }
}
