@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* ============================================================
   E-TRAIL BANGLADESH — DESIGN SYSTEM v2
   Font: Instrument Sans + Cormorant Garamond (display)
   Radius: 0px or 4px only
   Layout: max-width 1280px, centered, gutters 80/40/20px
   ============================================================ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
 

 /* Modern browsers: auto dark */
  --bg-main: light-dark(#fafafa, #fafafa);
  --bg-surface: light-dark(#ffffff, #ffffff);
  --bg-surface-hover: light-dark(#f4f4f5, #f4f4f5);
  --text-primary: light-dark(#09090b, #09090b);
  --text-secondary: light-dark(#52525b, #52525b);
  --text-tertiary: light-dark(#71717a, #71717a);
  --border-subtle: light-dark(#e4e4e7, #e4e4e7);
  --border-strong: light-dark(#d4d4d8, #d4d4d8);
  --accent: light-dark(#059669, #059669);
  --accent-hover: light-dark(#047857, #047857);
  --accent-surface: light-dark(#ecfdf5, #ecfdf5);
  --accent-text: light-dark(#065f46, #065f46);
  --danger: light-dark(#dc2626, #dc2626);
  --warning: light-dark(#d97706, #d97706);
  --dark-bg: light-dark(#09090b, #09090b);
  --0:light-dark(#0000,#0000);
  --W:light-dark(#fff, #fff);


  /* Typography */
  --font-sans: "Poppins", sans-serif;
  --font-display: "Poppins", sans-serif;

  /* Spacing scale */
  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 40px;
  --gap-xl: 80px;

  /* Layout */
  --content-max: 1280px;
  --pad-desktop: 80px;
  --pad-tablet: 40px;
  --pad-mobile: 20px;
  --header-h: 122px;
  --bottom-nav-h: 60px;

  /* Radius — ONLY 0 or 4px */
  --r0: 0px;
  --r4: 4px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);

  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Helper / Sub-Tokens spacing */
  --gap-2px: 2px;
  --gap-3px: 3px;
  --gap-4px: 4px;
  --gap-5px: 5px;
  --gap-6px: 6px;
  --gap-7px: 7px;
  --gap-9px: 9px;
  --gap-10px: 10px;
  --gap-13px: 13px;
  --gap-14px: 14px;
  --gap-16px: 16px;
  --gap-18px: 18px;
  --gap-24px: 24px;
  --gap-26px: 26px;
  --gap-28px: 28px;
  --gap-32px: 32px;
  --gap-38px: 38px;
  --gap-34px: 34px;
  --gap-64px: 64px;
  --gap-90px: 90px;

  /* Helper Radii */
  --r8: 8px;
  --r-circle: 50%;

  /* Helper Colors */
  --bg-dark-gray: #262626;
  --bg-dark-gray-hover: #333333;
  --bg-red-subtle: #fef2f2;
  --bg-amber-subtle: #fffbeb;
  --bg-warning-subtle-hover: #fff2cf;
  --bg-success-subtle: #d0f6d6;
  --bg-success-subtle-hover: #f0fdf4;
  --bg-info-subtle: #eff6ff;
  --bg-purple-subtle: #f5f3ff;
  --color-success-dark: #166534;
  --color-info-dark: #1e40af;
  --color-purple-dark: #6d28d9;
  --color-warning-dark: #92400e;
  --color-danger-dark: #991b1b;
  --color-star: #f59e0b;

  /* Helper Opacities/Overlays */
  --bg-overlay: rgba(9, 9, 11, .5);
  --bg-dark-menu: rgba(24, 24, 27, .96);
  --bg-light-trans-28: rgba(250, 250, 250, .28);
  --bg-light-trans-40: rgba(250, 250, 250, .4);
  --bg-light-trans-55: rgba(250, 250, 250, .55);
  --bg-light-trans-60: rgba(250, 250, 250, .6);

  /* Hover shadow & Non-standard typography */
  --shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.15);
  --font-poppins: "Poppins", sans-serif;
}

/* ── RESET ───────────────────────────────────────────────── */
@layer reset {

  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    color-scheme: light dark;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  html::-webkit-scrollbar {
    display: none;
  }

  body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
    background: var(--W);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-h);
    padding-bottom: var(--bottom-nav-h);
  }

  img, svg {
    display: block;
    width: 100%;
    border-radius: var(--r4);
  }

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

  button {
    cursor: pointer;
    font-family: var(--font-sans);
    border: none;
    background: none;
  }

  input, select, textarea {
    font-family: var(--font-sans);
    font-size: inherit;
  }

  ul, ol {
    list-style: none;
  }
}

/* ── LAYOUT SYSTEM ───────────────────────────────────────── */
/*
  Three breakpoints:
    mobile  < 768px   → pad 20px, no max-width constraint
    tablet  768–1439px → pad 40px, no max-width constraint
    desktop ≥ 1440px  → pad 80px, content max-width 1280px centered

  The "container" class gives the inner 1280px max-width centering.
  Sections get padding via .section / .wrap.
*/

.wrap {
  width: 100%;
  padding-left: var(--pad-mobile);
  padding-right: var(--pad-mobile);
}

.section {
  padding-top: var(--gap-xl);
  padding-bottom: var(--gap-xl);
}

.section-sm {
  padding-top: var(--gap-lg);
  padding-bottom: var(--gap-lg);
}



/* inner content width cap */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .wrap {
    padding-left: var(--pad-tablet);
    padding-right: var(--pad-tablet);
  }
}

@media (min-width: 1440px) {
  .wrap {
    padding-left: var(--pad-desktop);
    padding-right: var(--pad-desktop);
  }

  body {
    padding-bottom: 0;
  }
}

/* Shorthand: section + wrap together */
.s-wrap {
  width: 100%;
  padding-left: var(--pad-mobile);
  padding-right: var(--pad-mobile);
  padding-top: var(--gap-md);
  padding-bottom: var(--gap-md);
}

@media (min-width: 768px) {
  .s-wrap {
    padding-left: var(--pad-tablet);
    padding-right: var(--pad-tablet);
  }
}

@media (min-width: 1440px) {
  .s-wrap {
    padding-left: var(--pad-desktop);
    padding-right: var(--pad-desktop);
  }
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */


.d-lg {
  font-family: var(--font-display);
  font-size: clamp(24px, 7vw, 48px);
  font-weight: 500;
  line-height: 1.08em;

}

.d-md {
  font-family: var(--font-display);
  font-size: clamp(20px, 5vw, 36px);
  font-weight: 400;
  line-height: 1.12em;

}

.d-sm {
  font-family: var(--font-display);
  font-size: clamp(16px, 3.5vw, 24px);
  font-weight: 400;
  line-height: 1.2em;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--gap-xs);
}
.text {
  font-family: var(--font-display);
  font-size: clamp(12px, 2vw, 16px);
  font-weight: 300;
  line-height: 1.6em;
}
.text-muted {
  color: var(--text-secondary);
}

.text-xs {
  font-size: 11px;
  color: var(--text-tertiary);
}

.text-sm {
  font-size: 13px;
  color: var(--text-secondary);
}



/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);
  padding: var(--gap-sm) var(--gap-24px);
  border-radius: var(--r4);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s var(--ease), transform .15s var(--ease),
    opacity .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(.98);
}

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.btn-primary {
  background: var(--accent);
  color: var(--W);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-dark {
  background: var(--text-primary);
  color: var(--bg-main);
}

.btn-dark:hover {
  opacity: .85;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  background: var(--bg-surface-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
  border-radius: var(--r4);
}

.btn-danger {
  background: var(--danger);
  color: var(--W);
}

.btn-sm {
  padding: var(--gap-xs) var(--gap-16px);
  font-size: 11px;
}

.btn-lg {
  padding: var(--gap-16px) var(--gap-32px);
  font-size: 13px;
}

.btn-xl {
  padding: var(--gap-18px) var(--gap-lg);
  font-size: 14px;
}

.btn-block {
  width: 100%;
}



.btn.added {
  background: var(--accent) !important;
  color: var(--W) !important;
}

/* ── FORM ELEMENTS ───────────────────────────────────────── */
.input {
  width: 100%;
  height: 48px;
  padding: 0 var(--gap-14px);
  background: var(--bg-main);
  border: 1px solid var(--border-strong);
  border-radius: var(--r4);
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  transition: border-color .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.input:focus {
  border-color: var(--accent);
}

.input::placeholder {
  color: var(--text-tertiary);
}

.input-sm {
  height: 40px;
  font-size: 13px;
}

.input-lg {
  height: 56px;
  font-size: 16px;
  padding: 0 var(--gap-18px);
}

textarea.input {
  height: auto;
  padding: var(--gap-14px);
  resize: vertical;
  min-height: 100px;
}

select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: var(--gap-38px);
  cursor: pointer;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--gap-6px);
  letter-spacing: .02em;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--gap-6px);
  margin-bottom: var(--gap-16px);
}

.form-hint {
  font-size: 11px;
  color: var(--text-tertiary);
}



.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-sm);
}

@media (max-width: 1023px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ── SEARCH BAR ──────────────────────────────────────────── */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border-strong);
  border-radius: var(--r4);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}

.search-bar:focus-within {
  border-color: var(--accent);
}

.search-bar-icon {
  padding: 0 var(--gap-14px);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-bar-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-primary);
  height: 50px;
  min-width: 0;
}

.search-bar input::placeholder {
  color: var(--text-tertiary);
}

.search-bar .btn {
  border-radius: 0;
  height: 100%;
  flex-shrink: 0;
  padding: 0 var(--gap-md);
}

/* ── DIVIDERS & SURFACES ─────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border-subtle);
}





.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r4);
}

.card-body {
  padding: var(--gap-md);
}

.card-header {
  padding: var(--gap-16px) var(--gap-md);
  border-bottom: 1px solid var(--border-subtle);
}



/* ── BADGE / TAG ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-4px);
  padding: var(--gap-3px) var(--gap-xs);
  border-radius: var(--r4);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-green {
  background: var(--accent-surface);
  color: var(--accent-text);
}



.badge-outline {
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}

.badge-red {
  background: var(--bg-danger-subtle);
  color: var(--danger);
}

.badge-amber {
  background: var(--bg-amber-subtle);
  color: var(--warning);
}

.tag {
  display: inline-block;
  padding: var(--gap-6px) var(--gap-14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r4);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s, color .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tag.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-surface);
}

/* ── TABS ────────────────────────────────────────────────── */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: var(--gap-sm) var(--gap-18px);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-tertiary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ── ACCORDION ───────────────────────────────────────────── */


.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
}

.accordion-item:first-child {
  border-top: 1px solid var(--border-subtle);
}













/* ── STARS ───────────────────────────────────────────────── */
.stars {
  display: flex;
  gap: var(--gap-2px);
  line-height: 1;
}

.star-fill {
  color: var(--color-star);
  font-size: 13px;
}

.star-empty {
  color: var(--border-strong);
  font-size: 13px;
}

.rating-num {
  font-size: 12px;
  color: var(--text-secondary);
  margin-left: var(--gap-4px);
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-tertiary);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.bc-sep {
  color: var(--border-strong);
}

/* ── QUANTITY CONTROL ────────────────────────────────────── */
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r4);
  overflow: hidden;
  height: 40px;
  background: var(--bg-surface);
}

.qty-btn {
  width: 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 18px;
  transition: background .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-sans);
}

.qty-btn:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
}

