/* Zaitoon storefront layer, loaded after the modern theme CSS.
   Brand colours come from the theme colour picked in Admin (--primary-color etc.). */
:root {
  --zt-primary: var(--primary-color, #43ae47);
  --zt-primary-dark: var(--primary-color-onhover, #3a953d);
  --zt-ink: #111827;
  --zt-muted: #6b7280;
  --zt-soft: var(--primary-soft, #effaf4);
  --zt-line: #e5e7eb;
  --zt-radius: 14px;
}

/* ---------- Buttons ---------- */
.zt-btn-primary {
  background: var(--zt-primary); color: #fff; border: 0;
  border-radius: 999px; padding: .65rem 1.25rem; font-weight: 600;
}
.zt-btn-primary:hover { background: var(--zt-primary-dark); color: #fff; }
.zt-btn-outline {
  background: #fff; color: var(--zt-primary-dark); border: 1px solid var(--zt-primary);
  border-radius: 999px; padding: .65rem 1.1rem; font-weight: 600;
}
.zt-btn-outline:hover { background: var(--zt-soft); color: var(--zt-primary-dark); }

/* ---------- Hero ---------- */
.zt-hero {
  background: linear-gradient(135deg, var(--zt-soft) 0%, #ffffff 70%);
  border: 1px solid var(--zt-line); border-radius: var(--zt-radius);
  padding: 2rem 2.25rem;
}
.zt-hero-text { max-width: 720px; }
.zt-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--zt-primary-dark); border: 1px solid var(--primary-soft-onhover, #bfe7cb);
  border-radius: 999px; padding: .3rem .75rem; font-size: .8rem; font-weight: 600;
}
.zt-hero-title { font-size: 2.1rem; font-weight: 800; line-height: 1.15; color: var(--zt-ink); margin: .8rem 0 .4rem; }
.zt-hero-sub { color: var(--zt-muted); font-size: 1rem; margin-bottom: 1.1rem; }
.zt-hero-search {
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--zt-line); border-radius: 999px;
  padding: .3rem .3rem .3rem 1rem; box-shadow: 0 4px 14px rgba(17, 24, 39, .06);
}
.zt-hero-search i { color: var(--zt-muted); }
.zt-hero-search input { flex: 1; border: 0; outline: 0; font-size: 1rem; min-width: 0; background: transparent; }
.zt-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* ---------- Trust strip ---------- */
.zt-trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
}
.zt-trust:empty { display: none; }
.zt-trust-item {
  display: flex; gap: .75rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); padding: 1rem;
}
.zt-trust-item i { color: var(--zt-primary); font-size: 1.35rem; margin-top: 2px; }
.zt-trust-item strong { display: block; font-size: .95rem; color: var(--zt-ink); }
.zt-trust-item span { display: block; font-size: .8rem; color: var(--zt-muted); }

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  .zt-hero { padding: 1.25rem 1rem; }
  .zt-hero-title { font-size: 1.5rem; }
  .zt-hero-search { padding-left: .8rem; }
  .zt-hero-search .btn { padding: .5rem .9rem; }
  .zt-hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .zt-trust { grid-template-columns: repeat(2, 1fr); }

}
}

/* =========================================================
   Home page v2 (mobile first)
   ========================================================= */
.zt-home { background: #f6f7f9; padding-bottom: 1.5rem; }
.zt-home .container { padding-left: 12px; padding-right: 12px; }
.zt-radius { border-radius: var(--zt-radius); overflow: hidden; }
.zt-banners { padding-top: 12px; }
.zt-banners .slide-img img { width: 100%; height: auto; display: block; border-radius: var(--zt-radius); }

.zt-block { margin-top: 18px; }
.zt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.zt-head h2 { font-size: 1.1rem; font-weight: 800; color: var(--zt-ink); margin: 0; line-height: 1.25; }
.zt-head p { font-size: .8rem; color: var(--zt-muted); margin: 2px 0 0; }
.zt-head a { flex: none; font-size: .85rem; font-weight: 700; color: var(--zt-primary); text-decoration: none; white-space: nowrap; }
.zt-head a i { font-size: .7rem; }

/* Promise strip */
.zt-promise {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-top: 12px; padding: 2px 0;
}
.zt-promise::-webkit-scrollbar { display: none; }
.zt-promise span {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--zt-line); border-radius: 999px;
  padding: 6px 12px; font-size: .78rem; font-weight: 600; color: var(--zt-ink); white-space: nowrap;
}
.zt-promise i { color: var(--zt-primary); }

