:root {
  --space: 8px;
  --ah-ink: #1a1a1a;
  --ah-muted: #6b6b6b;
  --ah-line: #ececec;
  --ah-bg: #ffffff;
  --ah-soft: #f5f3f0;
  --ah-accent: #111111;
  --ah-gold: #c9a962;
  --ah-sans: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Bengali", sans-serif;
  --ah-max: 1240px;
  --ah-radius: 12px;
  --ah-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #3d3d3d;
  font-family: var(--ah-sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.skip-link:focus {
  clip: auto;
  height: auto;
  width: auto;
  position: static;
}

.custom-container,
.ah-wrap {
  max-width: var(--ah-max);
  margin: 0 auto;
  padding: 0 16px;
}

.tizara-main { min-height: 40vh; }

.tizara-page-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

.tizara-page-content { padding: 24px 16px 48px; }

.tizara-empty-row { color: var(--ah-muted); padding: 20px 0; }

/* Header */
.abaya-main-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #ececec;
  transition: box-shadow 0.25s ease;
}
.abaya-main-header.is-stuck {
  box-shadow: var(--ah-shadow);
}

.header-top-bar {
  background: #f5f5f5;
  border-bottom: 1px solid #f0f0f0;
  padding: 6px 0;
}

.top-bar-content {
  text-align: right;
  font-size: 13px;
  color: #555;
}

.top-bar-content a {
  text-decoration: none;
  color: inherit;
  margin: 0 4px;
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  gap: 8px;
}

@media (min-width: 1024px) {
  .header-middle-nav .nav-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 20px;
  }
  .desktop-menu {
    display: flex !important;
    width: 100%;
    min-width: 0;
    justify-content: stretch;
    align-items: center;
  }
  .nav-menu-btn { display: none !important; }
  .desktop-menu > ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .desktop-menu > ul > li {
    flex: 1 1 0;
    text-align: center;
    min-width: 0;
    position: relative;
  }
  .desktop-menu > ul > li > a {
    justify-content: center;
    width: 100%;
    padding: 0 6px;
  }
}

.brand-logo-img,
.brand-logo-link img,
.custom-logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(240px, 54vw);
  object-fit: contain;
}

.brand-logo-fallback { display: none; }

.desktop-menu { display: none; flex-grow: 1; justify-content: stretch; align-items: center; width: 100%; min-width: 0; }

.desktop-menu > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  width: 100%;
}

.desktop-menu ul li a {
  text-decoration: none !important;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 30px;
  position: relative;
  border-bottom: none;
  box-shadow: none;
  transition: color 0.2s ease;
}
.desktop-menu ul li a:hover,
.desktop-menu ul li a:focus,
.desktop-menu ul li.current-menu-item a,
.desktop-menu ul li.current-menu-ancestor a {
  color: #111;
  text-decoration: none !important;
}
.desktop-menu ul li a::after,
.desktop-menu ul li a::before {
  content: none !important;
}
.desktop-menu .menu-item-has-children {
  position: relative;
}
.desktop-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ece6dc;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
  z-index: 80;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.desktop-menu .menu-item-has-children:hover > .sub-menu,
.desktop-menu .menu-item-has-children:focus-within > .sub-menu {
  display: flex;
}
.desktop-menu .sub-menu a {
  height: auto;
  padding: 9px 16px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: normal;
}
.mobile-nav-panel .sub-menu {
  list-style: none;
  margin: 0 0 8px 12px;
  padding: 0;
  border-left: 2px solid #ece6dc;
}
.mobile-nav-panel .sub-menu a {
  padding: 8px 0 8px 12px;
  font-size: 13px;
  text-transform: none;
  font-weight: 600;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icons a,
.nav-icons button {
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  transition: transform 0.2s ease, color 0.2s ease;
}
.nav-icons a:hover,
.nav-icons button:hover {
  color: #111;
  transform: translateY(-1px);
}

.nav-icon-svg { width: 24px; height: 24px; display: block; }

.nav-bag-link {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px;
  background: #f7f4ef;
  border: 1px solid #ece6dc;
}
.nav-bag-link:hover {
  background: #111;
  color: #fff !important;
  border-color: #111;
  transform: translateY(-1px);
}
.nav-bag-link .nav-bag-svg {
  width: 22px;
  height: 22px;
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -7px;
  background: #111;
  color: #f4e6c4;
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  letter-spacing: 0;
}
#cart-count[hidden] { display: none !important; }

.header-announcement-bar {
  background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
  padding: 8px 0;
  border-top: 1px solid #eceff3;
}

.announcement-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 42px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 58px;
}

.announcement-content {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 34px;
  text-align: center;
}

.ann-slide {
  display: none;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  position: absolute;
  width: 100%;
  left: 0;
  line-height: 34px;
}

.ann-slide.active { display: block; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow.left-arrow { left: 0; }
.slider-arrow.right-arrow { right: 0; }
.slider-arrow-svg { width: 22px; height: 22px; }

.site-search-drawer {
  display: none;
  border-top: 1px solid var(--ah-line);
  padding: 12px 0;
  background: #fff;
}

.site-search-drawer.is-open { display: block; }

.site-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ah-line);
  padding: 8px 12px;
  flex: 1;
}

.site-search-form input {
  border: 0;
  width: 100%;
  font: inherit;
  outline: none;
}

.site-search-row { display: flex; gap: 10px; align-items: center; }

.site-search-close {
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10000;
}

.menu-overlay.is-open { display: block; }

.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  z-index: 10001;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  padding: 16px;
  overflow: auto;
}

.mobile-nav-panel.is-open { transform: translateX(0); }

