/* ==========================================================================
   KUAKATA DRIED FISH — DESIGN SYSTEM CSS
   Strictly follows DESIGN_SYSTEM.md across Mobile (<640px), Tab (640-1023px), Desktop (>=1024px)
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License 1.1 — see /fonts/OFL-*.txt).
   Noto Sans (Latin letters & digits) + Noto Sans Bengali (বাংলা) are variable fonts:
   one file per script covers weights 400-700. No third-party font requests. */
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/noto-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/noto-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans Bengali";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/noto-sans-bengali-bengali.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1;
}

:root {
  /* 1. Brand Primary & CTA Colors (Daraz Signature) */
  --color-primary: #F85606;
  --color-primary-hover: #D04602;
  --color-primary-tint: #FFF1EB;

  --color-secondary: #2ABBE8;
  --color-secondary-hover: #1CA3CD;

  /* 2. Canvas & Surface Backgrounds */
  --bg-canvas: #EFF0F5;
  --bg-surface: #FFFFFF;
  --bg-subtle: #FAFAFA;

  /* 3. Text & Typography Colors */
  --text-primary: #212121;
  --text-secondary: #757575;
  --text-muted: #9E9E9E;
  --text-on-brand: #FFFFFF;

  /* 4. Status, Trust & Payment Brand Colors */
  --badge-mall-red: #D0011B;
  --badge-trust-green: #00B553;
  --badge-trust-tint: #E8F8F0;
  --badge-flash-gold: #FFB800;
  --brand-bkash: #E2136E;
  --brand-nagad: #F7941D;
  --brand-whatsapp: #25D366;

  /* 5. Borders, Focus Rings & Shadows */
  --border-card: #EFF0F5;
  --border-input: #DADADA;
  --border-input-focus: #F85606;
  --ring-focus: 0 0 0 3px rgba(248, 86, 6, 0.15);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 2px 10px rgba(0, 0, 0, 0.14);
  --shadow-sticky-bar: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Nirmala UI', Roboto, 'Helvetica Neue', Helvetica, Tahoma, Arial, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.5;
  padding-bottom: 64px; /* Space for mobile sticky bottom bar */
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* ==========================================================================
   CONTAINER & RESPONSIVE GRID SYSTEM
   ========================================================================== */

.daraz-container {
  width: 100%;
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
}

@media (min-width: 640px) {
  .daraz-container {
    max-width: 960px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (min-width: 1024px) {
  .daraz-container {
    max-width: 1188px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Product Card Grid: 2 Col Mobile -> 3 Col Tab -> 4 Col Desktop */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

/* ==========================================================================
   DARAZ REUSABLE PRODUCT CARD COMPONENT (.df-product-card)
   100% Uniform Slot Heights Across Mobile, Tablet, and Desktop
   ========================================================================== */

.df-product-card, .product-card {
  background-color: var(--bg-surface);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border-card);
  height: 100%;
}

@media (min-width: 1024px) {
  .df-product-card, .product-card {
    border-radius: 4px;
  }
}

.df-product-card:hover, .product-card:hover {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
  border-color: rgba(248, 86, 6, 0.35);
}

/* Slot 1: 1:1 Square Thumbnail */
.df-card-thumb, .product-card-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #F9F9F9;
  overflow: hidden;
  flex-shrink: 0;
}

.df-card-thumb img, .product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.df-product-card:hover .df-card-thumb img {
  transform: scale(1.04);
}

.df-card-badge-left, .badge-mall {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--badge-mall-red);
  color: var(--text-on-brand);
  font-size: 10px;
  font-weight: 600;
  height: 20px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  border-bottom-right-radius: 4px;
  z-index: 2;
  white-space: nowrap;
}

.df-card-badge-right, .badge-discount-corner {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: var(--color-primary);
  color: var(--text-on-brand);
  font-size: 11px;
  font-weight: 700;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  z-index: 2;
  white-space: nowrap;
}

/* Dynamic HTML Feature Strip at Bottom of Thumbnail (Replaces baked SVG text) */
.df-card-img-feature-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 47, 75, 0.86);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 500;
  height: 20px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

@media (min-width: 640px) {
  .df-card-img-feature-strip {
    font-size: 10.5px;
    height: 22px;
    padding: 0 8px;
  }
}

/* Dynamic Available Weights Strip inside Card Body */
.df-card-weights-bar {
  background-color: var(--bg-canvas);
  color: var(--text-secondary);
  font-size: 9.5px;
  font-weight: 600;
  height: 19px;
  padding: 0 5px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

@media (min-width: 640px) {
  .df-card-weights-bar {
    font-size: 10.5px;
    height: 20px;
    padding: 0 6px;
  }
}

/* Uniform Card Body (Daraz Audited Padding: 6px 8px 10px Mobile / 8px 10px 12px Desktop) */
.df-card-body, .product-card-body {
  padding: 6px 8px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 640px) {
  .df-card-body, .product-card-body {
    padding: 8px 10px 12px;
  }
}

/* Slot 2: Batch Freshness Tag (Fixed 18px Height) */
.df-card-batch, .batch-fresh-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--badge-trust-green);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.df-card-batch-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Slot 3: Product Title (Daraz Exact: 2-Line Clamp, line-height: 18px, height: 36px) */
.df-card-title, .product-card-title {
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  color: #000000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  margin-bottom: 4px;
}

@media (min-width: 640px) {
  .df-card-title, .product-card-title {
    font-size: 13.5px;
    line-height: 18px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
  }
}

@media (min-width: 1024px) {
  .df-card-title, .product-card-title {
    font-size: 14px;
    line-height: 18px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
  }
}

.df-card-title:hover, .product-card-title:hover {
  color: var(--color-primary);
}

/* Slot 4: Retail Price Row (Daraz Exact: 22px height, -0.56px letter-spacing) */
.df-card-price-row, .product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  height: 22px;
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 4px;
}

