/* =========================================================
   Zarvi — custom styles
   ========================================================= */

:root {
  --ink: #111114;
  --ink-soft: #5b5b66;
  --line: #e9e6ef;
  --accent: #7b3ff2;
  --accent-soft: #f3ecff;
  --topbar-bg: #000000;
  --radius: 10px;
  --header-h: 76px;
  --ff-body: "Inter", sans-serif;;
  --ff-brand: "Kaushan Script", cursive;

  /* --- font scale (ekhan theke pura site er text size control hobe) --- */
  --fs-3xs: 12px; /* age 10px */
  --fs-2xs: 13px; /* age 11px */
  --fs-xs: 14px; /* age 12 / 12.5px */
  --fs-sm: 15px; /* age 13 / 13.5px */
  --fs-md: 16px; /* age 14 / 14.5px — body text */
  --fs-lg: 17px; /* age 15 / 16px */
  --fs-xl: 19px; /* age 17 / 18px */
  --fs-2xl: 21px; /* age 19px */
  --fs-3xl: 24px; /* age 22px */
  --fs-4xl: 26px; /* age 24 / 25px */
  --fs-5xl: 28px; /* age 26px */
  --fs-6xl: 30px; /* age 28px */
  --fs-7xl: 32px; /* age 30px */
  --fs-8xl: 36px; /* age 34px — brand logo */
  --fs-9xl: 40px; /* age 38px */

  /* --- category card er ek i background --- */
  --cat-bg: #f5f5f5;

  /* --- footer --- */
  --footer-bg: #000000;
  --footer-text: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.68);
  --footer-line: rgba(255, 255, 255, 0.14);
}

/* shudhu html-e overflow-x hidden — body-teo dile browser overflow-y ke
   "auto" baniye dey (CSS-er default rule), tate duita alada scroll
   container toiri hoy ar mobile-e sticky header thik moto kaj kore na */
html {
  overflow-x: hidden;
}
body {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  color: var(--ink);
  padding-top: 0;
}

/* .row.g-5 er 3rem gutter (24px negative margin each side) mobile-e
   .container-er 12px padding-er theke besi hoye page-ke actually
   koyekpixel chowra kore dey (overflow-x:hidden eita drag/bounce-er
   somoy real phone-e ektu "dekha" jete pare) — tai choto screen-e
   gutter-ta kome default 1.5rem-e neme ashuk, container padding-er
   shathe thik mile jay, kono overflow thake na */
@media (max-width: 767.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}

a {
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   1. TOP BAR
   ========================================================= */
.topbar {
  background: var(--topbar-bg);
  color: #fff;
  font-size: var(--fs-sm);
  line-height: 1;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 6px 0;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-social a {
  color: #fff;
  font-size: var(--fs-lg);
  opacity: 0.85;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
  display: inline-flex;
}
.topbar-social a:hover {
  opacity: 1;
  color: var(--accent);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar-meta > li {
  position: relative;
}
.topbar-meta a,
.topbar-meta .lang-toggle {
  color: #fff;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0;
  font-size: var(--fs-sm);
  font-family: inherit;
  transition: opacity 0.2s ease;
}
.topbar-meta a:hover,
.topbar-meta .lang-toggle:hover {
  opacity: 1;
}
.topbar-meta i {
  font-size: var(--fs-md);
}
.topbar-meta .caret {
  font-size: var(--fs-3xs);
  transition: transform 0.25s ease;
}
.js-dropdown.open .caret {
  transform: rotate(180deg);
}

/* language dropdown */
.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(17, 17, 20, 0.14);
  padding: 6px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.js-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 9px 12px;
  font-size: var(--fs-sm);
  color: var(--ink);
  border-radius: 7px;
  font-family: inherit;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.lang-option:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.lang-option.is-active {
  color: var(--accent);
  font-weight: 500;
}

/* =========================================================
   2. MAIN HEADER
   ========================================================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.main-header.is-stuck {
  box-shadow: 0 6px 24px rgba(17, 17, 20, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

/* brand */
.brand {
  font-family: var(--ff-brand);
  font-size: var(--fs-8xl);
  color: var(--ink);
  line-height: 1;
  justify-self: center;
  padding-top: 6px;
  white-space: nowrap;
}
.brand span {
  color: var(--accent);
}
.brand:hover {
  color: var(--ink);
}
.brand-sm {
  font-size: var(--fs-5xl);
}

/* left nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-list > li {
  position: relative;
}
/* .nav-list diye scope kora holo — Bootstrap-er nijer .nav-link (tab component,
   product-details.html e use hoy) ei header-only ::after underline theke
   collide kortesilo, tai text-er majhe extra line dekhaitesilo */
.nav-list .nav-link {
  color: var(--ink);
  font-size: var(--fs-md);
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 26px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: color 0.2s ease;
}
.nav-list .nav-link .caret {
  font-size: var(--fs-3xs);
  transition: transform 0.25s ease;
}
.nav-list .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.nav-list .nav-link:hover,
.nav-list .nav-link.active {
  color: var(--accent);
}
.nav-list .nav-link:hover::after,
.nav-list .nav-link.active::after {
  transform: scaleX(1);
}
.js-mega.open > .nav-link .caret,
.js-dropdown.open > .nav-link .caret {
  transform: rotate(180deg);
}

.tag-new {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-3xs);
  line-height: 1;
  padding: 4px 8px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 6px;
  text-transform: lowercase;
}

/* =========================================================
   3. MEGA MENU
   ========================================================= */
.nav-list > li.has-mega {
  position: static;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(17, 17, 20, 0.1);
  padding: 34px 0 38px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  z-index: 1029;
}
.js-mega.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.mega-list li + li {
  margin-top: 10px;
}
.mega-list a {
  color: var(--ink-soft);
  font-size: var(--fs-md);
  display: inline-block;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.mega-list a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* =========================================================
   4. SIMPLE DROPDOWN (Offer / User)
   ========================================================= */
.drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(17, 17, 20, 0.14);
  padding: 8px;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.drop-menu.drop-end {
  left: auto;
  right: 0;
}
.js-dropdown.open .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.drop-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: var(--fs-md);
  color: var(--ink);
  border-radius: 7px;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.drop-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.drop-divider {
  margin: 6px 4px;
  border-color: var(--line);
  opacity: 1;
}

/* =========================================================
   5. ACTION ICONS
   ========================================================= */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  justify-self: end;
}
.user-box {
  position: relative;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--fs-2xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.icon-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 500;
  line-height: 18px;
  text-align: center;
}
.badge-count.static {
  position: static;
  display: inline-block;
}

/* =========================================================
   6. SEARCH DROPDOWN  (search icon click -> floating box)
   ========================================================= */
.search-drop-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1035;
  pointer-events: none; /* box er bahire click pass korbe */
}
.search-drop-wrap .container {
  position: relative;
}

.search-drop {
  position: absolute;
  right: 12px; /* container er right edge — search icon er nise */
  top: 12px;
  width: 430px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 46px rgba(17, 17, 20, 0.16);
  padding: 16px;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s;
}
.search-drop.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* corner er golakar close button */
.search-close {
  position: absolute;
  top: -13px;
  right: -11px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-xs);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(123, 63, 242, 0.35);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.search-close:hover {
  background: #5a24c4;
  transform: scale(1.06);
}

/* bhitorer pill : input + submit */
.search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 60px;
  padding: 4px 4px 4px 18px;
  background: #fff;
  transition: border-color 0.2s ease;
}
.search-form:focus-within {
  border-color: var(--accent);
}
.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: var(--fs-md);
  padding: 9px 2px;
  background: transparent;
  font-family: inherit;
}
.btn-search {
  flex: 0 0 auto;
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 60px;
  padding: 10px 24px;
  font-size: var(--fs-md);
  font-family: inherit;
  transition: background 0.2s ease;
}
.btn-search:hover {
  background: #5a24c4;
}

/* =========================================================
   7. MOBILE NAV (offcanvas)
   ========================================================= */
