*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7eddc;color:#2a180e;font-family:Inter,Arial,sans-serif}.topbar{height:40px;background:#2f170a;color:#ead7b3;display:flex;align-items:center;justify-content:space-between;padding:0 3.5vw;font-size:10px}.toplinks{display:flex;gap:10px}.topbar a{color:inherit;text-decoration:none}.header{height:124px;padding:0 3vw;display:grid;grid-template-columns:280px 1fr 110px;align-items:center;background:#fbf2e3;border-bottom:1px solid #d9b97b}.brand{height:105px;display:flex;align-items:center;overflow:hidden}.brand img{width:250px;height:105px;object-fit:cover;object-position:center}.header nav{display:flex;justify-content:center;gap:31px}.header nav a{font-size:11px;font-weight:600;color:#24140d;text-decoration:none;padding:15px 0}.header nav a.active{color:#a7661a;border-bottom:2px solid #b97824}.actions{display:flex;gap:18px;justify-content:flex-end;font-size:18px}.menu{display:none;border:0;background:none;font-size:22px}.hero{height:390px;display:grid;grid-template-columns:49% 51%;background:#241208;position:relative;overflow:hidden}.hero-copy{padding:62px 0 40px 8.5vw;background:radial-gradient(circle at 18% 45%,#3a1d0e,#231107 72%);color:#fff;z-index:1}.hero-copy h1{font-family:"Cormorant Garamond";font-size:42px;line-height:1.08;margin:0 0 18px;color:#f0e0c7;font-weight:600}.hero-copy h1 em{font-style:normal;color:#d49a3f}.rule{font-size:9px;color:#a36b23;letter-spacing:1px;margin:15px 0 22px}.hero-copy p{font-size:13px;line-height:1.7;color:#f1e4d5;margin-bottom:25px}.outline-btn{border:1px solid #bd8232;color:#e5b15d;padding:11px 20px;text-decoration:none;font-size:11px;font-weight:600}.hero-image{background-image:linear-gradient(90deg,#24120822,#24120800),url('assets/hero-right.jpg');background-size:cover;background-position:center right}.slide{position:absolute;top:48%;border:1px solid #d8b06e;background:#24120888;color:#fff;width:30px;height:30px;border-radius:50%;font-size:22px}.slide.left{left:20px}.slide.right{right:20px}.dots{position:absolute;bottom:18px;left:50%;display:flex;gap:8px}.dots b{width:8px;height:8px;border:1px solid white;border-radius:50%}.dots b:first-child{background:#ecc67f}.benefits{height:100px;display:grid;grid-template-columns:repeat(4,1fr);background:#fbf0df;border-bottom:1px solid #ddc18d;padding:19px 5vw}.benefits article{display:flex;align-items:center;gap:17px;padding:0 28px;border-right:1px solid #d5b984}.benefits article:last-child{border:0}.ico{font-size:28px;color:#b57922}.benefits strong{font-size:10px;display:block}.benefits small{font-size:9px;color:#64503f;line-height:1.45;display:block;margin-top:5px}.cream-section{background:#f9efdf;padding:23px 3vw 10px}.section-title{text-align:center}.section-title h2{font-family:"Cormorant Garamond";font-size:27px;margin:0;color:#2d1a11}.section-title span{font-size:10px;color:#b27b30}.collection-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:16px}.collection-card{height:180px;position:relative;overflow:hidden;border:1px solid #b68a52;border-radius:5px;background:#23130b;text-decoration:none;color:#fff}.collection-card img{width:100%;height:100%;object-fit:cover}.collection-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#1d0e07e8 10%,transparent 75%)}.collection-card div{position:absolute;left:15px;bottom:15px;z-index:2}.collection-card h3{font-family:"Cormorant Garamond";font-size:16px;margin:0 0 8px}.collection-card span{font-size:9px;color:#e3b35d}.products-section{padding-top:18px;padding-bottom:19px}.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:15px}.product-card{border:1px solid #d5b47f;border-radius:5px;overflow:hidden;background:#fbf2e3;text-align:center;padding-bottom:11px}.pic{height:132px;position:relative;overflow:hidden;background:#3d2111}.pic img{width:100%;height:100%;object-fit:cover}.heart{position:absolute!important;right:7px;top:7px;width:25px;height:25px!important;border:1px solid #fff!important;border-radius:50%;background:#27150baa!important;color:#fff!important;font-size:17px!important;padding:0!important}.product-card h3{font-size:10px;font-weight:500;margin:10px 4px 3px}.product-card strong{font-size:11px;display:block}.product-card>button{margin-top:8px;border:1px solid #8f673a;background:transparent;color:#3c2516;font-size:8px;padding:6px 14px}.wholesale{margin:3px 3vw 22px;background:linear-gradient(90deg,#2d160a,#4a2711,#2b1509);border:1px solid #a9742e;border-radius:5px;min-height:84px;color:#e6c38a;display:flex;align-items:center;justify-content:space-between;padding:15px 30px}.wh-left{display:flex;align-items:center;gap:18px}.round{border:1px solid #ae792f;width:45px;height:45px;border-radius:50%;display:grid;place-items:center}.wholesale h2{font-family:"Cormorant Garamond";font-size:22px;margin:0}.wholesale p{font-size:10px;margin:4px 0;color:#e9d7bc}.wh-rule{color:#8b5e28;font-size:9px}.wholesale>a{color:#e7b967;text-decoration:none;border:1px solid #a97531;padding:10px 22px;font-size:10px}.about{text-align:center;background:#f5e7d0;padding:45px 20px}.about span{font-size:9px;letter-spacing:2px;color:#a56e24}.about h2{font-family:"Cormorant Garamond";font-size:30px;margin:10px auto 0;max-width:700px}footer{background:linear-gradient(90deg,#2b160b,#3d2111,#2a150b);color:#d5bb96;display:grid;grid-template-columns:1.3fr .9fr 1fr 1fr;gap:32px;padding:32px 4vw}.footer-brand img{width:190px;height:92px;object-fit:cover}.footer-brand p{max-width:230px}footer h4{font-size:10px;color:#ebcf9c}footer a,footer p{display:block;font-size:9px;line-height:1.8;color:#cbb496}.copyright{background:#251107;color:#91765c;text-align:center;padding:12px;font-size:8px}@media(max-width:850px){.topbar .toplinks{display:none}.header{height:90px;grid-template-columns:1fr auto auto}.brand{height:80px}.brand img{width:160px;height:80px}.menu{display:block;margin-right:12px}.header nav{display:none;position:absolute;top:130px;left:0;right:0;background:#fbf2e3;z-index:50;flex-direction:column;gap:4px;padding:15px 24px;box-shadow:0 12px 25px #0002}.header nav.open{display:flex}.actions span:first-child,.actions span:nth-child(2){display:none}.hero{height:auto;grid-template-columns:1fr}.hero-copy{padding:55px 27px}.hero-image{height:330px}.benefits{height:auto;grid-template-columns:1fr 1fr;gap:18px}.benefits article{border:0;padding:5px}.collection-grid,.product-grid{grid-template-columns:1fr 1fr}.wholesale{align-items:flex-start;flex-direction:column;gap:14px}.wh-rule{display:none}footer{grid-template-columns:1fr 1fr}}@media(max-width:520px){.hero-copy h1{font-size:34px}.collection-grid,.product-grid{grid-template-columns:1fr}.collection-card{height:230px}.pic{height:190px}.benefits{grid-template-columns:1fr}.header{padding:0 15px}.wholesale{margin:10px 15px}footer{grid-template-columns:1fr}}
/* v5 approved logo integration */
.brand{overflow:visible}
.brand img{width:235px;height:108px;object-fit:contain;object-position:center;mix-blend-mode:multiply}
.footer-brand img{width:190px;height:125px;object-fit:contain;object-position:center;mix-blend-mode:multiply}
@media(max-width:850px){.brand img{width:150px;height:76px}}

