/* Atr Perfume — WooCommerce Styles */

/* ── Woo notices ──────────────────────────────────────────────────────── */
.woocommerce-notices-wrapper { max-width: 1440px; margin: 0 auto; padding: 0 24px 16px; }
@media (min-width: 1024px) { .woocommerce-notices-wrapper { padding: 0 56px 16px; } }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0 0 12px;
}
.woocommerce-message {
  background: #e3f3eb; color: var(--green);
  border-inline-start: 3px solid var(--green);
}
.woocommerce-info {
  background: var(--cream-100); color: var(--ink-700);
  border-inline-start: 3px solid var(--gold-500);
}
.woocommerce-error {
  background: #fde6e3; color: var(--red);
  border-inline-start: 3px solid var(--red);
}
.woocommerce-error li { list-style: none; }

/* ── Archive (shop) page ──────────────────────────────────────────────── */
.atr-shop-header {
  padding: 28px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 1024px) { .atr-shop-header { padding: 32px 56px 0; } }
.atr-shop-header h1 {
  font-family: 'Amiri', serif;
  font-size: 32px; font-weight: 700; margin: 0;
}
@media (min-width: 1024px) { .atr-shop-header h1 { font-size: 42px; } }
.atr-shop-header .woocommerce-result-count { font-size: 13px; color: var(--ink-500); }
.atr-shop-header .woocommerce-ordering select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-family: inherit;
  direction: rtl;
  outline: none;
  cursor: pointer;
}

.atr-shop-filters {
  padding: 12px 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) { .atr-shop-filters { padding: 12px 56px; } }
.atr-shop-filters::-webkit-scrollbar { display: none; }

.atr-shop-content { padding: 24px; }
@media (min-width: 1024px) { .atr-shop-content { padding: 32px 56px; } }

/* WooCommerce loop */
ul.products, .products { list-style: none; margin: 0; padding: 0; }
ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px)  { ul.products { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1024px) { ul.products { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* Pagination */
.woocommerce-pagination { text-align: center; margin-top: 36px; }
.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 6px;
  list-style: none; padding: 0; margin: 0;
}
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 14px; font-weight: 700;
  color: var(--ink-700);
  border: 1px solid var(--line);
  background: #fff;
  transition: all .15s;
}
.woocommerce-pagination ul li.active span,
.woocommerce-pagination ul li a:hover {
  background: var(--emerald-800);
  color: var(--cream-50);
  border-color: var(--emerald-800);
}

/* ── Single product page ──────────────────────────────────────────────── */
.atr-single-product { padding: 20px 24px 60px; }
@media (min-width: 1024px) { .atr-single-product { padding: 0 56px 72px; } }

.atr-breadcrumb {
  padding: 16px 24px;
  font-size: 12px;
  color: var(--ink-500);
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) { .atr-breadcrumb { padding: 20px 56px; } }
.atr-breadcrumb a { color: var(--ink-500); }
.atr-breadcrumb a:hover { color: var(--emerald-800); }
.atr-breadcrumb .current { color: var(--ink-900); font-weight: 700; }

/* PDP layout */
.atr-pdp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .atr-pdp-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
  }
}

/* Gallery */
.atr-gallery-main {
  background: linear-gradient(160deg, var(--cream-100) 0%, var(--cream-200) 100%);
  border-radius: 24px;
  height: 380px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) { .atr-gallery-main { height: 620px; } }