.df-card-price-current, .price-current {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  height: 22px;
  letter-spacing: -0.56px;
  color: #f57224;
}

@media (min-width: 640px) {
  .df-card-price-current, .price-current { font-size: 17px; }
}
@media (min-width: 1024px) {
  .df-card-price-current, .price-current { font-size: 18px; }
}

.df-card-currency, .price-currency {
  font-size: 0.85em;
  margin-right: 1px;
}

.df-card-price-old, .price-old {
  font-size: 11px;
  font-weight: 400;
  line-height: 12px;
  color: #9e9e9e;
  text-decoration: line-through;
}

@media (min-width: 1024px) {
  .df-card-price-old, .price-old { font-size: 12px; }
}

.df-card-price-pct, .price-discount-pct {
  font-size: 11px;
  font-weight: 400;
  line-height: 12px;
  color: #212121;
  opacity: 0.85;
}

@media (min-width: 1024px) {
  .df-card-price-pct, .price-discount-pct { font-size: 12px; }
}

/* Slot 5: Wholesale Tier Row (Fixed 22px Height) */
.df-card-wholesale-row {
  height: 22px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.df-card-wholesale-chip, .wholesale-chip {
  display: inline-block;
  background-color: var(--badge-trust-tint);
  color: var(--badge-trust-green);
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  height: 20px;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (min-width: 640px) {
  .df-card-wholesale-chip, .wholesale-chip {
    font-size: 11px;
    padding: 1px 6px;
  }
}

/* Slot 6: Uniform Footer (Fixed 38px Height) */
.df-card-footer, .product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: 38px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid var(--border-card);
}

.df-card-unit, .weight-label {
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.df-card-add-btn, .btn-card-quick-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background-color: var(--color-primary-tint);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.df-card-add-btn:hover, .btn-card-quick-add:hover {
  background-color: var(--color-primary);
  color: var(--text-on-brand);
}

@media (min-width: 640px) {
  .df-card-add-btn, .btn-card-quick-add { height: 32px; padding: 0 12px; font-size: 12.5px; }
}

/* ==========================================================================
   BUTTONS BY DEVICE (Exact Heights & Paddings from DESIGN_SYSTEM.md)
   ========================================================================== */

.btn-primary-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  background-color: var(--color-primary);
  color: var(--text-on-brand);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
  text-decoration: none;
}

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

.btn-secondary-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  background-color: var(--color-secondary);
  color: var(--text-on-brand);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
  text-decoration: none;
}

.btn-secondary-cart:hover {
  background-color: var(--color-secondary-hover);
}

@media (min-width: 640px) {
  .btn-primary-buy { height: 42px; padding: 0 20px; font-size: 14px; }
  .btn-secondary-cart { height: 42px; padding: 0 18px; font-size: 14px; }
}

