/* Bakht Collection — design system & layout
   Type: DM Sans | Accent: black / white (overridable via Customizer)
*/

:root {
  --bc-ink: #000000;
  --bc-paper: #ffffff;
  --bc-muted: #6b6b6b;
  --bc-line: #e6e6e6;
  --bc-accent: #000000;
  --bc-accent-soft: #f5f5f5;
  --bc-white: #ffffff;
  --bc-danger: #8b3a3a;
  --bc-header-h: 72px;
  --bc-announce-h: 36px;
  --bc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bc-font-display: "DM Sans", system-ui, sans-serif;
  --bc-font-body: "DM Sans", system-ui, sans-serif;
  --bc-container: 1320px;
  --bc-gutter: clamp(1rem, 3vw, 2rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--bc-font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: var(--bc-ink);
  background: var(--bc-paper);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--bc-accent); }

button, input, select, textarea { font: inherit; color: inherit; }

.screen-reader-text,
.bakht-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bakht-skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--bc-ink);
  color: var(--bc-white);
}

.bakht-container {
  width: min(100% - 2 * var(--bc-gutter), var(--bc-container));
  margin-inline: auto;
}

/* Announcement */
.bakht-announce {
  background: var(--bc-ink);
  color: var(--bc-white);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem var(--bc-gutter);
}

.bakht-announce__text { margin: 0; }

/* Header */
.bakht-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: padding 0.35s var(--bc-ease), background 0.35s var(--bc-ease), transform 0.4s var(--bc-ease);
}

.bakht-header.is-condensed {
  border-bottom-color: var(--bc-line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.bakht-header.is-condensed .bakht-header__inner {
  padding-block: 0.4rem;
}

.bakht-header.is-hidden {
  transform: translateY(-100%);
}

.bakht-header__inner {
  width: min(100% - 2 * var(--bc-gutter), var(--bc-container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  transition: padding 0.35s var(--bc-ease);
}

.bakht-header__left { display: flex; gap: 0.35rem; align-items: center; }
.bakht-header__right { display: flex; gap: 0.5rem; align-items: center; justify-content: flex-end; }
.bakht-header__brand { text-align: center; }

.bakht-logo-link {
  display: inline-block;
  color: #000;
}
.bakht-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  color: #000;
  line-height: 1;
  transform-origin: center top;
  transition: transform 0.45s var(--bc-ease);
}
.bakht-logo__line {
  display: block;
  font-family: var(--bc-font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  padding-right: 0.18em;
}
.bakht-logo__line--sub {
  font-size: clamp(0.58rem, 1.15vw, 0.74rem);
  font-weight: 400;
  letter-spacing: 0.58em;
  --line-delay: 0.28s;
}
.bakht-logo__ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: bakhtLogoCh 0.7s var(--bc-ease) forwards;
  animation-delay: calc(var(--line-delay, 0s) + (var(--i, 0) * 0.05s));
}
.bakht-header.is-condensed .bakht-logo {
  transform: scale(0.72);
}
.bakht-logo--drawer,
.bakht-logo--footer {
  transform: none;
}
.bakht-logo--drawer .bakht-logo__ch,
.bakht-logo--footer .bakht-logo__ch {
  opacity: 1;
  transform: none;
  animation: none;
}
.bakht-logo--footer {
  align-items: flex-start;
  margin-bottom: 0.9rem;
}
.bakht-logo--footer .bakht-logo__line {
  font-size: 1.55rem;
  color: inherit;
}
.bakht-logo--footer .bakht-logo__line--sub {
  font-size: 0.68rem;
}
@keyframes bakhtLogoCh {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.custom-logo-link, .custom-logo { display: none !important; }

.bakht-icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.45rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--bc-ink);
}

.bakht-header__cart-meta {
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.bakht-header__menu-toggle { display: inline-flex; align-items: center; }

.bakht-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(0,0,0,0.35);
}
.bakht-nav-backdrop[hidden] { display: none; }

.bakht-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1100;
  width: min(360px, 88vw);
  background: #fff;
  border: 0;
  padding: 1.25rem 1.5rem 2rem;
  overflow: auto;
  transform: translateX(-105%);
  transition: transform 0.4s var(--bc-ease);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.bakht-nav.is-open { transform: none; }
.bakht-nav__close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  align-self: flex-end;
  padding: 0.2rem;
}
.bakht-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}
.bakht-nav__list a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .bakht-header__cart-meta { display: none; }
}

/* Buttons */
.bakht-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--bc-ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--bc-ease), color 0.25s var(--bc-ease), border-color 0.25s var(--bc-ease);
}