.mobile-nav {
  width: 320px;
  max-width: 86vw;
}
.mobile-nav .offcanvas-header {
  border-bottom: 1px solid var(--line);
}

.m-nav > li {
  border-bottom: 1px solid var(--line);
}
.m-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  color: var(--ink);
  font-size: var(--fs-lg);
}
.m-nav > li > a:hover {
  color: var(--accent);
}
.m-toggle i {
  font-size: var(--fs-xs);
  transition: transform 0.25s ease;
}
.m-toggle[aria-expanded="true"] {
  color: var(--accent);
}
.m-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.m-sub {
  padding: 4px 0 14px 10px;
}
.m-sub-title {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin: 10px 0 6px;
}
.m-sub ul li a {
  display: block;
  padding: 7px 0;
  font-size: var(--fs-md);
  color: var(--ink-soft);
}
.m-sub ul li a:hover {
  color: var(--accent);
}

.m-extra {
  margin-top: 24px;
  display: grid;
  gap: 4px;
}
.m-extra-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: var(--fs-md);
  background: #faf9fc;
}
.m-extra-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* =========================================================
   8. CART DRAWER
   ========================================================= */
.offcanvas.cart-drawer {
  width: 400px;
  max-width: 92vw;
}
.cart-drawer .offcanvas-header {
  border-bottom: 1px solid var(--line);
}
.cart-drawer .offcanvas-title {
  font-size: var(--fs-xl);
  font-weight: 500;
}
.cart-count {
  color: var(--ink-soft);
  font-weight: 400;
}

.cart-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cart-thumb {
  width: 76px;
  height: 92px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: var(--fs-3xl);
}
.cart-info {
  flex: 1;
  min-width: 0;
}
.cart-name {
  color: var(--ink);
  font-size: var(--fs-md);
  display: block;
}
.cart-name:hover {
  color: var(--accent);
}
.cart-variant {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  margin: 4px 0 10px;
}
.cart-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cart-price {
  font-weight: 500;
  font-size: var(--fs-md);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
}
.qty button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--fs-lg);
  line-height: 1;
}
.qty button:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.qty span {
  min-width: 26px;
  text-align: center;
  font-size: var(--fs-sm);
}

.cart-remove {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: var(--fs-lg);
  line-height: 1;
  padding: 2px;
  align-self: flex-start;
}
.cart-remove:hover {
  color: #d13c3c;
}

.cart-footer {
  border-top: 1px solid var(--line);
  padding: 18px 16px 22px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-lg);
  margin-bottom: 4px;
}
.cart-note {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.cart-footer .btn {
  border-radius: 60px;
  padding: 11px;
  font-size: var(--fs-md);
}
.cart-footer .btn-dark {
  background: var(--ink);
  border-color: var(--ink);
}
.cart-footer .btn-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.cart-footer .btn-outline-dark:hover {
  background: var(--ink);
  border-color: var(--ink);
}

/* =========================================================
   9. DEMO AREA
   ========================================================= */
.demo-area {
  min-height: 52vh;
  padding: 60px 0;
  color: var(--ink-soft);
  font-size: var(--fs-md);
}

/* =========================================================
   10. RESPONSIVE
   ========================================================= */
@media (max-width: 1199.98px) {
  .nav-list {
    gap: 22px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-h: 64px;
  }
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .brand {
    font-size: var(--fs-6xl);
    justify-self: center;
  }
  .icon-btn {
    width: 38px;
    height: 38px;
    font-size: var(--fs-xl);
  }
  .header-actions {
    gap: 2px;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    font-size: var(--fs-xs);
  }
  .topbar-inner {
    gap: 10px;
  }
  .topbar-meta {
    gap: 14px;
  }
  .topbar-meta span {
    font-size: var(--fs-xs);
  }
}

@media (max-width: 575.98px) {
  .brand {
    font-size: var(--fs-4xl);
  }
  .topbar-meta a span {
    display: none;
  }
  .topbar-meta .lang-current {
    display: none;
  }
  .topbar-meta i {
    font-size: var(--fs-lg);
  }
  .search-drop {
    /* box take bam dike sorie dilam, jate age-er moto baire jhola close button
       o viewport er bhitore i thake — button er position change korte hoy nai */
    right: 20px;
    width: calc(100vw - 44px);
    padding: 14px;
  }
  .btn-search {
    padding: 10px 18px;
    font-size: var(--fs-sm);
  }
  .search-input {
    font-size: var(--fs-md);
  }
  .search-form {
    padding: 4px 4px 4px 15px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   11. SHARED PAGE PIECES
   ========================================================= */
.section {
  padding: 36px 0;
}
.section-title {
  font-size: var(--fs-5xl);
  font-weight: 500;
  margin-bottom: 6px;
}
.section-sub {
  color: var(--ink-soft);
  font-size: var(--fs-md);
  margin-bottom: 26px;
}

/* compact page title — replaced the old big banner+breadcrumb .page-head */
.page-title-bar {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-title-bar h1 {
  margin: 0;
  font-size: var(--fs-7xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
@media (max-width: 575.98px) {
  .page-title-bar {
    padding: 20px 0;
  }
  .page-title-bar h1 {
    font-size: var(--fs-5xl);
  }
}

.crumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.crumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line);
}
.crumb a {
  color: var(--ink-soft);
}
.crumb a:hover {
  color: var(--accent);
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
}

/* form controls */
.form-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 6px;
}
.form-control,
.form-select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: var(--fs-md);
  font-family: inherit;
  color: var(--ink);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.12);
}
.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}
.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.12);
  border-color: var(--accent);
}
.form-check-label {
  font-size: var(--fs-md);
  color: var(--ink-soft);
}
.form-check-label a {
  color: var(--accent);
}

.btn {
  border-radius: 60px;
  font-family: inherit;
}
.btn-accent {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  padding: 12px 30px;
  font-size: var(--fs-md);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.btn-accent:hover,
.btn-accent:focus {
  background: #6a2fdc;
  border-color: #6a2fdc;
  color: #fff;
}
.link-accent {
  color: var(--accent);
  font-size: var(--fs-sm);
}
.link-accent:hover {
  text-decoration: underline;
}

/* =========================================================
   12. CONTACT PAGE
   ========================================================= */
.info-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.info-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-2xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.info-card h6 {
  font-size: var(--fs-lg);
  font-weight: 500;
  margin-bottom: 6px;
}
.info-card p {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}
.info-card a {
  color: var(--ink-soft);
}
.info-card a:hover {
  color: var(--accent);
}

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 300px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.25);
}

.faq .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--line);
}
.faq .accordion-button {
  padding: 14px 0;
  font-size: var(--fs-md);
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}
.faq .accordion-button:not(.collapsed) {
  color: var(--accent);
}
.faq .accordion-button::after {
  width: 14px;
  height: 14px;
  background-size: 14px;
}
.faq .accordion-body {
  padding: 0 0 14px;
  font-size: var(--fs-md);
  color: var(--ink-soft);
}

/* =========================================================
   13. BLOG PAGE
   ========================================================= */