/* Categories: 4 per row on phones, all visible */
.zt-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
.zt-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; min-width: 0; }
.zt-cat-img {
  width: 100%; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--zt-line);
  border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.zt-cat-img img { width: 78%; height: 78%; object-fit: contain; }
.zt-cat-name {
  font-size: .72rem; font-weight: 600; color: var(--zt-ink); text-align: center; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: 100%;
}

/* Product grid: 2 columns on phones */
.zt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zt-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--zt-line); border-radius: var(--zt-radius); overflow: hidden;
  width: auto !important; height: auto !important; min-width: 0;
}
.zt-card-img { display: block; aspect-ratio: 1 / 1; background: #fff; padding: 10px; }
.zt-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.zt-off {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: #e11d48; color: #fff; font-size: .68rem; font-weight: 800;
  border-radius: 6px; padding: 2px 6px; line-height: 1.4;
  overflow: hidden; isolation: isolate;
  box-shadow: 0 2px 6px rgba(225, 29, 72, .35);
}
/* Shimmer: a light band sweeps across the badge every few seconds */
.zt-off::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.75) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: zt-shimmer 2.4s ease-in-out infinite;
}
@keyframes zt-shimmer {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .zt-off::after { animation: none; display: none; }
}
.zt-card .zt-fav, .zt-gallery-main .zt-fav {
  position: absolute; top: 6px !important; right: 6px !important; left: auto !important; bottom: auto !important; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95);
  box-shadow: 0 1px 4px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--zt-ink); padding: 0;
}
.zt-card-body { display: flex; flex-direction: column; gap: 4px; padding: 0 10px 10px; flex: 1; }
.zt-card-title {
  font-size: .82rem; font-weight: 600; color: var(--zt-ink); text-decoration: none; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.zt-eta { font-size: .68rem; font-weight: 600; color: var(--zt-primary-dark); }
.zt-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; }
.zt-price { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.zt-price strong { font-size: .92rem; font-weight: 800; color: var(--zt-ink); white-space: nowrap; }
.zt-price s { font-size: .72rem; color: var(--zt-muted); white-space: nowrap; }
.zt-add {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  background: var(--zt-primary); color: #fff; border: 0; border-radius: 10px;
  padding: 7px 10px; font-size: .78rem; font-weight: 700; line-height: 1;
}
.zt-add:hover { background: var(--zt-primary-dark); color: #fff; }
.zt-add .spinner-border { width: 14px; height: 14px; border-width: 2px; }

/* Flash sale band */
.zt-flash { margin-top: 18px; padding: 14px 0; background: linear-gradient(180deg, #fff1f2 0%, #f6f7f9 100%); }
.zt-flash h2 i { color: #e11d48; }
.zt-timer { font-size: .8rem; font-weight: 700; color: #e11d48; }

/* Brands: one swipeable row */
.zt-brands { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 2px; }
.zt-brands::-webkit-scrollbar { display: none; }
.zt-brand {
  flex: 0 0 28%; scroll-snap-align: start; aspect-ratio: 3 / 2; background: #fff;
  border: 1px solid var(--zt-line); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 10px;
}
.zt-brand img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* App download */
.zt-app {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); padding: 16px;
}
.zt-app h2 { font-size: 1.05rem; font-weight: 800; margin: 0; }
.zt-app p { margin: 2px 0 0; font-size: .85rem; color: var(--zt-muted); }
.zt-app-links { display: flex; gap: 8px; }
.zt-app-links img { height: 40px; width: auto; }

/* Tablet and up */
@media (min-width: 768px) {
  .zt-home .container { padding-left: 16px; padding-right: 16px; }
  .zt-block { margin-top: 28px; }
  .zt-head h2 { font-size: 1.35rem; }
  .zt-cats { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .zt-cat-name { font-size: .85rem; }
  .zt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .zt-card-title { font-size: .9rem; }
  .zt-price strong { font-size: 1.05rem; }
  .zt-brand { flex-basis: 15%; }
  .zt-trust { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) {
  .zt-cats { grid-template-columns: repeat(8, 1fr); }
  .zt-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* =========================================================
   Product page (mobile first)
   ========================================================= */
.zt-pdp { background: #f6f7f9; padding: 8px 0 96px; }
.zt-pdp .container { padding-left: 12px; padding-right: 12px; }
.zt-crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; overflow: hidden; font-size: .75rem; color: var(--zt-muted); padding: 6px 0 10px; }
.zt-crumbs a { color: var(--zt-muted); text-decoration: none; white-space: nowrap; }
.zt-crumbs i { font-size: .55rem; opacity: .6; }
.zt-crumb-current { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--zt-ink); }

.zt-pdp-main { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* Gallery */
.zt-gallery { min-width: 0; }
.zt-gallery-main { position: relative; background: #fff; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); overflow: hidden; }
.zt-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.zt-slides::-webkit-scrollbar { display: none; }
.zt-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.zt-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zt-off-lg { top: 12px; left: 12px; font-size: .8rem; padding: 4px 9px; }
.zt-gallery-main .zt-fav { top: 10px !important; right: 10px !important; left: auto !important; bottom: auto !important; position: absolute; z-index: 2; width: 38px; height: 38px; font-size: 20px; }
.zt-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.zt-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: #d1d5db; transition: width .2s; }
.zt-dots button.active { width: 18px; border-radius: 4px; background: var(--zt-primary); }
.zt-thumbs { display: none; gap: 8px; margin-top: 10px; overflow-x: auto; }
.zt-thumbs button { flex: 0 0 72px; height: 72px; border: 1px solid var(--zt-line); border-radius: 10px; background: #fff; padding: 6px; }
.zt-thumbs button.active { border: 2px solid var(--zt-primary); }
.zt-thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* Info */
.zt-info { background: #fff; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); padding: 16px; min-width: 0; }
.zt-brand-name { font-size: .78rem; font-weight: 700; color: var(--zt-primary-dark); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.zt-title { font-size: 1.2rem; font-weight: 800; line-height: 1.3; color: var(--zt-ink); margin: 0 0 8px; }
.zt-rating { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--zt-muted); text-decoration: none; margin-bottom: 10px; }
.zt-rating strong { color: var(--zt-ink); }
.zt-stars { --r: 0; position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; }
.zt-stars::before { content: "\2605\2605\2605\2605\2605"; color: #e5e7eb; }
.zt-stars::after { content: "\2605\2605\2605\2605\2605"; color: #f59e0b; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; white-space: nowrap; }
.zt-stars.sm { font-size: .8rem; }

.zt-pricebox { background: var(--zt-soft); border-radius: 12px; padding: 12px 14px; margin: 6px 0 14px; }
.zt-pricerow { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.zt-now { font-size: 1.6rem; font-weight: 800; color: var(--zt-ink); line-height: 1.1; }
.zt-was { font-size: 1rem; color: var(--zt-muted); }
.zt-save { font-size: .85rem; font-weight: 700; color: #be123c; margin-top: 2px; }
.zt-tax { font-size: .75rem; color: var(--zt-muted); margin-top: 2px; }
[hidden] { display: none !important; }

.zt-variants { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.zt-variant-label { font-size: .85rem; color: var(--zt-muted); margin-bottom: 6px; }
.zt-variant-label strong { color: var(--zt-ink); }
.zt-variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.zt-opt { border: 1.5px solid var(--zt-line); background: #fff; color: var(--zt-ink); border-radius: 10px; padding: 8px 14px; font-size: .85rem; font-weight: 600; }
.zt-opt.active { border-color: var(--zt-primary); background: var(--zt-soft); color: var(--zt-primary-dark); }

.zt-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: #15803d; margin-bottom: 12px; }
.zt-stock.out { color: #b91c1c; }

.zt-buy { display: flex; flex-direction: column; gap: 10px; }
.zt-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--zt-line); border-radius: 12px; overflow: hidden; width: max-content; }
.zt-qty-btn { width: 42px; height: 44px; border: 0; background: #fff; color: var(--zt-ink); font-size: .85rem; }
.zt-qty input { width: 48px; height: 44px; border: 0; text-align: center; font-weight: 700; font-size: 1rem; -moz-appearance: textfield; }
.zt-qty input::-webkit-outer-spin-button, .zt-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zt-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px; font-weight: 800; font-size: .95rem; border: 0; padding: 0 14px; }
.zt-btn:disabled { opacity: .5; }
.zt-btn-cart { background: #fff; color: var(--zt-primary-dark); border: 2px solid var(--zt-primary); }
.zt-btn-cart:hover { background: var(--zt-soft); }
.zt-btn-buy { background: var(--zt-primary); color: #fff; }
.zt-btn-buy:hover { background: var(--zt-primary-dark); color: #fff; }
.zt-btn .spinner-border { width: 18px; height: 18px; border-width: 2px; }

.zt-perks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zt-perks li { display: flex; gap: 8px; align-items: flex-start; background: #fafafa; border: 1px solid var(--zt-line); border-radius: 12px; padding: 10px; }
.zt-perks i { color: var(--zt-primary); font-size: 1rem; margin-top: 2px; }
.zt-perks strong { display: block; font-size: .78rem; color: var(--zt-ink); line-height: 1.2; }
.zt-perks span { display: block; font-size: .7rem; color: var(--zt-muted); line-height: 1.25; margin-top: 2px; }
.zt-short { font-size: .88rem; color: #374151; margin: 14px 0 0; line-height: 1.5; }

/* Details accordions */
.zt-details { margin-top: 12px; background: #fff; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); overflow: hidden; }
.zt-details details + details { border-top: 1px solid var(--zt-line); }
.zt-details summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 800; font-size: .95rem; color: var(--zt-ink); display: flex; justify-content: space-between; align-items: center; }
.zt-details summary::-webkit-details-marker { display: none; }
.zt-details summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--zt-muted); }
.zt-details details[open] summary::after { content: "\2212"; }
.zt-desc { padding: 0 16px 16px; font-size: .9rem; color: #374151; line-height: 1.6; overflow-wrap: anywhere; }
.zt-desc img { max-width: 100%; height: auto; }
.zt-desc table { width: 100%; }
.zt-specs { width: calc(100% - 32px); margin: 0 16px 16px; border-collapse: collapse; font-size: .85rem; }
.zt-specs th, .zt-specs td { padding: 8px 10px; border-bottom: 1px solid var(--zt-line); text-align: left; vertical-align: top; }
.zt-specs th { width: 40%; color: var(--zt-muted); font-weight: 600; }
.zt-review { border-top: 1px solid var(--zt-line); padding-top: 10px; margin-top: 10px; }
.zt-review p { margin: 4px 0 0; }

/* Sticky bar on phones */
.zt-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--zt-line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.zt-sticky-price { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; min-width: 0; }
.zt-sticky-price strong { font-size: 1.05rem; font-weight: 800; color: var(--zt-ink); white-space: nowrap; }
.zt-sticky-price s { font-size: .75rem; color: var(--zt-muted); }
.zt-sticky .zt-btn { height: 44px; font-size: .88rem; padding: 0 14px; }

@media (min-width: 992px) {
  .zt-pdp { padding: 16px 0 40px; }
  .zt-pdp .container { padding-left: 16px; padding-right: 16px; }
  .zt-pdp-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .zt-gallery { position: sticky; top: 90px; }
  .zt-thumbs { display: flex; }
  .zt-dots { display: none; }
  .zt-info { padding: 24px; }
  .zt-title { font-size: 1.6rem; }
  .zt-now { font-size: 2rem; }
  .zt-buy { flex-direction: row; align-items: center; }
  .zt-btns { flex: 1; }
  .zt-perks { grid-template-columns: 1fr 1fr; }
  .zt-details { margin-top: 24px; }
  .zt-sticky { display: none; }
  .zt-pdp .zt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* WhatsApp order */
.zt-btn-wa { width: 100%; margin-top: 10px; background: #25d366; color: #fff; text-decoration: none; }
.zt-btn-wa:hover { background: #1ebe5b; color: #fff; }
.zt-btn-wa i { font-size: 1.2rem; }

/* =========================================================
   Header search
   ========================================================= */
.zt-search-row { background: #fff; padding: 2px 12px 10px; }
.zt-search { position: relative; display: flex; align-items: center; width: 100%; max-width: 680px; margin: 0 auto; }
.zt-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--zt-muted); font-size: 15px; pointer-events: none; z-index: 2; }
.zt-search-input {
  width: 100%; height: 44px; border: 1.5px solid transparent; border-radius: 12px;
  background: #f1f3f5; padding: 0 40px 0 40px; font-size: 16px; color: var(--zt-ink);
  outline: none; transition: border-color .15s, background .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.zt-search-input::-webkit-search-cancel-button, .zt-search-input::-webkit-search-decoration { -webkit-appearance: none; }
.zt-search.focused .zt-search-input { background: #fff; border-color: var(--zt-primary); box-shadow: 0 0 0 4px var(--zt-soft); }

/* Animated placeholder: "Search" stays, the keyword drops in */
.zt-ph {
  position: absolute; left: 40px; right: 40px; top: 0; bottom: 0; display: flex; align-items: center; gap: 5px;
  pointer-events: none; color: #8a9099; font-size: 15px; white-space: nowrap; overflow: hidden;
}
.zt-search.has-text .zt-ph { display: none; }
.zt-ph-words { position: relative; display: inline-block; height: 1.4em; overflow: hidden; }
.zt-ph-word { display: inline-block; line-height: 1.4em; color: #4b5563; font-weight: 500; }
.zt-ph-word.in { animation: zt-drop-in .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.zt-ph-word.out { animation: zt-drop-out .25s ease-in both; }
@keyframes zt-drop-in { from { transform: translateY(-110%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes zt-drop-out { from { transform: translateY(0); opacity: 1; } to { transform: translateY(110%); opacity: 0; } }

.zt-search-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent;
  font-size: 22px; line-height: 1; color: var(--zt-muted); display: none;
}
.zt-search.has-text .zt-search-clear { display: block; }

/* Suggestions */
.zt-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 2100;
  background: #fff; border: 1px solid var(--zt-line); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, .14); overflow: hidden; max-height: 70vh; overflow-y: auto;
}
.zt-sg { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; color: var(--zt-ink); border-top: 1px solid #f3f4f6; }
.zt-sg:first-child { border-top: 0; }
.zt-sg:hover, .zt-sg.active { background: #f8fafc; color: var(--zt-ink); }
.zt-sg img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid #f1f3f5; flex: none; }
.zt-sg-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.zt-sg-name { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-sg-cat { font-size: .72rem; color: var(--zt-muted); }
.zt-sg-price { font-size: .85rem; font-weight: 800; white-space: nowrap; }
.zt-sg-all { color: var(--zt-primary-dark); font-size: .88rem; }
.zt-sg-all i { width: 42px; text-align: center; }

/* Mobile header row */
@media (max-width: 1199px) {
  .mobile-nav .navbar { padding: 6px 0; }
  .mobile-nav .navbar-brand img { max-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .zt-ph-word.in, .zt-ph-word.out { animation: none; }
}

/* =========================================================
   Cart page (mobile first)
   ========================================================= */
.zt-cartpage { background: #f6f7f9; padding: 10px 0 100px; }
.zt-cartpage .container { padding-left: 12px; padding-right: 12px; }
.zt-cart-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.zt-cart-top h1 { font-size: 1.3rem; font-weight: 800; color: var(--zt-ink); margin: 0; }
.zt-cart-top h1 span { font-size: .9rem; font-weight: 600; color: var(--zt-muted); }
.zt-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .72rem; color: var(--zt-muted); }
.zt-steps li { display: inline-flex; align-items: center; gap: 5px; }
.zt-steps li + li::before { content: ""; width: 14px; height: 1px; background: #cbd5e1; margin-right: 1px; }
.zt-steps span { width: 18px; height: 18px; border-radius: 50%; background: #e5e7eb; color: var(--zt-muted); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .65rem; }
.zt-steps li.on { color: var(--zt-ink); font-weight: 700; }
.zt-steps li.on span { background: var(--zt-primary); color: #fff; }

.zt-cart-main { display: grid; grid-template-columns: 1fr; gap: 12px; }
.zt-cart-left { min-width: 0; }

.zt-freebar { background: #fff; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); padding: 12px 14px; margin-bottom: 10px; }
.zt-freebar p { margin: 0 0 8px; font-size: .85rem; color: var(--zt-ink); }
.zt-freebar p i { color: var(--zt-primary); margin-right: 4px; }
.zt-freebar-track { height: 6px; border-radius: 99px; background: #e5e7eb; overflow: hidden; }
.zt-freebar-track span { display: block; height: 100%; border-radius: 99px; background: var(--zt-primary); transition: width .4s ease; }

.zt-items, .zt-saved-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); overflow: hidden; }
.zt-item, .zt-saved-item { display: flex; gap: 12px; padding: 14px; transition: opacity .2s, height .25s, padding .25s; }
.zt-item + .zt-item, .zt-saved-item + .zt-saved-item { border-top: 1px solid var(--zt-line); }
.zt-item.is-busy, .zt-saved-item.is-busy { opacity: .55; pointer-events: none; }
.zt-item.is-gone, .zt-saved-item.is-gone { opacity: 0; height: 0 !important; padding-top: 0; padding-bottom: 0; overflow: hidden; }
.zt-item.is-out .zt-item-img img { filter: grayscale(1); opacity: .6; }
.zt-item-img { flex: 0 0 84px; height: 84px; border: 1px solid var(--zt-line); border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 6px; }
.zt-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zt-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.zt-item-name { font-size: .9rem; font-weight: 700; color: var(--zt-ink); text-decoration: none; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zt-item-variant { font-size: .75rem; color: var(--zt-muted); text-transform: capitalize; }
.zt-item-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: .82rem; }
.zt-item-price strong { color: var(--zt-ink); font-size: .9rem; }
.zt-item-price s { color: var(--zt-muted); }
.zt-item-off { color: #be123c; font-weight: 700; font-size: .75rem; }
.zt-item-warn { font-size: .75rem; font-weight: 700; color: #b91c1c; }
.zt-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.zt-qty-sm .zt-qty-btn { width: 34px; height: 34px; font-size: .75rem; }
.zt-qty-sm input { width: 38px; height: 34px; font-size: .9rem; }
.zt-qty-sm .fa-trash-can { color: #b91c1c; }
.zt-line { font-size: 1rem; font-weight: 800; color: var(--zt-ink); white-space: nowrap; }
.zt-item-links { display: flex; gap: 16px; margin-top: 4px; }
.zt-item-links button { background: none; border: 0; padding: 0; font-size: .78rem; font-weight: 600; color: var(--zt-muted); }
.zt-item-links button:hover { color: var(--zt-ink); }
.zt-item-links .zt-move { color: var(--zt-primary-dark); }

.zt-cart-trust { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zt-cart-trust li { display: flex; gap: 8px; align-items: flex-start; background: #fff; border: 1px solid var(--zt-line); border-radius: 12px; padding: 10px; }
.zt-cart-trust i { color: var(--zt-primary); margin-top: 2px; }
.zt-cart-trust span { font-size: .7rem; color: var(--zt-muted); line-height: 1.25; }
.zt-cart-trust strong { display: block; font-size: .78rem; color: var(--zt-ink); }

.zt-summary { background: #fff; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); padding: 16px; align-self: start; }
.zt-summary h2 { font-size: 1rem; font-weight: 800; color: var(--zt-ink); margin: 0 0 10px; }
.zt-summary dl { margin: 0; }
.zt-summary dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .88rem; }
.zt-summary dt { font-weight: 500; color: #374151; }
.zt-summary dd { margin: 0; font-weight: 700; color: var(--zt-ink); text-align: right; }
.zt-summary dd.zt-muted { font-weight: 500; color: var(--zt-muted); font-size: .8rem; }
.zt-summary .zt-sum-save dd { color: #15803d; }
.zt-summary .zt-sum-total { border-top: 1px dashed #d1d5db; margin-top: 6px; padding-top: 12px; font-size: 1.05rem; }
.zt-summary .zt-sum-total dt { font-weight: 800; color: var(--zt-ink); }
.zt-summary .zt-sum-total small { font-weight: 500; color: var(--zt-muted); font-size: .72rem; }
.zt-summary .zt-sum-total dd { font-size: 1.2rem; font-weight: 800; }
.zt-sum-saved { margin: 10px 0 0; background: #ecfdf3; color: #15803d; border-radius: 10px; padding: 8px 10px; font-size: .82rem; }
.zt-checkout-btn { width: 100%; margin-top: 14px; text-decoration: none; }
.zt-sum-note { margin: 10px 0 0; font-size: .78rem; color: var(--zt-muted); text-align: center; }
.zt-continue { display: block; text-align: center; margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--zt-primary-dark); text-decoration: none; }

.zt-cart-sticky small { font-size: .7rem; color: var(--zt-muted); }
.zt-cart-sticky .zt-btn { flex: 0 0 auto; min-width: 46%; text-decoration: none; }

.zt-cart-empty { background: #fff; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); text-align: center; padding: 40px 20px; }
.zt-empty-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--zt-soft); color: var(--zt-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 12px; }
.zt-cart-empty h2 { font-size: 1.15rem; font-weight: 800; color: var(--zt-ink); margin: 0 0 6px; }
.zt-cart-empty p { font-size: .88rem; color: var(--zt-muted); margin: 0 0 16px; }
.zt-cart-empty .zt-btn { text-decoration: none; padding: 0 28px; }
.zt-cartpage .zt-block { margin-top: 18px; }

@media (min-width: 992px) {
  .zt-cartpage { padding: 20px 0 40px; }
  .zt-cartpage .container { padding-left: 16px; padding-right: 16px; }
  .zt-cart-top h1 { font-size: 1.6rem; }
  .zt-steps { font-size: .82rem; gap: 10px; }
  .zt-steps li + li::before { width: 28px; }
  .zt-cart-main { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
  .zt-summary { position: sticky; top: 90px; padding: 20px; }
  .zt-item, .zt-saved-item { padding: 18px; gap: 16px; }
  .zt-item-img { flex-basis: 104px; height: 104px; }
  .zt-item-name { font-size: 1rem; }
  .zt-cart-trust { grid-template-columns: repeat(4, 1fr); }
  .zt-cart-sticky { display: none; }
  .zt-cartpage .zt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* =========================================================
   Checkout page (mobile first). Keeps the theme's ids/classes for checkout.js.
   ========================================================= */
.zt-hide { display: none !important; }
.zt-muted { color: var(--zt-muted); font-weight: 500; }
.zt-checkout { background: #f6f7f9; padding: 10px 0 100px; }
.zt-checkout .container { padding-left: 12px; padding-right: 12px; }
.zt-steps a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.zt-steps li.done span { background: var(--zt-soft); color: var(--zt-primary-dark); }
.zt-steps li.done span i { font-size: .55rem; }
.zt-checkout .zt-co-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; }
.zt-checkout .zt-co-grid > * { width: auto; max-width: none; padding: 0; margin: 0; }
.zt-co-left, .zt-co-right { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.zt-co-card { background: #fff; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); padding: 16px; }
.zt-checkout .billing-detail-section, .zt-checkout .order-checkout-detail { box-shadow: none; margin: 0; }
.zt-co-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; color: var(--zt-ink); margin: 0 0 12px; }
.zt-co-num { width: 24px; height: 24px; border-radius: 50%; background: var(--zt-primary); color: #fff; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.zt-co-subtitle { font-size: .88rem; font-weight: 700; color: var(--zt-ink); margin: 0 0 8px; }
.zt-co-sub { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--zt-line); }
.zt-input, .zt-checkout .form-control { border-radius: 10px; border: 1.5px solid var(--zt-line); min-height: 44px; font-size: .9rem; box-shadow: none; }
.zt-checkout .form-control:focus { border-color: var(--zt-primary); box-shadow: 0 0 0 3px var(--zt-soft); }

.zt-co-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.zt-co-mode { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--zt-line); border-radius: 12px; padding: 10px; font-size: .85rem; font-weight: 700; color: var(--zt-ink); cursor: pointer; margin: 0; }
.btn-check:checked + .zt-co-mode { border-color: var(--zt-primary); background: var(--zt-soft); color: var(--zt-primary-dark); }
.zt-co-mode i { color: var(--zt-primary); }

.zt-addr { display: flex; align-items: flex-start; gap: 10px; border: 1.5px solid var(--zt-line); border-radius: 12px; padding: 12px; }
.zt-addr-pin { color: var(--zt-primary); margin-top: 3px; }
.zt-addr-text { flex: 1; min-width: 0; padding: 0; margin: 0; }
.zt-addr-text p { margin: 0; font-size: .84rem; color: #374151; line-height: 1.4; overflow-wrap: anywhere; }
.zt-addr-text p:first-child { font-weight: 800; color: var(--zt-ink); font-size: .9rem; margin-bottom: 2px; }
.zt-addr.is-empty .zt-addr-text p:first-child { color: var(--zt-muted); font-weight: 600; }
.zt-link-btn { background: none; border: 0; padding: 0; color: var(--zt-primary-dark); font-weight: 800; font-size: .85rem; }
.zt-co-add { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .85rem; font-weight: 700; color: var(--zt-primary-dark); text-decoration: none; }
.zt-co-status { padding: 0; margin: 8px 0 0; font-size: .8rem; }
.zt-co-status:empty { display: none; }
.zt-co-status p, .zt-co-status b { margin: 0; font-weight: 600; }
.zt-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.zt-slots .form-check { padding: 0; margin: 0; }
.zt-slots .form-check-label { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--zt-line); border-radius: 10px; padding: 8px 12px; font-size: .82rem; cursor: pointer; }
.zt-slots .form-check-input { margin: 0; float: none; }
.zt-rx p { font-size: .8rem; color: var(--zt-muted); margin: 0 0 8px; }
.zt-rx .zt-co-subtitle i { color: var(--zt-primary); }

.zt-wallet { border: 1.5px dashed var(--zt-line); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; font-size: .85rem; }
.zt-checkout .Payment-Method-section { padding: 0; margin: 0; border: 0; }
.zt-pay-list { padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.zt-pay { display: flex !important; align-items: center; gap: 12px; border: 1.5px solid var(--zt-line); border-radius: 12px; padding: 12px 14px; cursor: pointer; margin: 0; width: 100%; }
.zt-pay .form-check-input { float: none; margin: 0; flex: none; width: 20px; height: 20px; }
.zt-pay:has(input:checked) { border-color: var(--zt-primary); background: var(--zt-soft); }
.zt-pay.is-disabled { opacity: .55; cursor: not-allowed; }
.zt-pay-icon { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--zt-line); display: inline-flex; align-items: center; justify-content: center; color: #15803d; flex: none; }
.zt-pay-text { display: flex; flex-direction: column; line-height: 1.25; }
.zt-pay-text strong { font-size: .92rem; color: var(--zt-ink); }
.zt-pay-text small { font-size: .76rem; color: var(--zt-muted); }
.zt-co-note { font-size: .82rem; margin: 8px 0 0; }

.zt-co-items summary { list-style: none; cursor: pointer; }
.zt-co-items summary::-webkit-details-marker { display: none; }
.zt-co-items summary .zt-co-title { justify-content: space-between; }
.zt-co-items summary .zt-co-title::after { content: "\2212"; font-weight: 400; color: var(--zt-muted); margin-left: auto; }
.zt-co-items:not([open]) summary .zt-co-title::after { content: "+"; }
.zt-co-items:not([open]) summary .zt-co-title { margin-bottom: 0; }
.zt-checkout .ordered-product-container { max-height: none; overflow: visible; padding: 0; }
.zt-co-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; margin: 0; border: 0; }
.zt-co-item + .zt-co-item { border-top: 1px solid var(--zt-line); }
.zt-co-item-img { position: relative; flex: 0 0 52px; height: 52px; border: 1px solid var(--zt-line); border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 4px; }
.zt-co-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zt-co-qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: #374151; color: #fff; font-size: .68rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.zt-co-item-info { flex: 1; min-width: 0; }
.zt-co-item-info p { margin: 0; }
.zt-co-item-name { font-size: .84rem; font-weight: 600; color: var(--zt-ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zt-co-item-var { font-size: .74rem; color: var(--zt-muted); text-transform: capitalize; }
.zt-co-item-warn { font-size: .74rem; }
.zt-co-item-price { font-size: .88rem; color: var(--zt-ink); white-space: nowrap; }

.zt-coupon { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--zt-line); }
.zt-coupon .form-control { flex: 1; text-transform: uppercase; }
.zt-coupon .form-control::placeholder { text-transform: none; }
.zt-coupon .btn { height: 44px; border-radius: 10px; font-weight: 700; padding: 0 16px; background: #fff; color: var(--zt-primary-dark); border: 1.5px solid var(--zt-primary); }
.zt-coupon .btn:hover { background: var(--zt-soft); color: var(--zt-primary-dark); }
.zt-offers-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--zt-primary-dark); text-decoration: none; }

.zt-co-totals { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--zt-line); }
.zt-co-totals > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 0; font-size: .88rem; color: #374151; margin: 0; border: 0; }
.zt-co-totals p { margin: 0; }
.zt-co-totals .subtotal-price, .zt-co-totals .charges p { font-weight: 700; color: var(--zt-ink); }
.zt-co-totals .zt-free { font-size: 0 !important; }
.zt-co-totals .zt-free::after { content: "Free"; font-size: .88rem; font-weight: 800; color: #15803d; }
.zt-co-discount, .zt-co-discount .total-price { color: #15803d !important; font-weight: 700; }
.zt-co-total { border-top: 1px dashed #d1d5db !important; margin-top: 6px !important; padding-top: 12px !important; }
.zt-co-total .total-price-tital { font-weight: 800; color: var(--zt-ink); font-size: 1rem; }
.zt-co-total .total-price-tital small { font-weight: 500; color: var(--zt-muted); font-size: .72rem; }
.zt-co-total .total-price { font-size: 1.25rem; font-weight: 800; color: var(--zt-ink); }
.zt-place { width: 100%; margin-top: 14px; height: 52px; font-size: 1rem; }
.zt-co-terms { font-size: .72rem; color: var(--zt-muted); text-align: center; margin: 8px 0 0; }
.zt-co-terms a { color: inherit; text-decoration: underline; }
.zt-co-trust { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--zt-line); display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: #374151; }
.zt-co-trust i { color: var(--zt-primary); width: 18px; }
.zt-co-sticky small { font-size: .7rem; color: var(--zt-muted); }
.zt-co-sticky .zt-btn { min-width: 46%; }

/* Cart notices */
.zt-notice { display: flex; gap: 8px; align-items: flex-start; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 12px; padding: 10px 12px; font-size: .85rem; margin-bottom: 10px; }
.zt-notice.is-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.zt-btn.is-disabled { opacity: .5; pointer-events: none; }

@media (min-width: 992px) {
  .zt-checkout { padding: 20px 0 40px; }
  .zt-checkout .container { padding-left: 16px; padding-right: 16px; }
  .zt-checkout .zt-co-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
  .zt-co-right { position: sticky; top: 90px; }
  .zt-co-card { padding: 20px; }
  .zt-co-sticky { display: none; }
}
.zt-checkout .shipping-address { padding: 0; margin: 0; border: 0; background: none; }
.zt-checkout .form-check-input:checked { background-color: var(--zt-primary); border-color: var(--zt-primary); }
.zt-checkout .form-check-input:focus { box-shadow: 0 0 0 3px var(--zt-soft); border-color: var(--zt-primary); }
.zt-co-modes + .shipping-address, .zt-checkout .billing-detail-section hr { border: 0; }