/* v7 live storefront */
.store-loading,.store-empty{grid-column:1/-1;text-align:center;padding:42px 15px;color:#775d44;font-size:12px}.store-toolbar{max-width:900px;margin:18px auto 8px;display:grid;grid-template-columns:1.4fr 1fr auto;gap:12px;align-items:end}.store-toolbar label{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#60432c;font-weight:600}.store-toolbar input,.store-toolbar select{width:100%;margin-top:6px;padding:10px 11px;border:1px solid #c9aa76;background:#fffaf0;color:#2b180e}.store-toolbar p{font-size:10px;color:#80654a;margin:0 0 11px}.collection-card.dynamic .collection-count{display:block;color:#ead2a5;font-size:8px;margin-top:4px}.product-card.dynamic .pic{height:165px}.product-card.dynamic h3{font-size:12px}.product-card.dynamic .product-code{font-size:8px;letter-spacing:1px;color:#9a7952;margin:6px 0 0}.product-card.dynamic .stock-line{font-size:8px;color:#80674d;margin:4px 0 0}.product-card.dynamic .out{color:#8b2f20}.product-modal[hidden]{display:none}.product-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px}.product-modal-backdrop{position:absolute;inset:0;background:#160b05cc;backdrop-filter:blur(3px)}.product-modal-card{position:relative;z-index:1;width:min(980px,96vw);max-height:90vh;overflow:auto;background:#fbf2e3;border:1px solid #b98236;box-shadow:0 30px 80px #0008;display:grid;grid-template-columns:1.08fr .92fr}.modal-close{position:absolute;right:13px;top:10px;z-index:3;width:36px;height:36px;border-radius:50%;border:1px solid #9f7132;background:#34190b;color:#f4d59f;font-size:24px}.modal-gallery{padding:28px;background:#3a1e0f}.modal-main-image-wrap{background:#241208;aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden}.modal-main-image{width:100%;height:100%;object-fit:cover}.modal-thumbs{display:flex;gap:9px;margin-top:10px}.modal-thumbs button{width:78px;height:62px;padding:0;border:1px solid #8c622e;background:#2d160b;overflow:hidden}.modal-thumbs button.active{outline:2px solid #d3a04e}.modal-thumbs img{width:100%;height:100%;object-fit:cover}.modal-info{padding:52px 42px 38px}.modal-code{font-size:9px;letter-spacing:1.8px;color:#a36d24;margin:0 0 7px}.modal-info h2{font-family:"Cormorant Garamond";font-size:38px;margin:0 0 6px}.modal-category{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#7d654e}.modal-price{font-family:"Cormorant Garamond";font-size:30px;font-weight:700;color:#3c2111;margin:24px 0 4px}.modal-stock{font-size:10px;color:#765f48;margin-bottom:24px}.modal-stock.out{color:#8a291a}.modal-description{font-size:12px;line-height:1.75;color:#604b3a;white-space:pre-line;border-top:1px solid #d7bd91;padding-top:20px}.modal-primary{width:100%;margin-top:28px;padding:13px 18px;background:#391c0d;color:#edcb92;border:1px solid #391c0d}.modal-note{font-size:9px;line-height:1.5;color:#8c755e;margin-top:10px}@media(max-width:850px){.store-toolbar{grid-template-columns:1fr 1fr}.store-toolbar p{grid-column:1/-1}.product-modal-card{grid-template-columns:1fr}.modal-gallery{padding:18px}.modal-info{padding:32px 24px}}@media(max-width:520px){.store-toolbar{grid-template-columns:1fr}.modal-info h2{font-size:31px}}

/* ========================================
   V9 — IMAGE-FOCUSED PRODUCT CARDS + ZOOM
======================================== */

/* Product name is intentionally hidden across the storefront */
.product-card h3,
#modalProductName {
  display: none !important;
}