.mobile-nav-panel ul { list-style: none; padding: 0; }
.mobile-nav-panel a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  color: #111;
}

.mobile-nav-top { display: flex; justify-content: flex-end; }
.mobile-nav-top button { border: 0; background: none; font-size: 26px; cursor: pointer; }

/* Hero — keep every photo in the DOM so slide 2+ is not a blank box */
.tizara-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f5f3f0;
}

.tizara-hero__viewport {
  overflow: hidden;
  width: 100%;
  height: auto;
}
.tizara-hero__track {
  position: relative;
  display: block;
  height: auto;
}
.tizara-hero__slide {
  display: block;
  width: 100%;
  line-height: 0;
}
.tizara-hero__slide:not(:first-child) {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}
.tizara-hero.is-js .tizara-hero__slide:not(.is-active) {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}
.tizara-hero.is-js .tizara-hero__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.tizara-hero__slide img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
.tizara-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 98, 0.75);
  background: rgba(17, 17, 17, 0.45);
  color: #f3e6c4;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.tizara-hero__nav:hover {
  background: rgba(17, 17, 17, 0.78);
  transform: translateY(-50%) scale(1.06);
}
.tizara-hero__nav--prev { left: 0.75rem; }
.tizara-hero__nav--next { right: 0.75rem; }
.tizara-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.tizara-hero__dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.tizara-hero__dot[aria-current="true"] { background: #d4af37; }

.home-hero { margin: 0; }

.home-catnav { max-width: var(--ah-max); margin: 14px auto 6px; padding: 0 16px; }
.home-catnav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--ah-line);
  border-radius: 8px;
  padding: 14px 20px;
  overflow-x: auto;
  white-space: nowrap;
}
.home-catnav-label {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-right: 20px;
  border-right: 1px solid var(--ah-line);
}
.home-catnav-inner a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #333;
}

.home-section { max-width: var(--ah-max); margin: 26px auto; padding: 0 16px; position: relative; }
.home-section-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.home-section-title {
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 26px);
  text-transform: uppercase;
  color: var(--ah-ink);
  margin: 0;
}
.home-section-viewall {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--ah-soft);
  border: 1px solid var(--ah-line);
  padding: 9px 18px;
  border-radius: 6px;
}
.home-section-body { position: relative; }
.home-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.home-row::-webkit-scrollbar { display: none; }
.home-row-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.18);
}
.home-row-arrow.prev { left: 6px; }
.home-row-arrow.next { right: 6px; }

