:root {
  --primary: #0071a2;
  --primary-dark: #005b83;
  --accent: #ff5722;
  --bg: #f4f6f8;
  --text: #1e252e;
  --muted: #64707d;
  --border: #d9dee3;
  --danger: #c62828;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 10px;
}
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 8px 0;
}
.topbar strong {
  color: var(--primary);
}
.topbar span {
  margin: 0 10px;
}
.header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo span {
  color: var(--accent);
}
.search {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.search input {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 11px 46px 11px 20px;
  font-size: 14px;
  outline: none;
}
.search input:focus {
  box-shadow: 0 0 0 2px var(--accent);
}
.search svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.header-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn-login {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-cart {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cats {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.cats-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
}
.cats a {
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #55606b;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.cats a:hover,
.cats a.active {
  color: var(--accent);
  border-color: var(--accent);
}
.hero {
  margin: 24px 20px;
  border-radius: 12px;
 
  color: #fff;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 87, 34, 0.25);
}
.hero h1 {
  font-size: 36px;
  max-width: 560px;
  line-height: 1.2;
}
.hero p {
  margin: 12px 0 24px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
}
.btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
    transition: 0.2s;
}

.shop-alert {
    width: 100%;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.shop-alert-success {
    background: #ecfdf3;
    border: 1px solid #b7ebc6;
    color: #18794e;
}

.shop-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #e64a19;
}
.btn-blue {
  background: var(--primary);
  color: #fff;
}
.btn-blue:hover {
  background: var(--primary-dark);
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 20px;
}
.service {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.service svg {
  color: var(--primary);
  flex: none;
}
.service h4 {
  font-size: 13px;
}
.service p {
  font-size: 11px;
  color: var(--muted);
}
.section {
 /* margin: 36px 20px;*/
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: 22px;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.card-img {
  position: relative;
  background: #f8f9fb;
  padding: 18px;
  aspect-ratio: 1/1;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}
.name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eef2f5;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
}
.star {
  color: #f5a623;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.old-price {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    margin-left: -8px;
    margin-right: -8px;
}
.card-actions .btn {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 13px;
}
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer h3 {
  font-size: 14px;
  margin-bottom: 14px;
}
.footer p,
.footer li {
  font-size: 13px;
  color: var(--muted);
}
.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}
.pay {
  display: flex;
  gap: 8px;
}
.pay span {
  background: #eef2f5;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #55606b;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 20px;
}
.breadcrumb a:hover {
  color: var(--primary);
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 28px 0;
}
.detail-img {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  position: sticky;
  top: 110px;
}
.detail-cat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}
.detail h1 {
  font-size: 30px;
  margin: 8px 0 10px;
  line-height: 1.25;
}
.detail-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}
.emi {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.emi strong {
  color: var(--primary);
}
.opt-label {
  font-size: 14px;
  font-weight: 600;
  margin: 22px 0 10px;
}
.opt-label span {
  color: var(--muted);
  font-weight: 400;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--border);
  background: #fff;
  color: #5b6773;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s;
}
.chip:hover {
  border-color: var(--primary);
}
.chip.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.desc {
  font-size: 14px;
  color: #4a5561;
  margin-top: 22px;
  line-height: 1.7;
}
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.highlight {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.highlight svg {
  color: var(--primary);
  flex: none;
}
.highlight h4 {
  font-size: 12px;
}
.highlight p {
  font-size: 10.5px;
  color: var(--muted);
}
.stock {
  font-size: 13px;
  font-weight: 600;
  color: #2e7d32;
}
.buy-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}
.qty {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qty button {
  width: 40px;
  height: 44px;
  border: none;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  color: var(--muted);
}
.qty button:hover {
  color: var(--primary);
}
.qty span {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.checkout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  margin: 28px 20px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.panel h2 {
  font-size: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 113, 162, 0.15);
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
}
.pay-option input {
  accent-color: var(--primary);
}
.summary-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.summary-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
}
.summary-item h4 {
  font-size: 13px;
  font-weight: 600;
}
.summary-item p {
  font-size: 12px;
  color: var(--muted);
}
.summary-item .amt {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}
.sum-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 14px;
}
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .checkout {
    grid-template-columns: 1fr;
  }
  .detail-img {
    position: static;
  }
}
@media (max-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search {
    display: none;
  }
  .btn-login {
    display: none;
  }
  .hero {
    padding: 36px 24px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .highlights {
    grid-template-columns: 1fr;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
  .header-inner {
    gap: 12px;
  }
}


#main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
/* ==========================================================
   Hero slider – smooth crossfade, subtle zoom, progress dots
   ========================================================== */


.hero-slider {
    /* Change these two to match your banner size */
    --hero-ratio: 16 / 6;
    --hero-fade: 0.9s;
    --hero-zoom: 7s;
    --hero-radius: 12px;

    position: relative;
    width: 100%;
    aspect-ratio: var(--hero-ratio);
    overflow: hidden;
    border-radius: var(--hero-radius);
    background: #e9ecef;
    isolation: isolate;
    touch-action: pan-y;          /* vertical scroll works, horizontal swipe is ours */
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .hero-slider {
        --hero-ratio: 16 / 9;
        --hero-radius: 8px;
    }
}

/* ---------- Slides ---------- */

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    /* stay visible until the fade-out is finished */
    transition:
        opacity var(--hero-fade) ease,
        visibility 0s linear var(--hero-fade);
}

.hero-slide.active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;                   /* fades in once JS has loaded it */
    transform: scale(1.06);
    /* leaving slide: keep its zoom until it has faded away */
    transition:
        opacity 0.5s ease,
        transform 0s linear var(--hero-fade);
    -webkit-user-drag: none;
    user-select: none;
}