@media (min-width: 1024px) {
  .btn-primary-buy { height: 44px; padding: 0 28px; font-size: 15px; min-width: 180px; }
  .btn-secondary-cart { height: 44px; padding: 0 24px; font-size: 15px; min-width: 180px; }
}

/* Card Quick Add Button (+ কার্ট) */
.btn-card-quick-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background-color: var(--color-primary-tint);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-card-quick-add:hover {
  background-color: var(--color-primary);
  color: var(--text-on-brand);
}

@media (min-width: 640px) {
  .btn-card-quick-add { height: 32px; padding: 0 12px; font-size: 12.5px; }
}
@media (min-width: 1024px) {
  .btn-card-quick-add { height: 34px; padding: 0 14px; font-size: 13px; }
}

/* Weight / Tier Variant Pill */
.variant-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 2px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.variant-pill.active, .variant-pill:hover {
  background-color: var(--color-primary-tint);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

@media (min-width: 640px) {
  .variant-pill { height: 36px; padding: 0 14px; font-size: 13px; }
}
@media (min-width: 1024px) {
  .variant-pill { height: 36px; padding: 0 16px; font-size: 13px; }
}

/* ==========================================================================
   INPUTS & SEARCH BOX BY DEVICE (Mobile 16px Focus Safe)
   ========================================================================== */

.header-search-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 560px;
}

.header-search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  border: 1px solid transparent;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: all 0.15s ease;
}

.header-search-input:focus {
  background-color: var(--bg-surface);
  border-color: var(--color-primary);
}

.header-search-btn {
  height: 36px;
  width: 40px;
  background-color: var(--color-primary);
  color: var(--text-on-brand);
  border: none;
  border-radius: 0 4px 4px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.header-search-btn:hover {
  background-color: var(--color-primary-hover);
}

@media (min-width: 640px) {
  .header-search-input { height: 40px; padding: 0 14px; }
  .header-search-btn { height: 40px; width: 45px; }
}

@media (min-width: 1024px) {
  .header-search-input { height: 44px; padding: 0 16px; background-color: #F5F5F5; }
  .header-search-btn { height: 44px; width: 52px; }
}

.form-input, .form-select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-size: 16px; /* Prevents iOS/FB WebView auto-zoom */
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-input-focus);
  box-shadow: var(--ring-focus);
}

@media (min-width: 640px) {
  .form-input, .form-select {
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }
}

.form-textarea {
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  font-size: 16px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: 4px;
  outline: none;
  resize: vertical;
}

@media (min-width: 640px) {
  .form-textarea {
    min-height: 82px;
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* ==========================================================================
   HEADER, FLASH SALE & STICKY MOBILE FOOTER
   ========================================================================== */

.top-utility-bar {
  display: none;
  background-color: #F5F5F5;
  border-bottom: 1px solid #E8E8E8;
  font-size: 12px;
  color: var(--text-secondary);
  min-height: 30px;
  padding: 4px 0;
}

@media (min-width: 768px) {
  .top-utility-bar {
    display: flex;
    align-items: center;
  }
}

.daraz-sticky-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--bg-surface);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
  height: 56px;
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .daraz-sticky-header { height: 64px; }
}
@media (min-width: 1024px) {
  .daraz-sticky-header { height: 75px; }
}

.countdown-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--badge-mall-red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  min-width: 28px;
  height: 26px;
  padding: 0 5px;
  border-radius: 3px;
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-sticky-bar);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--border-card);
}

@media (min-width: 640px) {
  .mobile-bottom-nav {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* Hide Scrollbar for Category Pills */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Floating WhatsApp Button (Desktop/Tablet Only; Mobile uses Sticky Bottom Bar) */
.floating-whatsapp {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  background-color: var(--brand-whatsapp);
  color: #FFFFFF;
  height: 44px;
  padding: 0 16px;
  border-radius: 9999px;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.04);
}

@media (min-width: 640px) {
  .floating-whatsapp {
    display: inline-flex;
  }
}

/* ==========================================================================
   DARAZ SHOPPING CART SECTION (LIVE AUDITED FROM cart.daraz.com.bd/cart)
   Used in both Slide-Out Cart Drawer (#cartDrawer) and Checkout Page (checkout.html)
   ========================================================================== */

/* 1. Select-All Toolbar (.list-header) */
.daraz-cart-toolbar {
  background-color: #FFFFFF;
  height: 38px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #EFF0F5;
  border-radius: 2px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #757575;
}

@media (min-width: 640px) {
  .daraz-cart-toolbar {
    height: 40px;
    padding: 0 12px;
  }
}

.daraz-cart-select-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #757575;
  user-select: none;
  text-transform: uppercase;
}

