/* =============================================================================
   FOURSTYLE — v2 update layer
   Loaded after styles.css. Contains the fixes and new components requested in
   the update brief (logo ring, product cards, scroll/hero, filters, payment
   slips, contact form).
   ========================================================================== */

:root {
  --logo-size: 76px;
  --logo-ring: 0.055;
  --logo-gap: 0.035;
  --gold-soft: rgba(201, 162, 39, 0.12);
}

.logo { display: inline-flex; align-items: center; justify-content: center; }

.logo-img {
  height: var(--logo-size);
  width: var(--logo-size);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: calc(var(--logo-size) * var(--logo-gap));
  border: calc(var(--logo-size) * var(--logo-ring)) solid var(--gold);
  box-shadow: 0 calc(var(--logo-size) * 0.035) calc(var(--logo-size) * 0.14) rgba(0, 0, 0, 0.14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.logo:hover .logo-img { transform: translateY(-2px); }

.footer-logo {
  --logo-size: 72px;
  height: var(--logo-size);
  width: var(--logo-size);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: calc(var(--logo-size) * var(--logo-gap));
  border: calc(var(--logo-size) * var(--logo-ring)) solid var(--gold);
  margin-bottom: 14px;
}

html, body { overflow-x: hidden; }
body.no-scroll { overflow: hidden; }

.hero {
  position: relative;
  background: linear-gradient(135deg, #070707 0%, #17150f 48%, #070707 100%);
  padding: clamp(40px, 6vw, 72px) 20px clamp(44px, 6vw, 76px);
  min-height: 0;
  height: auto;
  background-attachment: scroll;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  background: radial-gradient(circle at 26% 42%, rgba(201, 162, 39, .20) 0%, transparent 55%),
              radial-gradient(circle at 78% 70%, rgba(201, 162, 39, .12) 0%, transparent 52%);
  z-index: -1;
}
.hero-content { max-width: 720px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 64px); margin-bottom: 6px; }
.hero-desc { margin-bottom: 26px; }
.hero-buttons { margin-bottom: 28px; }

.categories, .products, .premium-banner, .testimonials, .faq, .why-us, .contact {
  position: relative;
  z-index: 1;
  background: var(--white);
}
.categories { padding-top: 56px; }

.header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .12); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: var(--transition);
}
.category-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card .category-img {
  width: 104px; height: 104px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--gold-soft); background: #f7f7f7;
}
.category-card .category-img img { width: 100%; height: 100%; object-fit: cover; }
.category-card h3 { font-size: 15px; font-weight: 600; margin: 0; }
.category-card .category-count { font-size: 12px; color: var(--text-light); }

.section-header { flex-wrap: wrap; gap: 14px; }
.section-header .section-head-left { display: flex; flex-direction: column; gap: 4px; }
#resultCount { font-size: 13px; color: var(--text-light); }

.filter-notice { display: none; }
.filter-notice.active {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 22px; padding: 12px 14px;
  background: #fffdf4; border: 1px solid #efdd9f; border-radius: 12px;
}
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--black); color: #fff; font-size: 13px;
  padding: 7px 12px; border-radius: 999px;
}
.filter-chip strong { color: var(--gold-light); }
.filter-chip button {
  background: rgba(255, 255, 255, .18); color: #fff; border: 0; border-radius: 50%;
  width: 18px; height: 18px; line-height: 1; cursor: pointer; font-size: 14px;
}
.filter-clear {
  background: none; border: 0; color: var(--gold-dark);
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline;
}