.qty-val {
  width: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  -moz-appearance: textfield;
}

/* ── PRODUCT CARD ────────────────────────────────────────── */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r4);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}


.product-img-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);
  color: var(--text-tertiary);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  width: 100%;
  height: 100%;
}

.product-img-inner svg {
  width: 32px;
  height: 32px;
  opacity: .25;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--accent);
  color: var(--W);
  font-size: 9px;
  font-weight: 600;
  padding: var(--gap-3px) var(--gap-xs);
  border-radius: var(--r4);
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}













.product-info {
  padding: var(--gap-14px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--gap-4px);
}

.product-name {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: var(--gap-10px);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: var(--gap-6px);
  flex-wrap: wrap;
  margin-bottom: var(--gap-4px);
}

.price-main {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--text-primary);
}

.price-old {
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: line-through;
}

.price-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-surface);
  padding: var(--gap-2px) var(--gap-6px);
  border-radius: var(--r4);
}

.product-atc {
  margin-top: var(--gap-sm);
  width: 100%;
  padding: var(--gap-10px);
  border: none;
  border-radius: var(--r4);
  background: var(--accent);
  color: var(--W);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-7px);
  transition: opacity .2s, transform .15s, background .2s;
  -webkit-tap-highlight-color: transparent;
}

.product-atc:hover:not(:disabled) {
  background: var(--accent-hover);
  opacity: .95;
  transform: translateY(-1px);
}