.daraz-cart-delete-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #757575;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 2px;
  transition: color 0.15s ease;
}

.daraz-cart-delete-all-btn:hover {
  color: #F57224;
}

/* 2. Store Group Card (.checkout-shop-outer) */
.daraz-cart-shop-card {
  background-color: #FFFFFF;
  border: 1px solid #EFF0F5;
  border-radius: 2px;
  overflow: hidden;
}

.daraz-cart-shop-header {
  height: 34px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #EFF0F5;
  background-color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 500;
  color: #212121;
}

@media (min-width: 640px) {
  .daraz-cart-shop-header {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
}

/* 3. Cart Checkbox (16px x 16px exact) */
.daraz-cart-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #F57224;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 2px;
}

/* 4. Cart Product Row (.cart-item) */
.daraz-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  min-height: 108px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #EFF0F5;
  transition: background-color 0.15s ease;
}

.daraz-cart-item:last-child {
  border-bottom: none;
}

.daraz-cart-item.is-unchecked {
  opacity: 0.6;
  background-color: #FAFAFA;
}

@media (min-width: 640px) {
  .daraz-cart-item {
    gap: 12px;
    padding: 14px 12px;
    min-height: 115.59px;
  }
}

/* 5. Product Thumbnail (68x68px Mobile, 80x80px Desktop) */
.daraz-cart-thumb {
  width: 68px;
  height: 68px;
  border-radius: 2px;
  overflow: hidden;
  background-color: #F9F9F9;
  border: 1px solid #EFF0F5;
  flex-shrink: 0;
  display: block;
}

@media (min-width: 640px) {
  .daraz-cart-thumb {
    width: 80px;
    height: 80px;
  }
}

.daraz-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 6. Cart Item Main Content Wrapper */
.daraz-cart-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 768px) {
  .daraz-cart-main.is-wide-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }
}

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