.bakht-btn--solid {
  background: var(--bc-ink);
  color: var(--bc-white);
}
.bakht-btn--solid:hover { background: var(--bc-accent); border-color: var(--bc-accent); color: var(--bc-white); }

.bakht-btn--ghost {
  background: transparent;
}
.bakht-btn--ghost:hover { background: var(--bc-ink); color: var(--bc-white); }

/* Sections */
.bakht-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.bakht-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.bakht-section__title {
  margin: 0;
  font-family: var(--bc-font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.bakht-section__link {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

/* Hero — full bleed */
.bakht-hero {
  position: relative;
  width: 100%;
  min-height: min(88vh, 820px);
  overflow: hidden;
  background: #1a1816;
}

.bakht-hero__track { position: absolute; inset: 0; }
.bakht-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--bc-ease);
  color: var(--bc-white);
}
.bakht-hero__slide.is-active { opacity: 1; visibility: visible; }
.bakht-hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: bakhtKenBurns 18s ease-in-out infinite alternate;
}
@media (max-width: 768px) {
  .bakht-hero { min-height: min(70vh, 560px); }
  .bakht-hero__media { animation: none; }
}
.bakht-hero__caption {
  position: absolute;
  left: var(--bc-gutter);
  bottom: clamp(1.5rem, 5vw, 3rem);
  font-family: var(--bc-font-display);
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.bakht-hero__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.bakht-hero__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
}
.bakht-hero__dots button.is-active { background: #fff; }

@keyframes bakhtKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Collection grid */
.bakht-collections__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .bakht-collections__grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

.bakht-collections__tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: var(--bc-white);
  background: #2a2724;
}
.bakht-collections__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--bc-ease);
}
.bakht-collections__tile:hover img { transform: scale(1.06); }
.bakht-collections__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
}

/* Category strip */
.bakht-cat-strip__grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 900px) {
  .bakht-cat-strip__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.bakht-cat-strip__item {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  color: #fff;
  background: #222;
}
.bakht-cat-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--bc-ease);
}
.bakht-cat-strip__item:hover img { transform: scale(1.05); }
.bakht-cat-strip__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 1.25rem;
  background: linear-gradient(transparent 30%, rgba(0,0,0,0.55));
}
.bakht-cat-strip__title {
  font-family: var(--bc-font-display);
  font-size: 1.75rem;
}
.bakht-cat-strip__count {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Product grid / card
   Equal-height cards; photos fill a consistent 3:4 frame. */
.woocommerce ul.products,
.woocommerce-page ul.products,
.bakht-product-grid,
ul.products {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  float: none !important;
  width: 100% !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .bakht-product-grid,
  ul.products,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
  }
}
@media (min-width: 1100px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .bakht-product-grid,
  ul.products,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product,
.bakht-card {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
  text-align: center;
  position: relative;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.bakht-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f4f0ea;
}
.bakht-card__link {
  display: block;
  position: absolute;
  inset: 0;
}
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img,
.bakht-card__media img,
.bakht-card__media .bakht-card__image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: cover !important;
  object-position: center top !important;
  background: transparent;
  transition: opacity 0.4s var(--bc-ease);
}
.bakht-card__hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
}
.bakht-card__media:hover .bakht-card__hover { opacity: 1; }
.bakht-card__media:hover > a > img:first-child { opacity: 0; }

.bakht-card__badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  background: var(--bc-ink);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.45rem;
}

.bakht-card__sizes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.55rem;
  margin: 0.75rem 0 0.35rem;
  padding: 0;
}
.bakht-card__size {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--bc-muted);
  cursor: pointer;
}
.bakht-card__size.is-selected { color: var(--bc-ink); text-decoration: underline; text-underline-offset: 3px; }
.bakht-card__size.is-oos,
.bakht-card__size:disabled {
  text-decoration: line-through;
  opacity: 0.4;
  cursor: not-allowed;
}

.bakht-card__title {
  display: block;
  margin-top: 0.35rem;
  font-size: 14px;
  font-family: var(--bc-font-display);
  min-height: 2.6em;
  line-height: 1.3;
}
.bakht-card__price {
  margin-top: 0.25rem;
  font-size: 13px;
  min-height: 1.4em;
}
.bakht-card__price del { opacity: 0.55; margin-right: 0.35rem; }
.bakht-card__price ins { text-decoration: none; color: var(--bc-ink); }