.atr-gallery-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(212,184,122,.4) 0%, transparent 60%);
  pointer-events: none;
}
.atr-gallery-img-wrap {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.atr-gallery-img-wrap img {
  max-height: 320px;
  object-fit: contain;
}
@media (min-width: 1024px) { .atr-gallery-img-wrap img { max-height: 520px; } }

.atr-gallery-disc {
  position: absolute; top: 20px; right: 20px;
  background: var(--red); color: #fff;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-weight: 900;
  transform: rotate(-8deg);
  box-shadow: 0 4px 12px rgba(184,69,58,.3);
}
@media (min-width: 1024px) { .atr-gallery-disc { width: 76px; height: 76px; top: 24px; right: 24px; } }
.atr-gallery-disc .pct { font-size: 16px; line-height: 1; }
@media (min-width: 1024px) { .atr-gallery-disc .pct { font-size: 22px; } }
.atr-gallery-disc .lbl { font-size: 8px; opacity: .9; }
@media (min-width: 1024px) { .atr-gallery-disc .lbl { font-size: 10px; } }

.atr-gallery-dots {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.atr-gallery-dot {
  height: 6px; border-radius: 3px;
  background: rgba(13,43,34,.25);
  cursor: pointer; transition: all .25s;
}
.atr-gallery-dot.active { width: 22px; background: var(--emerald-800); }
.atr-gallery-dot:not(.active) { width: 6px; }

.atr-gallery-thumbs {
  display: flex; gap: 10px; margin-top: 12px;
}
.atr-gallery-thumb {
  width: 80px; height: 80px;
  border-radius: 12px;
  background: var(--cream-100);
  border: 2px solid transparent;
  cursor: pointer; overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .atr-gallery-thumb { width: 96px; height: 96px; border-radius: 14px; } }
.atr-gallery-thumb.active { border-color: var(--emerald-800); }
.atr-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.atr-product-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.atr-product-title {
  font-family: 'Amiri', serif;
  font-size: 30px; font-weight: 700;
  color: var(--ink-900); line-height: 1.15;
  margin: 0 0 6px;
}
@media (min-width: 1024px) { .atr-product-title { font-size: 52px; } }
.atr-product-subtitle { font-size: 13px; color: var(--ink-500); margin-bottom: 14px; font-weight: 500; }
@media (min-width: 1024px) { .atr-product-subtitle { font-size: 15px; margin-bottom: 16px; } }

.atr-rating-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap;
}
@media (min-width: 1024px) { .atr-rating-row { margin-bottom: 24px; } }
.atr-rating-val { font-weight: 800; font-size: 14px; }
@media (min-width: 1024px) { .atr-rating-val { font-size: 15px; } }
.atr-rating-cnt { font-size: 12px; color: var(--ink-500); }
@media (min-width: 1024px) { .atr-rating-cnt { font-size: 13px; } }
.atr-sold-count { font-size: 11px; color: var(--green); font-weight: 700; margin-inline-start: auto; }
@media (min-width: 1024px) { .atr-sold-count { font-size: 12px; } }

.atr-price-row {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px;
}
@media (min-width: 1024px) { .atr-price-row { gap: 14px; margin-bottom: 24px; } }
.atr-price-main {
  font-weight: 800; font-size: 28px; color: var(--emerald-900);
}
@media (min-width: 1024px) { .atr-price-main { font-size: 44px; } }
.atr-price-was { font-size: 16px; color: var(--ink-500); text-decoration: line-through; }
@media (min-width: 1024px) { .atr-price-was { font-size: 20px; } }

.atr-valu-box {
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.atr-valu-box strong { color: var(--emerald-800); }

/* Size selector */
.atr-sizes { margin-bottom: 20px; }
@media (min-width: 1024px) { .atr-sizes { margin-bottom: 24px; } }
.atr-sizes-label { font-size: 12px; font-weight: 800; color: var(--ink-500); margin-bottom: 8px; letter-spacing: .5px; }
.atr-sizes-row { display: flex; gap: 8px; }
@media (min-width: 1024px) { .atr-sizes-row { gap: 10px; } }
.atr-size-opt {
  flex: 1; padding: 12px 10px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer; position: relative;
  text-align: center; transition: all .15s;
}
@media (min-width: 1024px) { .atr-size-opt { padding: 14px; } }
.atr-size-opt.active { border-color: var(--emerald-800); background: var(--cream-50); }
.atr-size-opt .popular-badge {
  position: absolute; top: -8px; right: 50%; transform: translateX(50%);
  background: var(--gold-500); color: var(--emerald-900);
  font-size: 9px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  white-space: nowrap;
}
@media (min-width: 1024px) { .atr-size-opt .popular-badge { top: -10px; font-size: 10px; } }
.atr-size-opt .size-ml { font-size: 14px; font-weight: 800; color: var(--ink-900); margin-bottom: 2px; }
@media (min-width: 1024px) { .atr-size-opt .size-ml { font-size: 15px; } }
.atr-size-opt .size-price { font-size: 12px; font-weight: 800; color: var(--emerald-800); }
@media (min-width: 1024px) { .atr-size-opt .size-price { font-size: 13px; } }

/* Delivery box */
.atr-delivery-box {
  background: var(--cream-50); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 18px;
  margin-bottom: 20px;
}
@media (min-width: 1024px) { .atr-delivery-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.atr-delivery-row {
  display: flex; align-items: center; gap: 10px;
}
.atr-delivery-row + .atr-delivery-row { margin-top: 12px; }
@media (min-width: 1024px) { .atr-delivery-row + .atr-delivery-row { margin-top: 0; } }
.atr-delivery-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.atr-delivery-text strong { font-size: 13px; font-weight: 800; display: block; }
.atr-delivery-text span  { font-size: 10px; color: var(--ink-500); }

/* Qty + CTA row */
.atr-add-to-cart-row {
  display: flex; gap: 12px; margin-bottom: 16px;
}
.atr-qty-ctrl {
  display: flex; align-items: center;
  background: var(--cream-100); border-radius: var(--radius-full);
  padding: 4px; gap: 4px;
}
.atr-qty-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .atr-qty-btn { width: 40px; height: 40px; } }
.atr-qty-val { min-width: 28px; text-align: center; font-weight: 800; font-size: 15px; }
@media (min-width: 1024px) { .atr-qty-val { min-width: 30px; font-size: 16px; } }

/* Sticky mobile CTA */
.atr-sticky-cta {
  position: fixed; bottom: 70px; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: 12px 16px 14px;
  display: flex; gap: 10px; align-items: center;
  z-index: 90;
}
@media (min-width: 1024px) { .atr-sticky-cta { display: none; } }

/* Tabs */
.atr-tabs { margin-bottom: 20px; }
.atr-tab-nav {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px; overflow-x: auto;
  scrollbar-width: none;
}
.atr-tab-nav::-webkit-scrollbar { display: none; }
.atr-tab-btn {
  flex-shrink: 0;
  padding: 12px 16px;
  font-size: 13px; font-weight: 700;
  color: var(--ink-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer; white-space: nowrap;
  background: none; border-top: none; border-inline: none;
  font-family: inherit;
  transition: color .15s;
}
@media (min-width: 1024px) { .atr-tab-btn { padding: 14px 24px; font-size: 14px; } }
.atr-tab-btn.active { color: var(--emerald-800); border-bottom-color: var(--emerald-800); }

.atr-tab-pane { display: none; }
.atr-tab-pane.active { display: block; }

/* Fragrance notes */
.atr-notes-section { margin-bottom: 16px; }
.atr-notes-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.atr-notes-label { font-size: 13px; font-weight: 800; color: var(--ink-900); }
.atr-notes-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.atr-notes-pill {
  padding: 6px 12px; border-radius: var(--radius-full);
  background: var(--cream-50); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--ink-700);
}
@media (min-width: 1024px) { .atr-notes-pill { padding: 8px 14px; font-size: 13px; } }

/* Spec grid */
.atr-specs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
@media (min-width: 1024px) {
  .atr-specs-grid { display: flex; flex-direction: column; gap: 0; }
  .atr-spec-row {
    display: flex; justify-content: space-between;
    padding: 12px 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    margin-bottom: 6px;
  }
}
.atr-spec-row {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px;
}
.atr-spec-label { font-size: 10px; color: var(--ink-500); font-weight: 700; margin-bottom: 2px; }
@media (min-width: 1024px) { .atr-spec-label { font-size: 13px; margin-bottom: 0; } }
.atr-spec-value { font-size: 13px; font-weight: 800; color: var(--ink-900); }

/* ── Cart page ────────────────────────────────────────────────────────── */
.atr-cart-page { padding: 24px 24px 100px; }
@media (min-width: 1024px) { .atr-cart-page { padding: 32px 56px 60px; } }
.atr-cart-page h1 {
  font-family: 'Amiri', serif;
  font-size: 28px; font-weight: 700; margin: 0 0 4px;
}
@media (min-width: 1024px) { .atr-cart-page h1 { font-size: 38px; } }
.atr-cart-meta { font-size: 13px; color: var(--ink-500); margin-bottom: 24px; }
@media (min-width: 1024px) { .atr-cart-meta { margin-bottom: 32px; } }

.atr-cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 1024px) {
  .atr-cart-layout { grid-template-columns: 1.6fr 1fr; gap: 32px; }
}

.atr-free-ship-bar {
  background: var(--emerald-900); color: var(--cream-50);
  border-radius: 16px; padding: 14px 18px;
  margin-bottom: 16px;
}
@media (min-width: 1024px) { .atr-free-ship-bar { padding: 16px 20px; margin-bottom: 20px; } }
.atr-free-ship-text {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
@media (min-width: 1024px) { .atr-free-ship-text { font-size: 14px; } }
.atr-ship-progress { height: 6px; background: rgba(212,184,122,.2); border-radius: 3px; overflow: hidden; }
.atr-ship-bar { height: 100%; background: var(--gold-500); border-radius: 3px; transition: width .3s; }

/* Cart item */
.atr-cart-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 12px;
}
@media (min-width: 1024px) { .atr-cart-item { padding: 16px; gap: 16px; align-items: center; margin-bottom: 12px; } }
.atr-cart-item-img {
  width: 84px; height: 100px;
  border-radius: 12px;
  background: var(--cream-100);
  overflow: hidden; flex-shrink: 0;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .atr-cart-item-img { width: 110px; height: 130px; } }
.atr-cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.atr-cart-item-body { flex: 1; min-width: 0; }
.atr-cart-item-name {
  font-family: 'Amiri', serif;
  font-size: 16px; font-weight: 700; color: var(--ink-900);
  line-height: 1.2; margin-bottom: 2px;
}
@media (min-width: 1024px) { .atr-cart-item-name { font-size: 22px; margin-bottom: 4px; } }
.atr-cart-item-meta { font-size: 11px; color: var(--ink-500); margin-bottom: 8px; }
@media (min-width: 1024px) { .atr-cart-item-meta { font-size: 12px; margin-bottom: 12px; } }

.atr-cart-item-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
@media (min-width: 1024px) { .atr-cart-item-actions { gap: 16px; justify-content: flex-start; } }

.atr-qty-small {
  display: flex; align-items: center;
  background: var(--cream-100); border-radius: var(--radius-full);
  padding: 3px; gap: 2px;
}
.atr-qty-small button {
  width: 26px; height: 26px; border-radius: 50%;
  border: none; background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .atr-qty-small button { width: 30px; height: 30px; } }
.atr-qty-small .val { min-width: 20px; text-align: center; font-weight: 800; font-size: 13px; }
@media (min-width: 1024px) { .atr-qty-small .val { min-width: 26px; font-size: 14px; } }

.atr-cart-item-remove {
  background: none; border: none; cursor: pointer;
  color: var(--ink-500); display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; font-family: inherit;
}
.atr-cart-item-price {
  text-align: left; font-weight: 800;
  font-size: 16px; color: var(--emerald-800);
  flex-shrink: 0;
}
@media (max-width: 1023px) { .atr-cart-item-price { display: none; } }
@media (min-width: 1024px) { .atr-cart-item-price { font-size: 22px; } }
.atr-cart-item-price .was { font-size: 12px; color: var(--ink-500); text-decoration: line-through; font-weight: 400; display: block; }

/* Cart summary */
.atr-cart-summary {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
}
@media (min-width: 1024px) { .atr-cart-summary { padding: 24px; position: sticky; top: 80px; } }
.atr-cart-summary-title {
  font-family: 'Amiri', serif;
  font-size: 20px; font-weight: 700; margin-bottom: 16px;
}
@media (min-width: 1024px) { .atr-cart-summary-title { font-size: 22px; } }

.atr-coupon-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--cream-50); border: 1px solid var(--line);
  border-radius: 12px; padding: 6px 6px 6px 12px;
  margin-bottom: 16px;
}
@media (min-width: 1024px) { .atr-coupon-row { background: var(--cream-50); } }
.atr-coupon-row input {
  flex: 1; border: none; background: transparent; outline: none;
  font-size: 14px; font-family: inherit; text-align: right;
  color: var(--ink-900);
}