.product-grid { align-items: stretch; }

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.product-card:hover { border-color: #e3d7ac; }
.product-media { padding: 10px 10px 0; }
.product-img {
  height: 230px; border-radius: 10px; overflow: hidden; background: #f7f7f7;
  position: relative; cursor: pointer;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.quick-view-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: 8px; background: rgba(10, 10, 10, .55); color: #fff; font-size: 13px; font-weight: 600;
  opacity: 0; transition: opacity .25s ease;
}
.product-card:hover .quick-view-overlay { opacity: 1; }

.card-thumbs {
  display: flex; gap: 6px; margin-top: 8px; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 2px;
}
.card-thumbs::-webkit-scrollbar { display: none; }
.card-thumb {
  flex: 0 0 auto; width: 44px; height: 44px; padding: 0;
  border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden;
  background: #fff; cursor: pointer; transition: var(--transition);
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb:hover { border-color: var(--gold-light); }
.card-thumb.active { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }

.product-info {
  display: flex; flex-direction: column; flex: 1 1 auto;
  padding: 12px 14px 16px; text-align: left; gap: 6px;
}
.product-brand {
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600;
}
.product-info h3 {
  font-size: 14.5px; font-weight: 500; line-height: 1.35; margin: 0; cursor: pointer;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.7em;
}
.stock-tag { font-size: 11.5px; font-weight: 600; }
.stock-tag.in { color: #167c4a; }
.stock-tag.low { color: #c2410c; }
.stock-tag.out { color: #b91c1c; }

.product-actions {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 8px; padding-top: 12px;
}

.price-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 10px 12px; border: 1.5px solid var(--black); border-radius: 10px;
  background: #fff; cursor: pointer; font-family: inherit; text-align: left;
  transition: var(--transition);
}
.price-btn-main { font-size: 16px; font-weight: 700; color: var(--black); }
.price-btn-old { font-size: 12px; color: #999; text-decoration: line-through; }
.price-btn-cta {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--gold-dark);
}
.price-btn:hover:not(:disabled) { background: var(--black); border-color: var(--black); }
.price-btn:hover:not(:disabled) .price-btn-main,
.price-btn:hover:not(:disabled) .price-btn-cta { color: var(--gold-light); }
.price-btn:disabled, .add-to-cart:disabled { opacity: .5; cursor: not-allowed; }

.product-actions .add-to-cart {
  width: 100%; justify-content: center; gap: 8px; padding: 11px; font-size: 13px;
}

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 56px 20px; color: var(--text-light);
}
.empty-state i { font-size: 40px; color: #ddd; margin-bottom: 14px; }
.empty-state h3 { font-size: 18px; color: var(--text); margin-bottom: 6px; }
.empty-state p { margin-bottom: 18px; }

.product-modal .modal-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.product-modal .thumb {
  width: 60px; height: 60px; padding: 0; border: 2px solid var(--border);
  border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer;
}
.product-modal .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-modal .thumb.active { border-color: var(--gold); }
.modal-brand {
  font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 700;
}

.empty-cart { text-align: center; padding: 50px 20px; color: var(--text-light); }
.empty-cart i { font-size: 34px; color: #ddd; display: block; margin-bottom: 12px; }
.cart-note {
  background: #fffdf4; border: 1px solid #efdd9f; border-radius: 10px;
  padding: 12px; margin-bottom: 12px; font-size: 13px; line-height: 1.55; color: #5c4a00;
}
.cart-note a { color: var(--gold-dark); font-weight: 700; text-decoration: underline; }
.btn-whatsapp {
  background: #25D366; color: #fff; border: none; padding: 12px; border-radius: 8px;
  font-weight: 600; cursor: pointer; width: 100%; font-family: inherit; margin-top: 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-whatsapp:hover { background: #1da851; }
.view-cart-link {
  display: block; width: 100%; margin-top: 10px; background: none; border: 0;
  color: var(--text-light); font-family: inherit; font-size: 13px;
  text-decoration: underline; cursor: pointer; text-align: center;
}

.checkout-modal { max-width: 620px; }
.checkout-modal h3 { font-size: 15px; margin: 22px 0 12px; }
.payment-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.payment-option { cursor: pointer; }
.payment-option input { position: absolute; opacity: 0; pointer-events: none; }
.payment-option .payment-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%;
  padding: 14px 10px; border: 1.5px solid var(--border); border-radius: 12px;
  text-align: center; transition: var(--transition); background: #fff;
}
.payment-option .payment-card i { font-size: 20px; color: var(--gold-dark); }
.payment-option .payment-card span { font-size: 13px; font-weight: 600; }
.payment-option .payment-card small { font-size: 11px; color: var(--text-light); }
.payment-option.selected .payment-card,
.payment-option input:focus-visible + .payment-card {
  border-color: var(--gold); background: #fffdf4; box-shadow: 0 0 0 3px var(--gold-soft);
}

.account-box {
  margin-top: 14px; border: 1px solid #e6dcb8; border-radius: 12px;
  background: linear-gradient(180deg, #fffdf4, #fff); padding: 16px;
}
.account-box h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gold-dark); margin-bottom: 12px;
}
.account-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 0; border-bottom: 1px dashed #eee5c9; font-size: 14px;
}
.account-row:last-of-type { border-bottom: 0; }
.account-row .label { color: var(--text-light); min-width: 118px; font-size: 13px; }
.account-row .value { font-weight: 700; letter-spacing: .4px; word-break: break-all; }
.copy-btn {
  margin-left: auto; background: var(--black); color: var(--gold-light); border: 0;
  border-radius: 8px; padding: 6px 11px; font-size: 11.5px; font-weight: 600;
  font-family: inherit; cursor: pointer; display: inline-flex; gap: 6px; align-items: center;
}
.copy-btn:hover { background: var(--gold); color: var(--black); }
.account-note { font-size: 12.5px; color: #6b5a12; margin-top: 10px; line-height: 1.6; }

.slip-step { text-align: left; }
.order-confirmed {
  display: flex; gap: 12px; align-items: flex-start;
  background: #f1fbf4; border: 1px solid #b9e6ca; border-radius: 12px; padding: 16px;
}
.order-confirmed i { color: #167c4a; font-size: 22px; margin-top: 2px; }
.order-confirmed strong { display: block; font-size: 15px; margin-bottom: 4px; }
.order-confirmed p { font-size: 13px; color: #396a4e; margin: 0; }

.slip-drop {
  margin-top: 16px; border: 2px dashed #d9cfa6; border-radius: 12px;
  padding: 20px; text-align: center; background: #fffdf4;
}
.slip-drop i { font-size: 26px; color: var(--gold-dark); }
.slip-drop p { font-size: 13px; color: var(--text-light); margin: 8px 0 12px; }
.slip-drop input[type=file] { font-family: inherit; font-size: 13px; }
#slipPreview img {
  max-width: 200px; max-height: 240px; object-fit: contain; margin: 14px auto 0; border-radius: 10px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.slip-file { margin-top: 12px; font-size: 13px; font-weight: 600; }
.slip-success {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 14px;
  background: #f1fbf4; border: 1px solid #9fdcb6; border-radius: 12px; padding: 14px;
}
.slip-success i { color: #167c4a; font-size: 20px; }
.slip-success p { font-size: 13px; color: #396a4e; margin: 4px 0 0; }
.slip-error {
  margin-top: 12px; background: #fdf0f0; border: 1px solid #f3c7c7;
  color: #a52222; border-radius: 10px; padding: 11px; font-size: 13px;
}

.fs-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--black); color: #fff; padding: 13px 20px; border-radius: 10px;
  font-size: 13.5px; box-shadow: 0 12px 34px rgba(0, 0, 0, .3); z-index: 9999;
  opacity: 0; pointer-events: none; transition: all .3s ease; max-width: min(420px, 90vw);
  border-left: 3px solid var(--gold);
}
.fs-toast.show { opacity: 1; transform: translate(-50%, 0); }

.page-hero {
  background: linear-gradient(135deg, #070707 0%, #17150f 50%, #070707 100%);
  color: #fff; padding: clamp(40px, 6vw, 64px) 20px; text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif; color: var(--gold);
  font-size: clamp(30px, 5vw, 46px); letter-spacing: 2px;
}
.page-hero p { color: #bdbdbd; margin-top: 10px; font-size: 15px; }

.contact-layout {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px;
  padding: 52px 0 64px; align-items: start;
}
.contact-form-card, .contact-side-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 26px; box-shadow: 0 10px 34px rgba(0, 0, 0, .05);
}
.contact-form-card h2 { font-size: 21px; margin-bottom: 6px; }
.contact-form-card .form-intro { font-size: 13.5px; color: var(--text-light); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field label span { color: #b91c1c; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid #e6e6e6; border-radius: 10px;
  font-family: inherit; font-size: 14px; background: #fafafa; transition: var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px var(--gold-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 12px; color: var(--text-light); margin-top: 6px; }
.form-status { margin-top: 16px; }
.contact-side-card h3 { font-size: 16px; margin-bottom: 14px; }
.contact-line {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 0;
  border-bottom: 1px dashed var(--border); font-size: 14px;
}
.contact-line:last-child { border-bottom: 0; }
.contact-line i { color: var(--gold-dark); width: 18px; margin-top: 3px; }
.contact-line strong { display: block; font-size: 13px; }
.contact-line span { font-size: 13px; color: var(--text-light); }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 22px; padding: 34px 0 48px; }
}

@media (max-width: 900px) {
  :root { --logo-size: 60px; }
  .product-img { height: 200px; }
}
@media (max-width: 768px) {
  :root { --logo-size: 54px; }
  .product-img { height: 172px; }
  .card-thumb { width: 38px; height: 38px; }
  .product-info { padding: 10px 11px 14px; }
  .product-info h3 { font-size: 13.5px; }
  .price-btn { padding: 9px 10px; }
  .price-btn-main { font-size: 15px; }
  .price-btn-cta { font-size: 10px; }
  .category-card .category-img { width: 84px; height: 84px; }
}
@media (max-width: 480px) {
  :root { --logo-size: 48px; }
  .product-img { height: 150px; }
  .card-thumbs { gap: 4px; }
  .card-thumb { width: 32px; height: 32px; }
  .account-row .label { min-width: 100%; }
  .copy-btn { margin-left: 0; }
}

img.img-fallback { object-fit: contain !important; padding: 12px; background: #faf7ef; }

/* ========== MOBILE CARD + BUY NOW FIX (v3) ========== */
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-media { padding: 8px 8px 0; }
  .product-info {
    padding: 8px 8px 12px !important;
    gap: 4px !important;
  }
  .product-brand { font-size: 10px !important; letter-spacing: 0.6px; }
  .product-info h3 {
    font-size: 12.5px !important;
    min-height: 2.4em !important;
    line-height: 1.3 !important;
  }
  .stock-tag { font-size: 10.5px !important; }

  .price-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 8px 8px !important;
    text-align: center !important;
  }
  .price-btn-main {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  .price-btn-old {
    font-size: 11px !important;
    margin-left: 4px !important;
  }
  .price-btn-cta {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 2px !important;
    padding-top: 4px !important;
    border-top: 1px dashed #e5e5e5 !important;
    font-size: 11px !important;
    letter-spacing: 0.8px !important;
    text-align: center !important;
    flex: none !important;
  }

  .product-actions .add-to-cart {
    font-size: 11px !important;
    padding: 9px 4px !important;
    gap: 4px !important;
  }
  .product-actions .add-to-cart i { font-size: 11px; }
}

@media (max-width: 380px) {
  .product-info h3 { font-size: 11.5px !important; }
  .price-btn-main { font-size: 13px !important; }
  .price-btn-cta { font-size: 10px !important; }
}

.product-img {
  aspect-ratio: 1 / 1.05;
  height: auto !important;
  min-height: 130px;
  background: linear-gradient(90deg, #f5f5f5 25%, #ebebeb 50%, #f5f5f5 75%);
  background-size: 200% 100%;
  animation: fs-shimmer 1.4s ease infinite;
}
.product-img img {
  aspect-ratio: 1 / 1.05;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}
@keyframes fs-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* Product images poori dikhane ke liye */
.product-img {
  background: #fff;
}

.product-img img,
.card-main-img,
.card-thumb img,
.modal-main-img img,
.modal-thumbs img,
.cart-item img,
.checkout-item img,
.search-item img {
  object-fit: contain !important;
  background: #fff;
}

.product-card:hover .product-img img {
  transform: scale(1.03);
}
/* ===== Category cards: bari image, kam khali jagah ===== */
.categories .category-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.categories .category-card {
  padding: 28px 16px 24px;
}

.categories .category-card .category-img {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
}

.categories .category-card .category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categories .category-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

@media (max-width: 600px) {
  .categories .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .categories .category-card {
    padding: 20px 10px 18px;
  }
  .categories .category-card .category-img {
    width: 100px;
    height: 100px;
  }
}

/* ---- Product popup (store-style layout) ---- */
.product-modal { max-width:1000px; grid-template-columns:1.05fr 1fr; border-radius:10px; }
.product-modal .modal-gallery { background:#fff; padding:24px 0 24px 24px; border-radius:10px 0 0 10px; }
.product-modal .modal-main-img { border-radius:0; margin-bottom:12px; }
.product-modal .modal-thumbs { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-top:0; }
.product-modal .thumb { width:100%; height:auto; aspect-ratio:1; border-radius:0; padding:0; }
.product-modal .thumb:hover, .product-modal .thumb.active { transform:none; }
.pm2 { padding:28px 28px 24px; justify-content:flex-start; }
.pm2 .modal-brand { display:none; }
.pm2 h2 { font-family:inherit; font-weight:400; font-size:26px; line-height:1.25; margin:0 0 10px; letter-spacing:.2px; }
.pm2 .product-price { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.pm2 .product-price .sale { color:#e0524d; font-size:20px; font-weight:500; }
.pm2 .product-price .regular { color:#777; font-size:13px; text-decoration:line-through; margin:0; }
.pm-save { background:#d93a3a; color:#fff; font-size:11px; font-weight:700; padding:3px 10px; border-radius:20px; letter-spacing:.3px; }
.pm2 .modal-desc { font-size:13px; color:#666; margin:6px 0 14px; }
.pm-label { font-size:14px; font-weight:500; margin:6px 0 8px; }
.pm-swatches { display:flex; gap:10px; margin-bottom:12px; flex-wrap:wrap; }
.pm-swatch { width:34px; height:34px; border-radius:50%; border:1px solid #ddd; cursor:pointer; padding:0; }
.pm-swatch.active { outline:2px solid #111; outline-offset:2px; }
.pm-buy-row { display:flex; gap:10px; margin-bottom:10px; }
.pm-qty { display:inline-flex; align-items:center; background:#f1f1f1; border-radius:5px; flex:0 0 auto; }
.pm-qty button { width:38px; height:42px; border:0; background:transparent; font-size:18px; cursor:pointer; }
.pm-qty button:hover { background:#e5e5e5; }
.pm-qty span { min-width:34px; text-align:center; font-weight:600; font-size:14px; }
.pm-btn-outline, .pm-btn-black, .pm-btn-wa { border-radius:5px; font-size:14px; font-weight:600; cursor:pointer; font-family:inherit; }
.pm-btn-outline { flex:1; background:#fff; color:#111; border:1px solid #111; height:42px; }
.pm-btn-outline:hover { background:#111; color:#fff; }
.pm-btn-black { width:100%; background:#000; color:#fff; border:0; height:42px; margin-bottom:12px; }
.pm-btn-black:hover { background:#222; }
.pm-btn-wa { width:100%; background:#25d366; color:#fff; border:0; height:42px; padding:0 22px; display:flex; align-items:center; justify-content:center; gap:8px; }
.pm-btn-wa:hover { background:#1da851; }
.pm2 button:disabled { opacity:.5; cursor:not-allowed; }
.pm-track { margin-top:22px; text-align:center; }
.pm-track-title { font-size:12px; font-weight:700; margin-bottom:12px; }
.pm-steps { display:flex; align-items:flex-start; justify-content:center; gap:0; }
.pm-step { display:flex; flex-direction:column; align-items:center; min-width:84px; }
.pm-ic { width:30px; height:30px; border-radius:50%; background:#000; display:flex; align-items:center; justify-content:center; margin-bottom:4px; }
.pm-step small { font-size:10px; color:#888; } .pm-step b { font-size:11px; }
.pm-line { width:34px; height:1px; background:#000; margin-top:15px; }
@media (max-width:768px) {
  .modal-overlay { padding:8px; }
  .product-modal { grid-template-columns:1fr !important; max-height:96vh; width:100%; overflow-x:hidden; }
  .product-modal .modal-gallery { padding:12px 12px 0; border-radius:10px 10px 0 0; }
  .product-modal .modal-main-img { width:100%; aspect-ratio:1; max-height:none; margin-bottom:8px; }
  .product-modal .modal-close { position:sticky; top:8px; right:auto; justify-self:end; grid-column:1; grid-row:1; margin:8px 8px -44px 0; z-index:10; }
  .product-modal .modal-gallery { grid-row:2; } .pm2 { grid-row:3; }
  .product-modal .modal-main-img img { width:100%; height:100%; object-fit:cover; }
  .product-modal .modal-thumbs { gap:6px; }
  .pm2 { padding:14px 14px 18px; min-width:0; }
  .pm2 h2 { font-size:20px; padding-right:0; }
  .pm2 .product-price .sale { font-size:19px; }
  .pm2 .modal-desc { font-size:12.5px; }
  .pm-btn-outline, .pm-btn-black, .pm-btn-wa { height:44px; }
  .pm-qty button { height:44px; }
  .pm-steps { width:100%; }
  .pm-step { min-width:0; flex:1; }
  .pm-line { width:auto; flex:0 0 20px; }
  .pm-step small { font-size:9.5px; text-align:center; }
}
.pm-copy { display:inline-flex; align-items:center; justify-content:center; gap:6px; width:100%; margin-top:10px; padding:8px; background:transparent; border:1px dashed #bbb; border-radius:5px; color:#555; font-size:13px; font-family:inherit; cursor:pointer; }
.pm-copy:hover { border-color:#111; color:#111; }

/* ---- Direct product link: land on the card ---- */
.product-card { scroll-margin-top:90px; }
.product-card.card-flash { animation:cardFlash 2.4s ease; }
@keyframes cardFlash { 0%,100% { box-shadow:0 0 0 0 rgba(201,162,39,0); } 20%,60% { box-shadow:0 0 0 4px rgba(201,162,39,.85), 0 12px 30px rgba(0,0,0,.18); } }

/* ---- Product link opening: no homepage flash ---- */
html.deeplink-pending body::before { content:'Opening your watch…'; position:fixed; inset:0; background:#fff; z-index:99998; display:flex; align-items:center; justify-content:center; padding-top:96px; box-sizing:border-box; color:#8a8473; font:500 14px/1 Poppins, sans-serif; letter-spacing:.3px; }
html.deeplink-pending body::after { content:''; position:fixed; top:50%; left:50%; width:38px; height:38px; margin:-19px 0 0 -19px; border:3px solid #e6e1d0; border-top-color:#c9a227; border-radius:50%; z-index:99999; animation:dlSpin .8s linear infinite; }
@keyframes dlSpin { to { transform:rotate(360deg); } }