.product-atc:active:not(:disabled) {
  transform: scale(.98);
}

.product-atc:disabled {
  background: var(--border-strong) !important;
  color: var(--text-secondary) !important;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none !important;
}

.product-atc svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.product-atc.added {
  background: var(--accent-hover);
}

/* Horizontal card */




/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-sm);
}







@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
  }
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-md);
  }
}


/* Homepage Categories Grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
  justify-content: center;
}

@media (min-width: 480px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-sm);
  }
}

@media (min-width: 768px) {
  .cat-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--gap-md);
  }
}

@media (min-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: var(--gap-lg);
  }
}

.cat-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r4);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── CATEGORY CARD ───────────────────────────────────────── */




















/* ── HEADER ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --header-h: 72px;
  }
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--accent);
  color: var(--W);
  padding: var(--gap-10px) var(--gap-16px);
  border-radius: var(--r4);
  font-size: 13px;
  font-weight: 500;
  z-index: 1200;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 8px;
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
}

.header-top {
  background: var(--dark-bg);
  color: var(--W);
}

.header-top__inner {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  min-height: 72px;
  padding-block: var(--gap-xs);
  width: 100%;
  padding-inline: var(--pad-mobile);
}

@media (min-width: 768px) {
  .header-top__inner {
    padding-inline: var(--pad-tablet);
    max-width: calc(var(--content-max) + var(--pad-tablet) * 2);
    margin-inline: auto;
  }
}

@media (min-width: 1440px) {
  .header-top__inner {
    padding-inline: var(--pad-desktop);
    max-width: calc(var(--content-max) + var(--pad-desktop) * 2);
    margin-inline: auto;
  }
}

.header-bottom {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.header-bottom__inner {
  width: 100%;
  padding-inline: var(--pad-mobile);
}

@media (min-width: 768px) {
  .header-bottom__inner {
    padding-inline: var(--pad-tablet);
    max-width: calc(var(--content-max) + var(--pad-tablet) * 2);
    margin-inline: auto;
  }
}

@media (min-width: 1440px) {
  .header-bottom__inner {
    padding-inline: var(--pad-desktop);
    max-width: calc(var(--content-max) + var(--pad-desktop) * 2);
    margin-inline: auto;
  }
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.etaril_logo {
  height: 36px;
  width: auto;
}

.header-bottom__inner .search-bar {
  flex: 1 1 auto;
  max-width: 560px;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: var(--gap-10px);
  background: var(--bg-dark-gray);
  border-radius: var(--r4);
  height: 42px;
  padding-inline: 14px;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease;
  border: none;
  color: var(--text-tertiary);
}

.header-bottom__inner .search-bar:hover {
  background: var(--bg-dark-gray-hover);
}

.header-bottom__inner .search-bar svg {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.search-bar__placeholder {
  color: var(--text-tertiary);
  font-size: 14px;
}

/* Mobile Actions */
.mobile-actions {
  display: none;
  align-items: center;
  gap: var(--gap-16px);
  margin-left: auto;
  flex-shrink: 0;
}

.mobile-search-toggle, .mobile-cart-link {
  position: relative;
  color: var(--W);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-search-toggle svg, .mobile-cart-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--W);
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Desktop Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--gap-24px);
  margin-left: auto;
  flex-shrink: 0;
}

.header-actions a {
  display: flex;
  align-items: center;
  gap: var(--gap-6px);
  font-size: 14px;
  font-weight: 500;
  color: var(--W);
  white-space: nowrap;
  transition: opacity .15s ease;
}

.header-actions a:hover {
  opacity: .8;
}

.header-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.header-actions .offers {
  color: var(--accent);
}

.header-actions .icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-circle);
  border: 1px solid rgba(255,255,255,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  background: none;
}