.atr-totals-row {
  display: flex; justify-content: space-between; padding: 7px 0;
  font-size: 13px;
}
@media (min-width: 1024px) { .atr-totals-row { font-size: 14px; padding: 8px 0; } }
.atr-totals-row .lbl { color: var(--ink-500); }
.atr-totals-row .val { font-weight: 700; color: var(--ink-900); }
.atr-totals-row .val.discount { color: var(--red); }
.atr-totals-row .val.free { color: var(--green); }

.atr-totals-final {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
}
@media (min-width: 1024px) { .atr-totals-final { margin-bottom: 20px; } }
.atr-totals-final .lbl { font-size: 15px; font-weight: 800; }
@media (min-width: 1024px) { .atr-totals-final .lbl { font-size: 16px; } }
.atr-totals-final .val { font-weight: 800; font-size: 24px; color: var(--emerald-900); }
@media (min-width: 1024px) { .atr-totals-final .val { font-size: 30px; } }

.atr-cart-trust {
  margin-top: 14px; padding: 12px;
  background: var(--cream-50); border-radius: 10px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11px; color: var(--ink-700);
}
.atr-cart-trust span { display: flex; align-items: center; gap: 6px; }

/* Mobile cart sticky checkout */
.atr-cart-mobile-cta {
  position: fixed; bottom: 70px; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: 12px 16px 14px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 90;
}
@media (min-width: 1024px) { .atr-cart-mobile-cta { display: none; } }