.ah-card {
  scroll-snap-align: start;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ah-card-media {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ah-soft);
  aspect-ratio: 3 / 4;
}
.ah-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ah-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  z-index: 2;
}
.ah-card-badge-oos { background: var(--ah-muted); }
.ah-card-oos .ah-card-media img { opacity: 0.55; filter: grayscale(35%); }
.ah-btn[disabled] { color: var(--ah-muted); cursor: not-allowed; }
.ah-card-body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 10px; }
.ah-card-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ah-card-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ah-ink);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.ah-card-price { font-size: 16px; font-weight: 700; color: var(--ah-ink); white-space: nowrap; flex-shrink: 0; }
.ah-card-price del { color: var(--ah-muted); font-weight: 500; font-size: 13px; margin-right: 6px; }
.ah-card-price ins { text-decoration: none; }
.ah-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.ah-btn {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #e5e5e5;
  background: #f5f5f5;
  color: #111;
  border-radius: 4px;
}
.ah-btn-cart.is-active { background: #111; color: #fff; border-color: #111; }
.ah-btn[disabled] { color: var(--ah-muted); cursor: not-allowed; }
.ah-card-oos .ah-card-media img { opacity: 0.55; filter: grayscale(35%); }

.tizara-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.tizara-shop-layout {
  display: block;
  padding: 8px 0 40px;
}
.tizara-archive-head { margin: 8px 0 28px; }
.tizara-archive-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: #111;
  margin: 0 0 14px;
}
.tizara-archive-head .term-description,
.tizara-archive-head .term-description p {
  max-width: 780px;
  color: #4b453d;
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0;
}
.tizara-archive-head .term-description {
  padding: 16px 18px;
  background: #f7f5f2;
  border: 1px solid #ece6dc;
  border-radius: 12px;
  margin-bottom: 8px;
}
.tizara-archive-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ah-muted);
}
.tizara-archive-tools select { padding: 8px 10px; border: 1px solid var(--ah-line); background: #fff; }

.tizara-widget { margin-bottom: 20px; }
.tizara-widget-title { font-size: 14px; text-transform: uppercase; }

/* Product detail — Anzaar */
.pd-wrap { max-width: 1180px; margin: 0 auto; padding: 18px 16px 48px; }
/* The <nav> is only a wrapper — the pill is the .woocommerce-breadcrumb inside
   it, otherwise the two nest into a pill within a pill. */
.pd-breadcrumb,
.tizara-archive-breadcrumb {
  display: block;
  max-width: 100%;
  margin: 0 0 22px;
}
.pd-breadcrumb:empty,
.tizara-archive-breadcrumb:empty { display: none; }

.pd-breadcrumb .woocommerce-breadcrumb,
.tizara-archive-breadcrumb .woocommerce-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: #f6f3ee;
  border: 1px solid #ece6dc;
  color: #6f675d;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.pd-breadcrumb a,
.tizara-archive-breadcrumb a {
  color: #6f675d;
  text-decoration: none;
}
.pd-breadcrumb a:hover,
.tizara-archive-breadcrumb a:hover { color: #111; }
.pd-breadcrumb .breadcrumb_last,
.pd-breadcrumb span[aria-current="page"],
.tizara-archive-breadcrumb .breadcrumb_last,
.tizara-archive-breadcrumb span[aria-current="page"] {
  color: #111;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 560px) {
  .pd-breadcrumb .woocommerce-breadcrumb,
  .tizara-archive-breadcrumb .woocommerce-breadcrumb {
    padding: 7px 12px;
    font-size: 10.5px;
    letter-spacing: 0.05em;
  }
  .pd-breadcrumb,
  .tizara-archive-breadcrumb { margin-bottom: 14px; }
}
.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 40px;
  align-items: start;
}
.pd-gallery {
  display: flex;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  align-items: flex-start;
}
.pd-thumbs { display: flex; flex-direction: column; gap: 10px; width: 72px; flex-shrink: 0; }
.pd-thumb {
  width: 72px;
  height: 92px;
  border: 1px solid var(--ah-line);
  padding: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0;
}
.pd-thumb.is-active { border-color: #111; border-width: 2px; }
.pd-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
.pd-main-image {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(78vh, 680px);
  background: var(--ah-soft);
  overflow: hidden;
  border-radius: 6px;
}
.pd-main-image img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block;
}
.pd-gallery-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 1px 4px rgba(17, 17, 17, 0.08);
}
.pd-gallery-arrow.prev { left: 12px; }
.pd-gallery-arrow.next { right: 12px; }
.pd-name { font-size: 26px; font-weight: 700; color: #111; margin: 0 0 10px; line-height: 1.3; }
.pd-price { font-size: 26px; font-weight: 800; color: #111; margin-bottom: 4px; }
.pd-price del { color: var(--ah-muted); font-weight: 500; font-size: 16px; margin-right: 8px; }
.pd-price ins { text-decoration: none; }
.pd-shortnote { font-size: 12.5px; color: var(--ah-muted); margin: 0 0 18px; }
.pd-option-group { margin-bottom: 16px; }
.pd-option-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pd-size-hint { margin: 0 0 8px; font-size: 13px; color: #667085; }
.pd-option-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-option-btn,
.pd-swatch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 10px 16px;
  border: 1.5px solid #d8d3cb;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 650;
  color: #111;
  cursor: pointer;
  user-select: none;
}
.pd-swatch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.pd-option-btn:hover,
.pd-swatch:hover { border-color: #111; }
.pd-option-btn.is-active,
.pd-swatch.is-active,
.pd-swatch:has(input:checked) {
  background: #111;
  border-color: #111;
  color: #fff;
}
.pd-custom-size-btn,
.pd-swatch--custom { font-weight: 750; }
.pd-actions .single_add_to_cart_button.disabled,
.pd-actions #pdBuyNow.disabled {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}
.pd-size-chart-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #111;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: none;
  letter-spacing: 0;
}
.pd-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.pd-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--ah-line);
  border-radius: 6px;
  overflow: hidden;
}
.pd-qty-stepper button {
  width: 36px;
  height: 36px;
  border: none;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
}
.pd-qty-stepper .quantity { margin: 0; }
.pd-qty-stepper .quantity .qty,
.pd-qty-stepper input.qty {
  width: 48px;
  height: 36px;
  border: 0;
  text-align: center;
  font-weight: 700;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.pd-qty-stepper input.qty::-webkit-outer-spin-button,
.pd-qty-stepper input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pd-qty-stepper .quantity .minus,
.pd-qty-stepper .quantity .plus { display: none !important; }
.pd-stock { font-size: 12.5px; color: var(--ah-muted); }
.pd-jump-desc { font-size: 12.5px; color: #111; font-weight: 600; text-decoration: none; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.pd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #111;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
}
.pd-btn-outline { background: #fff; color: #111; }
.pd-btn-dark, .pd-btn-solid { background: #111; color: #fff; }
.pd-btn-light { background: #f5f5f5; color: #111; border-color: #e5e5e5; }
.pd-sc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100200;
  padding: 20px;
}
.pd-sc-overlay.is-open { display: flex; }
.pd-sc-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 6px;
  padding: 26px 22px;
}
.pd-sc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ah-line);
  background: #fff;
  cursor: pointer;
}
.pd-sc-title { font-size: 18px; font-weight: 700; text-align: center; margin-bottom: 18px; }
.pd-sc-card { border: 1px solid var(--ah-line); margin: 0; overflow: hidden; border-radius: 6px; }
.pd-sc-card-title { background: var(--ah-soft); text-align: center; padding: 10px; font-weight: 700; text-transform: uppercase; }
.pd-sc-card table { width: 100%; border-collapse: collapse; }
.pd-sc-card th, .pd-sc-card td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--ah-line); }
.pd-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 48px;
  margin-top: 48px;
  border-top: 1px solid var(--ah-line);
  padding-top: 24px;
}
.pd-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--ah-line); margin-bottom: 20px; }
.pd-tab {
  background: none;
  border: none;
  padding: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ah-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.pd-tab.active { color: #111; border-bottom-color: #111; }
.pd-tab-panel { display: none; font-size: 14px; }
.pd-tab-panel.active { display: block; }
.pd-spec-table { width: 100%; border-collapse: collapse; max-width: 560px; }
.pd-spec-table td { padding: 10px 0; border-bottom: 1px solid var(--ah-line); }
.pd-spec-table td:first-child { color: var(--ah-muted); width: 160px; }
.pd-spec-table td:last-child { color: #111; font-weight: 600; }
.pd-related-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.pd-related-head h2 { font-size: 20px; margin: 0; }
.pd-related-head a { font-size: 13px; font-weight: 600; color: #111; }
.pd-related-row { display: flex; flex-direction: column; gap: 16px; }
.pd-rel-card { text-decoration: none; color: inherit; display: flex; gap: 12px; align-items: center; }
.pd-rel-card img { width: 64px; height: 82px; object-fit: cover; border-radius: 6px; }
.pd-rel-card .name { font-size: 13px; font-weight: 600; color: #111; margin: 0 0 4px; }
.pd-rel-card .price { font-size: 13px; font-weight: 700; }

form.variations_form table.variations,
form.variations_form .reset_variations,
form.variations_form .reset_variations_alert {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.home-watch .tizara-video-embed {
  max-width: 920px;
  margin: 0 auto;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}
.home-reviews-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-review-card {
  margin: 0;
  border: 1px solid var(--ah-line);
  border-radius: 8px;
  padding: 18px 16px;
  background: #fff;
}
.home-review-stars { color: #111; letter-spacing: 2px; margin-bottom: 8px; }
.home-review-card p { margin: 0 0 10px; font-size: 13.5px; color: #333; line-height: 1.55; }
.home-review-card cite { font-style: normal; font-size: 13px; font-weight: 700; color: #111; }
form.cart .quantity { display: inline-block; }
.single_add_to_cart_button { font-family: inherit; }
.variations { width: 100%; margin-bottom: 12px; }
.variations td, .variations th { padding: 6px 8px; }
.woocommerce-variation-add-to-cart { display: block; }

/* Kill leftover Woo default chrome if a plugin injects it */
body.single-product span.onsale,
body.single-product .product_meta,
body.single-product .woocommerce-tabs,
body.single-product .woocommerce-product-gallery,
body.single-product section.related.products,
body.single-product .woocommerce-product-gallery__trigger {
  display: none !important;
}

.related.products .products,
.related .tizara-products { margin-top: 32px; }

/* Cart drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.42);
  z-index: 1000100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}
.cart-drawer-overlay.is-open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: #fff;
  z-index: 1000101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-head, .cart-drawer-foot { padding: 20px 22px; border-bottom: 1px solid #efefef; }
.cart-drawer-foot { border-top: 1px solid #efefef; border-bottom: 0; margin-top: auto; }
.cart-drawer-body { overflow: auto; flex: 1; padding: 12px 16px; }
.cart-drawer-items { list-style: none; margin: 0; padding: 0; }
.cart-drawer-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--ah-line); }
.cart-drawer-thumb img { width: 72px; height: 90px; object-fit: cover; }
.cart-drawer-qty { display: inline-flex; border: 1px solid #e4e4e4; border-radius: 999px; overflow: hidden; }
.cart-drawer-qty button { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; }
.cart-drawer-checkout {
  display: block;
  text-align: center;
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 14px;
  font-weight: 700;
  margin-top: 10px;
}
.cart-drawer-view { display: block; text-align: center; margin-top: 8px; }
.cart-drawer-subtotal { display: flex; justify-content: space-between; font-weight: 700; }
.cart-drawer-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #e8e8e8; background: #fff; cursor: pointer; font-size: 22px; }

.cart-added-toast {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10050;
  display: flex;
  gap: 14px;
  width: min(540px, calc(100vw - 24px));
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translate(-50%, 24px);
  opacity: 0;
  visibility: hidden;
}
.cart-added-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cart-added-toast__check {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer — Astra-like light surface */
.anz-footer { background: #f5f5f5; color: #3a3a3a; margin-top: 64px; border-top: 1px solid #eaeaea; }
.anz-footer-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 20px 16px;
  border-bottom: 1px solid #e6e6e6;
  background: #fafafa;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
}
.anz-footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 56px 16px 48px;
}
.anz-col h3 {
  color: #111;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.anz-col p { line-height: 1.7; margin: 0 0 12px; font-size: 14px; color: #3a3a3a; }
.anz-col ul { list-style: none; padding: 0; margin: 0; }
.anz-col li { margin: 0 0 10px; }
.anz-col a { color: #3a3a3a; text-decoration: none; transition: color 0.2s ease; }
.anz-col a:hover { color: #111; }
.anz-wa-cta {
  display: inline-flex;
  margin-top: 8px;
  background: #25d366;
  color: #fff !important;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}
.anz-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.anz-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #dcdcdc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: #fff;
}
.anz-social a:hover { background: #111; color: #fff; }
.anz-social svg { width: 16px; height: 16px; }
.tizara-newsletter { display: flex; flex-direction: column; gap: 8px; }
.tizara-newsletter input, .tizara-newsletter button {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
}
.tizara-newsletter button {
  background: #111;
  color: #fff;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.anz-footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 16px;
  background: #eeeeee;
  border-top: 1px solid #e2e2e2;
  max-width: var(--ah-max);
  margin: 0 auto;
}
.anz-footer-strip p { margin: 0; font-size: 13px; color: #555; }
.anz-pay { letter-spacing: 0.08em; font-size: 12px; color: #111; }

.tizara-cat-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.tizara-cat-tile {
  display: block;
  text-decoration: none;
  border: 1px solid var(--ah-line);
  padding: 16px;
  background: var(--ah-soft);
}
.tizara-cat-tile h2 { margin: 8px 0 4px; color: #111; }
.tizara-video-embed { aspect-ratio: 16 / 9; }
.tizara-video-embed iframe { width: 100%; height: 100%; }

/* Checkout / account */
.woocommerce-checkout .ah-wrap,
.woocommerce-cart .ah-wrap,
.woocommerce-account .ah-wrap { max-width: 1180px; }

body.woocommerce-checkout .tizara-main {
  background: #fff;
  padding: 8px 0 48px;
}
body.woocommerce-checkout .tizara-page-content { padding-top: 8px; }

.tizara-checkout { max-width: 1100px; margin: 0 auto; }
.tizara-co-head {
  text-align: center;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ah-line);
}
.tizara-co-head h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}
.tizara-co-crumb { font-size: 13px; color: var(--ah-muted); margin-bottom: 8px; }
.tizara-co-crumb a { color: var(--ah-muted); text-decoration: none; }
.tizara-co-crumb a:hover { color: #111; }
.tizara-co-sub { margin: 0 0 8px; font-size: 14px; color: var(--ah-muted); font-weight: 500; }
.tizara-co-trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
  color: #444;
}
.tizara-co-login-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid var(--ah-line);
  border-radius: 6px;
  margin-bottom: 14px;
  font-size: 14px;
}
.tizara-co-login-actions { display: flex; gap: 8px; }
.tizara-co-btn-outline,
.tizara-co-btn-fill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.tizara-co-btn-outline { border: 1px solid #111; color: #111; background: #fff; }
.tizara-co-btn-fill { background: #111; color: #fff; }
.tizara-co-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  flex-wrap: wrap;
}
.tizara-co-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ah-muted);
}
.tizara-co-step.is-active { color: #111; }
.tizara-co-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.tizara-co-step-line { width: 36px; height: 1px; background: var(--ah-line); }

form.woocommerce-checkout.tizara-co-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 14px;
  max-width: none;
  margin: 0;
  padding: 0;
  align-items: start;
}
form.woocommerce-checkout:not(.tizara-co-grid) {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
form.woocommerce-checkout:not(.tizara-co-grid)::before,
form.woocommerce-checkout:not(.tizara-co-grid)::after {
  display: none !important;
  content: none !important;
}
form.woocommerce-checkout:not(.tizara-co-grid) #customer_details {
  grid-column: 1;
  grid-row: 1 / span 10;
  float: none;
  width: 100%;
}
form.woocommerce-checkout:not(.tizara-co-grid) #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  float: none;
  width: 100%;
}
form.woocommerce-checkout:not(.tizara-co-grid) #order_review {
  grid-column: 2;
  grid-row: 2 / span 9;
  float: none;
  width: 100%;
  display: block;
}
.tizara-co-aside { position: sticky; top: 92px; }
.tizara-co-card,
.tizara-co-review,
#order_review,
.woocommerce-billing-fields,
.woocommerce-additional-fields,
.woocommerce-account-fields {
  background: #fff;
  border: 1px solid var(--ah-line);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.04);
  padding: 14px 16px;
  margin-bottom: 14px;
}
#order_review_heading {
  background: #fff;
  border: 1px solid var(--ah-line);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  box-shadow: none;
  margin: 0;
  padding: 14px 16px 0;
}
.tizara-co-review {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
}
.tizara-co-section-label,
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ah-line);
}
.woocommerce-checkout .form-row { margin-bottom: 12px; float: none; width: 100%; }
.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}
.woocommerce-checkout .form-row .optional { font-weight: 600; color: var(--ah-muted); text-transform: none; letter-spacing: 0; }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container .select2-selection {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ah-line);
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  min-height: 44px;
}
.tizara-phone-field .woocommerce-input-wrapper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--ah-line);
  border-radius: 6px;
  overflow: hidden;
}
.tizara-phone-code {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background: #fafafa;
  font-weight: 700;
  color: #111;
  border-right: 1px solid var(--ah-line);
}
.tizara-phone-field input.input-text {
  border: 0 !important;
  min-height: 42px;
  border-radius: 0;
}
.tizara-delivery-hint {
  margin: 0;
  font-size: 12px;
  color: var(--ah-muted);
}
.tizara-co-thead-hide { display: none; }
.tizara-co-table { width: 100%; border-collapse: collapse; }
.tizara-co-table tbody td { padding: 0; border: 0; }
.tizara-co-line {
  display: grid;
  grid-template-columns: 72px 1fr 40px;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ah-line);
}
.tizara-co-table tbody tr:last-child .tizara-co-line { border-bottom: 0; }
.tizara-co-thumb {
  width: 72px;
  height: 88px;
  border: 1px solid var(--ah-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
}
.tizara-co-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tizara-co-name { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: #111; line-height: 1.4; }
.tizara-co-meta { font-size: 13px; color: var(--ah-muted); margin-bottom: 6px; }
.tizara-co-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tizara-co-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ah-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fafafa;
}
.tizara-co-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
}
.tizara-co-qty span,
.tizara-co-qty input.qty,
.tizara-co-qty .tizara-cart-qty-input {
  min-width: 36px;
  width: 40px;
  height: 32px;
  border: 0;
  padding: 0;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  background: transparent;
}
.tizara-co-trustbar,
.tizara-co-trust {
  display: none !important;
}
.tizara-co-line-total { font-weight: 700; font-size: 15px; }
.tizara-co-remove {
  width: 40px;
  height: 40px;
  border: 1px solid #f5d0d0;
  border-radius: 10px;
  background: #fff;
  color: #b91c1c;
  cursor: pointer;
}
.tizara-co-table tfoot th,
.tizara-co-table tfoot td {
  padding: 8px 0;
  font-size: 14px;
  border: 0;
}
.tizara-co-table tfoot th { text-align: left; font-weight: 500; color: #444; }
.tizara-co-table tfoot td { text-align: right; font-weight: 700; }
.tizara-co-table tfoot .order-total th,
.tizara-co-table tfoot .order-total td {
  font-size: 16px;
  border-top: 1px solid var(--ah-line);
  padding-top: 12px;
}

body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout form.woocommerce-form-login { display: none; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .checkout_coupon {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: #fff;
  border: 1px solid var(--ah-line);
  border-radius: 6px;
  padding: 12px 14px;
  color: #111;
}
body.woocommerce-checkout .checkout_coupon {
  border: 1px solid var(--ah-line);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 14px;
}

.woocommerce-checkout #payment {
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.woocommerce-checkout #payment .wc_payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.woocommerce-checkout #payment .wc_payment_method {
  margin: 0;
  border: 1px solid var(--ah-line);
  border-radius: 8px;
  background: #fff;
}
.woocommerce-checkout #payment .wc_payment_method.is-active {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}
.woocommerce-checkout #payment .wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  cursor: pointer;
  font-weight: 700;
  margin: 0;
}
.tizara-pm-icon img { display: block; max-height: 22px; width: auto; }
.woocommerce-checkout #payment .payment_box {
  background: transparent;
  border: 0;
  padding: 0 8px 6px;
  margin: 0;
  font-size: 13px;
  color: #444;
}
body.woocommerce-checkout .header-announcement-bar,
body.woocommerce-cart .header-announcement-bar {
  display: none;
}
.tizara-co-legal { display: none !important; }
.woocommerce-checkout #payment div.form-row { padding: 0; margin: 0; }
#place_order {
  background: #22c55e !important;
  color: #fff !important;
  font-weight: 800;
  padding: 14px 24px !important;
  border-radius: 12px;
  width: 100%;
  border: 0;
  font-size: 18px;
}
.tizara-hide-country,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #ship-to-different-address { display: none !important; }