.post-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.post-card:hover {
  box-shadow: 0 16px 36px rgba(17, 17, 20, 0.09);
  transform: translateY(-4px);
}
.post-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #e9e2ff 100%);
  color: var(--accent);
  font-size: var(--fs-9xl);
}
.post-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-2xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 30px;
}
.post-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-meta {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-title {
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
}
.post-title a {
  color: var(--ink);
}
.post-title a:hover {
  color: var(--accent);
}
.post-excerpt {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}
.post-more {
  margin-top: auto;
  color: var(--accent);
  font-size: var(--fs-md);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.post-more i {
  transition: transform 0.2s ease;
}
.post-more:hover i {
  transform: translateX(4px);
}

.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 44px;
}
.pager-btn {
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: var(--fs-md);
  transition: all 0.2s ease;
}
.pager-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pager-btn.is-current {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pager-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.side-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 22px;
}
.side-title {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.side-search {
  display: flex;
  gap: 8px;
}
.side-search button {
  border: 0;
  background: var(--ink);
  color: #fff;
  width: 44px;
  border-radius: 10px;
  flex: 0 0 auto;
}
.side-search button:hover {
  background: var(--accent);
}
.side-list li + li {
  border-top: 1px solid var(--line);
}
.side-list a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: var(--fs-md);
}
.side-list a:hover {
  color: var(--accent);
}
.side-list span {
  color: var(--ink-soft);
  font-size: var(--fs-xs);
}

.side-posts li {
  display: flex;
  gap: 12px;
  align-items: center;
}
.side-posts li + li {
  margin-top: 16px;
}
.mini-thumb {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
}
.side-posts div a {
  color: var(--ink);
  font-size: var(--fs-md);
  line-height: 1.45;
  display: block;
}
.side-posts div a:hover {
  color: var(--accent);
}
.side-posts div span {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

.side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.side-tags a {
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 6px 14px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.side-tags a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* =========================================================
   14. AUTH PAGES (login / register)
   ========================================================= */
.auth {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, #faf8ff 0%, #fff 60%);
}
.auth-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(17, 17, 20, 0.07);
  max-width: 1000px;
  margin: 0 auto;
}
.auth-visual {
  background: linear-gradient(
    160deg,
    #1b1030 0%,
    #3a1b78 55%,
    var(--accent) 100%
  );
  color: #fff;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-auth {
  color: #fff;
  font-size: var(--fs-7xl);
  margin-bottom: 26px;
  display: inline-block;
}
.brand-auth span {
  color: #c9aaff;
}
.auth-visual h2 {
  font-size: var(--fs-4xl);
  font-weight: 500;
  margin-bottom: 10px;
}
.auth-visual p {
  font-size: var(--fs-md);
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 24px;
}
.auth-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-md);
  opacity: 0.9;
}
.auth-perks li + li {
  margin-top: 12px;
}
.auth-perks i {
  color: #c9aaff;
}

.auth-form {
  padding: 44px 42px;
}
.auth-title {
  font-size: var(--fs-5xl);
  font-weight: 500;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.auth-sub a {
  color: var(--accent);
}
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.pass-wrap {
  position: relative;
}
.pass-wrap .form-control {
  padding-right: 44px;
}
.pass-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  z-index: 3;
}
.pass-toggle:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 26px 0 18px;
}
.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}
.auth-divider span {
  position: relative;
  background: #fff;
  padding: 0 14px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.social-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.btn-social {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-md);
  padding: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.btn-social:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.auth-legal {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  text-align: center;
  margin: 20px 0 0;
}
.auth-legal a {
  color: var(--accent);
}

/* =========================================================
   15. LEGAL PAGES (terms / privacy)
   ========================================================= */
.legal-intro {
  font-size: var(--fs-lg);
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 30px;
}
.legal-block {
  scroll-margin-top: 130px;
  padding-bottom: 26px;
}
.legal-block h2 {
  font-size: var(--fs-2xl);
  font-weight: 500;
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.legal-block p,
.legal-block li {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  line-height: 1.85;
}
.legal-block ul {
  list-style: disc;
  padding-left: 22px;
  margin-top: 8px;
}
.legal-block li + li {
  margin-top: 6px;
}
.legal-block a {
  color: var(--accent);
}
.legal-block strong {
  color: var(--ink);
  font-weight: 500;
}

.legal-cta {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 10px;
}
.legal-cta p {
  margin: 0;
  font-size: var(--fs-md);
  color: var(--ink);
}
.legal-cta a {
  color: var(--accent);
}

.legal-toc {
  position: sticky;
  top: 120px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.legal-toc ul li a {
  display: block;
  padding: 7px 0 7px 12px;
  font-size: var(--fs-md);
  color: var(--ink-soft);
  border-left: 2px solid var(--line);
  transition: all 0.2s ease;
}
.legal-toc ul li a:hover,
.legal-toc ul li a.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
}
.legal-updated {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

/* =========================================================
   16. FOOTER   (color gulo :root er --footer-* variable theke ase)
   ========================================================= */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 26px;
  margin-top: auto;
}
.brand-footer {
  font-size: var(--fs-7xl);
  color: var(--footer-text);
  display: inline-block;
  margin-bottom: 12px;
}
.brand-footer:hover {
  color: var(--footer-text);
}
.footer-text {
  font-size: var(--fs-md);
  color: var(--footer-muted);
  line-height: 1.75;
  max-width: 330px;
}
.footer-text a {
  color: var(--accent);
}
.footer-title {
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--footer-text);
  margin-bottom: 18px;
}

/* links — samner dike arrow icon */
.footer-links li + li {
  margin-top: 10px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: var(--fs-md);
  color: var(--footer-muted);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-links a i {
  font-size: var(--fs-lg);
  line-height: 1;
  color: var(--accent);
}
.footer-links a:hover {
  color: var(--footer-text);
  transform: translateX(4px);
}

/* contact list */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-md);
  color: var(--footer-muted);
  line-height: 1.6;
}
.footer-contact li + li {
  margin-top: 14px;
}
.footer-contact i {
  color: var(--accent);
  font-size: var(--fs-lg);
  line-height: 1.5;
  flex: 0 0 auto;
}
.footer-contact a {
  color: var(--footer-muted);
}
.footer-contact a:hover {
  color: var(--footer-text);
}

/* newsletter input group — contact info er niche */
.footer-form {
  margin-top: 24px;
  max-width: 400px;
}
.footer-form .form-control {
  border: 1px solid var(--footer-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--footer-text);
  border-right: 0;
  border-radius: 60px 0 0 60px;
  padding: 11px 20px;
  font-size: var(--fs-md);
}
.footer-form .form-control::placeholder {
  color: var(--footer-muted);
}
.footer-form .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--footer-text);
  box-shadow: none;
}
.footer-form .btn {
  border-radius: 0 60px 60px 0;
  padding: 11px 28px;
  font-size: var(--fs-md);
}
.footer-note {
  font-size: var(--fs-sm);
  color: var(--footer-muted);
  margin: 12px 0 0;
  line-height: 1.7;
}
.footer-note a {
  color: var(--accent);
}

/* social */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--footer-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  font-size: var(--fs-lg);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* bottom bar — border er opacity kom */
.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--footer-muted);
}
.footer-bottom ul {
  display: flex;
  gap: 20px;
}
.footer-bottom a {
  font-size: var(--fs-sm);
  color: var(--footer-muted);
}
.footer-bottom a:hover {
  color: var(--accent);
}