.daraz-cart-title {
  font-size: 13px;
  line-height: 17px;
  max-height: 34px;
  font-weight: 400;
  color: #212121;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

@media (min-width: 640px) {
  .daraz-cart-title {
    font-size: 14px;
    line-height: 16px;
    max-height: 32px;
  }
}

.daraz-cart-title:hover {
  color: #F57224;
}

.daraz-cart-promoted-badge {
  display: inline-flex;
  align-items: center;
  height: 15px;
  padding: 0 5px;
  background: linear-gradient(90deg, #4A00E0 0%, #8E2DE2 100%);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: middle;
}

.daraz-cart-sku {
  font-size: 11.5px;
  line-height: 15px;
  color: #757575;
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

@media (min-width: 640px) {
  .daraz-cart-sku {
    font-size: 12px;
    line-height: 16px;
    margin-top: 6px;
  }
}

.daraz-cart-weight-select {
  font-size: 11px;
  color: #212121;
  background-color: #FAFAFA;
  border: 1px solid #DADADA;
  border-radius: 2px;
  padding: 1px 6px;
  height: 22px;
  cursor: pointer;
  outline: none;
}

.daraz-cart-weight-select:focus {
  border-color: #F57224;
}

.daraz-cart-best-price {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 16px;
  padding: 0 5px;
  background-color: #F57224;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  border-radius: 2px;
  margin-top: 4px;
  letter-spacing: 0.2px;
}

/* 7. Price, Operations (Heart / Trash) & Quantity Stepper Row */
.daraz-cart-controls-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .daraz-cart-main.is-wide-layout .daraz-cart-controls-wrap {
    margin-top: 0;
    align-items: flex-start;
    gap: 16px;
    flex-shrink: 0;
  }
}

.daraz-cart-price-ops {
  display: flex;
  flex-direction: column;
  min-width: 95px;
}

@media (min-width: 768px) {
  .daraz-cart-main.is-wide-layout .daraz-cart-price-ops {
    width: 132px;
  }
}

.daraz-cart-current-price {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: #F57224;
}

@media (min-width: 640px) {
  .daraz-cart-current-price {
    font-size: 18px;
    line-height: 26px;
  }
}

.daraz-cart-origin-price {
  font-size: 11px;
  line-height: 15px;
  color: #9E9E9E;
  text-decoration: line-through;
}

@media (min-width: 640px) {
  .daraz-cart-origin-price {
    font-size: 12px;
    line-height: 16px;
  }
}

.daraz-cart-ops {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.daraz-cart-op-btn {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #9E9E9E;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.daraz-cart-op-btn:hover {
  color: #F57224;
}

.daraz-cart-op-btn.is-active {
  color: #D0011B;
}

/* 8. Daraz Exact Quantity Stepper (.cart-item-number-picker: 96x28 Mobile / 108x32 Desktop) */
.daraz-number-picker {
  display: inline-flex;
  align-items: center;
  width: 96px;
  height: 28px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .daraz-number-picker {
    width: 108px;
    height: 32px;
  }
}

.daraz-picker-btn {
  width: 28px;
  height: 28px;
  background-color: #EFF0F5;
  color: #757575;
  border: 1px solid #EFF0F5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

@media (min-width: 640px) {
  .daraz-picker-btn {
    width: 32px;
    height: 32px;
  }
}

.daraz-picker-btn:hover:not(:disabled) {
  background-color: #DADADA;
  color: #212121;
}

.daraz-picker-btn:disabled {
  background-color: #FAFAFA;
  color: #DADADA;
  cursor: not-allowed;
}

.daraz-picker-input {
  width: 40px;
  height: 28px;
  border: 1px solid #EFF0F5;
  background-color: #FFFFFF;
  color: #212121;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}

@media (min-width: 640px) {
  .daraz-picker-input {
    width: 44px;
    height: 32px;
    font-size: 14px;
  }
}

.daraz-picker-input:focus {
  border-color: #F57224;
}

/* 9. Daraz Order Summary & Voucher Input (.summary-section) */
.daraz-summary-card {
  background-color: #FFFFFF;
  padding: 14px 12px;
  border: 1px solid #EFF0F5;
  border-radius: 2px;
}

@media (min-width: 640px) {
  .daraz-summary-card {
    padding: 16px 12px;
  }
}

.daraz-summary-title {
  font-size: 16px;
  font-weight: 500;
  color: #212121;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .daraz-summary-title {
    font-size: 18px;
  }
}

.daraz-voucher-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.daraz-voucher-input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  font-size: 13.5px;
  color: #212121;
  background-color: #FFFFFF;
  border: 1px solid #DADADA;
  border-radius: 2px;
  outline: none;
}

@media (min-width: 640px) {
  .daraz-voucher-input {
    font-size: 14px;
  }
}

.daraz-voucher-input:focus {
  border-color: #1A9CB7;
}

.daraz-voucher-btn {
  width: 88px;
  height: 38px;
  background-color: #1A9CB7;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

@media (min-width: 640px) {
  .daraz-voucher-btn {
    width: 104px;
    height: 40px;
    font-size: 14px;
  }
}

.daraz-voucher-btn:hover {
  background-color: #148299;
}

.daraz-checkout-btn {
  width: 100%;
  height: 40px;
  background-color: #F57224;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.15s ease;
}

.daraz-checkout-btn:hover {
  background-color: #D04602;
}

/* ==========================================================================
   DARAZ FULL-SCREEN 2-COLUMN LAYOUT (cart.html -> checkout.html -> payment.html)
   Exact Audited Desktop Dimensions: 788px Left + 12px Gap + 388px Right = 1188px
   ========================================================================== */

.daraz-fullpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

@media (min-width: 1024px) {
  .daraz-fullpage-grid {
    grid-template-columns: minmax(0, 788px) minmax(0, 388px);
    justify-content: space-between;
    gap: 12px;
  }
}

.daraz-fullpage-left,
.daraz-fullpage-right {
  width: 100%;
  min-width: 0;
}

/* ==========================================================================
   PREMIUM GLOBAL E-COMMERCE FOOTER COMPONENT (.kdf-global-footer)
   Deep Coastal Navy flagship design with realistic layered SVG icons.
   Responsive across Mobile (375px), Tablet (768px), and Desktop (1280px).
   ========================================================================== */

.kdf-global-footer {
  background: linear-gradient(180deg, #0D1E36 0%, #091526 100%);
  color: #CBD5E1;
  margin-top: 32px;
  font-size: 13px;
  line-height: 1.6;
}

.kdf-footer-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #F85606 0%, #FB923C 45%, #14B8A6 100%);
}

/* USP Highlight Strip */
.kdf-footer-usp-bar {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.kdf-footer-usp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .kdf-footer-usp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .kdf-footer-usp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

.kdf-usp-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.kdf-usp-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(251, 146, 60, 0.35);
}

.kdf-usp-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kdf-usp-icon-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.08));
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.kdf-usp-icon-amber {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(14, 165, 233, 0.12));
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.kdf-usp-icon-cyan {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.kdf-usp-icon-coral {
  background: linear-gradient(135deg, rgba(248, 86, 6, 0.26), rgba(251, 146, 60, 0.1));
  border: 1px solid rgba(251, 146, 60, 0.34);
}

.kdf-icon-usp {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.kdf-usp-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.3;
}

.kdf-usp-sub {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.35;
  margin-top: 2px;
}

/* Main 4-Column Grid */
.kdf-footer-main {
  padding-top: 30px;
  padding-bottom: 26px;
}

.kdf-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

@media (min-width: 640px) {
  .kdf-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 28px;
  }
}

@media (min-width: 1024px) {
  .kdf-footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1.05fr) minmax(0, 1.35fr);
    gap: 28px;
  }
}