.bakht-card__atc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.7rem;
  min-height: 38px;
  padding: 0.45rem 1rem;
  width: 100%;
  border: 1px solid var(--bc-ink);
  background: #fff;
  color: var(--bc-ink);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.bakht-card__atc:hover { background: var(--bc-ink); color: #fff; }
.bakht-card__atc.is-busy { opacity: 0.6; }
.bakht-card__actions {
  margin-top: auto;
  display: grid;
  gap: 0.4rem;
  width: 100%;
}
.bakht-card__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 1rem;
  width: 100%;
  border: 1px solid var(--bc-ink);
  background: var(--bc-ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.bakht-card__buy:hover { background: var(--bc-accent); border-color: var(--bc-accent); }
.bakht-card__colors {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.65rem 0 0;
  padding: 0;
}
.bakht-card__color {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--bc-line);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
}
.bakht-card__color.is-selected { outline: 2px solid var(--bc-ink); outline-offset: 2px; }

/* Feature banners */
.bakht-feature__grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 900px) {
  .bakht-feature__grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 1rem;
    min-height: 480px;
  }
}
.bakht-feature__primary,
.bakht-feature__secondary {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  color: #fff;
  background: #222;
}
.bakht-feature__primary img,
.bakht-feature__secondary img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--bc-ease);
}
.bakht-feature__primary:hover img,
.bakht-feature__secondary:hover img { transform: scale(1.05); }
.bakht-feature__primary span,
.bakht-feature__secondary span {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  font-family: var(--bc-font-display);
  font-size: 1.5rem;
}

/* Edit section */
.bakht-edit__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .bakht-edit__grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}
.bakht-edit__media { overflow: hidden; background: #ebe7e1; aspect-ratio: 4/5; }
.bakht-edit__media img { width: 100%; height: 100%; object-fit: cover; }
.bakht-edit__copy p { color: var(--bc-muted); max-width: 36ch; }

/* Promo pair */
.bakht-promo-pair__grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 800px) {
  .bakht-promo-pair__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
.bakht-promo-pair__item {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  color: #fff;
  background: #222;
}
.bakht-promo-pair__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--bc-ease);
}
.bakht-promo-pair__item:hover img { transform: scale(1.05); }
.bakht-promo-pair__item span {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  font-family: var(--bc-font-display);
  font-size: 1.5rem;
}

/* Social */
.bakht-social__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (min-width: 700px) {
  .bakht-social__grid { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
}
.bakht-social__item {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ebe7e1;
}
.bakht-social__item img { width: 100%; height: 100%; object-fit: cover; }

/* Trust */
.bakht-trust {
  border-block: 1px solid var(--bc-line);
  background: color-mix(in srgb, var(--bc-accent) 4%, var(--bc-paper));
}
.bakht-trust__grid {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 800px) {
  .bakht-trust__grid { grid-template-columns: repeat(4, 1fr); }
}
.bakht-trust__icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 1px solid var(--bc-accent);
  border-radius: 50%;
  margin-bottom: 0.75rem;
}
.bakht-trust__item h3 {
  margin: 0 0 0.35rem;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.bakht-trust__item p {
  margin: 0;
  color: var(--bc-muted);
  font-size: 13px;
}

/* Footer */
.bakht-footer {
  background: #fff;
  color: #000;
  padding-top: 3.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--bc-line);
}
.bakht-footer a { color: #000; }
.bakht-footer a:hover { color: #000; opacity: 0.65; }
.bakht-footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 900px) {
  .bakht-footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1.1fr; }
}
.bakht-footer__brand {
  font-family: var(--bc-font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}
.bakht-footer__heading {
  margin: 0 0 1rem;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bakht-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bakht-footer__links li { margin-bottom: 0.55rem; }
.bakht-footer__links a { font-size: 14px; opacity: 0.85; }
.bakht-footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.bakht-newsletter {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.bakht-newsletter input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--bc-line);
  background: transparent;
  color: #000;
  padding: 0.65rem 0.75rem;
}
.bakht-newsletter button {
  border: 1px solid #000;
  background: #000;
  color: #fff;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.bakht-footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}
.bakht-footer__bar {
  border-top: 1px solid var(--bc-line);
  padding: 1rem 0;
  font-size: 12px;
  opacity: 0.7;
}

/* WhatsApp float */
.bakht-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 950;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.25s var(--bc-ease);
}
.bakht-whatsapp:hover { transform: scale(1.06); color: #fff; }

/* Search overlay */
.bakht-search {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(20, 18, 16, 0.45);
  display: grid;
  place-items: start center;
  padding-top: 10vh;
}
.bakht-search[hidden] { display: none; }
.bakht-search__panel {
  width: min(640px, calc(100% - 2rem));
  background: var(--bc-paper);
  padding: 1.5rem;
  position: relative;
  animation: bakhtRise 0.35s var(--bc-ease);
}
.bakht-search__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}
.bakht-search__input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--bc-line);
  background: transparent;
  padding: 0.75rem 0;
  font-size: 1.25rem;
  outline: none;
}
.bakht-search__results { margin-top: 1rem; }
.bakht-search-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--bc-line);
}
.bakht-search-item img { width: 56px; height: 70px; object-fit: cover; }