.header-actions .icon-btn:hover {
  background: rgba(255,255,255,.08);
  opacity: 1;
}

.header-actions .icon-btn svg {
  width: 19px;
  height: 19px;
  color: var(--W);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--accent);
  color: var(--W);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  width: 17px;
  height: 17px;
  border-radius: var(--r-circle);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Category Navigation (Desktop Bottom Bar) */
.category-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-4px) var(--gap-26px);
  list-style: none;
}

.category-nav li {
  position: relative;
  display: flex;
  align-items: center;
}

.category-nav li > a {
  display: flex;
  align-items: center;
  gap: var(--gap-5px);
  padding-block: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  transition: color .15s;
}

.category-nav li > a:hover {
  color: var(--accent);
}

.category-nav li > a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform .15s ease;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.category-nav li:hover > a svg, .category-nav li:focus-within > a svg {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r4);
  min-width: 200px;
  padding: var(--gap-xs) 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.category-nav li:hover .dropdown, .category-nav li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .15s ease, transform .15s ease;
}

.category-nav ul > li:nth-last-child(-n+2) .dropdown {
  left: auto;
  right: 0;
}

.dropdown a {
  padding: var(--gap-9px) var(--gap-18px);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-primary);
  transition: background .15s;
}

.dropdown a:hover {
  background: var(--bg-surface-hover);
}

/* Mobile responsive constraints */
@media (max-width: 1024px) {
  .search-bar, .header-actions, .header-bottom {
    display: none;
  }
  .mobile-toggle, .mobile-actions {
    display: flex;
  }
  .header-top__inner {
    gap: var(--gap-14px);
  }
}

/* Drawer overlays & panels */
#mobileMenu {
  width: 320px;
  max-width: 85vw;
  border-right: 1px solid var(--border-subtle);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-18px) var(--gap-md);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.drawer__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
}

.drawer__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.drawer__links {
  display: flex;
  flex-direction: column;
  padding: var(--gap-4px) var(--gap-md);
  flex-shrink: 0;
}

.drawer__links a {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
  padding: var(--gap-sm) 0;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: color .15s;
}

.drawer__links a:hover {
  color: var(--accent);
}

.drawer__links a.offers {
  color: var(--accent);
}

.drawer__links svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.drawer__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-tertiary);
  padding: var(--gap-18px) var(--gap-md) var(--gap-6px);
}

.drawer__categories {
  padding: var(--gap-4px) 0 var(--gap-24px);
}

/* Accordion drawer menu items */
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-13px) var(--gap-md);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
}

.accordion-trigger:hover {
  background: var(--bg-surface-hover);
}

.accordion-trigger svg {
  width: 15px;
  height: 15px;
  transition: transform .2s ease;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .2s ease;
}

.accordion-panel__inner {
  overflow: hidden;
}

.accordion-item.open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel__inner a {
  display: block;
  padding: var(--gap-10px) var(--gap-md) var(--gap-10px) var(--gap-34px);
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: background .15s, color .15s;
}

.accordion-panel__inner a:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
}

/* Remove extra borders that collide at container ends */
.accordion-panel__inner a:last-child {
  border-bottom: none;
}
.drawer__categories ul li:last-child a, .drawer__categories ul li:last-child .accordion-trigger {
  border-bottom: none !important;
}

/* Cart Panel overlay */
#cartPanel {
  width: 380px;
  max-width: 90vw;
  left: auto;
  border-left: 1px solid var(--border-subtle);
  box-shadow: none;
}

.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-18px) var(--gap-md);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.cart-panel__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.cart-panel__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
}

.cart-panel__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.cart-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--gap-4px) var(--gap-md);
}

.cart-panel__body .cart-item {
  position: relative;
  display: flex;
  gap: var(--gap-sm);
  padding: var(--gap-16px) 0;
  border-bottom: 1px solid var(--border-subtle);
  max-height: 300px;
  overflow: hidden;
  transition: opacity .2s ease, max-height .25s ease .05s, padding .25s ease .05s, border-color .25s ease .05s;
}

.cart-panel__body .cart-item.is-removing {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
}

.cart-item__thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--r4);
  background: var(--bg-surface-hover);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  margin: 0 0 var(--gap-2px);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  padding-right: var(--gap-28px);
}

.cart-item__variant {
  margin: 0 0 var(--gap-6px);
  font-size: 12px;
  color: var(--text-tertiary);
}

.cart-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--gap-xs);
  gap: var(--gap-10px);
}

.cart-item__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r4);
}

.cart-item__qty .qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
}

.cart-item__qty .qty-btn:hover {
  background: var(--bg-surface-hover);
}

.qty-value {
  width: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.cart-item__remove {
  position: absolute;
  top: 14px;
  right: 0;
  width: 22px;
  height: 22px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
}

.cart-item__remove:hover {
  color: var(--danger);
}

.cart-item__remove svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.cart-panel__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  padding: var(--gap-lg) var(--gap-md);
  text-align: center;
}

.cart-panel__empty svg {
  width: 46px;
  height: 46px;
  color: var(--border-strong);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.cart-panel__empty p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.cart-panel__footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--gap-18px) var(--gap-md);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-10px);
}

.cart-panel__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--gap-4px);
}

