@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

/* ─────────────────────────────────────────────
   1. CSS VARIABLES / DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  --bg:          #fbfaf7;
  --surface:     #ffffff;
  --ink:         #1a1a1a;
  --ink-2:       #4a4a4a;
  --muted:       #8a8a8a;
  --line:        #e7e3dc;
  --accent:      #c8651f;       /* warm terracotta */
  --accent-ink:  #8a3f08;
  --brand:       #1f3a8a;       /* Wall2Roof blue  */
  --gold:        #c9a66b;
  --success:     #1f7a4c;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 10px 30px rgba(20, 20, 20, .06);
  --shadow-lg:   0 20px 50px rgba(20, 20, 20, .10);
}

/* ─────────────────────────────────────────────
   2. BASE / RESET (scoped to product page only)
───────────────────────────────────────────── */
.product-layout *,
.product-layout *::before,
.product-layout *::after {
  box-sizing: border-box;
}

.product-layout img {
  max-width: 100%;
  display: block;
}

/* ─────────────────────────────────────────────
   3. PRODUCT LAYOUT GRID
───────────────────────────────────────────── */
.product-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  padding: 28px 24px 64px;
  background: var(--bg);
}

/* ─────────────────────────────────────────────
   4. GALLERY
───────────────────────────────────────────── */
.gallery {
  position: sticky;
  top: 90px;
  align-self: start;
}

.gallery__main {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .6s ease;
}

.gallery__main:hover img {
  transform: scale(1.03);
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 100px;
  z-index: 2;
}

.badge--bestseller {
  background: var(--accent);
}

.gallery__zoom {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.gallery__zoom svg {
  width: 18px;
  height: 18px;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--surface);
  aspect-ratio: 1;
  transition: border-color .2s;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.is-active {
  border-color: var(--ink);
}

.thumb:hover {
  border-color: var(--muted);
}

/* ─────────────────────────────────────────────
   5. PRODUCT INFO
───────────────────────────────────────────── */
.product-info__eyebrow {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

/* High-specificity rule to beat Magento's base h1 styles */
.product-layout .product-info .product-info__title,
h1.product-info__title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 33.6px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  margin: 0 0 14px !important;
  color: var(--ink) !important;
  letter-spacing: -0.336px !important;
}

.product-info__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Stars */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--gold);
  font-size: 16px;
}

.stars .rating-num {
  color: var(--ink);
  font-weight: 600;
  margin-left: 6px;
  font-size: 13px;
}

.reviews-link {
  text-decoration: underline;
  color: var(--ink-2);
}

.dot {
  opacity: .5;
}

/* Price row */
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.price-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

/* Override Magento default price styling */
.price-row .price-box .price {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--ink);
}

.price-row .price-box .old-price .price {
  font-size: 1rem;
  color: var(--muted);
  text-decoration: line-through;
  font-family: inherit;
  font-weight: 400;
}

.price-current {
  font-family: 'Playfair Display', serif;
  font-size: 36.8px;
  font-weight: 600;
  color: var(--ink);
}

.cents {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 500;
}

.price-compare {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1rem;
}

.price-save {
  background: #fdebd8;
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  margin-left: 10px;
  border-radius: 100px;
}

/* Stock pill */
.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
}

.stock-pill.in-stock {
  color: var(--success);
  background: #e8f5ee;
}

.stock-pill.out-of-stock {
  color: #8a0808;
  background: #fdebd8;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(31, 122, 76, .15);
}

.short-desc {
  font-size: 15.5px;
  color: var(--ink-2);
  margin: 0 0 20px;
  line-height: 1.6;
}

/* kamal*/
.gst-text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #565959;
  font-weight: 400;
}

.gst-text strong {
  color: #111827;
  font-weight: 600;
}

.gst-text .gst-amount {
  color: #111827;
  font-weight: 600;
}