@media (max-width: 900px) {
  form.woocommerce-checkout.tizara-co-grid,
  form.woocommerce-checkout:not(.tizara-co-grid) { grid-template-columns: 1fr; }
  form.woocommerce-checkout:not(.tizara-co-grid) #customer_details,
  form.woocommerce-checkout:not(.tizara-co-grid) #order_review_heading,
  form.woocommerce-checkout:not(.tizara-co-grid) #order_review {
    grid-column: 1;
    grid-row: auto;
  }
  .tizara-co-aside { position: static; }
  .tizara-co-line { grid-template-columns: 56px 1fr 36px; }
  .tizara-co-thumb { width: 56px; height: 70px; }
}

body.woocommerce-account .woocommerce {
  max-width: 900px;
  margin: 40px auto 50px;
  background: #f8f4ec;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 18px 18px 35px rgba(0, 0, 0, 0.08);
}

.woocommerce-form-login,
.woocommerce-form-register { max-width: 420px; margin: 0 auto; }

.woocommerce-order { max-width: 800px; margin: 40px auto; padding: 0 16px; }

.csm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
}
.csm-overlay.active { display: flex; }
.csm-modal {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  position: relative;
}
.csm-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f2f2f2;
  cursor: pointer;
}
.csm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.csm-grid label { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; gap: 4px; }
.csm-grid input { padding: 8px; border: 1px solid var(--ah-line); }