/* Search Modal overlay */
#searchOverlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: var(--gap-90px) var(--gap-md) var(--gap-md);
  background: var(--bg-overlay);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s, transform .25s ease;
  transform: translateY(-100%);
}
#searchOverlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease, transform .25s ease;
  transform: none;
}
.search-modal__inner {
  width: 100%;
  max-width: var(--content-max);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r4);
  transform: translateY(-16px) scale(.98);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
  height: 600px;
  max-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .search-modal__inner {
    max-width: var(--content-max);
  }
}
#searchOverlay.open .search-modal__inner {
  transform: translateY(0) scale(1);
}
.search-modal__form {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: var(--gap-16px) var(--gap-18px);
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-subtle);
}
.search-modal__form svg {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}
.search-modal__form input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  background: none;
  color: var(--text-primary);
}
.search-modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.search-modal__close:hover {
  color: var(--text-primary);
}
.search-modal__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.search-modal__suggestions {
  padding: var(--gap-18px);
  overflow-y: auto;
}
.search-modal__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-tertiary);
  margin-bottom: var(--gap-sm);
}
.search-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-xs);
}
.search-modal__tags a {
  padding: var(--gap-xs) var(--gap-14px);
  background: var(--bg-surface-hover);
  border-radius: var(--r4);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-primary);
  transition: background .15s;
}
.search-modal__tags a:hover {
  background: var(--border-subtle);
}

/* ── OVERLAY / DRAWER ────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}

.overlay.open {
  transform: none;
}

.overlay-left {
  transform: translateX(-100%);
}

.overlay-left.open {
  transform: none;
}





.overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gap-md);
  height: var(--header-h);
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-subtle);
}

.overlay-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--gap-24px) var(--gap-md);
  -webkit-overflow-scrolling: touch;
}

.overlay-footer {
  padding: var(--gap-16px) var(--gap-md);
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

/* ── SEARCH OVERLAY: slides from top ────────────────────── */


/* Equal padding all sides — matches left/right at every breakpoint */
#searchOverlay .overlay-body {
  padding-top: var(--pad-mobile);
  padding-bottom: var(--pad-mobile);
}

@media (min-width: 768px) {
  #searchOverlay .overlay-body { padding: var(--pad-tablet); }
}

@media (min-width: 1440px) {
  #searchOverlay .overlay-body { padding: var(--pad-desktop); }
}


/* Hide the native browser × clear button inside <input type="search"> */
#searchInput::-webkit-search-cancel-button, #searchInput::-webkit-search-decoration {
  -webkit-appearance: none;
  display: none;
}


/* Scrim */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.scrim.show {
  opacity: 1;
  pointer-events: all;
}

/* ── BOTTOM NAV (mobile only) ────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  height: var(--bottom-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transition: transform .3s var(--ease);
}

@media (prefers-color-scheme: dark) {
  .bottom-nav {
    background: var(--bg-dark-menu);
  }
}

.bottom-nav.hidden {
  transform: translateY(100%);
}

.nav-item {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-4px);
  cursor: pointer;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color .2s;
  position: relative;
  border: none;
  background: none;
  padding: 0 var(--gap-4px);
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-item.active {
  color: var(--accent);
}

.nav-item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.nav-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-badge {
  position: absolute;
  top: 5px;
  min-width: 16px;
  height: 16px;
  border-radius: var(--r8);
  background: var(--accent);
  color: var(--W);
  font-size: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gap-4px);
}

@media (min-width: 1024px) {
  .bottom-nav {
    display: none !important;
  }
}

/* ── PAGE HERO ───────────────────────────────────────────── */


.page-hero-inner {
  padding-top: var(--gap-32px);
  padding-bottom: var(--gap-28px);
}

/* ── FILTER DRAWER ───────────────────────────────────────── */
.filter-btn {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
  padding: var(--gap-10px) var(--gap-16px);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r4);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  color: var(--text-primary);
  transition: background .15s;
  -webkit-tap-highlight-color: transparent;
}

.filter-btn:hover {
  background: var(--bg-surface-hover);
}

.filter-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.filter-group {
  margin-bottom: var(--gap-24px);
}

.filter-group-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--gap-sm);
}

.filter-check {
  display: flex;
  align-items: center;
  gap: var(--gap-10px);
  padding: var(--gap-9px) 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  transition: color .15s;
  -webkit-tap-highlight-color: transparent;
}

.filter-check:last-child {
  border-bottom: none;
}

.filter-check:hover {
  color: var(--accent);
}

.filter-check input {
  display: none;
}

.filter-check-box {
  width: 18px;
  height: 18px;
  border-radius: var(--r4);
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}

.filter-check input:checked~.filter-check-box {
  background: var(--accent);
  border-color: var(--accent);
}

.filter-check input:checked~.filter-check-box::after {
  content: '✓';
  font-size: 11px;
  color: var(--W);
  font-weight: 900;
}



/* ── SORT ROW ────────────────────────────────────────────── */


.sort-label {
  font-size: 12px;
  color: var(--text-tertiary);
}

select.sort-select {
  height: 38px;
  padding: 0 var(--gap-32px) 0 var(--gap-sm);
  font-size: 13px;
  font-weight: 400;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r4);
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  -webkit-appearance: none;
  appearance: none;
}

.result-count {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-left: auto;
}

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-6px);
  padding: var(--gap-32px) 0;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  transition: background .15s, border-color .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}

.page-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--W);
}

.page-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ── CART ────────────────────────────────────────────────── */
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: var(--gap-14px);
  padding: var(--gap-16px) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 84px;
  border-radius: var(--r4);
  background: var(--bg-surface-hover);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-img svg {
  width: 26px;
  height: 26px;
  opacity: .25;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.cart-item-cat {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--gap-3px);
}

.cart-item-name {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: var(--gap-4px);
}

.cart-item-var {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: var(--gap-xs);
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-xs);
  flex-wrap: wrap;
}

