/* ═══════════════════════════════════════════════════════════
   ZAYTOON — UX PRO CSS
   Luxury e-commerce user experience
═══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   PRODUCT PAGE — App-grade mobile experience
══════════════════════════════════════════════ */

/* Gallery — swipeable on mobile */
.product-detail { gap: 2rem !important; }

.gallery-main-wrap {
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: var(--card-radius) !important;
  overflow: hidden !important;
  cursor: zoom-in;
}
.gallery-main-img { transition: transform .4s ease, opacity .2s !important; }
.gallery-main-wrap:hover .gallery-main-img { transform: scale(1.04); }

/* Thumbnail strip */
.gallery-thumbs-row {
  gap: .5rem !important; padding: .5rem 0 0 !important;
}
.gallery-thumb-item {
  width: 64px !important; height: 64px !important;
  border-radius: 10px !important; flex-shrink: 0;
  transition: all .2s !important; overflow: hidden;
  border: 2px solid transparent !important;
  cursor: pointer;
}
.gallery-thumb-item:hover { border-color: rgba(201,169,97,.5) !important; }
.gallery-thumb-item.active { border-color: var(--gold) !important; box-shadow: 0 0 0 2px rgba(201,169,97,.2); }

/* Mobile: gallery full width */
@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr !important; gap: 0 !important; }
  .product-gallery { position: relative !important; top: 0 !important; }
  .gallery-main-wrap { border-radius: 0 !important; aspect-ratio: 1/1 !important; }
  .gallery-thumbs-row { padding: .65rem 1rem !important; overflow-x: auto; }
  .gallery-thumb-item { width: 56px !important; height: 56px !important; }
  .product-detail-info { padding: 1.25rem !important; }
}

/* Sticky Buy Section (mobile) */
.sticky-buy-bar {
  position: fixed; bottom: calc(64px + env(safe-area-inset-bottom));
  left: 0; right: 0; z-index: 150;
  background: var(--surface);
  border-top: 1px solid var(--beige-dark);
  padding: .75rem 1rem;
  display: flex; gap: .65rem; align-items: center;
  box-shadow: 0 -8px 24px rgba(0,0,0,.1);
  transform: translateY(100%);
  pointer-events: none;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.sticky-buy-bar.visible { transform: translateY(0); pointer-events:auto; }
.sticky-buy-price {
  font-weight: 900; font-size: 1.1rem; color: var(--gold);
  white-space: nowrap;
}
@media (min-width: 769px) { .sticky-buy-bar { display: none; } }

/* ══════════════════════════════════════════════
   VARIANT PICKERS — App-style
══════════════════════════════════════════════ */
.variant-group { margin-bottom: 1.1rem; }
.variant-group-label {
  font-size: .82rem; font-weight: 700; color: var(--text-secondary);
  margin-bottom: .55rem; display: flex; align-items: center; justify-content: space-between;
}
.variant-group-selected { color: var(--text-primary); font-weight: 800; }
.variant-btns { display: flex; flex-wrap: wrap; gap: .45rem; }

.variant-btn {
  padding: .4rem 1rem; border-radius: 50px;
  min-height:44px; display:inline-flex; align-items:center; justify-content:center;
  border: 1.5px solid var(--beige-dark); background: var(--surface);
  font-size: .83rem; font-weight: 600; color: var(--text-primary);
  cursor: pointer; transition: all .18s;
}
.variant-btn:hover  { border-color: var(--gold); color: var(--gold); }
.variant-btn.active { border-color: var(--gold); background: var(--gold); color: white; box-shadow: 0 2px 10px rgba(201,169,97,.35); }
.variant-btn.oos    { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* Color swatches */
.variant-color-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid transparent; cursor: pointer;
  transition: all .18s; position: relative;
  outline: none;
}
.variant-color-btn.active {
  box-shadow: 0 0 0 3px white, 0 0 0 5px var(--gold);
}
.variant-color-btn.oos::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(to bottom right, transparent 45%, rgba(0,0,0,.45) 50%, transparent 55%);
}