.hero-slide img.is-loaded {
    opacity: 1;
}

/* active slide slowly settles from 1.06 → 1 */
.hero-slide.active img {
    transform: scale(1);
    transition:
        opacity 0.5s ease,
        transform var(--hero-zoom) cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Arrows ---------- */

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(-50%) scale(0.92);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background-color 0.2s ease;
}

.hero-prev { left: 14px; }
.hero-next { right: 14px; }

.hero-slider:hover .hero-arrow,
.hero-slider:focus-within .hero-arrow {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.hero-arrow:active {
    transform: translateY(-50%) scale(0.94);
}

/* touch devices have no hover – keep arrows visible but smaller */
@media (hover: none) {
    .hero-arrow {
        opacity: 0.85;
        transform: translateY(-50%) scale(1);
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .hero-prev { left: 8px; }
    .hero-next { right: 8px; }
}

/* ---------- Dots with progress ---------- */

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transform: translateX(-50%);
}

.hero-dots button {
    position: relative;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.4s ease, background-color 0.3s ease;
}

.hero-dots button:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-dots button.active {
    width: 30px;
}

/* the fill that shows how long until the next slide */
.hero-dots button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
}

.hero-dots button.active::after {
    transform: scaleX(var(--hero-progress, 0));
}

@media (hover: none) {
    .hero-dots { bottom: 8px; padding: 6px 10px; }
    .hero-dots button { width: 10px; height: 10px; }
    .hero-dots button.active { width: 26px; }
}

/* ---------- Focus ---------- */

.hero-arrow:focus-visible,
.hero-dots button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.5);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide.active {
        transition-duration: 0.2s;
    }

    .hero-slide img,
    .hero-slide.active img {
        transform: none;
        transition: opacity 0.2s ease;
    }
}

/* =========================================
   PRODUCT IMAGE
========================================= */

.product-main-image {
    display: block;
    width: 100%;
    margin-top: 14px;
    transition: transform 0.2s ease;
}


/* =========================================
   PRODUCT IMAGE LIST
========================================= */

.product-image-list {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.product-image-item {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
}

.product-image-item:hover {
    border-color: var(--accent);
}

.product-image-item.active {
    border-color: var(--accent);
}

.product-image-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .product-image-list {
        gap: 8px;
    }

    .product-image-item {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }
    
    
     .highlights {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        width: 100%;
    }

    .highlight {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .highlight svg {
        flex: 0 0 20px;
    }

    .highlight h4,
    .highlight p {
        margin: 0;
    }

    .highlight p {
        white-space: nowrap;
    }
    
    

}


.detail-img {
    position: relative;
}

.detail-img > .discount {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 20;
}

@media (max-width: 768px) {
    .detail-img > .discount {
        top: 8px !important;
        left: 8px !important;
        right: auto !important;
        bottom: auto !important;
        font-size: 11px;
        padding: 4px 7px;
        line-height: 1.2;
    }
}




.pd-scope {
    --pd-paper:      #FAF8F4;
    --pd-panel:      #FFFFFF;
    --pd-ink:        #1C2321;
    --pd-ink-soft:   #565F5B;
    --pd-line:       #E7E2D8;
    --pd-teal:       #0E6656;
    --pd-teal-dark:  #0A4D41;
    --pd-teal-tint:  #E7F1EE;
    --pd-coral:      #D6472C;
    --pd-coral-tint: #FBEAE5;
    --pd-gold:       #C79A3C;
    --pd-radius:     14px;
    --pd-radius-sm:  8px;
    --pd-shadow:     0 1px 2px rgba(28,35,33,.05), 0 8px 24px -12px rgba(28,35,33,.18);

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--pd-ink);
    background: var(--pd-paper);
}