@keyframes bakhtRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cart drawer */
.bakht-drawer { position: fixed; inset: 0; z-index: 1200; }
.bakht-drawer[hidden] { display: none; }
.bakht-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.4);
}
.bakht-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(400px, 100%);
  background: var(--bc-paper);
  display: flex;
  flex-direction: column;
  animation: bakhtSlideIn 0.35s var(--bc-ease);
}
@keyframes bakhtSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.bakht-drawer__head,
.bakht-drawer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--bc-line);
}
.bakht-drawer__foot { border-bottom: 0; border-top: 1px solid var(--bc-line); }
.bakht-drawer__body { flex: 1; overflow: auto; padding: 1rem 1.25rem; }
.bakht-drawer__head h2 {
  margin: 0;
  font-family: var(--bc-font-display);
  font-weight: 500;
  font-size: 1.5rem;
}

/* Shop layout */
.bakht-shop-layout {
  display: block;
  padding-block: 2.5rem 3.5rem;
}
.bakht-archive-head {
  text-align: center;
  margin-bottom: 2rem;
}
.bakht-archive-head__title {
  margin: 0;
  font-family: var(--bc-font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bakht-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--bc-line);
}
.bakht-size-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bakht-size-filter a.is-active { text-decoration: underline; text-underline-offset: 3px; }
.bakht-view-toggle button {
  border: 1px solid var(--bc-line);
  background: transparent;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bakht-view-toggle button.is-active {
  background: var(--bc-ink);
  color: #fff;
  border-color: var(--bc-ink);
}
.bakht-shop-content.is-list ul.products {
  grid-template-columns: 1fr;
}
.bakht-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Single product */
.bakht-product {
  display: grid;
  gap: 2rem;
  padding-block: 2rem;
}
@media (min-width: 960px) {
  .bakht-product { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
}
.bakht-product__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.bakht-pdp-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.35rem 0 0.75rem;
}
.bakht-pdp-size {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--bc-ink);
  background: #fff;
  color: var(--bc-ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.bakht-pdp-size.is-selected {
  background: var(--bc-ink);
  color: #fff;
}
.bakht-pdp-size.is-oos,
.bakht-pdp-size:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}
.bakht-pdp-size-select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.variations_form.cart .variations {
  margin-bottom: 0.5rem;
}
.variations_form.cart .variations th.label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding-right: 1rem;
  vertical-align: top;
  padding-top: 0.85rem;
}
.reset_variations { display: none; }
.bakht-gallery {
  display: grid;
  gap: 0.75rem;
}
.bakht-gallery__main {
  aspect-ratio: 3 / 4;
  background: #f4f0ea;
  overflow: hidden;
}
.bakht-gallery__main img,
.bakht-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.bakht-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.bakht-gallery__thumb {
  appearance: none;
  border: 0;
  padding: 0;
  background: #f4f0ea;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.bakht-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.bakht-gallery__thumb.is-active {
  outline: 2px solid var(--bc-ink);
  outline-offset: 2px;
}

.bakht-color-picker,
.bakht-size-picker {
  margin: 0 0 1rem;
}
.bakht-color-picker__label {
  margin: 0 0 0.65rem;
  font-size: 14px;
}
.bakht-color-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
@media (min-width: 700px) {
  .bakht-color-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.bakht-color-card {
  appearance: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
}
.bakht-color-card.is-selected {
  border: 2px solid #2563eb;
}
.bakht-color-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 92px;
  background: #f4f0ea center / cover no-repeat;
}
.bakht-color-card__name {
  display: block;
  padding: 0.4rem 0.25rem 0.45rem;
  font-size: 11px;
  line-height: 1.2;
  border-top: 1px solid #eee;
  background: #fff;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bakht-pdp-row,
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  align-items: stretch;
  width: 100%;
}
.bakht-qty,
.woocommerce div.product form.cart .quantity.bakht-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d0d0d0;
  background: #fff;
  min-height: 48px;
  width: 140px;
  flex: 0 0 140px;
}
.bakht-qty__btn {
  appearance: none;
  border: 0;
  background: transparent;
  width: 36px;
  height: 48px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.bakht-product .quantity .qty,
.woocommerce div.product form.cart .quantity .qty {
  width: 68px;
  min-height: 46px;
  border: 0;
  text-align: center;
  box-shadow: none;
}
.bakht-product .single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
  border-radius: 4px !important;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  flex: 1 1 180px;
  width: auto;
}
.bakht-product .single_add_to_cart_button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: #000 !important;
}
.bakht-buy-now__btn {
  width: 100%;
  flex: 1 1 100%;
  background: #7a1f32 !important;
  color: #fff !important;
  border: 1px solid #7a1f32 !important;
  border-radius: 4px !important;
  min-height: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}