/* Size buttons */
.size-btn {
  min-width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700;
  border: 1.5px solid var(--beige-dark); background: var(--surface);
  cursor: pointer; transition: all .18s;
}
.size-btn.active { border-color: var(--gold); background: var(--gold); color: white; }
.size-btn.oos    { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

/* ══════════════════════════════════════════════
   QTY SELECTOR — Premium feel
══════════════════════════════════════════════ */
.qty-selector {
  display: inline-flex; align-items: center; gap: 0;
  border: 1.5px solid var(--beige-dark); border-radius: 50px;
  overflow: hidden; background: var(--surface);
  height: 44px;
}
.qty-selector-btn {
  width: 44px; height: 42px; background: none; border: none;
  cursor: pointer; font-size: .9rem; color: var(--text-secondary);
  transition: all .15s; display: flex; align-items: center; justify-content: center;
}
.qty-selector-btn:hover { background: var(--beige); color: var(--gold); }
.qty-selector-btn:active { transform: scale(.9); }
.qty-selector-num {
  min-width: 40px; text-align: center; font-weight: 800; font-size: 1rem;
  border-left: 1px solid var(--beige-dark); border-right: 1px solid var(--beige-dark);
  height: 42px; display: flex; align-items: center; justify-content: center;
  user-select: none;
}

/* ══════════════════════════════════════════════
   BUY ACTIONS — App CTA area
══════════════════════════════════════════════ */
.product-buy-actions {
  display: flex; flex-direction: column; gap: .65rem;
  margin-bottom: 1.25rem;
}
.product-buy-actions .btn-primary {
  height: 52px; font-size: .95rem; border-radius: 14px;
  box-shadow: 0 4px 20px rgba(201,169,97,.4) !important;
}
.product-buy-actions .btn-wa {
  height: 48px; background: #25D366; color: white;
  border: none; border-radius: 14px; font-size: .9rem;
  font-weight: 700; display: flex; align-items: center;
  justify-content: center; gap: .55rem; cursor: pointer;
  transition: all .2s; text-decoration: none;
}
.product-buy-actions .btn-wa:hover { background: #20bd5a; transform: translateY(-1px); }

/* ══════════════════════════════════════════════
   REVIEWS — Social proof design
══════════════════════════════════════════════ */
.reviews-summary {
  display: grid; grid-template-columns: auto 1fr;
  gap: 2rem; align-items: center;
  background: var(--beige); border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.reviews-big-score {
  text-align: center;
  font-family: var(--font-display);
}
.reviews-big-num { font-size: 3.5rem; font-weight: 900; color: var(--gold); line-height: 1; }
.reviews-big-stars { display: flex; gap: .2rem; justify-content: center; color: var(--gold); font-size: 1.1rem; margin: .35rem 0; }
.reviews-big-count { font-size: .78rem; color: var(--text-secondary); font-weight: 600; }
.reviews-bars { display: flex; flex-direction: column; gap: .45rem; }
.review-bar-row {
  display: flex; align-items: center; gap: .65rem; font-size: .78rem;
}
.review-bar-label { min-width: 28px; color: var(--text-secondary); font-weight: 600; }
.review-bar-track { flex: 1; height: 6px; background: var(--beige-dark); border-radius: 99px; overflow: hidden; }
.review-bar-fill  { height: 100%; background: var(--gold); border-radius: 99px; transition: width .6s ease; }
.review-bar-count { min-width: 28px; text-align: right; color: var(--text-secondary); }

/* Review card */
.review-card {
  background: var(--surface); border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg); padding: 1.1rem;
  margin-bottom: .85rem; position: relative;
}
.review-card-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: .5rem; gap: .75rem; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: white; font-weight: 800; flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: .88rem; }
.review-date { font-size: .72rem; color: var(--text-secondary); margin-top: .08rem; }
.review-stars { display: flex; gap: .15rem; color: var(--gold); font-size: .82rem; }
.review-body { font-size: .87rem; color: var(--text-secondary); line-height: 1.7; }
.review-verified { font-size: .7rem; color: var(--green); font-weight: 700; display: flex; align-items: center; gap: .25rem; }

/* Write review form */
.review-form-wrap {
  background: var(--beige); border-radius: var(--radius-lg);
  padding: 1.25rem; margin-top: 1rem;
}
.star-picker { display: flex; gap: .4rem; margin-bottom: .85rem; cursor: pointer; }
.star-pick { font-size: 1.5rem; color: var(--beige-dark); transition: color .15s; }
.star-pick:hover, .star-pick.active { color: var(--gold); }

/* ══════════════════════════════════════════════
   ACCOUNT PAGE — Dashboard style
══════════════════════════════════════════════ */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; align-items: start; }
.account-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); }
.account-card { background: var(--surface); border: 1px solid var(--beige-dark); border-radius: var(--radius-lg); overflow: hidden; }