/* Bundle upsell */
.atr-bundle-upsell {
  background: var(--cream-50);
  border: 1px dashed var(--gold-500);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
@media (min-width: 1024px) {
  .atr-bundle-upsell { padding: 20px; border-radius: 16px; margin: 20px 0 0; }
}
.atr-bundle-upsell .thumb {
  width: 44px; height: 44px; border-radius: 10px;
  background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .atr-bundle-upsell .thumb { width: 60px; height: 60px; } }
.atr-bundle-upsell .text strong { font-size: 13px; font-weight: 800; display: block; }
@media (min-width: 1024px) { .atr-bundle-upsell .text strong { font-size: 15px; } }
.atr-bundle-upsell .text span  { font-size: 10px; color: var(--ink-500); }
@media (min-width: 1024px) { .atr-bundle-upsell .text span { font-size: 12px; } }

/* ── Checkout page ────────────────────────────────────────────────────── */
.atr-checkout-page { padding: 24px 24px 100px; }
@media (min-width: 1024px) { .atr-checkout-page { padding: 32px 56px 60px; } }
.atr-checkout-page h1 {
  font-family: 'Amiri', serif;
  font-size: 28px; font-weight: 700; margin: 0 0 20px;
}
@media (min-width: 1024px) { .atr-checkout-page h1 { font-size: 38px; margin-bottom: 24px; } }

/* Stepper */
.atr-stepper {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px; max-width: 480px;
}
@media (min-width: 1024px) { .atr-stepper { max-width: 600px; margin-bottom: 32px; } }
.atr-step {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800;
  color: var(--ink-300);
}
@media (min-width: 1024px) { .atr-step { font-size: 13px; } }
.atr-step.done, .atr-step.active { color: var(--emerald-800); }
.atr-step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cream-200); color: var(--ink-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}
@media (min-width: 1024px) { .atr-step-num { width: 28px; height: 28px; font-size: 12px; } }
.atr-step.done .atr-step-num, .atr-step.active .atr-step-num {
  background: var(--emerald-800); color: var(--cream-50);
}
.atr-step-line { flex: 1; height: 1.5px; background: var(--cream-200); }
.atr-step-line.done { background: var(--emerald-800); }