/* demo note on index */
.demo-note {
  max-width: 640px;
}
.demo-note h2 {
  font-size: var(--fs-3xl);
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink);
}
.demo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.demo-links a {
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: var(--fs-md);
  color: var(--ink);
}
.demo-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* =========================================================
   17. PAGE RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .section {
    padding: 48px 0;
  }
  .page-head {
    padding: 40px 0 34px;
  }
  .page-title {
    font-size: var(--fs-6xl);
  }
  .auth-card {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .auth-visual {
    padding: 34px 30px;
  }
  .auth-form {
    padding: 34px 30px;
  }
  .legal-toc {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .panel {
    padding: 22px 18px;
  }
  .auth-form,
  .auth-visual {
    padding: 28px 22px;
  }
  .social-auth {
    grid-template-columns: 1fr;
  }
  .auth-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .post-thumb {
    height: 160px;
  }
  .footer-form {
    max-width: 100%;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* =========================================================
   18. CATEGORY SLIDER
   ========================================================= */
.cat-section {
  overflow: hidden;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.sec-title {
  font-size: var(--fs-6xl);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.sec-sub {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  margin: 0;
}

.btn-ghost {
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 60px;
  padding: 11px 26px;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* --- slider shell --- */
.slider {
  position: relative;
}

.slider-track {
  --per-view: 6; /* ekhan theke koyta card dekha jabe control hoy */
  --slider-gap: 18px;
  display: flex;
  gap: var(--slider-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* firefox */
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.slider-track::-webkit-scrollbar {
  display: none;
}

/* --- arrows --- */
.slider-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(17, 17, 20, 0.12);
  transition: all 0.2s ease;
}
.slider-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.slider-nav.prev {
  left: -14px;
}
.slider-nav.next {
  right: -14px;
}
.slider-nav[disabled] {
  opacity: 0.35;
  pointer-events: none;
  box-shadow: none;
}

/* --- card --- */
.cat-card {
  flex: 0 0
    calc((100% - (var(--per-view) - 1) * var(--slider-gap)) / var(--per-view));
  scroll-snap-align: start;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cat-bg);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(17, 17, 20, 0.12);
}

.cat-img {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--cat-bg);
  overflow: hidden;
}
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-img img {
  transform: scale(1.06);
}

.cat-name {
  display: block;
  background: color-mix(in srgb, var(--ink) 70%, transparent);
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: var(--fs-md);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.03em;
  transition: background 0.25s ease;
}
.cat-name small {
  font-size: var(--fs-sm);
  opacity: 0.6;
}
.cat-card:hover .cat-name {
  background: var(--accent);
}

/* --- responsive : koyta card per view --- */
@media (max-width: 1399.98px) {
  .slider-track {
    --per-view: 5;
  }
}
@media (max-width: 1199.98px) {
  .slider-track {
    --per-view: 4;
  }
}
@media (max-width: 991.98px) {
  .slider-track {
    --per-view: 3;
    --slider-gap: 16px;
  }
  .slider-nav.prev {
    left: -6px;
  }
  .slider-nav.next {
    right: -6px;
  }
}
@media (max-width: 767.98px) {
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .slider-track {
    --per-view: 2;
    --slider-gap: 14px;
  }
}
@media (max-width: 575.98px) {
  .slider-track {
    --per-view: 1.6;
  } /* porer card ta uki dibe — swipe korar hint */
  .slider-nav {
    width: 38px;
    height: 38px;
  }
  .slider-nav.prev {
    left: -4px;
  }
  .slider-nav.next {
    right: -4px;
  }
  .cat-name {
    padding: 11px 8px;
  }
}

/* =========================================================
   19. FLASH DEAL / PRODUCT CARDS
   ========================================================= */
.sec-head-center {
  justify-content: center;
  text-align: center;
  margin-bottom: 26px;
}
.sec-head-center .sec-title {
  margin-bottom: 0;
}

.deal-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 34px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.deal-tabs::-webkit-scrollbar {
  display: none;
}
.deal-tab {
  flex: 0 0 auto;
  position: relative;
  border: 0;
  background: transparent;
  padding: 10px 2px 16px;
  font-size: var(--fs-md);
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.deal-tab:hover {
  color: var(--ink);
}
.deal-tab.is-active {
  color: var(--accent);
  font-weight: 500;
}
.deal-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}

/* --- product card --- */
.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(17, 17, 20, 0.1);
}

.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.product-thumb {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-9xl);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}
.product-card:hover .product-thumb {
  transform: scale(1.06);
}
/* hover korle secondary chobi fade-in kore upore ashe */
.product-thumb-secondary {
  z-index: 1;
  opacity: 0;
}
.product-card:hover .product-thumb-secondary {
  opacity: 1;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #d13c3c;
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 4px;
}

/* hover overlay — wishlist / compare / quick view */
.product-hover-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  transform: translateY(60%);
  display: flex;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 2;
}
.product-card:hover .product-hover-actions {
  transform: translateY(50%);
  opacity: 1;
  visibility: visible;
}
.product-action {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(17, 17, 20, 0.16);
  transition: all 0.2s ease;
}
.product-action:hover {
  background: var(--accent);
  color: #fff;
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}
.product-name {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 500;
}
.product-name a {
  color: var(--ink);
}
.product-name a:hover {
  color: var(--accent);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
}
.stars {
  color: #f5a623;
  font-size: var(--fs-xs);
  letter-spacing: 1px;
}
.rating-count {
  color: var(--ink-soft);
}

.product-swatches {
  display: flex;
  gap: 8px;
}
.swatch {
  --sw: #ccc;
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--sw);
}
.swatch.is-active::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.price-now {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
}
.price-old {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  text-decoration: line-through;
}
.price-off {
  font-size: var(--fs-2xs);
  color: #d13c3c;
  font-weight: 500;
}

.product-actions {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-wish {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: all 0.2s ease;
}
.product-wish:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-add-cart {
  flex: 1;
  padding: 10px 14px;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .deal-tabs {
    justify-content: flex-start;
    gap: 20px;
  }
}

/* =========================================================
   20. QUICK VIEW DRAWER
   ========================================================= */
.offcanvas.quickview-drawer {
  width: 620px;
  max-width: 94vw;
}
.quickview-drawer .offcanvas-header {
  border-bottom: 1px solid var(--line);
}
.quickview-drawer .offcanvas-title {
  font-size: var(--fs-xl);
  font-weight: 500;
}

.qv-gallery {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.qv-thumbs {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qv-thumb {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-lg);
  transition: border-color 0.2s ease;
}
.qv-thumb img,
.qv-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qv-thumb.is-active {
  border-color: var(--accent);
}
.qv-main {
  flex: 1;
  aspect-ratio: 4 / 3;
  max-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-9xl);
}

.qv-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.qv-tag {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
}
.qv-tag-sale {
  background: #d13c3c;
  color: #fff;
}
.qv-tag-new {
  background: var(--accent-soft);
  color: var(--accent);
}

.qv-name {
  margin: 0 0 8px;
  font-size: var(--fs-2xl);
  font-weight: 600;
}
.qv-price {
  margin: 10px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.qv-price .price-now {
  font-size: var(--fs-3xl);
}

.qv-block {
  margin-bottom: 20px;
}
.qv-label {
  display: block;
  margin-bottom: 10px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.qv-label strong {
  color: var(--ink);
}
.qv-block .swatch {
  width: 26px;
  height: 26px;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-opt {
  min-width: 42px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-sm);
  transition: all 0.2s ease;
}
.size-opt:hover {
  border-color: var(--accent);
}
.size-opt.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.qv-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.qv-buy-row .qty {
  flex: 0 0 auto;
}
.qv-buy-row .btn {
  flex: 1;
  min-width: 120px;
  padding: 11px 16px;
  font-size: var(--fs-sm);
  white-space: nowrap;
}
.qv-buy-row .btn-dark {
  background: var(--ink);
  border-color: var(--ink);
}
.qv-buy-row .btn-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.qv-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.qv-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.qv-meta i {
  margin-top: 3px;
  color: var(--accent);
}
.qv-meta strong {
  color: var(--ink);
  font-weight: 500;
}

.qv-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink);
}
.qv-accordion-toggle i {
  transition: transform 0.2s ease;
}
.qv-accordion-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.qv-desc {
  margin: 0;
  padding-top: 4px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .qv-gallery {
    flex-direction: column-reverse;
  }
  .qv-thumbs {
    flex-direction: row;
  }
}

/* =========================================================
   21. HERO SLIDER  (Swiper.js)
   ========================================================= */
.hero-section {
  /* padding-top: 24px; */
}

.hero-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.heroSwiper {
  border-radius: 20px;
}

.hero-slide {
  display: flex;
  align-items: center;
  min-height: 460px;
}
.hero-slide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  padding: 56px 60px;
}

.hero-content {
  flex: 1 1 420px;
  max-width: 480px;
}
.hero-eyebrow {
  margin: 0 0 12px;
  font-size: var(--fs-sm);
  color: var(--ink);
  opacity: 0.72;
}
.hero-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
}
.hero-sub {
  margin: 0 0 28px;
  max-width: 420px;
  font-size: var(--fs-md);
  color: var(--ink);
  opacity: 0.72;
  line-height: 1.6;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  border-radius: 60px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-md);
  transition: background 0.2s ease;
}
.hero-btn:hover {
  background: #6a2fdc;
  color: #fff;
}
.hero-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-size: var(--fs-lg);
  transition: transform 0.2s ease;
}
.hero-btn:hover .hero-btn-icon {
  transform: rotate(45deg);
}