.mbn-bar { display: none; }

@media (max-width: 1023px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-bottom-grid { grid-template-columns: 1fr; }
  .anz-footer-main { grid-template-columns: 1fr 1fr; }
  .tizara-products { grid-template-columns: repeat(2, 1fr); }
  .home-row { grid-auto-columns: calc((100% - 22px) / 2); }
  .home-reviews-row { grid-template-columns: 1fr 1fr; }
  form.woocommerce-checkout.tizara-co-grid { grid-template-columns: 1fr; }
  .header-top-bar { display: none; }
  .pd-gallery { flex-direction: column-reverse; }
  .pd-thumbs { flex-direction: row; width: 100%; overflow-x: auto; }
  .pd-actions { grid-template-columns: 1fr 1fr; }
  .pd-actions .pd-btn-outline { grid-column: 1 / -1; }
  .pd-btn { min-height: 48px; font-size: 15px; padding: 12px 10px; }
  .pd-mobile-bar { display: none !important; }
}

@media (max-width: 768px) {
  .mbn-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    background: #fff;
    border-top: 1px solid #ececec;
    z-index: 500;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  body { padding-bottom: 64px; }
  body.woocommerce-checkout .mbn-bar,
  body.woocommerce-account .mbn-bar {
    display: none !important;
  }
  body.woocommerce-checkout,
  body.woocommerce-account {
    padding-bottom: 16px;
  }
  .mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    text-decoration: none;
    color: #111;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
  }
  .mbn-item svg { width: 24px; height: 24px; }
  .mbn-cart-wrap { position: relative; }
  .mbn-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .home-hero-arrow, .tizara-hero__nav { width: 2rem; height: 2rem; }
  .cart-added-toast { bottom: calc(64px + 12px + env(safe-area-inset-bottom, 0)); }
}