/* Avatar hero */
.account-hero {
  background: linear-gradient(135deg, #0F0A05, #2D2419);
  padding: 1.75rem; text-align: center; color: white;
}
.account-avatar-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 900; color: white;
  margin: 0 auto .85rem; border: 3px solid rgba(201,169,97,.3);
  box-shadow: 0 4px 16px rgba(201,169,97,.3);
}
.account-avatar-name { font-weight: 800; font-size: 1rem; margin-bottom: .2rem; }
.account-avatar-phone { font-size: .78rem; opacity: .6; direction: ltr; }
.vip-badge { display: inline-flex; align-items: center; gap: .3rem; background: linear-gradient(135deg, #f59e0b, #d97706); color: white; padding: .2rem .6rem; border-radius: 50px; font-size: .68rem; font-weight: 800; margin-top: .5rem; }

/* Loyalty card */
.loyalty-card {
  margin: .85rem; padding: 1rem;
  background: linear-gradient(135deg, rgba(201,169,97,.15), rgba(201,169,97,.05));
  border: 1px solid rgba(201,169,97,.25); border-radius: var(--radius);
  display: flex; align-items: center; gap: .85rem;
}
.loyalty-card-icon { font-size: 1.5rem; color: var(--gold); }
.loyalty-card-label { font-size: .72rem; color: var(--text-secondary); font-weight: 600; }
.loyalty-card-value { font-size: 1.3rem; font-weight: 900; color: var(--gold); line-height: 1.1; }
.loyalty-card-sub { font-size: .72rem; color: var(--text-secondary); }

/* Nav */
.account-nav { display: flex; flex-direction: column; }
.account-nav-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.1rem; font-size: .88rem; font-weight: 600;
  color: var(--text-secondary); text-decoration: none;
  transition: all .18s; border-bottom: 1px solid var(--beige-dark);
  position: relative;
}
.account-nav-item:last-child { border-bottom: none; }
.account-nav-item:hover { background: var(--beige); color: var(--gold); }
.account-nav-item.active { color: var(--gold); background: var(--gold-dim); }
.account-nav-item.active::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); border-radius: 0 2px 2px 0; }
.account-nav-item i { width: 18px; text-align: center; }

/* Order timeline in account */
.order-status-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .7rem; border-radius: 50px;
  font-size: .74rem; font-weight: 800;
}
.order-row {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1.25rem; border-bottom: 1px solid var(--beige-dark);
  transition: background .15s; cursor: pointer; text-decoration: none; color: inherit;
}
.order-row:hover { background: var(--beige); }
.order-row:last-child { border-bottom: none; }
.order-num { font-weight: 800; font-size: .88rem; color: var(--gold); }
.order-date { font-size: .74rem; color: var(--text-secondary); margin-top: .1rem; }
.order-total { font-weight: 800; font-size: .95rem; color: var(--gold); white-space: nowrap; margin-inline-start: auto; }

@media (max-width: 768px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: relative; top: 0; }
  .account-nav { flex-direction: row; flex-wrap: wrap; }
  .account-nav-item { flex: 1; min-width: 100px; justify-content: center; flex-direction: column; text-align: center; gap: .3rem; font-size: .75rem; padding: .65rem .5rem; border-bottom: none; border-inline-end: 1px solid var(--beige-dark); }
  .account-nav-item.active::before { inset-inline-start: 0; top: auto; bottom: 0; width: 100%; height: 2.5px; border-radius: 2px 2px 0 0; }
}

/* Loyalty points history */
.loyalty-history-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .75rem 0; border-bottom: 1px solid var(--beige-dark);
}
.loyalty-history-item:last-child { border-bottom: none; }
.loyalty-dot {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0;
}
.loyalty-dot.earn   { background: rgba(34,197,94,.12); color: var(--green); }
.loyalty-dot.redeem { background: rgba(201,169,97,.12); color: var(--gold); }
.loyalty-note  { flex: 1; font-size: .85rem; font-weight: 600; }
.loyalty-pts   { font-weight: 800; white-space: nowrap; }
.loyalty-pts.earn   { color: var(--green); }
.loyalty-pts.redeem { color: var(--red); }