/* Make the product image the primary focus */
.product-card.dynamic {
  padding-bottom: 12px;
}

.product-card.dynamic .pic {
  height: 280px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #f7efe1;
}

/* Never crop the dhoti or its border */
.product-card .pic .product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-card .pic .primary-img {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity .3s ease;
}

.product-card .pic .secondary-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-card .pic:hover .secondary-img {
    opacity: 1;
  }

  .product-card .pic:hover .primary-img {
    opacity: 0;
  }
}

.product-card .heart {
  z-index: 5;
}

.product-card-info {
  padding: 8px 10px 0;
}

.product-card.dynamic .product-code {
  margin: 0 0 4px;
  font-size: 9px;
  letter-spacing: 1.2px;
}

.product-card.dynamic .product-price {
  display: block;
  font-size: 15px;
  margin: 0;
}

.product-card.dynamic .stock-line {
  margin: 5px 0 7px;
}

/* Give more of the popup to the image */
.product-modal-card {
  width: min(1180px, 96vw);
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
}

.modal-gallery {
  min-width: 0;
  padding: 22px;
}

/* Full product must remain visible in normal popup view */
.modal-main-image-wrap {
  background: #241208;
  height: min(650px, 72vh);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.modal-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  display: block;
  cursor: zoom-in;
  transition: transform .2s ease;
}