@media (max-width: 560px) {
  .tizara-products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .anz-footer-main { grid-template-columns: 1fr; }
  .pd-gallery { flex-direction: column-reverse; }
  .pd-thumbs { flex-direction: row; width: 100%; overflow-x: auto; }
  .pd-actions { grid-template-columns: 1fr; }
  .home-reviews-row { grid-template-columns: 1fr; }
  .csm-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Responsive layer — 320px to 1280px+
   Everything below is additive: it constrains overflow, sizes touch targets and
   sets the column counts per breakpoint. Breakpoints match the real devices in
   the Bangladesh market: 320 / 360 / 375 / 390 / 414 / 480 / 768 / 1024 / 1280.
   ========================================================================== */

/* --- Global overflow guard -------------------------------------------------
   A single element wider than the viewport creates horizontal scroll on the
   whole page. Grid and flex children default to min-width:auto, which lets long
   words, tables and preformatted text push past their track — min-width:0 is
   what actually stops it.

   `clip` rather than `hidden`: overflow:hidden on html/body turns them into
   scroll containers, which silently kills position:sticky on the header and the
   checkout summary. */
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  max-width: 100%;
}

img,
video,
iframe,
embed,
object,
svg,
canvas {
  max-width: 100%;
}

iframe,
video {
  height: auto;
}