/* Checkout layout */
.atr-checkout-layout {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 1024px) {
  .atr-checkout-layout { grid-template-columns: 1.6fr 1fr; gap: 32px; }
}

.atr-checkout-section {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
  margin-bottom: 16px;
}
@media (min-width: 1024px) { .atr-checkout-section { padding: 24px; } }
.atr-checkout-section h3 {
  font-family: 'Amiri', serif;
  font-size: 20px; font-weight: 700; margin: 0 0 16px;
}
@media (min-width: 1024px) { .atr-checkout-section h3 { font-size: 22px; } }

/* Form grid */
.atr-form-row { margin-bottom: 14px; }
.atr-form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.atr-phone-row { display: flex; gap: 8px; }
.atr-phone-row .country-code {
  width: 76px; text-align: center; flex-shrink: 0;
  font-weight: 600; color: var(--ink-500);
}

/* Governorate chips */
.atr-gov-chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* Payment methods */
.atr-payment-methods { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1024px) { .atr-payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } }

.atr-pay-opt {
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: all .15s;
}
.atr-pay-opt.active { border-color: var(--emerald-800); background: var(--cream-50); }
.atr-radio-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--ink-300); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.atr-pay-opt.active .atr-radio-dot { border-color: var(--emerald-800); }
.atr-pay-opt.active .atr-radio-dot::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--emerald-800);
}
.atr-pay-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.atr-pay-label { font-size: 13px; font-weight: 800; margin-bottom: 2px; }
@media (min-width: 1024px) { .atr-pay-label { font-size: 14px; } }
.atr-pay-sub { font-size: 10px; color: var(--ink-500); }
@media (min-width: 1024px) { .atr-pay-sub { font-size: 11px; } }