/* ══════════════════════════════════════════════
   LOGIN — App-style auth
══════════════════════════════════════════════ */
.auth-page-wrap {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--bg) 0%, var(--beige) 100%);
  padding: 2rem 1rem;
}
.auth-card {
  background: var(--surface); border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
  padding: 2.25rem; width: 100%; max-width: 420px;
  border: 1px solid var(--beige-dark);
}
.auth-logo { text-align: center; margin-bottom: 1.75rem; }
.auth-page-wrap .auth-logo {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
}
.auth-logo-icon { font-size: 2.5rem; color: var(--gold); }
.auth-logo-name { width:100%; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; line-height:1.35; color: var(--gold); white-space:normal; }
.auth-tabs { display: flex; background: var(--beige); border-radius: 50px; padding: .25rem; margin-bottom: 1.75rem; }
.auth-tab {
  flex: 1; padding: .55rem; text-align: center; border-radius: 50px;
  font-size: .86rem; font-weight: 700; cursor: pointer;
  text-decoration: none; color: var(--text-secondary); transition: all .2s;
}
.auth-tab.active { background: white; color: var(--gold); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.auth-form { display: flex; flex-direction: column; gap: .85rem; }
.auth-divider { text-align: center; font-size: .78rem; color: var(--text-secondary); position: relative; margin: .75rem 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--beige-dark); }
.auth-divider span { background: var(--surface); padding: 0 .75rem; position: relative; }
.auth-or { font-size: .82rem; color: var(--text-secondary); text-align: center; }
.pw-wrap { position: relative; }
.pw-wrap .form-input { padding-inline-end: 2.75rem; }
.pw-toggle { position: absolute; inset-inline-end: .75rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-secondary); font-size: .9rem; }

/* ══════════════════════════════════════════════
   WISHLIST — Grid with remove
══════════════════════════════════════════════ */
.wishlist-empty {
  text-align: center; padding: 5rem 1.5rem;
}
.wishlist-empty-icon { font-size: 5rem; margin-bottom: 1rem; opacity: .2; }
.wishlist-count-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gold-dim); color: var(--gold);
  padding: .3rem .85rem; border-radius: 50px; font-size: .82rem; font-weight: 700;
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════
   CONTACT — App-style
══════════════════════════════════════════════ */
.contact-hero-icon {
  width: 80px; height: 80px; border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: white; margin: 0 auto 1.25rem;
}
.contact-method-card {
  background: var(--surface); border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg); padding: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: inherit; transition: all .2s;
}
.contact-method-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-method-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.contact-method-title { font-weight: 800; font-size: .9rem; }
.contact-method-val   { font-size: .82rem; color: var(--text-secondary); margin-top: .1rem; }

/* ══════════════════════════════════════════════
   ABOUT — Story-style
══════════════════════════════════════════════ */
.about-number {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 900; color: var(--gold);
  line-height: 1; margin-bottom: .25rem;
}
.about-stat-label { font-size: .82rem; color: var(--text-secondary); font-weight: 600; }
.about-value-icon { font-size: 2rem; margin-bottom: .65rem; }
.about-value-card {
  background: var(--surface); border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg); padding: 1.5rem; text-align: center;
  transition: all .25s;
}
.about-value-card:hover { border-color: var(--gold); transform: translateY(-3px); }

/* ══════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════ */
.breadcrumb { padding: .85rem 0; }
.breadcrumb-list { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .79rem; color: var(--text-secondary); }
.breadcrumb-sep { opacity: .4; font-size: .65rem; }
.breadcrumb-list a { color: var(--text-secondary); text-decoration: none; transition: color .15s; }
.breadcrumb-list a:hover { color: var(--gold); }
.breadcrumb-list .current { color: var(--text-primary); font-weight: 600; }

/* ══════════════════════════════════════════════
   RECENTLY VIEWED — Bottom strip
══════════════════════════════════════════════ */
.recently-viewed {
  padding: 1.5rem 0; border-top: 1px solid var(--beige-dark);
  margin-top: 2rem;
}
.recently-scroll {
  display: flex; gap: .75rem; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: .25rem;
}
.recently-scroll::-webkit-scrollbar { display: none; }
.recently-card {
  flex-shrink: 0; width: 120px; text-decoration: none; color: inherit;
}
.recently-card-img {
  width: 120px; height: 120px; border-radius: 14px;
  overflow: hidden; background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; margin-bottom: .45rem;
}
.recently-card-img img { width: 100%; height: 100%; object-fit: cover; }
.recently-card-name { font-size: .75rem; font-weight: 600; line-height: 1.3; }
.recently-card-price { font-size: .78rem; font-weight: 800; color: var(--gold); margin-top: .1rem; }

/* ══════════════════════════════════════════════
   SHARE DROPDOWN
══════════════════════════════════════════════ */
.share-dropdown {
  position: absolute; top: calc(100% + .35rem);
  inset-inline-end: 0; z-index: 100;
  background: var(--surface); border: 1px solid var(--beige-dark);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: .5rem; min-width: 180px;
  animation: dropIn .2s ease;
}
@keyframes dropIn { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:none} }
.share-dropdown.hidden { display: none; }
.share-option {
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem .85rem; border-radius: 10px;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: background .15s; white-space: nowrap;
}
.share-option:hover { background: var(--beige); }