pre,
code,
kbd,
samp {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tizara-main,
.ah-wrap,
.tizara-page-content,
.home-section,
.pd-wrap,
.tizara-checkout,
.anz-footer-main {
  max-width: 100%;
  min-width: 0;
}

.ah-card,
.ah-card-body,
.ah-card-name,
.pd-info,
.tizara-co-main,
.tizara-co-aside,
.tizara-co-name,
.anz-col,
.home-review-card {
  min-width: 0;
}

.ah-card-name,
.pd-name,
.tizara-co-name,
.tizara-archive-title,
.home-section-title,
.anz-col p,
.anz-col a {
  overflow-wrap: anywhere;
}

/* Long WooCommerce / theme tables scroll inside their own box instead of
   widening the page. The checkout review table is excluded on purpose — it is a
   custom two-column layout, not a data table. */
.pd-sc-card,
.pd-spec-table,
.woocommerce-orders-table,
.woocommerce-table--order-details,
.tizara-order-extras__table,
.shop_table {
  max-width: 100%;
}

@media (max-width: 767px) {
  .woocommerce-orders-table,
  .woocommerce-table--order-details,
  .woocommerce-table--order-downloads {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .tizara-order-extras__table {
    width: 100%;
    table-layout: fixed;
  }
  .tizara-order-extras__table th,
  .tizara-order-extras__table td {
    padding: 9px 10px;
    font-size: 13.5px;
    overflow-wrap: anywhere;
  }
}

/* --- Touch targets and form controls --------------------------------------
   iOS zooms the page whenever a focused control's font-size is under 16px, and
   the zoom is what makes checkout feel broken on a phone. */
@media (max-width: 1023px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  select,
  textarea,
  .select2-container .select2-selection__rendered {
    font-size: 16px;
    min-height: 46px;
    max-width: 100%;
  }

  textarea {
    min-height: 92px;
  }

  button,
  .button,
  .ah-btn,
  .pd-btn,
  .tizara-co-btn-fill,
  .tizara-co-btn-outline,
  .cart-drawer-checkout,
  a.button {
    min-height: 44px;
  }

  .pd-qty-stepper button,
  .tizara-co-qty button,
  .cart-drawer-qty button,
  .nav-icons button,
  .slider-arrow,
  .site-search-close,
  .pd-sc-close,
  .csm-close,
  .cart-drawer-close {
    min-width: 44px;
    min-height: 44px;
  }
}

/* --- Header ---------------------------------------------------------------- */
@media (max-width: 1023px) {
  .nav-row {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
    min-width: 0;
  }

  .nav-row .custom-logo,
  .nav-row .brand-logo-fallback {
    max-height: 44px;
    width: auto;
  }

  .nav-icons {
    gap: 2px;
    flex-shrink: 0;
  }

  .mobile-nav-panel {
    width: min(88vw, 360px);
    max-width: 88vw;
  }

  .announcement-content,
  .ann-slide {
    font-size: 12.5px;
    padding-left: 34px;
    padding-right: 34px;
    overflow-wrap: anywhere;
  }
}

/* --- Product grids --------------------------------------------------------- */
@media (min-width: 1024px) and (max-width: 1279px) {
  .tizara-products { grid-template-columns: repeat(3, 1fr); }
  .home-row { grid-auto-columns: calc((100% - 44px) / 3); }
}

@media (max-width: 1023px) {
  .home-row { grid-auto-columns: calc((100% - 22px) / 2); }
}

@media (max-width: 767px) {
  .tizara-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .home-row { grid-auto-columns: calc((100% - 12px) / 2); }
  .home-section { margin: 20px auto; padding: 0 12px; }
  .home-section-title { font-size: 19px; }
  .tizara-page-content { padding: 16px 12px 40px; }
  .ah-card-body { padding: 10px 0 0; gap: 8px; }
  .ah-card-name { font-size: 13px; }
  .ah-card-price { font-size: 14.5px; }
  .ah-actions { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 479px) {
  .tizara-products { gap: 10px; }
  .home-row { grid-auto-columns: calc((100% - 10px) / 2); }
  .home-catnav { padding: 0 12px; }
}

/* At 320–359px two columns leave no room for a readable name plus price. */
@media (max-width: 359px) {
  .tizara-products { grid-template-columns: 1fr; }
  .home-row { grid-auto-columns: 82%; }
  .home-section,
  .tizara-page-content,
  .pd-wrap,
  .ah-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* --- Product detail page --------------------------------------------------- */
@media (max-width: 1023px) {
  .pd-wrap { padding: 12px 12px 40px; }
  .pd-name { font-size: clamp(19px, 5vw, 24px); }
  .pd-price { font-size: clamp(20px, 5.5vw, 26px); }
  .pd-thumbs {
    width: 100%;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .pd-thumbs::-webkit-scrollbar { display: none; }
  .pd-thumb { flex: 0 0 62px; }
  .pd-main-image { width: 100%; }
  .pd-qty-row { gap: 12px; }
  .pd-tabs { gap: 16px; overflow-x: auto; scrollbar-width: none; }
  .pd-tabs::-webkit-scrollbar { display: none; }
  .pd-tab { white-space: nowrap; }
  .pd-spec-table td:first-child { width: 42%; }
  .pd-related-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 479px) {
  .pd-swatch { padding: 9px 12px; font-size: 13.5px; }
  .pd-option-row { gap: 6px; }
  .pd-related-row { grid-template-columns: 1fr; }
}

/* --- Modals: size chart, custom size, search ------------------------------- */
@media (max-width: 767px) {
  .pd-sc-dialog,
  .csm-modal {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 14px;
  }

  .pd-sc-card table { font-size: 13px; }
  .pd-sc-card th,
  .pd-sc-card td { padding: 8px 6px; }

  .site-search-form { padding: 12px; }
  .site-search-row { gap: 8px; }
}

/* --- Cart drawer ----------------------------------------------------------- */
@media (max-width: 479px) {
  .cart-drawer { width: 100vw; max-width: 100vw; }
  .cart-drawer-head,
  .cart-drawer-foot { padding: 16px 14px; }
  .cart-drawer-body { padding: 10px 14px; }
  .cart-drawer-item { grid-template-columns: 60px 1fr auto; gap: 8px; }
  .cart-drawer-thumb img { width: 60px; height: 76px; }
  .cart-added-toast { left: 12px; right: 12px; width: auto; transform: none; }
  .cart-added-toast.is-visible { transform: none; }
}

/* --- Checkout -------------------------------------------------------------- */
@media (max-width: 900px) {
  .tizara-checkout { padding: 0 12px; }
  .tizara-co-head h1 { font-size: clamp(21px, 5.6vw, 26px); }
  .tizara-co-steps { overflow-x: auto; scrollbar-width: none; }
  .tizara-co-steps::-webkit-scrollbar { display: none; }
  .tizara-co-login-bar { flex-wrap: wrap; gap: 8px; }
  .tizara-co-login-actions { width: 100%; }
  .tizara-co-login-actions > * { flex: 1; }
  .woocommerce-checkout .form-row { margin-bottom: 14px; }
  .tizara-co-methods { gap: 8px; }
  .tizara-co-method { align-items: flex-start; }
  .tizara-co-method small { display: block; overflow-wrap: anywhere; }

  /* Place Order must always be reachable without hunting for it. */
  .tizara-co-placewrap {
    position: sticky;
    bottom: 0;
    z-index: 6;
    background: #fff;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0));
    margin-top: 12px;
    border-top: 1px solid var(--ah-line);
    box-shadow: 0 -6px 18px rgba(17, 17, 17, 0.07);
  }
  .tizara-co-place { width: 100%; min-height: 52px; font-size: 16px; }
  .tizara-co-back-under { display: block; text-align: center; margin-top: 8px; }
}

@media (max-width: 479px) {
  .tizara-co-line { grid-template-columns: 52px 1fr; row-gap: 6px; }
  .tizara-co-thumb { width: 52px; height: 66px; }
  .tizara-co-remove { grid-column: 2; justify-self: end; }
  .tizara-co-table tfoot td,
  .tizara-co-table tfoot th { font-size: 13.5px; }
  .woocommerce-checkout #payment .wc_payment_method > label {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
  }
}

/* --- Thank you / order details / My Account -------------------------------- */
@media (max-width: 767px) {
  .woocommerce-order { margin: 24px auto; padding: 0 12px; }
  .woocommerce-order .woocommerce-order-overview,
  .woocommerce-order ul.order_details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    margin: 0 0 20px;
    border: 0;
  }
  .woocommerce-order ul.order_details li {
    border: 0;
    padding: 10px 12px;
    margin: 0;
    float: none;
    background: var(--ah-soft);
    border-radius: 8px;
  }
  .woocommerce-order ul.order_details li::after { display: none; }

  body.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 9px 12px;
    border: 1px solid var(--ah-line);
    border-radius: 999px;
    font-size: 13.5px;
    text-decoration: none;
  }
  .woocommerce-MyAccount-content { min-width: 0; }
}

/* --- Footer ---------------------------------------------------------------- */
@media (max-width: 767px) {
  .anz-footer { margin-top: 40px; }
  .anz-footer-main { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .anz-footer-trust { gap: 10px; font-size: 12.5px; }
  .anz-footer-strip { flex-direction: column; gap: 8px; text-align: center; }
  .tizara-newsletter input,
  .tizara-newsletter button { width: 100%; }
}

@media (max-width: 479px) {
  .anz-footer-main { grid-template-columns: 1fr; }
}

/* --- Category hub, search results, 404 ------------------------------------- */
@media (max-width: 767px) {
  .tizara-cat-hub { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tizara-shop-layout { grid-template-columns: 1fr; }
  .tizara-archive-tools { flex-wrap: wrap; gap: 8px; }
  .tizara-archive-tools select { width: 100%; }
  .tizara-archive-title { font-size: clamp(20px, 5.6vw, 26px); }
}

@media (max-width: 359px) {
  .tizara-cat-hub { grid-template-columns: 1fr; }
}

/* --- Mobile bottom nav ----------------------------------------------------- */
@media (max-width: 768px) {
  /* The bottom bar is hidden on checkout and account, so those pages must not
     reserve space for it. */
  body.woocommerce-checkout,
  body.woocommerce-account,
  body.woocommerce-order-received {
    padding-bottom: 16px;
  }
  .mbn-item { font-size: 10.5px; padding: 0 2px; }
  .mbn-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
}

/* --- Motion and print ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .abaya-main-header,
  .header-announcement-bar,
  .anz-footer,
  .mbn-bar,
  .cart-drawer,
  .cart-drawer-overlay,
  .tizara-co-placewrap {
    display: none !important;
  }
}