.cart-item-remove {
  display: flex;
  align-items: center;
  gap: var(--gap-4px);
  background: none;
  border: none;
  font-size: 12px;
  color: var(--text-tertiary);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color .15s;
  -webkit-tap-highlight-color: transparent;
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-item-remove svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.order-summary {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r4);
  overflow: hidden;
}

.order-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--gap-13px) var(--gap-md);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.order-sum-row:last-child {
  border-bottom: none;
}

.order-sum-label {
  color: var(--text-secondary);
  font-weight: 300;
}

.order-sum-val {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
}

.order-sum-row.total .order-sum-label {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}

.order-sum-row.total .order-sum-val {
  font-size: 24px;
}

/* ── CHECKOUT STEPS ──────────────────────────────────────── */


.step {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-tertiary);
}

.step.active {
  color: var(--text-primary);
}











/* ── PAYMENT OPTION ──────────────────────────────────────── */
.pay-opt {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: var(--gap-14px) var(--gap-16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r4);
  margin-bottom: var(--gap-10px);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}

.pay-opt:hover {
  border-color: var(--border-strong);
}

.pay-opt.sel {
  border-color: var(--accent);
  background: var(--accent-surface);
}

.pay-radio {
  width: 18px;
  height: 18px;
  border-radius: var(--r-circle);
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s;
}

.pay-opt.sel .pay-radio {
  border-color: var(--accent);
}

.pay-opt.sel .pay-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--r-circle);
  background: var(--accent);
}

.pay-icon {
  font-size: 22px;
}

.pay-name {
  font-size: 13px;
  font-weight: 500;
}

.pay-desc {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* ── ORDER STATUS BADGES ─────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-5px);
  padding: var(--gap-4px) var(--gap-10px);
  border-radius: var(--r4);
  font-size: 11px;
  font-weight: 600;
}

.status-pending {
  background: var(--bg-amber-subtle);
  color: var(--color-warning-dark);
}

.status-processing {
  background: var(--bg-info-subtle);
  color: var(--color-info-dark);
}



.status-delivered {
  background: var(--bg-success-subtle-hover);
  color: var(--color-success-dark);
}

.status-canceled {
  background: var(--bg-danger-subtle);
  color: var(--color-danger-dark);
}

.status-confirmed {
  background: var(--bg-purple-subtle);
  color: var(--color-purple-dark);
}

.status-completed {
  background: var(--bg-success-subtle-hover);
  color: var(--color-success-dark);
}

/* ── DASHBOARD NAV LINKS ─────────────────────────────────── */
.dash-link {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: var(--gap-13px) var(--gap-16px);
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  background: none;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
}

.dash-link:first-child {
  border-top: 1px solid var(--border-subtle);
}

.dash-link:hover {
  background: var(--bg-surface-hover);
  color: var(--accent);
}

.dash-link.active {
  color: var(--accent);
  background: var(--accent-surface);
  border-left-color: var(--accent);
}

.dash-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.dash-link-arrow {
  margin-left: auto;
  color: var(--text-tertiary);
}

.dash-link-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}



.variant-opts {
  display: flex;
  gap: var(--gap-xs);
  flex-wrap: wrap;
}

.variant-opt {
  padding: var(--gap-7px) var(--gap-16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r4);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}

.variant-opt:hover {
  background: var(--bg-surface-hover);
}

.variant-opt.active {
  border-color: var(--accent);
  background: var(--accent-surface);
  color: var(--accent-text);
}

.variant-opt.out {
  opacity: .4;
  cursor: not-allowed;
  text-decoration: line-through;
}







.prod-feature {
  display: flex;
  align-items: center;
  gap: var(--gap-10px);
  padding: var(--gap-10px) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-secondary);
}

.prod-feature:first-child {
  border-top: 1px solid var(--border-subtle);
}

.prod-feature svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* Sticky ATC */














/* ── REVIEW CARD ─────────────────────────────────────────── */
.review-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r4);
  padding: var(--gap-md);
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  transition: border-color .2s;
}

.review-card:hover {
  border-color: var(--border-strong);
}

.review-text {
  font-family: var(--font-display);
  font-size: 16px;
  /* font-style: italic; */
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--gap-10px);
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--r-circle);
  background: var(--accent-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
}

.review-name {
  font-size: 13px;
  font-weight: 500;
}

.review-loc {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* ── H-SCROLL ────────────────────────────────────────────── */
.h-scroll {
  display: flex;
  gap: var(--gap-sm);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.h-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .h-scroll {
    flex-wrap: wrap;
    overflow: visible;
  }

  .review-card {
    width: auto;
    flex: 1;
    min-width: 220px;
  }
}

/* ── BUNDLE CARD ─────────────────────────────────────────── */
















/* ── PROMO BAND ──────────────────────────────────────────── */






/* ── NEWSLETTER ──────────────────────────────────────────── */








/* ── TOAST ───────────────────────────────────────────────── */
.toast-wrap {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 12px);
  left: 20px;
  right: 20px;
  z-index: 9999;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .toast-wrap {
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-width: 280px;
  }
}

.toast {
  background: var(--text-primary);
  color: var(--bg-main);
  padding: var(--gap-sm) var(--gap-16px);
  border-radius: var(--r4);
  font-size: 13px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: var(--gap-10px);
  box-shadow: var(--shadow-md);
  pointer-events: all;
  animation: toastUp .25s var(--ease) both;
  margin-top: var(--gap-xs);
}

.toast-green,
.toast-success {
  background: var(--accent);
  color: #fff;
}

.toast-error {
  background: var(--danger);
  color: #fff;
}

