/* ==========================================================================
   Artwani — Design System (mobile-first)
   Premium, warm, elegant home-decor brand theme over Bootstrap 5.
   ========================================================================== */

:root {
  --aw-maroon: #7b2d26;
  --aw-maroon-dark: #5c1f1a;
  --aw-maroon-light: #f7e9e4;
  --aw-gold: #c9a227;
  --aw-navbg: #5d1f1a;
  --aw-headerbg: #ffffff;
  --aw-footerbg: #241310;
  --aw-buybg: #f5b301;
  --aw-buytext: #4a3200;
  --aw-salebadge: #a93226;
  --aw-gold-dark: #a8861c;
  --aw-cream: #faf6ef;
  --aw-ink: #2b2118;
  --aw-muted: #857262;
  --aw-card: #ffffff;
  --aw-radius: 16px;
  --aw-shadow: 0 10px 30px rgba(43, 33, 24, 0.08);
  --aw-shadow-hover: 0 18px 44px rgba(43, 33, 24, 0.14);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font-body);
  color: var(--aw-ink);
  background: var(--aw-cream);
  line-height: 1.65;
}

h1, h2, h3, h4, .font-display { font-family: var(--font-display); }

img { max-width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn-aw {
  border-radius: 999px;
  padding: 0.8rem 1.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 2px solid transparent;
}
.btn-aw-primary { background: var(--aw-maroon); color: #fff; }
.btn-aw-primary:hover, .btn-aw-primary:focus { background: var(--aw-maroon-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--aw-shadow-hover); }
.btn-aw-gold { background: var(--aw-gold); color: #2b2118; }
.btn-aw-gold:hover, .btn-aw-gold:focus { background: var(--aw-gold-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--aw-shadow-hover); }
.btn-aw-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-aw-outline:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn-aw-outline-dark { background: transparent; color: var(--aw-maroon); border-color: var(--aw-maroon); }
.btn-aw-outline-dark:hover { background: var(--aw-maroon); color: #fff; }

/* ---------- Header ---------- */
.aw-topbar { background: var(--aw-maroon-dark); color: #f3e7d3; font-size: 0.82rem; }
.aw-topbar a { color: #f3e7d3; text-decoration: none; }
.aw-navbar { background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); box-shadow: 0 2px 14px rgba(43,33,24,0.06); }
.aw-brand { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--aw-maroon); text-decoration: none; letter-spacing: 0.04em; }
.aw-brand span { color: var(--aw-gold); }
.aw-nav-link { color: var(--aw-ink); font-weight: 500; margin: 0 0.35rem; border-radius: 999px; padding: 0.5rem 0.9rem !important; }
.aw-nav-link:hover, .aw-nav-link.active { color: var(--aw-maroon); background: var(--aw-maroon-light); }
.aw-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--aw-ink); text-decoration: none; }
.aw-icon-btn:hover { background: var(--aw-maroon-light); color: var(--aw-maroon); }
.aw-cart-count { position: absolute; top: 2px; right: 0; background: var(--aw-gold); color: #2b2118; font-size: 0.68rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ---------- Hero ---------- */
.aw-hero {
  background: linear-gradient(120deg, var(--aw-navbg) 0%, var(--aw-maroon) 55%, #a04a2e 100%);
  color: #fff; border-radius: 0 0 32px 32px; overflow: hidden; position: relative;
}
.aw-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(201,162,39,0.35), transparent 55%); pointer-events: none; }
.aw-hero h1 { font-size: 2.1rem; line-height: 1.2; }
.aw-hero .lead { color: #f3e7d3; }
.aw-hero-badge { display: inline-block; background: rgba(201,162,39,0.18); border: 1px solid rgba(201,162,39,0.6); color: #f3df9f; border-radius: 999px; padding: 0.3rem 1rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.aw-hero-art { position: relative; z-index: 1; }
.aw-hero-frame { border: 10px solid #fff; border-radius: 18px; box-shadow: var(--aw-shadow-hover); transform: rotate(2deg); }

/* ---------- Sections ---------- */
.aw-section { padding: 3.2rem 0; }
.aw-section-title { font-size: 1.7rem; margin-bottom: 0.4rem; }
.aw-section-sub { color: var(--aw-muted); margin-bottom: 1.8rem; }
.aw-eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; color: var(--aw-gold-dark); font-weight: 700; }

/* ---------- Cards ---------- */
.aw-card { background: var(--aw-card); border: none; border-radius: var(--aw-radius); box-shadow: var(--aw-shadow); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; height: 100%; }
.aw-card:hover { transform: translateY(-5px); box-shadow: var(--aw-shadow-hover); }
.aw-card .card-body { padding: 1.1rem 1.2rem 1.3rem; }
.aw-product-img { aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.aw-product-name { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 0.35rem; }
.aw-product-name a { color: var(--aw-ink); text-decoration: none; }
.aw-product-name a:hover { color: var(--aw-maroon); }
.aw-price { font-weight: 700; color: var(--aw-maroon); font-size: 1.1rem; }
.aw-price-old { color: var(--aw-muted); text-decoration: line-through; font-size: 0.9rem; margin-left: 0.4rem; }
.aw-off-badge { position: absolute; top: 12px; left: 12px; background: var(--aw-gold); color: #2b2118; font-weight: 700; font-size: 0.75rem; padding: 0.25rem 0.7rem; border-radius: 999px; }
.aw-type-badge { position: absolute; top: 12px; right: 12px; background: rgba(43,33,24,0.82); color: #fff; font-size: 0.7rem; padding: 0.25rem 0.7rem; border-radius: 999px; }

/* ---------- Category cards ---------- */
.aw-cat-card { position: relative; border-radius: var(--aw-radius); overflow: hidden; display: block; text-decoration: none; box-shadow: var(--aw-shadow); }
.aw-cat-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform 0.4s ease; }
.aw-cat-card:hover img { transform: scale(1.06); }
.aw-cat-card .aw-cat-label { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(30,15,10,0.85)); color: #fff; font-family: var(--font-display); font-size: 1.15rem; }

/* ---------- Steps ---------- */
.aw-step { text-align: center; padding: 1.4rem 1rem; background: #fff; border-radius: var(--aw-radius); box-shadow: var(--aw-shadow); height: 100%; }
.aw-step-num { width: 46px; height: 46px; border-radius: 50%; background: var(--aw-maroon); color: #fff; font-family: var(--font-display); font-size: 1.25rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.7rem; }
.aw-step h3 { font-size: 1.05rem; }

/* ---------- Why us / features ---------- */
.aw-feature { display: flex; gap: 0.9rem; align-items: flex-start; background: #fff; border-radius: var(--aw-radius); padding: 1.1rem 1.2rem; box-shadow: var(--aw-shadow); height: 100%; }
.aw-feature-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; background: var(--aw-maroon-light); color: var(--aw-maroon); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.aw-feature h3 { font-size: 1rem; margin: 0 0 0.2rem; }
.aw-feature p { font-size: 0.9rem; color: var(--aw-muted); margin: 0; }

/* ---------- Testimonials ---------- */
.aw-review { background: #fff; border-radius: var(--aw-radius); box-shadow: var(--aw-shadow); padding: 1.4rem; height: 100%; }
.aw-stars { color: var(--aw-gold); letter-spacing: 0.1em; }

/* ---------- FAQ ---------- */
.aw-faq .accordion-item { border: none; border-radius: 12px !important; overflow: hidden; margin-bottom: 0.7rem; box-shadow: var(--aw-shadow); }
.aw-faq .accordion-button { font-weight: 600; color: var(--aw-ink); }
.aw-faq .accordion-button:not(.collapsed) { background: var(--aw-maroon-light); color: var(--aw-maroon); box-shadow: none; }
.aw-faq .accordion-button:focus { box-shadow: none; border-color: transparent; }

/* ---------- CTA banner ---------- */
.aw-cta { background: linear-gradient(120deg, var(--aw-maroon-dark), var(--aw-maroon)); border-radius: 24px; color: #fff; }

/* ---------- Footer ---------- */
.aw-footer { background: var(--aw-footerbg); color: #d9c8b4; margin-top: 2rem; }
.aw-footer h5 { color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1rem; }
.aw-footer a { color: #d9c8b4; text-decoration: none; }
.aw-footer a:hover { color: var(--aw-gold); }
.aw-footer ul { list-style: none; padding: 0; }
.aw-footer ul li { margin-bottom: 0.5rem; font-size: 0.93rem; }
.aw-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.aw-social a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); align-items: center; justify-content: center; margin-right: 0.5rem; color: #fff; text-decoration: none; }
.aw-social a:hover { background: var(--aw-gold); color: #2b2118; }

/* ---------- Forms ---------- */
.form-control, .form-select { border-radius: 12px; padding: 0.7rem 1rem; border-color: #e5d9c8; }
.form-control:focus, .form-select:focus { border-color: var(--aw-maroon); box-shadow: 0 0 0 0.2rem rgba(123,45,38,0.12); }
.form-label { font-weight: 600; font-size: 0.92rem; }

/* ---------- Misc ---------- */
.aw-page-hero { background: linear-gradient(120deg, var(--aw-navbg), var(--aw-maroon)); color: #fff; border-radius: 0 0 28px 28px; padding: 2.6rem 0; }
.aw-empty { text-align: center; padding: 3rem 1rem; color: var(--aw-muted); }
.aw-empty .display-1 { font-size: 3.4rem; }
#awBackTop { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--aw-maroon); color: #fff; border: none; display: none; align-items: center; justify-content: center; box-shadow: var(--aw-shadow-hover); z-index: 1040; }

/* Subtle reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Larger screens ---------- */
@media (min-width: 768px) {
  .aw-hero h1 { font-size: 3rem; }
  .aw-section { padding: 4.5rem 0; }
  .aw-section-title { font-size: 2.1rem; }
}
@media (min-width: 992px) {
  .aw-hero h1 { font-size: 3.4rem; }
}

/* ==========================================================================
   Artwani — Phase 2 additions: catalog, product page, cart
   ========================================================================== */

.aw-breadcrumb { --bs-breadcrumb-divider: '›'; }
.aw-breadcrumb a { color: var(--aw-maroon); text-decoration: none; }
.aw-breadcrumb .breadcrumb-item.active { color: var(--aw-muted); }

.aw-product-title { font-size: 1.7rem; line-height: 1.25; }
.aw-price-lg { font-size: 1.9rem; font-weight: 700; color: var(--aw-maroon); }

.aw-gallery .aw-thumb { width: 76px; height: 76px; object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: 0.75; }
.aw-gallery .aw-thumb.active, .aw-gallery .aw-thumb:hover { border-color: var(--aw-maroon); opacity: 1; }

/* Size pills */
.aw-size-pill input { position: absolute; opacity: 0; pointer-events: none; }
.aw-size-pill span { display: inline-block; border: 2px solid #e5d9c8; border-radius: 999px; padding: 0.45rem 1.1rem; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.15s ease; background: #fff; }
.aw-size-pill input:checked + span { border-color: var(--aw-maroon); background: var(--aw-maroon-light); color: var(--aw-maroon); font-weight: 700; }
.aw-size-pill input:focus-visible + span { outline: 2px solid var(--aw-maroon); outline-offset: 2px; }

/* Colour swatches */
.aw-color-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.aw-color-swatch span { display: inline-block; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #ddd; cursor: pointer; transition: transform 0.15s ease; }
.aw-color-swatch input:checked + span { border-color: var(--aw-maroon); box-shadow: 0 0 0 2px var(--aw-maroon-light); transform: scale(1.12); }

/* Quantity stepper */
.aw-qty { display: inline-flex; align-items: stretch; border: 2px solid #e5d9c8; border-radius: 999px; overflow: hidden; background: #fff; }
.aw-qty-btn { width: 44px; border: none; background: transparent; font-size: 1.3rem; color: var(--aw-maroon); }
.aw-qty-btn:hover { background: var(--aw-maroon-light); }
.aw-qty input { width: 52px; border: none; text-align: center; font-weight: 700; }
.aw-qty input::-webkit-inner-spin-button { display: none; }
.aw-qty input:focus { outline: none; }

.aw-trust { display: flex; gap: 1.1rem; flex-wrap: wrap; color: var(--aw-muted); }
.aw-trust i { color: var(--aw-maroon); margin-right: 0.25rem; }

.aw-review-mini { border-bottom: 1px solid #eee3d3; padding: 0.8rem 0; }
.aw-review-mini:last-of-type { border-bottom: none; }

/* Filters */
.aw-filters .aw-filter-block { background: #fff; border-radius: var(--aw-radius); box-shadow: var(--aw-shadow); padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.aw-filter-block h3 { font-size: 0.95rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.7rem; }
.aw-filter-block ul a { color: var(--aw-ink); text-decoration: none; font-size: 0.93rem; display: block; padding: 0.22rem 0; }
.aw-filter-block ul a:hover, .aw-filter-block ul a.fw-bold { color: var(--aw-maroon); }
.aw-pill { display: inline-block; border: 2px solid #e5d9c8; background: #fff; color: var(--aw-ink); border-radius: 999px; padding: 0.32rem 0.95rem; font-size: 0.85rem; text-decoration: none; transition: all 0.15s ease; }
.aw-pill:hover { border-color: var(--aw-maroon); color: var(--aw-maroon); }
.aw-pill.active { background: var(--aw-maroon); border-color: var(--aw-maroon); color: #fff; font-weight: 600; }
.aw-sort { width: auto; display: inline-block; border-radius: 999px; }

/* Pagination */
.aw-pagination .page-link { color: var(--aw-maroon); border-radius: 10px; margin: 0 2px; border-color: #e5d9c8; }
.aw-pagination .page-item.active .page-link { background: var(--aw-maroon); border-color: var(--aw-maroon); }

/* Toast */
.aw-toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2000; }

@media (min-width: 768px) {
  .aw-product-title { font-size: 2.1rem; }
}

/* ==========================================================================
   Artwani — Phase 3 additions: customization studio
   ========================================================================== */

.aw-step-card { background: #fff; border-radius: var(--aw-radius); box-shadow: var(--aw-shadow); padding: 1.4rem; margin-bottom: 1.2rem; }
.aw-step-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.aw-step-head h2 { font-size: 1.2rem; margin: 0; }
.aw-step-head small { font-family: var(--font-body); }

/* Photo upload slots */
.aw-photo-slot { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f4ede1; }
.aw-photo-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 2px dashed #d8c6a8; border-radius: 14px; color: var(--aw-muted); cursor: pointer; transition: all 0.15s ease; }
.aw-photo-empty:hover { border-color: var(--aw-maroon); color: var(--aw-maroon); background: #faf3e6; }
.aw-photo-empty i { font-size: 1.6rem; }
.aw-photo-empty span { font-weight: 600; font-size: 0.9rem; }
.aw-photo-empty small { font-size: 0.75rem; }
.aw-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aw-photo-remove { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(30, 15, 10, 0.8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.aw-photo-remove:hover { background: #b3261e; }
.aw-photo-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(250, 246, 239, 0.85); color: var(--aw-maroon); }

/* Sticky bottom bar */
.aw-sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(8px); border-top: 1px solid #eee0cb; box-shadow: 0 -8px 24px rgba(43, 33, 24, 0.08); padding: 0.7rem 0; }
.aw-sticky-bar .btn { padding: 0.65rem 1.3rem; }
.aw-customizer { padding-bottom: 1rem; }

#awPreview { background: #f4ede1; }

@media (max-width: 575px) {
  .aw-sticky-bar .btn { padding: 0.6rem 0.9rem; font-size: 0.92rem; }
  .aw-sticky-bar .aw-price-lg { font-size: 1.4rem; }
}

/* ==========================================================================
   Artwani — Phase 4 additions: checkout, timeline, payment, success
   ========================================================================== */

/* Order timeline */
.aw-timeline { display: flex; flex-direction: column; gap: 0; }
.aw-tl-step { display: flex; align-items: center; gap: 0.9rem; padding: 0.55rem 0; position: relative; }
.aw-tl-step:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 38px; bottom: -6px; width: 2px; background: #eee0cb; }
.aw-tl-step.done:not(:last-child)::before { background: var(--aw-maroon); }
.aw-tl-dot { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: #eee0cb; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; z-index: 1; }
.aw-tl-step.done .aw-tl-dot { background: var(--aw-maroon); }
.aw-tl-step.current .aw-tl-dot { background: var(--aw-gold); }
.aw-tl-step.todo .aw-tl-label { color: var(--aw-muted); }
.aw-tl-label { font-weight: 600; font-size: 0.95rem; }
.aw-tl-step.current .aw-tl-label { color: var(--aw-maroon); }
.aw-tl-pulse { width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: awPulse 1.4s ease-in-out infinite; }
@keyframes awPulse { 0%, 100% { transform: scale(0.7); opacity: 0.7; } 50% { transform: scale(1.15); opacity: 1; } }

/* Success page */
.aw-success-check { width: 84px; height: 84px; border-radius: 50%; background: #1e7e34; color: #fff; font-size: 2.6rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(30, 126, 52, 0.3); }
.aw-order-num { display: inline-block; background: var(--aw-maroon-light); color: var(--aw-maroon); font-weight: 700; font-size: 1.15rem; border-radius: 999px; padding: 0.4rem 1.4rem; margin: 0.6rem 0 1rem; letter-spacing: 0.04em; }

/* Checkout */
#awCheckoutForm .aw-step-num { vertical-align: -8px; margin-right: 0.4rem; }

@media (max-width: 575px) {
  .aw-tl-label { font-size: 0.88rem; }
}

/* Payment method options (checkout) */
.aw-pay-option { border: 2px solid #eee0cb; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.aw-pay-option:hover { border-color: var(--aw-gold); }
.aw-pay-option.aw-pay-selected { border-color: var(--aw-maroon); background: var(--aw-maroon-light); }
.aw-pay-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--aw-maroon); flex: 0 0 44px; box-shadow: 0 2px 8px rgba(43,33,24,0.08); }

/* v9.10: new header + product page design */
.aw-header{background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:1040}
.aw-brand-new{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--aw-maroon)}
.aw-logo-box{width:44px;height:44px;border:2px solid var(--aw-maroon);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;color:var(--aw-maroon)}
.aw-logo-text{font-family:'Playfair Display',serif;font-weight:700;font-size:1.35rem;letter-spacing:.14em;color:var(--aw-maroon);line-height:1}
.aw-logo-text small{display:block;font-family:'Inter',sans-serif;font-weight:500;font-size:.55rem;letter-spacing:.28em;color:#a08a7a;margin-top:2px}
.aw-search .form-control{border-radius:999px 0 0 999px;border:1px solid #ddd;padding:.6rem 1.2rem}
.aw-search .btn{background:var(--aw-salebadge);color:#fff;border-radius:0 999px 999px 0;padding:.6rem 1.3rem}
.aw-search .btn:hover{background:var(--aw-maroon);color:#fff}
.aw-hicons a{color:#333;text-decoration:none;font-size:.72rem}
.aw-hicons a:hover{color:var(--aw-salebadge)}
.aw-count{position:absolute;top:-6px;right:-8px;background:var(--aw-salebadge);color:#fff;font-size:.62rem;min-width:17px;height:17px;border-radius:999px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.aw-navrow{background:var(--aw-navbg,var(--aw-maroon))}
.aw-allcats{background:transparent;border:none;color:#fff;font-weight:600;padding:.7rem 1rem}
.aw-allcats:hover{color:#ffd9a8}
.aw-navlink{color:#f5e9e2;text-decoration:none;padding:.7rem 1rem;font-size:.92rem}
.aw-navlink:hover{color:#ffd9a8}
.aw-trustbar{background:#fdf8f3;border-bottom:1px solid #f0e6da;padding:.5rem 0}
.aw-trust-item{font-size:.82rem;color:#5a4a3f;white-space:nowrap}
.aw-trust-item i{color:var(--aw-salebadge)}

/* v9.10: product page */
.aw-pd-title{font-family:'Playfair Display',serif;font-weight:700;font-size:1.7rem}
.aw-pd-price{font-size:1.9rem;font-weight:700;color:var(--aw-salebadge)}
.aw-pd-mrp{color:#999;text-decoration:line-through;font-size:1.15rem}
.aw-pd-off{background:var(--aw-salebadge);color:#fff;font-size:.75rem;font-weight:700;border-radius:999px;padding:.25rem .7rem}
.aw-badge{display:inline-block;font-size:.72rem;font-weight:600;border-radius:999px;padding:.28rem .75rem;margin-right:.4rem;margin-bottom:.4rem}
.aw-badge-gold{background:var(--aw-buybg);color:var(--aw-buytext)}
.aw-badge-green{background:#d9f2e3;color:#146c43}
.aw-sizebtn{border:1.5px solid #ddd;background:#fff;border-radius:10px;padding:.6rem 1rem;font-size:.88rem;cursor:pointer;min-width:150px;text-align:center}
.aw-sizebtn.active{border-color:var(--aw-salebadge);color:var(--aw-salebadge);font-weight:600;background:#fdf3f1}
.aw-colordot{width:44px;height:44px;border-radius:50%;border:2px solid #ddd;cursor:pointer;position:relative}
.aw-colorbtn.active .aw-colorbtn-dot,.aw-colorbtn.active{outline:none}
.aw-colorbtn.active .aw-colorwrap{border-color:var(--aw-salebadge);box-shadow:0 0 0 2px var(--aw-salebadge)33}
.aw-colorwrap{width:48px;height:48px;border-radius:50%;padding:2px;border:2px solid transparent;display:inline-block}
.aw-colorwrap span{display:block;width:100%;height:100%;border-radius:50%}
.aw-qtybtn{width:38px;height:38px;border:1px solid #ddd;background:#fff;font-size:1.1rem}
.aw-trust4{display:flex;gap:.5rem;margin-top:1rem}
.aw-trust4 div{flex:1;text-align:center;font-size:.68rem;color:#5a4a3f;border:1px solid #f0e6da;border-radius:10px;padding:.6rem .2rem;background:#fff}
.aw-trust4 i{font-size:1.25rem;color:var(--aw-salebadge);display:block;margin-bottom:.25rem}
.aw-pd-tabs .nav-link{color:#5a4a3f;font-weight:600;border:none;border-bottom:2.5px solid transparent}
.aw-pd-tabs .nav-link.active{color:var(--aw-salebadge);border-bottom-color:var(--aw-salebadge);background:none}
.aw-thumb2{width:72px;height:72px;object-fit:cover;border-radius:10px;border:2px solid transparent;cursor:pointer}
.aw-thumb2.active{border-color:var(--aw-salebadge)}
.aw-mainimg{border-radius:14px;width:100%;aspect-ratio:1;object-fit:cover;background:#f7f2ec}
.aw-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);background:#fff;border:none;width:38px;height:38px;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.18);font-size:1.1rem;z-index:2}
.aw-check li{list-style:none;margin-bottom:.35rem;font-size:.92rem}
.aw-check{padding-left:0}
.aw-check li::before{content:"✓";color:var(--aw-salebadge);font-weight:700;margin-right:.5rem}
@media(max-width:991px){
  .aw-pd-title{font-size:1.35rem}
  .aw-pd-price{font-size:1.6rem}
  .aw-trust4{flex-wrap:wrap}
  .aw-trust4 div{flex:1 1 22%}
}

/* ============ v9.11: product engagement pack ============ */
.aw-live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#dc3545;margin-right:5px;animation:awBlink 1.4s infinite}
@keyframes awBlink{0%,100%{opacity:1}50%{opacity:.25}}
.aw-loyalty-strip{background:#fff8e6;border:1px dashed #d9a821;border-radius:10px;padding:.6rem .9rem;font-size:.88rem;color:#6b4e00}
.aw-sold-strip{background:#fff1f0;border:1px solid #f5c2c0;border-radius:10px;padding:.6rem .9rem;font-size:.88rem;color:#a02a20}
.aw-coupon-box{border:1px dashed var(--aw-gold);border-radius:12px;padding:.8rem 1rem;background:#fffdf5}
.aw-coupon-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.45rem 0;border-top:1px solid #f0e6c8}
.aw-coupon-row:first-of-type{border-top:0}
.aw-coupon-code{font-weight:700;letter-spacing:1px;background:var(--aw-maroon);color:#fff;border-radius:6px;padding:.2rem .6rem;font-size:.85rem}
.aw-colorwrap.aw-colorphoto{width:44px;height:44px;border-radius:10px;overflow:hidden;padding:0}
.aw-colorwrap.aw-colorphoto img{width:100%;height:100%;object-fit:cover;display:block}
.aw-sp-popup{position:fixed;left:14px;bottom:14px;z-index:1050;max-width:320px;background:#fff;border:1px solid #eee;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.16);padding:.8rem 2rem .8rem .9rem;transform:translateY(20px);opacity:0;transition:all .4s;font-size:.85rem}
.aw-sp-popup.show{transform:translateY(0);opacity:1}
.aw-sp-body{display:flex;gap:.7rem;align-items:flex-start}
.aw-sp-icon{width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#e8f5e9;color:#2e7d32;display:flex;align-items:center;justify-content:center;font-size:1.1rem}
.aw-sp-close{position:absolute;top:4px;right:8px;border:0;background:none;font-size:1.2rem;color:#999;line-height:1}
@media(max-width:576px){.aw-sp-popup{left:10px;right:10px;max-width:none;bottom:10px}}

/* ============ v9.12: pincode box ============ */
.aw-pinbox{border:1px solid #eee;border-radius:14px;padding:.9rem 1rem;background:#fffdf9;max-width:380px}
.aw-pin-icon{width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:var(--aw-maroon-light,#fbe9e7);color:var(--aw-maroon,var(--aw-maroon));display:flex;align-items:center;justify-content:center;font-size:1.05rem}
.aw-pinbox .btn-aw-primary{background:var(--aw-maroon,var(--aw-maroon));border-color:var(--aw-maroon,var(--aw-maroon));color:#fff}

/* ============ v9.13: Why Choose Artwani + sticky gallery ============ */
@media(min-width:992px){
  .aw-pd-gallery{position:sticky;top:165px;align-self:flex-start;z-index:5}
}
.aw-whychoose{background:linear-gradient(180deg,#fdf9f2,#faf5ec);border-radius:20px;padding:2.2rem 1.5rem;margin-left:-.5rem;margin-right:-.5rem}
.aw-wc-title{font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:clamp(1.6rem,4vw,2.4rem);display:flex;align-items:center;justify-content:center;gap:1rem;margin-bottom:.3rem}
.aw-wc-title::before,.aw-wc-title::after{content:'';height:2px;width:min(90px,15vw);background:var(--aw-gold,#c9a227);border-radius:2px}
.aw-wc-dark{color:#2b2118}
.aw-wc-brand{color:var(--aw-maroon,#7b2d26)}
.aw-wc-sub{letter-spacing:.35em;font-size:.75rem;color:#857262;text-transform:uppercase}
.aw-wc-card{background:#fffdf8;border:1px solid #f0e6d2;border-radius:16px;padding:1.4rem 1.2rem;height:100%;text-align:center;box-shadow:0 2px 10px rgba(123,45,38,.05);transition:transform .25s,box-shadow .25s}
.aw-wc-card:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(123,45,38,.12)}
.aw-wc-icon{width:64px;height:64px;border-radius:50%;background:#f7ecd4;color:#8a6d1f;display:inline-flex;align-items:center;justify-content:center;font-size:1.6rem;margin-bottom:.8rem}
.aw-wc-icon.sm{width:52px;height:52px;font-size:1.3rem;margin-bottom:.5rem}
.aw-wc-cardtitle{font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:1.05rem;color:#2b2118;margin-bottom:.4rem;line-height:1.35}
.aw-wc-carddesc{font-size:.85rem;color:#857262;margin:0;line-height:1.55}
.aw-wc-strip{margin-top:1.4rem;background:#fffdf8;border:1px solid #f0e6d2;border-radius:16px;padding:1.2rem;display:flex;gap:1.2rem;align-items:stretch;flex-wrap:wrap}
.aw-wc-badge{background:linear-gradient(135deg,var(--aw-maroon,#7b2d26),#4a1a14);color:#fff;border-radius:14px;padding:1.2rem 1.4rem;display:flex;gap:1rem;align-items:center;flex:1 1 280px;min-width:260px}
.aw-wc-shield{width:64px;height:64px;flex:0 0 64px;border-radius:14px;background:rgba(201,162,39,.18);border:1px solid rgba(201,162,39,.5);display:flex;align-items:center;justify-content:center;font-size:2rem;color:var(--aw-gold,#c9a227)}
.aw-wc-badgetitle{font-size:.85rem;opacity:.85}
.aw-wc-badgecount{font-family:'Playfair Display',Georgia,serif;font-size:1.7rem;font-weight:700;color:var(--aw-gold,#c9a227);line-height:1.1}
.aw-wc-badgesub{font-family:'Playfair Display',Georgia,serif;font-size:1.05rem;margin-bottom:.2rem}
.aw-wc-stars{color:#f5b301;letter-spacing:2px;font-size:.95rem}
.aw-wc-rating{font-size:.75rem;opacity:.75}
.aw-wc-stripitems{flex:3 1 420px;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.aw-wc-stripitem{text-align:center;padding:.6rem .4rem;position:relative}
.aw-wc-stripitem:not(:last-child)::after{content:'';position:absolute;right:-.5rem;top:15%;height:70%;width:1px;background:#eee0c8}
.aw-wc-striptitle{font-weight:700;font-size:.88rem;color:var(--aw-maroon,#7b2d26);margin-bottom:.25rem;line-height:1.3}
.aw-wc-stripdesc{font-size:.76rem;color:#857262;margin:0;line-height:1.5}
@media(max-width:991px){
  .aw-wc-stripitems{grid-template-columns:repeat(2,1fr)}
  .aw-wc-stripitem:nth-child(2)::after{display:none}
}
@media(max-width:575px){
  .aw-whychoose{padding:1.5rem .9rem}
  .aw-wc-strip{flex-direction:column}
  .aw-wc-badge{min-width:0}
}

/* ============ v9.14: add-to-cart popup ============ */
.aw-cartpop-overlay{position:fixed;inset:0;background:rgba(30,18,12,.45);z-index:1060}
.aw-cartpop{position:fixed;top:12%;left:50%;transform:translate(-50%,-16px);z-index:1061;width:min(420px,calc(100vw - 32px));background:#fff;border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.28);padding:1.4rem 1.4rem 1.2rem;opacity:0;transition:all .3s ease;text-align:center}
.aw-cartpop.show{opacity:1;transform:translate(-50%,0)}
.aw-cartpop-x{position:absolute;top:8px;right:12px;border:0;background:none;font-size:1.6rem;color:#555;line-height:1;padding:.2rem .4rem}
.aw-cartpop-head{font-weight:600;font-size:1.02rem;margin-bottom:1rem;display:flex;align-items:center;justify-content:center;gap:.5rem;color:#2b2118}
.aw-cartpop-tick{color:#2e7d32;font-size:1.2rem;font-weight:700}
.aw-cartpop-prod{display:flex;gap:.9rem;align-items:center;text-align:left;margin-bottom:1.2rem}
.aw-cartpop-prod img{width:74px;height:74px;object-fit:cover;border-radius:12px;flex:0 0 74px;background:#f5f0e8}
.aw-cartpop-name{font-weight:600;font-size:.92rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.aw-cartpop-view{display:block;width:100%;border:2px solid var(--aw-maroon,#7b2d26);color:var(--aw-maroon,#7b2d26);border-radius:999px;padding:.75rem;font-weight:600;margin-bottom:.7rem;background:#fff}
.aw-cartpop-view:hover{background:var(--aw-maroon,#7b2d26);color:#fff}
.aw-cartpop-checkout{display:block;width:100%;background:var(--aw-maroon,#7b2d26);color:#fff;border-radius:999px;padding:.75rem;font-weight:600;margin-bottom:.7rem;border:2px solid var(--aw-maroon,#7b2d26)}
.aw-cartpop-checkout:hover{color:#fff;filter:brightness(1.08)}
.aw-cartpop-continue{border:0;background:none;color:var(--aw-maroon,#7b2d26);text-decoration:underline;font-size:.9rem;padding:.3rem}