.kdf-footer-col {
  min-width: 0;
}

.kdf-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-bottom: 12px;
}

.kdf-footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid #F85606;
  box-shadow: 0 0 0 3px rgba(248, 86, 6, 0.22);
  flex-shrink: 0;
  background-color: #FFFFFF;
}

.kdf-footer-brand-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.kdf-footer-brand-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #5EEAD4;
  line-height: 1.35;
}

.kdf-footer-desc {
  font-size: 12.5px;
  color: #94A3B8;
  margin: 0 0 14px 0;
  line-height: 1.7;
}

.kdf-icon-sm {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.kdf-footer-heading {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 14px 0;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kdf-footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #F85606, #FB923C);
  border-radius: 2px;
}

.kdf-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kdf-footer-links a,
.kdf-footer-link-btn {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.45;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
}

.kdf-footer-links a:hover,
.kdf-footer-link-btn:hover {
  color: #FB923C;
  transform: translateX(3px);
}

.kdf-footer-admin-link {
  color: #FB923C !important;
  font-weight: 600;
}

.kdf-footer-contact-list {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12.5px;
  color: #CBD5E1;
}

.kdf-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.kdf-contact-badge {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.kdf-footer-contact-list a {
  color: #F8FAFC;
  font-weight: 500;
  text-decoration: none;
  word-break: break-word;
}

.kdf-footer-contact-list a:hover {
  color: #FB923C;
  text-decoration: underline;
}

.kdf-footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kdf-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.kdf-social-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.kdf-social-fb {
  background: linear-gradient(135deg, #1877F2 0%, #0E5AC2 100%);
}

.kdf-social-wa {
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
}

/* Realistic Payment Cards */
.kdf-pay-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94A3B8;
  margin-bottom: 7px;
}

.kdf-footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.kdf-pay-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  padding: 4px 9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.kdf-pay-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.kdf-pay-name {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}

.kdf-pay-text-bkash {
  color: #D11062;
}

.kdf-pay-text-nagad {
  color: #D9480F;
}

.kdf-pay-text-cod {
  color: #047857;
}

/* Bottom Bar */
.kdf-footer-bottom {
  background-color: #060F1D;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 0;
}

.kdf-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: center;
}

@media (min-width: 640px) {
  .kdf-footer-bottom-inner {
    align-items: flex-start;
    text-align: left;
    padding-right: 180px; /* Clearance for floating WhatsApp button on tablet/desktop */
  }
}

@media (min-width: 1024px) {
  .kdf-footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    padding-right: 172px;
  }
}

.kdf-footer-copy {
  margin: 0;
  font-size: 12px;
  color: #94A3B8;
}

.kdf-footer-copy strong {
  color: #F8FAFC;
}

.kdf-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #475569;
}

.kdf-footer-legal-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-weight: 500;
}

.kdf-footer-legal-links a:hover {
  color: #FB923C;
  text-decoration: underline;
}

@media (max-width: 639px) {
  .kdf-footer-has-mobile-bar .kdf-footer-bottom {
    padding-bottom: 84px; /* Clearance for fixed mobile bottom nav / sticky PDP bar */
  }
}

/* ==========================================================================
   LEGAL PAGES (terms.html & privacy.html) — DARAZ BANGLADESH LEGAL CENTER STYLE
   2-column sticky TOC sidebar on desktop, clean stacked card on mobile/tablet.
   ========================================================================== */