.hero-media {
  flex: 0 0 auto;
  width: 340px;
  max-width: 38%;
  height: 100%;
  align-self: stretch;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

/* --- nav arrows (Swiper hooks: .swiper-button-prev / .swiper-button-next) --- */
.heroSwiper .swiper-button-prev,
.heroSwiper .swiper-button-next {
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  background: rgba(17, 17, 20, 0.85);
  color: #fff;
  font-size: var(--fs-xl);
  transition: background 0.2s ease;
}
.heroSwiper .swiper-button-prev::after,
.heroSwiper .swiper-button-next::after {
  content: none;
}
.heroSwiper .swiper-button-prev {
  left: 24px;
}
.heroSwiper .swiper-button-next {
  right: 24px;
}
.heroSwiper .swiper-button-prev:hover,
.heroSwiper .swiper-button-next:hover {
  background: var(--accent);
}

/* --- pagination dots (Swiper hook: .swiper-pagination) --- */
.heroSwiper .swiper-pagination {
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.heroSwiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  background: rgba(17, 17, 20, 0.25);
  opacity: 1;
  border-radius: 50%;
  transition: all 0.25s ease;
}
.heroSwiper .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 6px;
  background: var(--accent);
}

/* --- shop-by-category icon row --- */
.hero-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin: 34px 0 0;
}
.hero-cats li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.hero-cats li a:hover {
  color: var(--accent);
}
.hero-cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.hero-cats li a:hover .hero-cat-icon {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.hero-cat-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-cat-name {
  font-size: var(--fs-sm);
}

@media (max-width: 991.98px) {
  .hero-slide-inner {
    padding: 48px;
  }
  .hero-media {
    width: 260px;
  }
}

@media (max-width: 767.98px) {
  .hero-slide {
    min-height: 0;
  }
  .hero-slide-inner {
    padding: 44px 28px 58px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-media {
    display: none;
  }
  /* mobile e touch-swipe diyei slide bodlano jay, tai arrow button dekhaisi na
     (nahole boro text-er sathe overlap kore) */
  .heroSwiper .swiper-button-prev,
  .heroSwiper .swiper-button-next {
    display: none;
  }
  .hero-cats {
    gap: 30px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 14px;
  }
  .hero-slider {
    border-radius: 16px;
  }
  .heroSwiper {
    border-radius: 16px;
  }
  .hero-slide-inner {
    padding: 36px 22px 52px;
  }
  .hero-sub {
    margin-bottom: 22px;
  }
  .heroSwiper .swiper-button-prev,
  .heroSwiper .swiper-button-next {
    width: 34px;
    height: 34px;
    margin-top: -17px;
    font-size: var(--fs-md);
  }
  .heroSwiper .swiper-button-prev {
    left: 10px;
  }
  .heroSwiper .swiper-button-next {
    right: 10px;
  }
  .hero-cats {
    gap: 20px;
  }
  .hero-cat-icon {
    width: 50px;
    height: 50px;
  }
  .hero-cat-icon svg {
    width: 20px;
    height: 20px;
  }
  .hero-cat-name {
    font-size: var(--fs-2xs);
  }
}

/* =========================================================
   22. FEATURED / BEST SELLERS / CATEGORY BLOCKS
   ========================================================= */

/* --- badge variants (base .product-badge already set) --- */
.product-badge-featured {
  background: var(--accent);
}
.product-badge-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  background: var(--ink);
  font-size: var(--fs-sm);
}

/* --- section rhythm: alternate a soft tint so the page doesn't
       feel like one long repeating list --- */
.bestseller-section {
  background: var(--accent-soft);
}
.category-block + .category-block {
  padding-top: 0;
}
.category-block-last {
  padding-bottom: 70px;
}

/* cart-thumb now sometimes holds a real photo instead of just an icon */
.cart-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* =========================================================
   23. SHOP PAGE
   ========================================================= */
.shop-section {
  padding-top: 44px;
}

/* --- two-column layout: fixed-width sidebar + fluid content ---
   (plain flex-basis, not col-lg-3/col-lg-9, so the sidebar can be
   sized exactly instead of snapping to a 12-col fraction) */
.shop-sidebar-col {
  flex: 0 0 auto;
}
.shop-content-col {
  flex: 1 1 auto;
  min-width: 0;
}
@media (min-width: 992px) {
  .shop-sidebar-col {
    width: 320px;
    max-width: 320px;
  }
  .shop-content-col {
    width: calc(100% - 320px);
    max-width: calc(100% - 320px);
  }
}

/* --- filter sidebar (offcanvas-lg: inline column at lg+, slide-in below) --- */
.shop-filters {
  --bs-offcanvas-width: 320px;
}
.shop-filters .offcanvas-header {
  display: none;
}
@media (min-width: 992px) {
  /* .filter-panel below already provides the border + padding, so
     drop the offcanvas-body's own padding here to avoid double-inset
     (that was the big gap between the sidebar box and the products) */
  .shop-filters .offcanvas-body {
    padding: 0;
  }
  /* lg+ e Bootstrap offcanvas-body ke nijer theke display:flex kore dey
     (row direction), tai .filter-panel content onujayi shrink hoye jay
     ar pashe onek boro ekta khali gap theke jay — width:100% diye
     filter-panel ke pura sidebar box bhorte bola hocche */
  .shop-filters .offcanvas-body > .filter-panel {
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  .shop-filters .offcanvas-header {
    display: flex;
    border-bottom: 1px solid var(--line);
  }
}

.filter-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
@media (max-width: 991.98px) {
  .filter-panel {
    border: 0;
    border-radius: 0;
    padding: 20px;
  }
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.filter-head h6 {
  margin: 0;
  font-size: var(--fs-lg);
  font-weight: 600;
}
.filter-clear {
  font-size: var(--fs-sm);
  color: var(--accent);
}
.filter-clear:hover {
  text-decoration: underline;
}

.filter-group {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.filter-group:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.filter-title {
  margin: 0 0 12px;
  font-size: var(--fs-md);
  font-weight: 600;
}
.filter-group .form-check {
  margin-bottom: 9px;
}
.filter-group .form-check-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
}
.filter-group .form-check-label span {
  color: var(--ink-soft);
  font-size: var(--fs-2xs);
}
.filter-stars {
  color: #f5a623;
  font-size: var(--fs-xs);
}

.filter-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-swatches .swatch {
  width: 26px;
  height: 26px;
}

/* --- toolbar --- */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.shop-count {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.shop-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.shop-filter-toggle {
  padding: 9px 16px;
  font-size: var(--fs-sm);
}
.shop-sort {
  width: auto;
  padding: 9px 34px 9px 14px;
  font-size: var(--fs-sm);
}

.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.view-toggle-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #fff;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.view-toggle-btn + .view-toggle-btn {
  border-left: 1px solid var(--line);
}
.view-toggle-btn.is-active {
  background: var(--accent);
  color: #fff;
}

/* --- product grid (custom grid so grid/list toggle is one class swap) --- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1199.98px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

/* list view: reuse the same .product-card markup, just lay it out horizontally */
.shop-grid.is-list-view {
  grid-template-columns: 1fr;
}
.shop-grid.is-list-view .product-card {
  flex-direction: row;
}
.shop-grid.is-list-view .product-media {
  width: 200px;
  flex: 0 0 200px;
  aspect-ratio: 1 / 1;
}
.shop-grid.is-list-view .product-hover-actions {
  display: none;
}
.shop-grid.is-list-view .product-body {
  justify-content: center;
}
@media (max-width: 575.98px) {
  .shop-grid.is-list-view .product-card {
    flex-direction: column;
  }
  .shop-grid.is-list-view .product-media {
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 3 / 4;
  }
}

/* --- pagination --- */
.shop-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.shop-pagination .page-link {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--fs-sm);
}
.shop-pagination .page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.shop-pagination .page-link:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.shop-pagination .page-item.active .page-link:hover {
  background: var(--accent);
  color: #fff;
}
.shop-pagination .page-item.disabled .page-link {
  color: var(--line);
  pointer-events: none;
}

/* =========================================================
   24. PRODUCT DETAILS PAGE
   ========================================================= */
.pd-crumb-bar {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.crumb-left {
  justify-content: flex-start;
}

.pd-section {
  padding-top: 40px;
}

/* --- gallery --- */
.pd-gallery {
  display: flex;
  gap: 14px;
}
.pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 auto;
}
.pd-thumb {
  width: 74px;
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  transition: border-color 0.2s ease;
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-thumb.is-active {
  border-color: var(--accent);
}
.pd-main {
  position: relative;
  flex: 1;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--accent-soft);
}
.pd-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-main .product-badge {
  top: 16px;
  left: 16px;
}

@media (max-width: 575.98px) {
  .pd-gallery {
    flex-direction: column-reverse;
  }
  .pd-thumbs {
    flex-direction: row;
  }
}

/* --- info column --- */
.pd-title {
  margin: 10px 0 12px;
  font-size: var(--fs-8xl);
  font-weight: 500;
  line-height: 1.15;
}
.pd-review-link {
  margin-left: auto;
  font-size: var(--fs-sm);
  color: var(--accent);
}
.pd-review-link:hover {
  text-decoration: underline;
}
.pd-info .qv-price {
  margin-top: 14px;
}
.pd-desc {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 26px;
}
.pd-wish-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 24px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  transition: color 0.2s ease;
}
.pd-wish-link:hover {
  color: var(--accent);
}

/* --- tabs --- */
.pd-tabs-wrap {
  margin-top: 56px;
}
.pd-tabs {
  border-bottom: 1px solid var(--line);
  gap: 8px;
  flex-wrap: wrap;
}
.pd-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 6px;
  margin-right: 26px;
  font-size: var(--fs-md);
  color: var(--ink-soft);
}
.pd-tabs .nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: none;
}
.pd-tab-content {
  padding: 30px 0 10px;
  max-width: 760px;
}
.pd-tab-content p {
  color: var(--ink-soft);
  line-height: 1.75;
}
.pd-feature-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.pd-feature-list i {
  color: var(--accent);
}