.box_container .boxes {
    font-family: system-ui;
    /* display: table-caption; */
	display: block;
    width: 100%;
}
.box_container .box {
    margin: 0 0 10px 0;
    width: 100%;
    float: none;
}
.box_container .box .title {
    margin: 0 0 -5px 0;
}
.box_container .box .title label {
    color: #333333;
    font-size: 19px;
    font-weight: 600;
    text-transform: capitalize;
}
.box_container .box .tabs {
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
.box_container .box .tabs > .inner_box {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    border: 2px solid #999;
    padding: 0 2px;
    border-radius: 5px;
    /* min-width: 224px; */
    min-width: 80px;
    align-items: center;
    height: 40px;
}
.box_container .box .tabs.more {
    flex-wrap: wrap;
}
.box_container .box .tabs.more > .inner_box {
    height: 40px;
    margin-bottom: 10px !important;
}
/* done by dheeraj */
.box_container .box .tabs.no-more {
    flex-wrap: wrap !important;
}
.box_container .box .tabs.no-more > .inner_box {
    min-width: 160px;
    height: 50px;
    margin-bottom: 10px !important;
}
.box_container .box .tabs.no-more > .inner_box:not(:last-child) {
    margin: 0 7px 0 0;
}
/* end */
.box_container .box .tabs.more > .inner_box:not(:last-child) {
    margin: 0 20px 0 0;
}
.box_container .inner_box .values {
    display: inline-flex;
    align-items: center;
    width: 100%;
    flex-direction: column;
}
.box_container .inner_box .values label {
    color: #333;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
}
.box_container .inner_box .values label.option {
    text-transform: capitalize;
    font-size: 15px;
    /* position: absolute;
    margin: -11px 0 0 0; */
    text-align:center;
    line-height: normal;
}
.box_container .inner_box .values label.price {
    color: #008000;
    /* display: none; */
    margin: 0px 0 0px 0;
}
.box_container .box .tabs > .inner_box.selected {
    /* border-color: #e67e22; */
    background: #fff1f2;
    color: #d9232d;
    border: 1px solid #d9232d;
}
.box_container .box .tabs > .inner_box:not(:last-child) {
    margin: 0 20px 0 0;
}
.box_container .inner_box.selected .values label.option {
    position: unset;
    margin: 0;
}
/* .box_container .inner_box.selected .values label.option:before {
    content: '✓';
    color: #e67e22;
    margin-right: 5px;
    font-weight: bolder;
} */
.box_container .box .tabs > .inner_box.selected:hover {
    box-shadow: 0px 0px 4px 0px #e67e22;
}
.box_container .box .tabs > .inner_box.disabled {
    cursor: not-allowed;
    border-color: #99999950;
}
.box_container .box .tabs > .inner_box.disabled:hover {
    box-shadow: none;
}
.box_container .inner_box.disabled .values label {
    cursor: not-allowed;
	color: #33333350;
}
.box_container .inner_box .values label.tip {
    position: absolute;
    width: 175px;
    text-align: center;
    padding: 5px;
    background-color: white;
    border: 1px solid #333;
    display: none;
    align-items: center;
    justify-content: center;
	font-size: 12px;
	color: #333 !important;
}
.box_container .box .tabs > .inner_box:hover {
    /* box-shadow: 3px 3px 4px 1px #999; */
}
.box_container .inner_box:hover .values label.price {
	display: block;
}
@media(max-width: 500px) {
	.box_container .inner_box .values label.price {
		display: block;
	}
	.product-info-main .box_container {
	    display: grid;
		justify-content: center;
	}
}



/* ─────────────────────────────────────────────
   6. SIGNATURE CARD
───────────────────────────────────────────── */
.signature-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff7ea 0%, #fdebd8 100%);
  border: 1px solid #f1d9b4;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 26px;
  position: relative;
  overflow: hidden;
}

.signature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(200, 101, 31, .08), transparent 60%);
  pointer-events: none;
}

.signature-card__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.signature-card__mark svg {
  width: 22px;
  height: 22px;
}

.signature-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}

.signature-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

.signature-card em {
  color: var(--accent-ink);
  font-style: normal;
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   7. KEY FEATURES GRID
───────────────────────────────────────────── */
.key-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.key-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.key-features svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.key-features strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.key-features span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   8. OPTION SWATCHES / SELECTS
───────────────────────────────────────────── */
.option-group {
  margin-bottom: 22px;
}

.option-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
}

.option-label span {
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 6px;
}

.swatches {
  display: flex;
  gap: 10px;
}

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 2px;
  cursor: pointer;
  background: transparent;
  transition: border-color .2s;
}

.swatch::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}

.swatch.is-active {
  border-color: var(--ink);
}

/* Magento swatch overrides */
.swatch-option {
  border-radius: 50% !important;
  border: 2px solid transparent !important;
  transition: border-color .2s !important;
}

.swatch-option.selected,
.swatch-option:hover {
  border-color: var(--ink) !important;
  outline: none !important;
}