.pd-scope * { box-sizing: border-box; }

.pd-scope h1, .pd-scope h2, .pd-scope h3, .pd-scope h4 {
   font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    font-weight: 500;
    line-height: 1.15;
    margin: 0;
    color: var(--pd-ink);
}

.pd-scope a { text-decoration: none; color: inherit; }
.pd-scope button { font-family: inherit; cursor: pointer; }
.pd-scope img { display: block; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .pd-scope * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- shell ---------- */
.pd-scope .pd-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 20px 64px;
}

/* ---------- breadcrumb ---------- */
.pd-scope .pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--pd-ink-soft);
    margin-bottom: 20px;
}
.pd-scope .pd-breadcrumb a:hover { color: var(--pd-teal); }
.pd-scope .pd-breadcrumb .pd-current {
    color: var(--pd-ink);
    font-weight: 600;
}

/* ---------- main layout ---------- */
.pd-scope .pd-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 860px) {
    .pd-scope .pd-detail {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 48px;
        align-items: start;
    }
    .pd-scope .pd-gallery-col { position: sticky; top: 20px; }
}

/* ---------- gallery ---------- */
.pd-scope .pd-gallery { position: relative; }

.pd-scope .pd-discount-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--pd-coral);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 100px;
    letter-spacing: .02em;
}

.pd-scope .pd-main-image-frame {
    aspect-ratio: 1 / 1;
    border-radius: var(--pd-radius);
    background: var(--pd-panel);
    border: 1px solid var(--pd-line);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}
.pd-scope .pd-main-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
    will-change: transform;
}

.pd-scope .pd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}
.pd-scope .pd-thumbs::-webkit-scrollbar { display: none; }
.pd-scope .pd-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: var(--pd-radius-sm);
    border: 1.5px solid var(--pd-line);
    background: var(--pd-panel);
    padding: 4px;
    overflow: hidden;
    transition: border-color .15s ease;
}
.pd-scope .pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-scope .pd-thumb.active,
.pd-scope .pd-thumb:hover { border-color: var(--pd-teal); }
.pd-scope .pd-thumb:focus-visible { outline: 2px solid var(--pd-teal); outline-offset: 2px; }

/* ---------- info column ---------- */
.pd-scope .pd-eyebrow {
    font-size: 13px;
    color: var(--pd-teal-dark);
    background: var(--pd-teal-tint);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 600;
    margin-bottom: 10px;
}

.pd-scope .pd-title {
    font-size: clamp(20px, 4vw, 20px);
    margin-bottom: 10px;
}

.pd-scope .pd-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--pd-ink-soft);
    margin-bottom: 18px;
}
.pd-scope .pd-star { color: var(--pd-gold); font-size: 15px; }
.pd-scope .pd-rating strong { color: var(--pd-ink); font-weight: 700; }

.pd-scope .pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.pd-scope .pd-price {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--pd-ink);
}
.pd-scope .pd-price-old {
    font-size: 17px;
    color: var(--pd-ink-soft);
    text-decoration: line-through;
    text-decoration-color: var(--pd-coral);
}

.pd-scope .pd-emi {
    font-size: 13.5px;
    color: var(--pd-ink-soft);
    margin: 0 0 22px;
}
.pd-scope .pd-emi strong { color: var(--pd-teal-dark); font-weight: 600; }

/* ---------- alerts ---------- */
.pd-scope .pd-alert {
    font-size: 13.5px;
    padding: 10px 14px;
    border-radius: var(--pd-radius-sm);
    margin-bottom: 16px;
    font-weight: 500;
}
.pd-scope .pd-alert-error { background: var(--pd-coral-tint); color: #A03A24; }
.pd-scope .pd-alert-success { background: var(--pd-teal-tint); color: var(--pd-teal-dark); }

/* ---------- option selectors ---------- */
.pd-scope .pd-opt-block { margin-bottom: 20px; }
.pd-scope .pd-opt-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pd-ink);
    margin-bottom: 10px;
}
.pd-scope .pd-opt-label span {
    font-weight: 400;
    color: var(--pd-ink-soft);
}