.kdf-legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

@media (min-width: 1024px) {
  .kdf-legal-layout {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 20px;
  }
}

.kdf-legal-sidebar {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 16px;
}

@media (min-width: 1024px) {
  .kdf-legal-sidebar {
    position: sticky;
    top: 84px;
  }
}

.kdf-legal-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}

@media (min-width: 1024px) {
  .kdf-legal-tabs {
    grid-template-columns: minmax(0, 1fr);
  }
}

.kdf-legal-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: #424242;
  background-color: #F5F5F5;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.kdf-legal-tab:hover {
  color: #F85606;
  background-color: #FFF5F0;
}

.kdf-legal-tab-active {
  color: #FFFFFF !important;
  background-color: #F85606 !important;
  border-color: #F85606 !important;
}

.kdf-legal-toc-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #757575;
  margin: 0 0 8px 0;
  padding-top: 12px;
  border-top: 1px solid #EFEFEF;
}

.kdf-legal-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kdf-legal-toc-list a {
  display: block;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12.5px;
  color: #424242;
  text-decoration: none;
  line-height: 1.45;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.kdf-legal-toc-list a:hover {
  background-color: #FFF5F0;
  color: #F85606;
}

.kdf-legal-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px;
}

@media (min-width: 640px) {
  .kdf-legal-card {
    padding: 32px;
  }
}

.kdf-legal-section {
  scroll-margin-top: 84px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #EFEFEF;
}

.kdf-legal-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.kdf-legal-section h2 {
  font-size: 16.5px;
  font-weight: 700;
  color: #212121;
  margin: 0 0 10px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.kdf-legal-section h2 span.kdf-en-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: #757575;
}

.kdf-legal-section p,
.kdf-legal-section li {
  font-size: 13.5px;
  color: #424242;
  line-height: 1.78;
}