.pd-review-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.pd-review-score {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pd-score-num {
  font-size: var(--fs-6xl);
  font-weight: 600;
}
.pd-write-review-btn {
  padding: 10px 20px;
  font-size: var(--fs-sm);
  white-space: nowrap;
}
.pd-review {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.pd-review.is-new {
  animation: pd-review-pop 0.5s ease;
}
@keyframes pd-review-pop {
  from {
    background: var(--accent-soft);
  }
  to {
    background: transparent;
  }
}
.pd-review-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}
.pd-review-body {
  flex: 1;
  min-width: 0;
}
.pd-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.pd-review-head .stars {
  color: #f5a623;
  font-size: var(--fs-xs);
}
.pd-review p {
  margin: 0;
}

.pd-related {
  margin-top: 60px;
}

/* =========================================================
   25. CART PAGE
   ========================================================= */
.cart-page-section {
  padding-top: 44px;
}
.cart-panel {
  padding: 0;
  overflow: hidden;
}
.cart-list-head {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  background: var(--accent-soft);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
}
.cart-col-product {
  flex: 1;
}
.cart-col-qty {
  flex: 0 0 160px;
  text-align: center;
}
.cart-col-total {
  flex: 0 0 140px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.cart-row {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-of-type {
  border-bottom: 0;
}
.cart-item-full {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-thumb-lg {
  width: 86px;
  height: 104px;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  background: var(--accent-soft);
}
.cart-price-mobile {
  display: none;
  margin-top: 6px;
  font-weight: 500;
}
.cart-row .cart-col-qty {
  flex: 0 0 160px;
  display: flex;
  justify-content: center;
}
.cart-row-total {
  font-weight: 600;
  font-size: var(--fs-lg);
}

@media (max-width: 767.98px) {
  .cart-list-head {
    display: none;
  }
  .cart-item-full {
    flex-wrap: wrap;
    position: relative;
  }
  .cart-price-mobile {
    display: block;
  }
  .cart-row .cart-col-qty {
    justify-content: flex-start;
    margin-left: 102px;
    margin-top: 10px;
  }
  .cart-col-total {
    flex: 0 0 auto;
    position: absolute;
    top: 0;
    right: 0;
  }
  .cart-row-total {
    display: none;
  }
}

.cart-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.coupon-panel {
  padding: 22px 24px;
}
/* joined pill: input + button in one connected input-group */
.coupon-form,
.coupon-form-sm {
  display: flex;
  flex-wrap: nowrap;
  border: 1px solid var(--line);
  border-radius: 60px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.coupon-form:focus-within,
.coupon-form-sm:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.12);
}
.coupon-form .form-control,
.coupon-form-sm .form-control {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 12px 20px;
}
.coupon-form .form-control:focus,
.coupon-form-sm .form-control:focus {
  box-shadow: none;
}
.coupon-form .btn,
.coupon-form-sm .btn {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0 60px 60px 0;
  padding: 12px 26px;
  font-size: var(--fs-sm);
}
.coupon-form-sm {
  margin: 18px 0;
}

/* --- order summary (shared: cart + checkout) --- */
.order-summary-title {
  margin-bottom: 20px;
  font-size: var(--fs-xl);
  font-weight: 600;
}
.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.order-summary-row strong {
  color: var(--ink);
  font-weight: 500;
}
.text-accent {
  color: var(--accent) !important;
}
.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-lg);
  font-weight: 600;
}
.order-summary .btn {
  padding: 13px;
  font-size: var(--fs-md);
}
.order-summary-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  font-size: var(--fs-2xs);
  color: var(--ink-soft);
}

/* =========================================================
   26. CHECKOUT PAGE
   ========================================================= */
.checkout-steps {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink-soft);
  font-size: var(--fs-2xs);
  font-weight: 600;
}
.steps li.is-active {
  color: var(--ink);
  font-weight: 500;
}
.steps li.is-active .step-num {
  background: var(--accent);
  color: #fff;
}
.steps li.is-done .step-num {
  background: var(--ink);
  color: #fff;
}

.checkout-section {
  padding-top: 40px;
}
.checkout-panel {
  margin-bottom: 24px;
}
.checkout-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: var(--fs-lg);
  font-weight: 600;
}
.checkout-panel-title i {
  color: var(--accent);
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 575.98px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
}

.payment-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.payment-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.payment-card-icon {
  --pay-bg: var(--accent-soft);
  --pay-fg: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--pay-bg);
  color: var(--pay-fg);
  font-size: var(--fs-xl);
}
.payment-card-label {
  flex: 1;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink);
}
.payment-card-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: transparent;
  font-size: 13px;
  transition: all 0.2s ease;
}
.payment-card:has(input:checked) .payment-card-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.payment-fields {
  margin-top: 18px;
  padding: 18px;
  background: var(--accent-soft);
  border-radius: 12px;
}

.checkout-mini-cart {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 6px;
  list-style: none;
  padding-left: 0;
}
.checkout-mini-cart li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-thumb-sm {
  position: relative;
  width: 52px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: var(--accent-soft);
}
.mini-cart-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}
.mini-cart-name {
  flex: 1;
  font-size: var(--fs-sm);
}
.mini-cart-price {
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* =========================================================
   27. WRITE A REVIEW MODAL
   ========================================================= */
.review-modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}
.review-modal-content .modal-header {
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
}
.review-modal-content .modal-title {
  font-size: var(--fs-xl);
  font-weight: 600;
}
.review-modal-content .modal-body {
  padding: 24px;
}

.review-star-picker {
  margin-bottom: 20px;
}
.review-star-label {
  display: block;
  margin-bottom: 10px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
}
.review-stars {
  display: inline-flex;
  gap: 6px;
}
.review-star {
  border: 0;
  background: none;
  padding: 2px;
  font-size: var(--fs-3xl);
  line-height: 1;
  color: var(--line);
  transition: color 0.15s ease;
}
.review-star.is-filled {
  color: #f5a623;
}
.review-star-error {
  margin: 8px 0 0;
  font-size: var(--fs-2xs);
  color: #d13c3c;
}