.toast-warning {
  background: var(--warning);
  color: #fff;
}

.toast svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}



@keyframes toastUp {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ── FOOTER ──────────────────────────────────────────────── */
#site-footer {
  background: var(--text-primary);
  color: var(--bg-light-trans-60);
}







.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--bg-main);
  margin-bottom: var(--gap-10px);
}

.footer-logo .accent {
  color: var(--accent);
}

.footer-tagline {
  font-size: 11px;
  opacity: .4;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--gap-24px);
}

.footer-socials {
  display: flex;
  gap: var(--gap-10px);
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r4);
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  color: var(--bg-light-trans-40);
  -webkit-tap-highlight-color: transparent;
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-32px);
  padding-top: var(--gap-lg);
}

@media (min-width: 768px) {
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bg-light-trans-40);
  margin-bottom: var(--gap-14px);
}



.footer-link {
  font-size: 13px;
  color: var(--bg-light-trans-55);
  cursor: pointer;
  transition: color .2s;
  text-decoration: none;
  display: block;
  font-weight: 300;
}

.footer-link:hover {
  color: var(--bg-main);
}

.footer-bottom {
  padding-top: var(--gap-24px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 0;
  font-size: 11px;
  color: var(--bg-light-trans-28);
  line-height: 1.7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap-xs);
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

@keyframes floatYL {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg)
  }

  50% {
    transform: translateY(-10px) rotate(-4deg)
  }
}

@keyframes floatYR {

  0%,
  100% {
    transform: translateY(0) rotate(4deg)
  }

  50% {
    transform: translateY(-10px) rotate(4deg)
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(.8)
  }
}

@keyframes bounceFlt {

  0%,
  100% {
    transform: translateY(0) rotate(0)
  }

  50% {
    transform: translateY(-10px) rotate(5deg)
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%)
  }

  to {
    transform: none
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── VIEW ALL LINK ───────────────────────────────────────── */
.view-all {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-6px);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: gap .2s;
  flex-shrink: 0;
}

.view-all:hover {
  gap: var(--gap-10px);
}

.view-all svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--gap-64px) var(--gap-md);
  gap: var(--gap-14px);
  text-align: center;
}

.empty-state svg {
  width: 48px;
  height: 48px;
  opacity: .2;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
}

.empty-state-sub {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 260px;
}

/* ── FLASH SALE TIMER ────────────────────────────────────── */








/* ── SECTION HEADER ROW ──────────────────────────────────── */
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--gap-24px);
  flex-wrap: wrap;
  gap: var(--gap-sm);
}

/* ── HERO BANNER SLIDER ──────────────────────────────────── */
.banner-slider-wrap {
 padding-top: var(--gap-md);
 padding-bottom: var(--gap-md);
  margin-bottom: var(--gap-md);
  background: var(--bg-surface);
}

.banner-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r4);
  
}

.banner-slider {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
  cursor: grab;
  user-select: none;
}

.banner-slider:active {
  cursor: grabbing;
}

.banner-slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
}

.banner-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  pointer-events: none; /* Prevent browser image dragging */
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: var(--gap-16px);
  margin-top: var(--gap-16px);
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-circle);
  background: var(--border-strong);
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease), width .3s var(--ease);
}

.banner-dot:hover {
  background: var(--text-secondary);
}

.banner-dot.active {
  background: var(--accent);
  transform: scale(1.1);
  width: 20px;
  border-radius: var(--r8);
}


/* ── PRINT ───────────────────────────────────────────────── */
@media print {

  #site-header, .bottom-nav {
    display: none !important;
  }

  body {
    padding: 0;
  }
}


.trust_card_wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  padding-bottom: var(--gap-lg);
}
.trust_card p{
  text-align: justify;
  color:var(--text-primary);
}

/* Tablet */
@media (max-width: 991px) {
  .trust_card_wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .trust_card_wrapper {
    grid-template-columns: 1fr;
    padding: var(--gap-md);
   
  }
}

.trust_card{
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding: var(--gap-md);
  border-radius: var(--r4);
}
.trust_card:nth-child(odd) {
  background: var(--bg-warning-subtle-hover);
}

.trust_card:nth-child(even) {
  background: var(--bg-success-subtle);
}
.trust_card h4{
  color:var(--text-primary);
}
/* read More button on trust card text  */
.trust_card p.text {
    display: -webkit-box;
    -webkit-line-clamp: 10;   /* যত লাইন দেখাতে চান */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trust_card p.text.expanded {
    display: block;
    overflow: visible;
}
.readmore-toggle{
    margin-top: calc(-1 * var(--gap-16px));
    background:none;
    border:none;
    color:var(--accent-text);
    cursor:pointer;
    font-weight:600;
    padding:0;
    width: max-content;
}

/* ============================================================
   PRODUCT IMAGE GALLERY — THUMB STRIP
   ============================================================ */
.thumb-strip {
  display: flex;
  gap: var(--gap-xs);
  margin-top: var(--gap-10px);
  overflow-x: auto;
  padding-bottom: var(--gap-4px);
  scrollbar-width: thin;
}
.thumb-strip::-webkit-scrollbar { height: 4px; }
.thumb-strip::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }

.thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: var(--r3, 6px);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.18s ease;
}
.thumb:hover  { border-color: var(--border-strong); }
.thumb.active { border-color: var(--accent); }

/* ============================================================
   LIGHTBOX TRIGGER BUTTON (fullscreen icon on main image)
   ============================================================ */