/* Click image to zoom for border/zari inspection */
.modal-main-image-wrap.zoomed {
  display: block;
  overflow: auto;
  cursor: zoom-out;
}

.modal-main-image-wrap.zoomed .modal-main-image {
  width: 175%;
  height: auto;
  min-height: 100%;
  max-width: none;
  object-fit: contain !important;
  cursor: zoom-out;
}

/* Thumbnails also show the full image */
.modal-thumbs button {
  width: 84px;
  height: 68px;
}

.modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #241208;
}

/* Compact product information so the photo gets more room */
.modal-info {
  padding: 42px 34px 32px;
}

.modal-code {
  margin-bottom: 10px;
}

.modal-category {
  margin-top: 0;
}

.modal-price {
  margin: 20px 0 4px;
}

.modal-description {
  margin-top: 18px;
}

@media (max-width: 850px) {
  .product-card.dynamic .pic {
    height: 250px;
  }

  .product-modal-card {
    grid-template-columns: 1fr;
  }

  .modal-main-image-wrap {
    height: min(520px, 62vh);
  }

  .modal-main-image-wrap.zoomed .modal-main-image {
    width: 190%;
  }
}

@media (max-width: 520px) {
  .product-card.dynamic .pic {
    height: 300px;
  }

  .modal-gallery {
    padding: 14px;
  }

  .modal-main-image-wrap {
    height: 420px;
  }

  .modal-main-image-wrap.zoomed .modal-main-image {
    width: 220%;
  }
}

/* ========================================
   V10 — POPUP COMPLETE IMAGE DISPLAY
   Keep this section at the end of the file.
======================================== */

.product-modal-card {
  width: min(1250px, 96vw);
  max-height: 92vh;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .45fr);
}

.modal-gallery {
  min-width: 0;
  padding: 22px;
  background: #3a1e0f;
}

/* Preserve the original photo proportions and show the whole dhoti/border. */
.modal-main-image-wrap {
  width: 100%;
  height: auto;
  min-height: 500px;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #241208;
  position: relative;
  cursor: zoom-in;
}

.modal-main-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 72vh !important;
  object-fit: contain !important;
  object-position: center !important;
  cursor: zoom-in;
}

/* Click-to-zoom mode for inspecting the dhoti border/zari. */
.modal-main-image-wrap.zoomed {
  display: block;
  overflow: auto;
  cursor: zoom-out;
}

.modal-main-image-wrap.zoomed .modal-main-image {
  width: 180% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  cursor: zoom-out;
}

.modal-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.modal-thumbs button {
  width: 85px;
  height: 72px;
  padding: 0;
  overflow: hidden;
}

.modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

@media (max-width: 850px) {
  .product-modal-card {
    grid-template-columns: 1fr;
  }

  .modal-main-image-wrap {
    min-height: 350px;
    max-height: 60vh;
  }

  .modal-main-image {
    max-height: 60vh !important;
  }
}

/* ========================================
   BUILD 10 — SHOPPING CART
======================================== */

.cart-button {
  position: relative;
  border: 0;
  background: transparent;
  color: #2a180e;
  font-size: 18px;
  cursor: pointer;
  padding: 8px 9px;
}