/* ══════════════════════════════════════════════
   PRODUCT TABS (desc/specs/reviews)
══════════════════════════════════════════════ */
.product-tabs {
  display: flex; gap: 0; border-bottom: 1.5px solid var(--beige-dark);
  margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none;
}
.product-tabs::-webkit-scrollbar { display: none; }
.product-tab {
  padding: .75rem 1.25rem; font-size: .88rem; font-weight: 700;
  color: var(--text-secondary); cursor: pointer; white-space: nowrap;
  border-bottom: 2.5px solid transparent; margin-bottom: -1.5px;
  transition: all .2s; background: none; border-top: none;
  border-left: none; border-right: none;
}
.product-tab:hover { color: var(--gold); }
.product-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.product-tab-panel { display: none; animation: fadeIn .2s ease; }
.product-tab-panel.active { display: block; }
@keyframes fadeIn { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:none} }

/* ══════════════════════════════════════════════
   STOCK INDICATOR
══════════════════════════════════════════════ */
.stock-indicator {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; margin-bottom: .85rem;
}
.stock-dot {
  width: 8px; height: 8px; border-radius: 50%; animation: pulse 2s infinite;
}
.stock-dot.green { background: var(--green); box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
.stock-dot.amber { background: var(--amber, #f59e0b); box-shadow: 0 0 0 0 rgba(245,158,11,.4); }
.stock-dot.red   { background: var(--red); }
@keyframes pulse {
  0%  { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  70% { box-shadow: 0 0 0 6px transparent; }
  100%{ box-shadow: 0 0 0 0 transparent; }
}

/* ══════════════════════════════════════════════
   SWIPE GALLERY (mobile touch)
══════════════════════════════════════════════ */
.gallery-swipe-wrap {
  position: relative; overflow: hidden; touch-action: pan-y;
}
.gallery-swipe-indicator {
  position: absolute; bottom: .65rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .3rem; z-index: 2;
}
.swipe-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.4); transition: all .2s;
}
.swipe-dot.active { width: 18px; border-radius: 99px; background: white; }

/* ══════════════════════════════════════════════
   NOTIFICATION TOAST (Order placed)
══════════════════════════════════════════════ */
.success-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.5); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.success-modal {
  background: var(--surface); border-radius: 24px;
  padding: 2.5rem; text-align: center; max-width: 380px; width: 100%;
  animation: successBounce .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes successBounce { from{transform:scale(.5);opacity:0} to{transform:none;opacity:1} }
.success-icon { font-size: 5rem; margin-bottom: 1rem; }
.success-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--gold); margin-bottom: .5rem; }

/* ══════════════════════════════════════════════
   IMAGE ZOOM LIGHTBOX
══════════════════════════════════════════════ */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .25s; padding: 1rem;
}
.gallery-lightbox.open { opacity: 1; visibility: visible; }
.gallery-lightbox img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lb-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none; cursor: pointer;
  color: white; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.3); }

/* ══════════════════════════════════════════════
   CURRENCY SWITCHER
══════════════════════════════════════════════ */
.currency-switcher {
  position: relative;
}
.currency-btn {
  display: flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem; border-radius: 50px;
  background: var(--beige); border: 1.5px solid var(--beige-dark);
  font-size: .78rem; font-weight: 700; cursor: pointer; transition: all .18s;
  color: var(--text-primary);
}
.currency-btn:hover { border-color: var(--gold); color: var(--gold); }
.currency-dropdown {
  position: absolute; top: calc(100% + .4rem);
  inset-inline-end: 0; z-index: 500;
  background: var(--surface); border: 1px solid var(--beige-dark);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: .4rem; min-width: 200px; display: none;
}
.currency-dropdown.open { display: block; animation: dropIn .2s ease; }
.currency-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem .85rem; border-radius: 10px; cursor: pointer;
  font-size: .84rem; font-weight: 600; transition: background .15s;
}
.currency-option:hover { background: var(--beige); }
.currency-option.active { background: var(--gold-dim); color: var(--gold); }
.currency-flag { font-size: 1.1rem; }
.currency-rate { font-size: .72rem; color: var(--text-secondary); }

/* ══════════════════════════════════════════════
   MOBILE SEARCH PAGE (when search is open)
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  #headerSearchBar {
    position: fixed !important;
    inset: 0 !important;
    z-index: 600 !important;
    background: var(--surface) !important;
    padding: calc(var(--safe-top) + .85rem) 1rem 1rem !important;
    border: none !important;
    flex-direction: column !important;
    gap: .75rem !important;
  }
  #headerSearchBar .container { padding: 0 !important; }
  #searchAutocomplete { border-radius: 16px !important; }
}