.lightbox-trigger {
  color: var(--text-primary);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.lightbox-trigger:hover {
  background: var(--bg-surface-hover) !important;
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   LIGHTBOX MODAL
   ============================================================ */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: var(--gap-md);
  animation: lbFadeIn 0.2s ease;
}
.lightbox-modal.active {
  display: flex;
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Close button (X) */
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-circle);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--W);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  z-index: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
.lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--W);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Prev / Next navigation arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--r-circle);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--W);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
  z-index: 1;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.lightbox-nav.disabled { opacity: 0.25; pointer-events: none; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-nav svg {
  width: 22px;
  height: 22px;
  stroke: var(--W);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Main image area */
.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  max-height: calc(100vh - 160px);
}
.lightbox-content img {
  max-width: min(90vw, 900px);
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: var(--r4, var(--r8));
  display: block;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

/* Image counter (e.g. "2 / 5") */
.lightbox-counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* Thumbnail strip at the bottom of the lightbox */
.lightbox-thumbs {
  display: flex;
  gap: var(--gap-xs);
  margin-top: var(--gap-14px);
  overflow-x: auto;
  max-width: min(90vw, 900px);
  padding-bottom: var(--gap-4px);
  scrollbar-width: thin;
}
.lightbox-thumbs::-webkit-scrollbar { height: 4px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 2px; }

.lightbox-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--r3, 6px);
  border: 2px solid rgba(255,255,255,0.2);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.lightbox-thumb:hover  { opacity: 0.85; }
.lightbox-thumb.active { opacity: 1; border-color: var(--accent, #fff); }
.lightbox-thumb img    { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   MOBILE ADJUSTMENTS
   ============================================================ */
@media (max-width: 640px) {
  .lightbox-nav  { width: 36px; height: 36px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-content img { max-width: 95vw; }
  .lightbox-thumb { width: 50px; height: 50px; }
}

  .gradient_heading {
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  width: 100%;
   font-family: var(--font-poppins);

  /* Vertical gradient: dark green top → mid green → light green bottom */
  background: linear-gradient(
    to bottom,
    #0F5A1F 0%,
    #1F7A2E 50%,
    #38A34A 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* product description style for tynimce content */
.product_full_description ul, .product_full_description ol, .product_short_description ul, .product_short_description ol {
  list-style: revert;
  padding-left: 0px;
  margin: revert;
  list-style-position: inside;
}

.product_full_description li, .product_short_description li {
  list-style: revert;
}

/* ── UTILITY CLASSES FOR INLINE CSS REDUCTION ── */
.d-flex { display: flex; }
.flex-align-center { display: flex; align-items: center; }


.flex-wrap { flex-wrap: wrap; }


/* Flex alignment + gap helper classes in 4x spacing scale */

.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }




/* Grid columns & layouts */



/* Margins and Paddings conforming to 4x spacing */











.m-b-16 { margin-bottom: 16px; }
.m-b-20 { margin-bottom: 20px; }
.m-b-24 { margin-bottom: 24px; }










/* PDP & Storefront Components */
.pdp-pricing-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r4);
  padding: var(--gap-16px);
  margin-bottom: var(--gap-md);
}
.pdp-price-container {
  display: flex;
  align-items: baseline;
  gap: var(--gap-sm);
  flex-wrap: wrap;
  margin-bottom: var(--gap-xs);
}
.pdp-original-price {
  font-size: 20px;
  color: var(--text-tertiary);
  text-decoration: line-through;
}
.pdp-badge {
  font-size: 12px;
}

/* Category cards grid */
.cat-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  gap: var(--gap-xs);
  transition: transform 0.2s var(--ease);
}
.cat-card-item:hover {
  transform: translateY(-2px);
}
.cat-image-wrapper {
  width: 80px;
  height: 80px;
  border-radius: var(--r4);
  overflow: hidden;
  border: none;
}
.cat-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-fallback-icon {
  background: var(--accent-surface);
  width: 80px;
  height: 80px;
  border-radius: var(--r4);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Customer account profile avatar */
.profile-avatar-large {
  width: 68px;
  height: 68px;
  border-radius: var(--r-circle);
  background: var(--accent-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--accent);
  font-weight: 400;
}

.profile-avatar-small {
  width: 52px;
  height: 52px;
  border-radius: var(--r-circle);
  background: var(--accent-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
}

.selected-label {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-primary);
  margin-left: var(--gap-4px);
}

.variant-opts-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--gap-xs);
}

.pointer-none { pointer-events: none; }
.pay-radio-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.uppercase-input { text-transform: uppercase; }
.btn-no-wrap { white-space: nowrap; }
.form-hint-block { display: block; font-size: 12px; margin-top: 4px; color: var(--text-tertiary); }

.m-y-20 { margin-top: 20px !important; margin-bottom: 20px !important; }
.p-b-20 { padding-bottom: 20px !important; }
.border-b { border-bottom: 1px solid var(--border-subtle) !important; }
.form-section-title { font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.dash-badge { margin-left: auto; background: var(--accent); color: #fff; border-radius: 100px; font-size: 12px; padding: 2px 8px; font-weight: 600; }
.dash-link-logout { color: var(--danger); border-bottom: none; background: none; border-left: none; border-right: none; border-top: none; width: 100%; text-align: left; cursor: pointer; font-family: inherit; }

@media (max-width: 767px) {
  .sec-head-row {
    justify-content: center !important;
  }
  .reveal h2,
  .sec-head-row h2,
  .trust_things h4.d-sm {
    text-align: center !important;
    width: 100% !important;
  }
  .footer-cols {
    grid-template-columns: 1fr !important;
    gap: var(--gap-lg) !important;
  }
}