/* =========================================================
   28. ORDER COMPLETE PAGE
   ========================================================= */
.order-complete-section {
  padding-top: 50px;
}
.order-complete-head {
  max-width: 560px;
  margin: 0 auto 40px;
  text-align: center;
}
.order-complete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-7xl);
}
.order-complete-title {
  margin: 0 0 12px;
  font-size: var(--fs-7xl);
  font-weight: 600;
}
.order-complete-sub {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.order-complete-meta {
  max-width: 900px;
  margin: 0 auto 46px;
}
.oc-meta-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
}
.oc-meta-label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.oc-meta-card strong {
  font-size: var(--fs-md);
}

.oc-address {
  color: var(--ink-soft);
  line-height: 1.8;
}
.oc-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.oc-actions .btn {
  padding: 13px;
}

/* =========================================================
   29. TRACK ORDER PAGE
   ========================================================= */
.track-section {
  padding-top: 44px;
}
.track-form-panel {
  margin-bottom: 40px;
}

/* plain flexbox, ei form-e bootstrap-er row/col (negative margin) use kori nai */
.track-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
}
.track-form-field {
  flex: 1 1 240px;
  min-width: 0;
}
.track-form-submit {
  flex: 1 1 140px;
  max-width: 200px;
}
.track-form-submit .btn {
  padding: 12px 20px;
}
@media (max-width: 575.98px) {
  .track-form-submit {
    flex: 1 1 100%;
    max-width: none;
  }
}

.track-result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 34px;
}
.track-status-badge {
  padding: 7px 18px;
  border-radius: 60px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.track-timeline {
  position: relative;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.track-timeline li {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 32px;
}
.track-timeline li:last-child {
  padding-bottom: 0;
}
.track-timeline li::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.track-timeline li:last-child::before {
  content: none;
}
.track-timeline li.is-done::before {
  background: var(--accent);
}
.track-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cat-bg);
  color: var(--ink-soft);
  font-size: var(--fs-lg);
}
.track-timeline li.is-done .track-icon {
  background: var(--accent);
  color: #fff;
}
.track-timeline li.is-active .track-icon {
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.track-info {
  padding-top: 4px;
}
.track-info strong {
  display: block;
  font-size: var(--fs-md);
}
.track-info > span {
  display: block;
  margin: 3px 0 6px;
  font-size: var(--fs-2xs);
  color: var(--ink-soft);
}
.track-info p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.track-timeline li:not(.is-done):not(.is-active) .track-info {
  opacity: 0.55;
}

.track-invoice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.track-invoice-actions .btn {
  padding: 11px 22px;
  font-size: var(--fs-sm);
}
@media (max-width: 575.98px) {
  .track-invoice-actions {
    justify-content: stretch;
  }
  .track-invoice-actions .btn {
    flex: 1;
  }
}

/* =========================================================
   30. USER DASHBOARD (user/*.html)
   ========================================================= */
.dash-section {
  padding-top: 40px;
}
.dash-layout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.dash-content {
  flex: 1;
  min-width: 0;
}

/* --- sidebar --- */
.dash-sidebar {
  flex: 0 0 280px;
  position: sticky;
  top: 100px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.dash-user-card {
  padding: 28px 20px;
  text-align: center;
  background: var(--accent-soft);
}
.dash-avatar {
  display: block;
  width: 66px;
  height: 66px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(17, 17, 20, 0.1);
}
.dash-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dash-avatar-lg {
  width: 96px;
  height: 96px;
}
.dash-user-name {
  margin: 0 0 2px;
  font-size: var(--fs-lg);
  font-weight: 600;
}
.dash-user-email {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

.dash-nav ul {
  padding: 10px;
}
.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: all 0.2s ease;
}
.dash-nav-link i {
  font-size: var(--fs-lg);
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.dash-nav-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.dash-nav-link:hover i {
  color: var(--accent);
}
.dash-nav-link.is-active {
  background: var(--accent);
  color: #fff;
}
.dash-nav-link.is-active i {
  color: #fff;
}
.dash-nav-link.is-danger:hover {
  background: #fdecec;
  color: #d13c3c;
}
.dash-nav-link.is-danger:hover i {
  color: #d13c3c;
}

.dash-signout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 20px);
  margin: 4px 10px 16px;
  padding: 11px;
  border-radius: 60px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-sm);
  transition: all 0.2s ease;
}
.dash-signout:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

@media (max-width: 991.98px) {
  .dash-layout {
    flex-direction: column;
    /* desktop-e align-items:flex-start row-layout-e height content kore
       (thik ache), kintu column hoye gele eita width-ke content-onujayi
       shrink kore dey (.dash-content pura width nay na) — stretch diye
       full-width e ferot anlam */
    align-items: stretch;
  }
  .dash-sidebar {
    flex: 0 0 auto;
    width: 100%;
    position: static;
  }
  /* age flex-wrap dile chotto nam-er item (Wishlist, My Wallet) pashapashi
     2ta bose jeto kintu boro nam-er item (Earning Points, Support Ticket...)
     eka pura line niye nito — random/এলোমেলো dekhachilo. Ekhon shobshomoy
     ekta clean single-column list, protita item nijer pura line-e */
  .dash-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .dash-nav-link {
    padding: 12px 14px;
  }
}

/* --- welcome + wallet card --- */
.dash-welcome {
  margin-bottom: 24px;
}
.dash-welcome h4 {
  margin: 0 0 4px;
  font-weight: 600;
}
.dash-welcome p {
  margin: 0;
  color: var(--ink-soft);
}

.wallet-card {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 200px;
  padding: 28px 30px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, #2a2a35 100%);
  color: #fff;
}
.wallet-card.is-points {
  background: linear-gradient(135deg, #6a2fdc 0%, var(--accent) 100%);
}
.wallet-card-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wallet-card-label {
  font-size: var(--fs-sm);
  opacity: 0.7;
}
.wallet-card-amount {
  font-size: var(--fs-9xl);
  font-weight: 600;
}
.wallet-card-amount small {
  font-size: var(--fs-lg);
  font-weight: 400;
  opacity: 0.7;
}
.wallet-card-sub {
  margin-bottom: 10px;
  font-size: var(--fs-xs);
  opacity: 0.6;
}
.wallet-recharge-btn {
  align-self: flex-start;
  padding: 11px 22px;
  font-size: var(--fs-sm);
}
.wallet-card-icon {
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-size: 140px;
  color: rgba(255, 255, 255, 0.06);
}

.dash-stat-card {
  position: relative;
  height: 100%;
  padding: 20px;
  border-radius: 16px;
  color: #fff;
  overflow: hidden;
}
.dash-stat-card.is-amber {
  background: linear-gradient(135deg, #d99b4e 0%, #c17f2e 100%);
}
.dash-stat-card.is-green {
  background: linear-gradient(135deg, #3fa564 0%, #2c8a4f 100%);
}
.dash-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: var(--fs-lg);
}
.dash-stat-label {
  display: block;
  font-size: var(--fs-2xs);
  opacity: 0.85;
}
.dash-stat-value {
  display: block;
  margin: 2px 0 14px;
  font-size: var(--fs-4xl);
  font-weight: 600;
}
.dash-stat-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-2xs);
  color: #fff;
  opacity: 0.9;
}
.dash-stat-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.dash-mini-stats {
  display: flex;
  height: 100%;
}
.dash-mini-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 16px;
}
.dash-mini-stat + .dash-mini-stat {
  border-left: 1px solid var(--line);
}
.dash-mini-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-size: var(--fs-xl);
}
.dash-mini-icon.is-red {
  background: #d13c3c;
}
.dash-mini-icon.is-blue {
  background: #3b6fd6;
}
.dash-mini-icon.is-green {
  background: #2c8a4f;
}
.dash-mini-stat strong {
  display: block;
  font-size: var(--fs-2xl);
  line-height: 1.2;
}
.dash-mini-stat span {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}
@media (max-width: 767.98px) {
  .dash-mini-stats {
    flex-direction: column;
    gap: 16px;
  }
  .dash-mini-stat + .dash-mini-stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
}