.kdf-clause-list {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.kdf-clause-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.kdf-clause-num {
  font-size: 12px;
  font-weight: 700;
  color: #F85606;
  background-color: #FFF5F0;
  border: 1px solid #FED7AA;
  border-radius: 3px;
  padding: 1px 6px;
  line-height: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.kdf-legal-section ul.kdf-bullet-list {
  margin: 6px 0 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ==========================================================================
   ADMIN LIQUID GRID WORKSPACE (v20261120y)
   Full-width fluid layout, collapsible Deep Coastal Navy sidebar, per-menu pages.
   No max-width container caps anywhere inside #adminAppShell.
   ========================================================================== */
.kdf-adm-shell {
  --kdf-sb-w: 256px;
  --kdf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  width: 100%;
  min-height: 100vh;
  background: #EFF0F5;
}
.kdf-adm-shell.hidden { display: none !important; }

.kdf-adm-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--kdf-sb-w);
  background: #0B192C; color: #E6EDF5;
  display: flex; flex-direction: column;
  z-index: 40;
  transition: width 0.3s var(--kdf-ease), transform 0.3s var(--kdf-ease);
  overflow: hidden;
}
.kdf-adm-brand { display: flex; align-items: center; gap: 10px; padding: 14px 16px; height: 64px; flex: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
.kdf-adm-brand-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #fff; flex: none; }
.kdf-adm-brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; white-space: nowrap; transition: opacity 0.2s ease; }
.kdf-adm-brand-text strong { font-size: 14px; color: #fff; }
.kdf-adm-brand-text small { font-size: 11px; color: #8FA6BF; }
.kdf-adm-nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.kdf-adm-nav-item, .kdf-adm-collapse-btn {
  position: relative; display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 14px; border-radius: 8px;
  color: #B7C6D8; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: transparent; border: 0; cursor: pointer; width: 100%; text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}
.kdf-adm-nav-item:hover, .kdf-adm-collapse-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.kdf-adm-nav-item.is-active { background: #F85606; color: #fff; box-shadow: 0 4px 12px rgba(248,86,6,0.35); }
.kdf-adm-nav-item:focus-visible, .kdf-adm-collapse-btn:focus-visible, .kdf-adm-hamburger:focus-visible { outline: 2px solid #2ABBE8; outline-offset: 2px; }
.kdf-adm-ico { flex: none; width: 20px; height: 20px; }
.kdf-adm-collapse-btn { margin: 0 10px 12px; width: calc(100% - 20px); border-top: 1px solid rgba(255,255,255,0.08); border-radius: 8px; }
.kdf-adm-collapse-btn .kdf-adm-ico { transition: transform 0.3s var(--kdf-ease); }

.kdf-adm-main { margin-left: var(--kdf-sb-w); min-width: 0; width: auto; transition: margin-left 0.3s var(--kdf-ease); }
.kdf-adm-topbar { position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 clamp(12px, 2vw, 28px); background: #fff; border-bottom: 1px solid #EFF0F5; box-shadow: 0 1px 3px rgba(11,25,44,0.06); }
.kdf-adm-hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid #DADADA; background: #fff; color: #0B192C; cursor: pointer; }
.kdf-adm-titlebox { min-width: 0; flex: 1; }
.kdf-adm-breadcrumb { display: flex; gap: 6px; font-size: 11.5px; color: #757575; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kdf-adm-page-title { font-size: clamp(15px, 1.4vw, 20px); font-weight: 700; color: #0B192C; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kdf-adm-topbar-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.kdf-adm-logout { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 6px; background: #DC2626; color: #fff; font-weight: 700; font-size: 12px; border: 0; cursor: pointer; }
.kdf-adm-logout:hover { background: #B91C1C; }

.kdf-adm-content { width: 100%; max-width: none; padding: clamp(12px, 2vw, 28px); }
.kdf-adm-page { display: none; width: 100%; max-width: none; }
.kdf-adm-page:not([hidden]) { display: flex; flex-direction: column; gap: 16px; animation: kdf-adm-in 0.32s var(--kdf-ease); }
@keyframes kdf-adm-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.kdf-adm-grid-kpi { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kdf-adm-grid-panels { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.kdf-adm-products-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.kdf-adm-card { background: #fff; border: 1px solid #EFF0F5; border-radius: 6px; box-shadow: 0 1px 2px rgba(11,25,44,0.05); padding: 16px; min-width: 0; }
.kdf-adm-card-title { font-size: 14.5px; font-weight: 700; color: #212121; }
.kdf-adm-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kdf-adm-table-wrap table, .kdf-adm-page table { min-width: 640px; }
.kdf-adm-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.kdf-adm-pill { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid #DADADA; background: #fff; color: #212121; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.kdf-adm-pill:hover { background: #FFF1EB; }
.kdf-adm-pill.is-active { background: #F85606; border-color: #F85606; color: #fff; }

.kdf-adm-backdrop { position: fixed; inset: 0; background: rgba(5,12,22,0.6); z-index: 39; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }

/* Desktop collapsed icon rail (>=1024px) */
@media (min-width: 1024px) {
  .kdf-adm-shell.kdf-adm-collapsed { --kdf-sb-w: 72px; }
  .kdf-adm-collapsed .kdf-adm-brand { padding: 14px 16px; }
  .kdf-adm-collapsed .kdf-adm-brand-text,
  .kdf-adm-collapsed .kdf-adm-nav-label { opacity: 0; pointer-events: none; width: 0; overflow: hidden; }
  .kdf-adm-collapsed .kdf-adm-collapse-btn .kdf-adm-ico { transform: rotate(180deg); }
  .kdf-adm-collapsed .kdf-adm-sidebar { overflow: visible; }
  .kdf-adm-collapsed .kdf-adm-nav { overflow: visible; }
  .kdf-adm-collapsed [data-tip]:hover::after,
  .kdf-adm-collapsed [data-tip]:focus-visible::after {
    content: attr(data-tip); position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%);
    background: #0B192C; color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 12px; white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3); z-index: 60; pointer-events: none;
  }
}

/* Mobile & tablet slide-over drawer (<1024px) */
@media (max-width: 1023.98px) {
  .kdf-adm-sidebar { width: 280px; max-width: 86vw; transform: translateX(-100%); box-shadow: none; }
  .kdf-adm-main { margin-left: 0; }
  .kdf-adm-hamburger { display: inline-flex; }
  .kdf-adm-collapse-btn { display: none; }
  .kdf-adm-shell.kdf-adm-drawer-open .kdf-adm-sidebar { transform: translateX(0); box-shadow: 8px 0 32px rgba(0,0,0,0.4); }
  .kdf-adm-shell.kdf-adm-drawer-open .kdf-adm-backdrop { opacity: 1; visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .kdf-adm-sidebar, .kdf-adm-main, .kdf-adm-backdrop, .kdf-adm-page { transition: none !important; animation: none !important; }
}