.bakht-buy-now__btn:hover { background: #641828 !important; }
.bakht-whatsapp-order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  background: #25d366;
  color: #fff !important;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}
.bakht-whatsapp-order:hover { background: #1ebe5d; color: #fff; }
.bakht-cod-box {
  width: 100%;
  background: #f7f3ee;
  border: 1px solid #e6dfd5;
  border-radius: 12px;
  padding: 1rem 1.1rem 1.1rem;
}
.bakht-cod-box__head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e6dfd5;
  margin-bottom: 0.85rem;
}
.bakht-cod-box__head p {
  margin: 0.15rem 0 0;
  color: var(--bc-muted);
  font-size: 13px;
}
.bakht-cod-box__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  font-size: 14px;
}
.bakht-cod-box__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  text-align: center;
}
.bakht-cod-box__grid strong { display: block; font-size: 13px; }
.bakht-cod-box__grid span:last-child { color: var(--bc-muted); font-size: 12px; }
.bakht-cod-box__icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-bottom: 0.35rem;
  background: #f3e6d4 center / 18px 18px no-repeat;
}
.bakht-cod-box__icon--truck { background-color: #f8e6d2; }
.bakht-cod-box__icon--swap { background-color: #e4f6ea; }
.bakht-cod-box__icon--box { background-color: #efe4d4; }

.variations_form.cart .variations,
.bakht-pdp-size-select { display: none !important; }
.bakht-toast {
  position: fixed;
  z-index: 1400;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(12px);
  background: #111;
  color: #fff;
  padding: 0.85rem 1.15rem;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  max-width: min(90vw, 420px);
  text-align: center;
}
.bakht-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.bakht-cod-pay,
.bakht-bank-details {
  background: #f7f4ef;
  border: 1px solid var(--bc-line);
  padding: 1rem 1.15rem;
  margin: 1rem 0;
}
.bakht-cod-pay h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.bakht-product__gallery .woocommerce-product-gallery,
.bakht-product__gallery .flex-viewport,
.bakht-product__gallery .woocommerce-product-gallery__wrapper,
.bakht-product__gallery .woocommerce-product-gallery__image {
  aspect-ratio: 3 / 4;
  background: #f4f0ea;
}
.bakht-product__gallery img,
.woocommerce div.product div.images img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}
.bakht-accordion {
  padding-block: 1rem 3rem;
  max-width: 820px;
}
.bakht-accordion details {
  border-bottom: 1px solid var(--bc-line);
  padding: 1rem 0;
}
.bakht-accordion summary {
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  list-style: none;
}
.bakht-accordion summary::-webkit-details-marker { display: none; }
.bakht-accordion__body { padding-top: 0.75rem; color: var(--bc-muted); }

.bakht-page { padding-block: 2.5rem; max-width: 760px; }
.bakht-page__title {
  font-family: var(--bc-font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
}
.bakht-contact { max-width: 980px; padding-block: 2.5rem; }
.bakht-contact h1 {
  font-family: var(--bc-font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
}
.bakht-contact__lede { color: var(--bc-muted); max-width: 48ch; }
.bakht-contact__notice {
  padding: 0.85rem 1rem;
  background: var(--bc-accent-soft);
  border: 1px solid var(--bc-line);
}
.bakht-contact__grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 900px) {
  .bakht-contact__grid { grid-template-columns: 1fr 1fr; }
}
.bakht-contact__map iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  background: #ebe7e1;
}
.bakht-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.bakht-form input,
.bakht-form textarea {
  border: 1px solid var(--bc-line);
  background: #fff;
  padding: 0.7rem 0.8rem;
}

.bakht-home-intro {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--bc-muted);
  font-size: 15px;
}

[data-bakht-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--bc-ease), transform 0.7s var(--bc-ease);
}
[data-bakht-reveal].is-in {
  opacity: 1;
  transform: none;
}

body.bakht-nav-open { overflow: hidden; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .bakht-hero__media { animation: none; }
}