.pd-scope .pd-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-scope .pd-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--pd-line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color .15s ease, transform .1s ease;
}
.pd-scope .pd-swatch::after {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sw-color, #ccc);
}
.pd-scope .pd-swatch.selected {
    border-color: var(--pd-teal);
    box-shadow: 0 0 0 2px var(--pd-teal-tint);
}
.pd-scope .pd-swatch:hover { transform: translateY(-1px); }
.pd-scope .pd-swatch:focus-visible { outline: 2px solid var(--pd-teal); outline-offset: 2px; }

.pd-scope .pd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-scope .pd-chip {
    padding: 8px 16px;
    border-radius: 100px;
    border: 1.5px solid var(--pd-line);
    background: var(--pd-panel);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--pd-ink);
    transition: all .15s ease;
}
.pd-scope .pd-chip:hover { border-color: var(--pd-teal); }
.pd-scope .pd-chip.selected {
    background: var(--pd-teal);
    border-color: var(--pd-teal);
    color: #fff;
}
.pd-scope .pd-chip:focus-visible { outline: 2px solid var(--pd-teal); outline-offset: 2px; }

/* ---------- highlights (shipping / delivery) ---------- */
.pd-scope .pd-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0;
    padding: 16px;
    background: var(--pd-panel);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
}
@media (max-width: 420px) {
    .pd-scope .pd-highlights { grid-template-columns: 1fr; }
}
.pd-scope .pd-highlight { display: flex; gap: 10px; align-items: flex-start; }
.pd-scope .pd-highlight svg {
    flex: 0 0 auto;
    color: var(--pd-teal);
    margin-top: 2px;
}
.pd-scope .pd-highlight h4 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}
.pd-scope .pd-highlight p {
    font-size: 12.5px;
    color: var(--pd-ink-soft);
    margin: 0;
    line-height: 1.5;
}

/* ---------- stock ---------- */
.pd-scope .pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pd-teal-dark);
    margin-bottom: 18px;
}
.pd-scope .pd-stock::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--pd-teal);
}
.pd-scope .pd-stock.out { color: var(--pd-coral); }
.pd-scope .pd-stock.out::before { background: var(--pd-coral); }

/* ---------- buy row ---------- */
.pd-scope .pd-buy-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
}
.pd-scope .pd-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--pd-line);
    border-radius: var(--pd-radius-sm);
    overflow: hidden;
    background: var(--pd-panel);
}
.pd-scope .pd-qty button {
    width: 38px;
    height: 44px;
    border: none;
    background: transparent;
    font-size: 18px;
    color: var(--pd-ink);
}
.pd-scope .pd-qty button:hover { background: var(--pd-teal-tint); }
.pd-scope .pd-qty span {
    width: 34px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.pd-scope .pd-btn {
    height: 44px;
    padding: 0 22px;
    border-radius: var(--pd-radius-sm);
    border: none;
    font-size: 14.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, transform .1s ease;
    white-space: nowrap;
}
.pd-scope .pd-btn:active { transform: scale(.98); }
.pd-scope .pd-btn-outline {
    background: var(--pd-panel);
    color: var(--pd-teal-dark);
    border: 1.5px solid var(--pd-teal);
    flex: 1;
    min-width: 130px;
}
.pd-scope .pd-btn-outline:hover { background: var(--pd-teal-tint); }
.pd-scope .pd-btn-solid {
    background: var(--pd-teal);
    color: #fff;
    flex: 1;
    min-width: 130px;
}
.pd-scope .pd-btn-solid:hover { background: var(--pd-teal-dark); }
.pd-scope .pd-btn:focus-visible { outline: 2px solid var(--pd-ink); outline-offset: 2px; }

.pd-scope .pd-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--pd-ink-soft);
}
.pd-scope .pd-call strong { color: var(--pd-ink); }
.pd-scope .pd-call:hover { color: var(--pd-teal); }

/* ---------- info tabs ---------- */
.pd-scope .pd-info-section { margin-top: 56px; }
.pd-scope .pd-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1.5px solid var(--pd-line);
}
.pd-scope .pd-tab {
    background: none;
    border: none;
    padding: 0 0 14px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--pd-ink-soft);
    border-bottom: 2px solid transparent;
    margin-bottom: -1.5px;
    transition: color .15s ease;
}
.pd-scope .pd-tab.selected { color: var(--pd-ink); border-bottom-color: var(--pd-teal); }
.pd-scope .pd-tab:hover { color: var(--pd-ink); }