.cart-count {
  position: absolute;
  right: -3px;
  top: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #3a1d0e;
  color: #f5d8a4;
  border: 1px solid #b77b2c;
  font-size: 9px;
  font-weight: 700;
}

.modal-buy-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  align-items: stretch;
  margin-top: 26px;
}

.qty-control {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  min-height: 44px;
  border: 1px solid #b99259;
  background: #fff9ef;
}

.qty-control button {
  border: 0;
  background: transparent;
  color: #3b2112;
  font-size: 20px;
  cursor: pointer;
}

.qty-control button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.qty-control span {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

.modal-buy-row .modal-primary {
  margin-top: 0;
}

.modal-primary:disabled,
.checkout-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.modal-cart-message {
  min-height: 18px;
  margin: 8px 0 0;
  font-size: 9px;
  color: #7a5424;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: #160b05b8;
  opacity: 0;
  transition: opacity .25s ease;
}

.cart-drawer.open .cart-drawer-backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(460px, 94vw);
  height: 100%;
  background: #fbf2e3;
  border-left: 1px solid #b98236;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform .28s ease;
  box-shadow: -20px 0 55px #0005;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 18px;
  border-bottom: 1px solid #ddc18d;
}

.cart-kicker {
  margin: 0 0 4px;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #a36d24;
}

.cart-header h2 {
  margin: 0;
  font-family: "Cormorant Garamond";
  font-size: 27px;
}

.cart-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #9f7132;
  background: #34190b;
  color: #f4d59f;
  font-size: 24px;
  cursor: pointer;
}

.cart-items {
  overflow: auto;
  padding: 6px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid #dfc89f;
}

.cart-item-image {
  height: 130px;
  background: #efe1cc;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-code {
  margin: 2px 0 7px;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #9a7952;
}

.cart-item-info strong {
  display: block;
  font-family: "Cormorant Garamond";
  font-size: 21px;
}

.cart-item-info small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  color: #80674d;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.qty-control.small {
  grid-template-columns: 30px 32px 30px;
  min-height: 34px;
}

.qty-control.small button {
  font-size: 16px;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: #8b4c24;
  font-size: 8px;
  text-decoration: underline;
  cursor: pointer;
}

.cart-empty {
  text-align: center;
  padding: 70px 15px;
  color: #6f5944;
}

.cart-empty span {
  display: block;
  font-size: 30px;
  margin-bottom: 12px;
}

.cart-empty p {
  margin: 0 0 5px;
  font-family: "Cormorant Garamond";
  font-size: 23px;
  color: #392114;
}

.cart-empty small {
  font-size: 9px;
}

.cart-footer {
  padding: 19px 24px 24px;
  border-top: 1px solid #ddc18d;
  background: #f7ead7;
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-subtotal span {
  font-size: 9px;
  letter-spacing: 1px;
}

.cart-subtotal strong {
  font-family: "Cormorant Garamond";
  font-size: 27px;
}

.cart-shipping-note {
  margin: 6px 0 14px;
  font-size: 8px;
  line-height: 1.5;
  color: #80674d;
}

.checkout-button {
  width: 100%;
  min-height: 46px;
  border: 1px solid #391c0d;
  background: #391c0d;
  color: #edcb92;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.checkout-message {
  min-height: 15px;
  margin: 7px 0 0;
  text-align: center;
  font-size: 8px;
  color: #80674d;
}

@media (max-width: 520px) {
  .modal-buy-row {
    grid-template-columns: 105px 1fr;
  }

  .cart-header,
  .cart-items,
  .cart-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cart-item {
    grid-template-columns: 92px 1fr;
  }

  .cart-item-image {
    height: 112px;
  }
}


/* Editable product quantity */
.qty-control .modal-qty-input{
  width:100%;
  min-width:0;
  height:100%;
  border:0;
  border-left:1px solid #d7bd91;
  border-right:1px solid #d7bd91;
  background:#fff9ef;
  color:#3b2112;
  text-align:center;
  font-size:16px;
  font-weight:600;
  outline:none;
  appearance:textfield;
  -moz-appearance:textfield;
}
.qty-control .modal-qty-input:focus{
  box-shadow:inset 0 0 0 1px #a36d24;
}