/* Order summary (checkout right) */
.atr-order-summary {
  background: var(--emerald-900); color: var(--cream-50);
  border-radius: var(--radius-lg); padding: 20px;
}
@media (min-width: 1024px) { .atr-order-summary { padding: 24px; position: sticky; top: 80px; } }
.atr-order-summary-title {
  font-family: 'Amiri', serif;
  font-size: 20px; font-weight: 700;
  color: var(--gold-400); margin-bottom: 16px;
}
@media (min-width: 1024px) { .atr-order-summary-title { font-size: 22px; } }
.atr-order-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.atr-order-item { display: flex; align-items: center; gap: 10px; }
.atr-order-item-thumb {
  width: 48px; height: 56px; border-radius: 8px;
  background: rgba(212,184,122,.08); flex-shrink: 0;
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.atr-order-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.atr-order-item-info { flex: 1; min-width: 0; }
.atr-order-item-name { font-size: 13px; font-weight: 700; }
.atr-order-item-qty  { font-size: 10px; opacity: .7; }
.atr-order-item-price { font-size: 13px; font-weight: 800; color: var(--gold-400); flex-shrink: 0; }

.atr-order-row {
  display: flex; justify-content: space-between;
  padding: 4px 0; font-size: 13px; opacity: .85;
}
.atr-order-row .gold { color: var(--gold-400); opacity: 1; font-weight: 700; }
.atr-order-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
}
@media (min-width: 1024px) { .atr-order-total { margin-bottom: 20px; } }
.atr-order-total .lbl { font-size: 14px; font-weight: 800; }
.atr-order-total .val { font-weight: 800; font-size: 28px; color: var(--gold-400); }
@media (min-width: 1024px) { .atr-order-total .val { font-size: 30px; } }

/* Checkout mobile sticky */
.atr-checkout-mobile-cta {
  position: fixed; bottom: 70px; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: 12px 16px 14px;
  z-index: 90;
}
@media (min-width: 1024px) { .atr-checkout-mobile-cta { display: none; } }

/* ── Thank you page ───────────────────────────────────────────────────── */
.atr-thankyou { padding: 60px 24px; text-align: center; }
@media (min-width: 1024px) { .atr-thankyou { padding: 80px 56px; } }
.atr-thankyou-icon {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--emerald-800);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(13,43,34,.2);
}
.atr-thankyou h1 {
  font-family: 'Amiri', serif;
  font-size: 28px; font-weight: 700; color: var(--emerald-900); margin-bottom: 8px;
}
@media (min-width: 1024px) { .atr-thankyou h1 { font-size: 38px; } }
.atr-thankyou-meta { font-size: 14px; color: var(--ink-700); line-height: 1.6; margin-bottom: 24px; }
.atr-thankyou-delivery {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 16px;
  max-width: 480px; margin: 0 auto 20px;
  text-align: right;
}
.atr-thankyou-delivery h4 { font-size: 14px; font-weight: 800; margin: 0 0 6px; }
.atr-thankyou-delivery p { font-size: 14px; color: var(--ink-700); margin: 0 0 4px; }
.atr-thankyou-delivery span { font-size: 11px; color: var(--ink-500); }