.pd-scope .pd-tab-panel { padding-top: 28px; }
.pd-scope .pd-tab-panel h2 {
    font-size: 16px;
    margin-bottom: 14px;
}
.pd-scope .pd-tab-panel .pd-desc-body {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--pd-ink-soft);
    max-width: 68ch;
}

/* ---------- reviews ---------- */
.pd-scope .pd-review {
    display: flex;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--pd-line);
}
.pd-scope .pd-review:first-child { padding-top: 0; }
.pd-scope .pd-avatar {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--pd-teal-tint);
    color: var(--pd-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.pd-scope .pd-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.pd-scope .pd-review-head strong { font-size: 14px; }
.pd-scope .pd-review-head time { font-size: 12.5px; color: var(--pd-ink-soft); }
.pd-scope .pd-review-rating { font-size: 13px; color: var(--pd-gold); margin-bottom: 6px; }
.pd-scope .pd-review p { font-size: 14px; color: var(--pd-ink-soft); line-height: 1.6; margin: 0; }

.pd-scope .pd-empty-reviews {
    padding: 36px 0;
    text-align: center;
}
.pd-scope .pd-empty-reviews h3 { font-size: 18px; margin-bottom: 6px; }
.pd-scope .pd-empty-reviews p { font-size: 13.5px; color: var(--pd-ink-soft); margin: 0; }

.pd-scope .pd-show-more { text-align: center; margin-top: 26px; }

/* ---------- related products ---------- */
.pd-scope .pd-related { margin-top: 56px; }
.pd-scope .pd-related-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
    gap: 12px;
}
.pd-scope .pd-related-head span {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pd-teal-dark);
    display: block;
    margin-bottom: 4px;
}
.pd-scope .pd-related-head h2 { font-size: 24px; }
.pd-scope .pd-related-head a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pd-teal-dark);
    white-space: nowrap;
}
.pd-scope .pd-related-head a:hover { color: var(--pd-teal); }

.pd-scope .pd-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 640px) {
    .pd-scope .pd-related-grid { grid-template-columns: repeat(4, 1fr); }
}

.pd-scope .pd-card {
    background: var(--pd-panel);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    overflow: hidden;
    transition: border-color .15s ease;
}
.pd-scope .pd-card:hover { border-color: var(--pd-teal); }
.pd-scope .pd-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    background: #F1EEE6;
}
.pd-scope .pd-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.pd-scope .pd-card:hover .pd-card-img img { transform: scale(1.05); }
.pd-scope .pd-card-body { padding: 12px; }
.pd-scope .pd-card-brand {
    font-size: 11.5px;
    color: var(--pd-ink-soft);
    margin-bottom: 2px;
    display: block;
}
.pd-scope .pd-card-name {
    font-size: 13.5px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    min-height: 34px;
}
.pd-scope .pd-card-name:hover { color: var(--pd-teal); }
.pd-scope .pd-card-rating {
    font-size: 12px;
    color: var(--pd-ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 6px;
}
.pd-scope .pd-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.pd-scope .pd-card-price { font-weight: 700; font-size: 15px; }
.pd-scope .pd-card-price-old {
    font-size: 12px;
    color: var(--pd-ink-soft);
    text-decoration: line-through;
}
.pd-scope .pd-card-actions .pd-btn {
    width: 100%;
    height: 38px;
    font-size: 13px;
}

/* ---------- mobile sticky buy bar ---------- */
.pd-scope .pd-mobile-bar { display: none; }
@media (max-width: 640px) {
    .pd-scope .pd-mobile-bar {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 40;
        background: var(--pd-panel);
        border-top: 1px solid var(--pd-line);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        gap: 10px;
        align-items: center;
        box-shadow: 0 -8px 24px -12px rgba(28,35,33,.18);
    }
    .pd-scope .pd-mobile-bar .pd-mobile-price {
        font-family: 'Fraunces', serif;
        font-weight: 600;
        font-size: 18px;
        flex: 0 0 auto;
    }
    .pd-scope .pd-desktop-buy-row { display: none; }
    .pd-scope .pd-container { padding-bottom: 96px; }
}
@media (min-width: 641px) {
    .pd-scope .pd-mobile-bar { display: none !important; }
}