/* ─────────────────────────────────────────────
   9. BUY ROW (QTY + BUTTONS)
───────────────────────────────────────────── */
.buy-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}

/* Qty control */
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.qty__btn {
  background: none;
  border: none;
  width: 44px;
  height: 54px;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink-2);
  transition: background .15s;
}

.qty__btn:hover {
  background: var(--bg);
}

.qty__input,
#qty {
  width: 44px;
  height: 54px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button,
#qty::-webkit-outer-spin-button,
#qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .2s;
  font-family: inherit;
  text-decoration: none;
  line-height: 1;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--primary,
#product-addtocart-button {
  background: var(--ink) !important;
  color: #fff !important;
  padding: 0 28px;
  height: 54px;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.btn--primary:hover,
#product-addtocart-button:hover {
  background: #000 !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--lg {
  flex: 1;
}

.btn--ghost {
  background: var(--surface);
  border: 1px solid var(--line) !important;
  color: var(--ink);
  height: 54px;
  padding: 0 18px;
}

.btn--ghost:hover {
  border-color: var(--ink) !important;
}

.btn--icon-only {
  width: 54px;
  padding: 0;
}

.btn--buy-now,
#btn-express-checkout {
  width: 100%;
  background: var(--brand);
  color: #fff;
  height: 50px;
  margin-bottom: 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}

.btn--buy-now:hover,
#btn-express-checkout:hover {
  background: #15296b;
}

.btn--sm {
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  background: var(--ink);
  color: #fff;
  border: none;
}

/* ─────────────────────────────────────────────
   10. TRUST ROW
───────────────────────────────────────────── */
.trust-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.trust svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* ─────────────────────────────────────────────
   11. DELIVERY ESTIMATOR
───────────────────────────────────────────── */
.delivery-est {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px dashed var(--line);
  padding: 14px;
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.delivery-est svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.delivery-est > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.delivery-est strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.delivery-est span {
  color: var(--muted);
  font-size: 12.5px;
}

.delivery-est span b {
  color: var(--ink);
}

.delivery-est select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  min-width: 150px;
  font-family: inherit;
  outline: none;
  background: var(--surface);
  cursor: pointer;
}

.delivery-est select:focus {
  border-color: var(--ink);
}

/* ─────────────────────────────────────────────
   12. MAGENTO PRICE BLOCK OVERRIDES
   (Ensures Magento's rendered price HTML
    inherits our design tokens)
───────────────────────────────────────────── */
.product-info .price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.product-info .price-box .price-container .price {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--ink);
}

.product-info .price-box .old-price .price {
  font-family: inherit;
  font-size: 1rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
}

.product-info .price-box .special-price .price {
  color: var(--accent-ink);
}

/* ─────────────────────────────────────────────
   13. RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 960px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 20px 16px 48px;
  }

  .gallery {
    position: static;
  }

  .product-info__title {
    font-size: 1.6rem;
  }

  .price-row .price-box .price-container .price {
    font-size: 1.9rem;
  }
}

@media (max-width: 600px) {
  .key-features {
    grid-template-columns: 1fr;
  }

  .gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-row {
    flex-direction: column;
    gap: 8px;
  }

  .delivery-est {
    flex-direction: column;
    align-items: flex-start;
  }

  .delivery-est select {
    width: 100%;
  }

  .buy-row {
    flex-wrap: wrap;
  }

  .btn--lg {
    flex: unset;
    width: 100%;
  }
}

/* ─────────────────────────────────────────────
   MAGENTO PRICE RENDERER OUTPUT OVERRIDES
   These selectors match what Magento's price
   render blocks output in the DOM.
───────────────────────────────────────────── */

/* Wrapper Magento adds around price */
.price-row .price-box,
.price-row [data-role="priceBox"],
.price-row .price-container {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

/* Final / regular price */
.price-row .price-wrapper .price,
.price-row .price-final_price .price,
.price-row .price {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 2.3rem !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  line-height: 1 !important;
}

/* Old / crossed-out price */
.price-row .old-price .price,
.price-row .price-msrp_price .price {
  font-family: inherit !important;
  font-size: 1rem !important;
  color: var(--muted) !important;
  text-decoration: line-through !important;
  font-weight: 400 !important;
}

/* Special / sale price */
.price-row .special-price .price {
  color: var(--accent-ink) !important;
}

/* "As low as" label */
.price-row .minimal-price-link {
  font-size: 13px;
  color: var(--muted);
}