/* ── Thank you page (atr-ty-*) ───────────────────────────────────────── */
.atr-thankyou-page {
  max-width: 640px; margin: 0 auto; padding: 24px 16px 80px;
}
@media (min-width: 1024px) { .atr-thankyou-page { padding: 48px 24px 80px; } }

.atr-ty-hero {
  text-align: center; padding: 40px 24px 32px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); margin-bottom: 16px;
}
.atr-ty-check {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-700), var(--emerald-900));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(13,43,34,.25);
}
.atr-ty-title {
  font-family: 'Amiri', serif;
  font-size: 26px; font-weight: 700; color: var(--emerald-900); margin-bottom: 8px;
}
@media (min-width: 1024px) { .atr-ty-title { font-size: 32px; } }
.atr-ty-sub { font-size: 14px; color: var(--ink-600); margin-bottom: 18px; }
.atr-ty-order-num {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream-100); border: 1px solid var(--line);
  border-radius: 100px; padding: 6px 16px; font-size: 13px;
}
.atr-ty-order-num strong { color: var(--emerald-800); font-weight: 800; }

.atr-ty-body { display: flex; flex-direction: column; gap: 12px; }

.atr-ty-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
}
@media (min-width: 1024px) { .atr-ty-card { padding: 24px; } }
.atr-ty-card-title {
  font-weight: 800; font-size: 15px; margin-bottom: 14px;
  color: var(--emerald-900);
}

.atr-ty-delivery-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 10px;
}
.atr-ty-delivery-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cream-100); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.atr-ty-delivery-label { font-size: 11px; color: var(--ink-500); margin-bottom: 2px; }
.atr-ty-delivery-val { font-size: 16px; font-weight: 800; color: var(--emerald-800); }
.atr-ty-delivery-note { font-size: 13px; color: var(--ink-600); margin: 0; line-height: 1.6; }

.atr-ty-items { display: flex; flex-direction: column; gap: 12px; }
.atr-ty-item {
  display: flex; align-items: center; gap: 12px;
}
.atr-ty-item-img {
  width: 52px; height: 64px; border-radius: 10px;
  overflow: hidden; background: var(--cream-100); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.atr-ty-item-img img { width: 100%; height: 100%; object-fit: cover; }
.atr-ty-item-info { flex: 1; min-width: 0; }
.atr-ty-item-name { font-size: 13px; font-weight: 700; }
.atr-ty-item-qty { font-size: 11px; color: var(--ink-500); margin-top: 2px; }
.atr-ty-item-price { font-size: 14px; font-weight: 800; color: var(--gold-600); flex-shrink: 0; }

.atr-ty-divider { height: 1px; background: var(--line); margin: 12px 0; }
.atr-ty-row {
  display: flex; justify-content: space-between;
  font-size: 13px; padding: 3px 0; color: var(--ink-700);
}
.atr-ty-row .gold { color: var(--gold-600); font-weight: 700; }
.atr-ty-total {
  display: flex; justify-content: space-between; align-items: baseline;
}
.atr-ty-total span:first-child { font-size: 15px; font-weight: 800; }
.atr-ty-total .val { font-size: 26px; font-weight: 800; color: var(--emerald-900); }

.atr-ty-cod-notice {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(201,169,110,.08); border: 1px solid rgba(201,169,110,.2);
  border-radius: 10px; padding: 10px 12px; margin-top: 12px;
  font-size: 12px; color: var(--ink-700); line-height: 1.5;
}
.atr-ty-cod-notice svg { flex-shrink: 0; margin-top: 1px; }

.atr-ty-address {
  font-style: normal; font-size: 14px; color: var(--ink-700); line-height: 1.7;
}
.atr-ty-address-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-700); margin-top: 8px;
}

.atr-ty-actions {
  display: flex; flex-direction: column; gap: 10px; margin-top: 4px;
}
.atr-ty-orders-link {
  text-align: center; font-size: 13px; color: var(--emerald-700);
  text-decoration: underline; padding: 4px 0;
}

/* ── Misc WC overrides ────────────────────────────────────────────────── */
.atr-wc-main { min-height: 60vh; }

/* Hide default Woo elements that we override */
.woocommerce .woocommerce-breadcrumb { display: none; }