.dash-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 18px;
  gap: 12px;
}
.dash-block-head h5 {
  margin: 0;
  font-weight: 600;
}
/* choto phone-e title ar button pashapashi thakle jaigar jonno lorai
   kore duitai bekhap kore bhenge jay — tai stack kore dilam (title
   nijer pura lain pabe, button nichey chotokore) */
@media (max-width: 575.98px) {
  .dash-block-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .dash-block-head .btn {
    padding: 6px 16px;
    font-size: var(--fs-xs);
  }
}

/* --- tables --- */
.dash-table-panel {
  padding: 24px;
}
/* mobile-e card-stack howar pore ei panel অনেক লম্বা হয়ে puro page-take
   niche onek dur porjonto tene niye jachilo — tai ekhon panel-tar nijer
   ekta max-height dilam, tar bhitorei nijer scrollbar diye card/table
   gulo scroll hobe, baki page (sidebar, footer) sthir thakbe */
@media (max-width: 767.98px) {
  .dash-table-panel {
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.dash-table {
  margin: 0;
  font-size: var(--fs-sm);
}
.dash-table thead th {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-weight: 600;
}
.dash-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.dash-table tbody tr:last-child td {
  border-bottom: 0;
}

/* --- record tables (Purchase History / Support Tickets / Refund Requests):
   below 767.98px eita ar wide scrollable table thake na, protita row
   ekta kore card hoye jay (label: value) — tai drag/swipe korar moto
   kono horizontal scroll surface-i thake na, "design shake" howar
   possibility totally chole jay. td[data-label] theke label ashe. --- */
@media (max-width: 767.98px) {
  /* :not(.dash-compare-scroll) — Compare page-er table-take ei rule
     dhorbe na, karon oita to shudhu jaigate.table-responsive class
     share kore, kintu oitar nijer horizontal scroll dorkar (products
     pashapashi compare korte), tai eita bad rakhlam */
  .dash-table-panel .table-responsive:not(.dash-compare-scroll) {
    overflow-x: visible;
  }
  .dash-table thead {
    display: none;
  }
  .dash-table,
  .dash-table tbody,
  .dash-table tbody tr {
    display: block;
    width: 100%;
  }
  .dash-table tbody tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px 14px;
    margin-bottom: 12px;
  }
  .dash-table tbody tr:last-child {
    margin-bottom: 0;
  }
  .dash-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
  }
  .dash-table tbody tr td:last-child {
    border-bottom: 0;
  }
  .dash-table tbody td[data-label]::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-weight: 600;
    color: var(--ink-soft);
    text-align: left;
  }
  .dash-table tbody td.dash-table-action {
    justify-content: flex-end;
  }
  .dash-table tbody td.dash-table-action .btn {
    padding: 5px 16px;
    font-size: var(--fs-xs);
  }
}

.dash-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 60px;
  font-size: var(--fs-2xs);
  font-weight: 500;
}
.dash-badge.is-done {
  background: #e3f5ea;
  color: #1f9254;
}
.dash-badge.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}
.dash-badge.is-pending {
  background: #fff3d6;
  color: #b9790a;
}
.dash-badge.is-danger {
  background: #fdecec;
  color: #d13c3c;
}

.dash-file-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dash-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-xl);
}
.dash-file-info strong {
  display: block;
  font-size: var(--fs-sm);
}
.dash-file-info span {
  font-size: var(--fs-2xs);
  color: var(--ink-soft);
}

/* --- wishlist remove / compare --- */
.dash-wish-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-xs);
  box-shadow: 0 4px 10px rgba(17, 17, 20, 0.15);
  transition: all 0.2s ease;
}
.dash-wish-remove:hover {
  background: #d13c3c;
  color: #fff;
}

.dash-compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  min-width: 180px;
}
.dash-compare-table td:first-child {
  font-weight: 600;
  color: var(--ink-soft);
  min-width: 120px;
  white-space: nowrap;
}
.dash-compare-imgs td {
  position: relative;
}
.dash-compare-imgs img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.dash-compare-imgs .dash-wish-remove {
  top: 6px;
  right: 6px;
}

/* --- compare table mobile: eita ekta prokrito compare-view, tai table
   thakei jabe (side-by-side dekhtei hobe), kintu jate drag korle "pura
   page shake korche" emon na lage tai first column (label) sticky kore
   rakha hocche ar scroll-snap diye protita product column-e clean vabe
   "snap" kore — puro jinishta ekta contained, ischatakrito swipe mone hoy --- */
@media (max-width: 767.98px) {
  .dash-compare-scroll {
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .dash-compare-table td:not(:first-child) {
    scroll-snap-align: start;
  }
  .dash-compare-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    box-shadow: 2px 0 6px rgba(17, 17, 20, 0.06);
  }
  /* "Add to Cart" button-ta w-100 hoye choto column-e 2 line-e venge
     mota/boro dekhachilo — choto font/padding diye ekta line-e ana holo */
  .dash-compare-table .btn {
    padding: 6px 10px;
    font-size: var(--fs-2xs);
  }
}

/* --- conversations --- */
.dash-convo-list {
  padding: 0;
  margin: 0;
}
.dash-convo-item {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
}
.dash-convo-item:last-child {
  border-bottom: 0;
}
.dash-convo-item.is-unread {
  background: var(--accent-soft);
  border-radius: 12px;
  padding-left: 12px;
  padding-right: 12px;
}
.dash-convo-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}
.dash-convo-body {
  flex: 1;
  min-width: 0;
}
.dash-convo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dash-convo-top strong {
  font-size: var(--fs-md);
}
.dash-convo-top span {
  flex: 0 0 auto;
  font-size: var(--fs-2xs);
  color: var(--ink-soft);
}
.dash-convo-subject {
  margin: 4px 0 2px;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.dash-convo-preview {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-convo-dot {
  position: absolute;
  top: 20px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.dash-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dash-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.dash-feature-list i {
  color: var(--accent);
}

/* --- manage profile --- */
.dash-profile-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- delete account --- */
.dash-danger-panel {
  max-width: 640px;
  text-align: center;
  padding: 44px 36px;
  border: 1px solid #f7cccc;
}
.dash-danger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fdecec;
  color: #d13c3c;
  font-size: var(--fs-6xl);
}
.dash-danger-panel h5 {
  margin-bottom: 12px;
  font-weight: 600;
}
.dash-danger-panel p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.dash-danger-form {
  margin-top: 22px;
  text-align: left;
}
.dash-danger-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}
.dash-danger-actions .btn {
  padding: 11px 26px;
}
@media (max-width: 575.98px) {
  .dash-danger-actions {
    flex-direction: column;
  }
}

/* =========================================================
   31. MOBILE BOTTOM NAV (app-style tab bar)
   ========================================================= */
.mobile-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1035;
  align-items: flex-end;
  justify-content: space-around;
  height: 62px;
  padding: 0 4px;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(17, 17, 20, 0.07);
}
.mobile-tabbar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1 1 0;
  height: 100%;
  padding-top: 8px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 10.5px;
  transition: color 0.2s ease;
}
.mobile-tabbar-link i {
  font-size: 19px;
  line-height: 1;
}
.mobile-tabbar-link:hover,
.mobile-tabbar-link.is-active {
  color: var(--accent);
}

.mobile-tabbar-cart-icon {
  position: relative;
  display: inline-flex;
}
.mobile-tabbar-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.mobile-tabbar-home {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  margin-top: -20px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: var(--accent);
  color: #fff;
  font-size: 21px;
  box-shadow: 0 8px 18px rgba(123, 63, 242, 0.4);
  transition: transform 0.2s ease;
}
.mobile-tabbar-home:hover,
.mobile-tabbar-home.is-active {
  color: #fff;
  transform: scale(1.06);
}

@media (max-width: 991.98px) {
  .mobile-tabbar {
    display: flex;
  }
  body {
    padding-bottom: 62px;
  }
}
