/* DIY Crafts India Product Manager — premium product-page layer.
 * All styles are plugin-scoped. WooCommerce plugin files are not modified.
 */
:root{
  --dci-maroon:#b51e3a;
  --dci-gold:#e3a31b;
  --dci-cream:#f7f0e4;
  --dci-ink:#172033;
  --dci-green:#2e9b54;
  --dci-border:#ead9bd;
}


/* Product title is the only theme/WooCommerce summary element intentionally retained. */
.single-product .summary .product_title.dci-title-owned,
.single-product .summary > .product_title {
  color:var(--dci-maroon)!important;
  font-size:32px!important;
  line-height:1.14!important;
  font-weight:800!important;
  margin:0 0 12px!important;
  letter-spacing:-.02em;
}
.single-product .summary .price,
.single-product .summary > .stock,
.single-product .summary > .woocommerce-product-details__short-description,
.single-product .summary > .product_meta,
.single-product .summary > form.cart,
.single-product .summary > .woocommerce-product-rating { display:none!important; }

/* Breadcrumb */
.dci-breadcrumb{width:100%;box-sizing:border-box;margin:0 auto 18px;padding:0 0 8px;font-size:13px;line-height:1.5;color:#6f6254}
.dci-breadcrumb a{color:#8b1f36;text-decoration:none;font-weight:600}
.dci-breadcrumb a:hover{text-decoration:underline}
.dci-crumb-sep{margin:0 8px;color:var(--dci-gold);font-weight:700}
.dci-crumb-current{font-weight:700;color:#333}

/* Badge */
.dci-pdp-badge-row{margin:0 0 7px}
.dci-front-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:var(--dci-gold);color:#fff;font-size:11px;font-weight:800;line-height:1}
.dci-front-badge.dci-badge-sale{background:var(--dci-maroon)}
.dci-front-badge.dci-badge-new,.dci-front-badge.dci-badge-trending{background:var(--dci-green)}

/* Product summary sequence */
.dci-pdp-panel{margin-top:5px;color:var(--dci-ink)}
.dci-pdp-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid rgba(234,217,189,.72);padding:12px 0}
.dci-pdp-review-row{border-top:0;padding-top:4px}.dci-pdp-review-left{display:flex;align-items:center;gap:18px;min-width:0}
.dci-pdp-rating{display:flex;align-items:center;gap:7px;min-width:0;font-size:13px}
.dci-stars{letter-spacing:1px;color:#111;font-size:15px;line-height:1}
.dci-rating-number{font-weight:800;color:#333}
.dci-review-count{color:#655c50}
.dci-pdp-sku{font-size:13px;color:#665d52;white-space:nowrap}
.dci-pdp-sku strong{color:#222}

.dci-pdp-price-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 0 5px}
.dci-pdp-sale-price{font-size:30px;line-height:1.05;font-weight:900;color:var(--dci-maroon)}
.dci-pdp-sale-price .woocommerce-Price-currencySymbol{font-size:.82em}
.dci-pdp-regular-price{font-size:17px;color:#777;font-weight:600}
.dci-pdp-offer{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:6px;background:#f32d55;color:#fff;font-size:12px;font-weight:900}
.dci-pdp-tax-stock{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 0 13px;font-size:12px;color:#666}
.dci-pdp-stock{font-weight:800;padding:5px 10px;border-radius:999px}
.dci-pdp-stock.is-in{background:#eaf7ed;color:#218442}
.dci-pdp-stock.is-out{background:#fff0f0;color:var(--dci-maroon)}
.dci-pdp-short{font-size:14px;line-height:1.65;color:#3f3a34;padding:5px 0 13px}
.dci-pdp-short p{margin:0 0 8px}

/* Product details row */
.dci-pdp-details-row{padding:13px 0 16px;border-top:1px solid rgba(234,217,189,.72)}
.dci-pdp-details-row h3{margin:0 0 11px;color:#222;font-size:16px;font-weight:800}
.dci-pdp-details-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.dci-spec-card{min-width:0;min-height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:9px 8px;border:1px solid rgba(234,217,189,.9);border-radius:9px;background:#fffaf2;box-sizing:border-box}
.dci-spec-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin-bottom:5px;color:var(--dci-gold)}
.dci-spec-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dci-spec-label{font-size:10px;color:#6b6257;font-weight:700;line-height:1.2}
.dci-spec-card strong{display:block;margin-top:3px;font-size:12px;color:#222;line-height:1.3;word-break:break-word}

/* Purchase row */
.dci-pdp-cart-row{display:flex;align-items:stretch;gap:10px;padding:14px 0 15px;border-top:1px solid rgba(234,217,189,.72)}
.dci-pdp-cart-form{display:flex;align-items:stretch;gap:9px;flex:1;margin:0!important}
.dci-pdp-qty{display:flex;align-items:center;border:1px solid #d8c6a9;border-radius:7px;background:#fff;overflow:hidden;height:48px;flex:0 0 auto}
.dci-pdp-qty button{width:35px;height:48px;border:0;background:#fff;color:#333;font-size:19px;cursor:pointer;padding:0}
.dci-pdp-qty button:hover{background:#f8f1e7}
.dci-pdp-qty input{width:40px;height:46px;border:0!important;text-align:center;padding:0!important;background:#fff!important;box-shadow:none!important;font-size:14px}
.dci-pdp-add-cart,.dci-pdp-buy-now{height:48px;border-radius:7px!important;font-weight:800!important;font-size:14px!important;cursor:pointer;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.dci-pdp-add-cart{flex:1;border:0!important;background:var(--dci-maroon)!important;color:#fff!important;padding:0 22px!important}
.dci-pdp-add-cart:hover{background:#96172f!important}
.dci-pdp-buy-now{flex:1;border:2px solid var(--dci-maroon)!important;background:#fff!important;color:var(--dci-maroon)!important;padding:0 22px!important}
.dci-pdp-buy-now:hover{background:#fff7f4!important}
.dci-pdp-buy-now:disabled{opacity:.65;cursor:wait}
.dci-pdp-soldout-button{width:100%;height:48px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#eee6dc;color:#777;font-weight:800}

/* Pincode */
.dci-pincode-box{margin:0;padding:10px 14px;border:1px solid var(--dci-border);border-radius:10px;background:var(--dci-cream);max-width:100%;box-sizing:border-box}
.dci-pincode-title{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:#24201c;font-size:13px}
.dci-pin-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;color:var(--dci-maroon);line-height:1}
.dci-pin-icon svg{display:block;width:16px;height:16px}
.dci-pincode-row{display:flex;gap:8px}
.dci-pincode-input{flex:1;min-width:0;height:38px;border:1px solid #d8c7ac!important;border-radius:7px!important;background:#fff!important;padding:0 12px!important;box-shadow:none!important;box-sizing:border-box}
.dci-pincode-check{height:38px;border:0;border-radius:7px;background:var(--dci-maroon);color:#fff;font-weight:800;padding:0 18px;cursor:pointer}
.dci-pincode-check:hover{background:#97162f}
.dci-pincode-check:disabled{opacity:.65;cursor:wait}
.dci-pincode-result{min-height:18px;margin-top:8px;font-size:12px;font-weight:700}
.dci-pincode-result.is-success{color:var(--dci-green)}
.dci-pincode-result.is-error{color:var(--dci-maroon)}
.dci-pincode-result.is-loading{color:#866b37}

/* Hide duplicate theme/Woo availability output only on this product page. */
.single-product .summary .stock,.single-product .summary .woocommerce-variation-availability{display:none!important}

/* Tabs / specification content */
.woocommerce-tabs .dci-tab-content{padding:6px 0 8px}
.woocommerce-tabs .dci-tab-content h3{margin:0 0 16px;color:var(--dci-maroon);font-size:20px;font-weight:800}
.dci-front-info-card{overflow-x:auto;border:1px solid var(--dci-border);border-radius:9px;background:#fff}
.dci-front-spec-table{width:100%;border-collapse:collapse;margin:0!important}
.dci-front-spec-table th,.dci-front-spec-table td{padding:12px 14px;border-bottom:1px solid #eee8df;text-align:left;vertical-align:top;font-size:14px}
.dci-front-spec-table tr:last-child th,.dci-front-spec-table tr:last-child td{border-bottom:0}
.dci-front-spec-table th{width:34%;font-weight:800;color:var(--dci-ink);background:#fffaf2}
.dci-front-spec-table td{color:#3c3c3c}
.dci-faq-frontend details{border:1px solid var(--dci-border);border-radius:8px;background:#fff;margin:0 0 9px;overflow:hidden}
.dci-faq-frontend summary{padding:13px 16px;cursor:pointer;font-weight:800;color:var(--dci-maroon);list-style:none}
.dci-faq-frontend summary::-webkit-details-marker{display:none}
.dci-faq-frontend summary:before{content:'+';display:inline-block;margin-right:10px;color:var(--dci-gold);font-size:18px}
.dci-faq-frontend details[open] summary:before{content:'−'}
.dci-faq-answer{padding:0 16px 15px;color:#444;font-size:14px;line-height:1.7}
.dci-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.dci-related-card{display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid var(--dci-border);border-radius:9px;background:#fff;text-decoration:none!important;color:#222}
.dci-related-card img{width:100%;height:auto;border-radius:6px;display:block}
.dci-related-name{font-size:13px;font-weight:800;line-height:1.35}
.dci-related-price{font-size:13px;color:var(--dci-maroon);font-weight:800}

@media(max-width:1100px){
  .dci-pdp-details-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
  .dci-pdp-row{align-items:flex-start;flex-direction:column;gap:7px}.dci-pdp-review-left{flex-wrap:wrap;gap:10px}
  .dci-pdp-sku{white-space:normal}
  .dci-pdp-price-row{gap:9px}
  .dci-pdp-sale-price{font-size:25px}
  .dci-pdp-tax-stock{align-items:flex-start;flex-direction:column;gap:7px}
  .dci-pdp-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dci-pdp-cart-row{flex-direction:column}
  .dci-pdp-cart-form{width:100%;display:grid;grid-template-columns:auto 1fr}
  .dci-pdp-add-cart{width:100%}
  .dci-pdp-buy-now{width:100%}
  .dci-pincode-row{display:grid;grid-template-columns:1fr auto}
  .dci-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
  .dci-pdp-cart-form{grid-template-columns:1fr}
  .dci-pdp-qty{width:max-content}
  .dci-related-grid{grid-template-columns:1fr}
}

/* v1.3.8: move ONLY WooCommerce's native thumbnails to the left.
 * Do not alter the native gallery wrapper/slider dimensions. This keeps
 * WooCommerce FlexSlider image switching and native hover zoom intact.
 */
@media (min-width: 768px){
  .single-product div.product .woocommerce-product-gallery{
    position:relative!important;
    padding-left:84px!important;
    box-sizing:border-box!important;
  }
  .single-product div.product .woocommerce-product-gallery .flex-control-thumbs{
    position:absolute!important;
    left:0!important;
    top:0!important;
    width:72px!important;
    margin:0!important;
    padding:0!important;
    z-index:5!important;
  }
  .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li{
    width:72px!important;
    max-width:72px!important;
    float:none!important;
    display:block!important;
    margin:0 0 8px!important;
    padding:0!important;
  }
  .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:last-child{
    margin-bottom:0!important;
  }
  .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img{
    display:block!important;
    width:72px!important;
    height:72px!important;
    object-fit:cover!important;
    margin:0!important;
    cursor:pointer!important;
  }
}


/* v1.3.9: WooCommerce-native variable product selectors. */
.dci-variable-purchase-row{display:block}
.dci-pdp-variable-cart{width:100%;margin:0}
.dci-pdp-variable-cart form.variations_form{margin:0!important}
.dci-pdp-variable-cart .variations{width:100%;margin:0 0 10px!important;border-collapse:separate!important;border-spacing:0 8px!important}
.dci-pdp-variable-cart .variations td.label{width:34%;padding:0 12px 0 0!important;vertical-align:middle}
.dci-pdp-variable-cart .variations td.label label{font-size:13px;font-weight:800;color:#24201c}
.dci-pdp-variable-cart .variations td.value{padding:0!important;vertical-align:middle}
.dci-pdp-variable-cart .variations select{width:100%;height:44px;border:1px solid #d8c6a9!important;border-radius:7px!important;background:#fff!important;padding:0 12px!important;box-shadow:none!important;color:#222}
.dci-pdp-variable-cart .reset_variations{font-size:11px;color:var(--dci-maroon);margin-left:7px}
.dci-pdp-variable-cart .single_variation_wrap{margin-top:8px}
.dci-pdp-variable-cart .woocommerce-variation-description{font-size:13px;line-height:1.5;color:#555;margin:0 0 8px}
.dci-pdp-variable-cart .woocommerce-variation-price{font-size:20px;font-weight:800;color:var(--dci-maroon);margin:0 0 8px}
.dci-pdp-variable-cart .woocommerce-variation-availability{font-size:12px;margin:0 0 8px}
.dci-pdp-variable-cart .woocommerce-variation-add-to-cart{display:flex;align-items:stretch;gap:9px;margin:0!important}
.dci-pdp-variable-cart .woocommerce-variation-add-to-cart .quantity{display:flex;align-items:center;border:1px solid #d8c6a9;border-radius:7px;background:#fff;overflow:hidden;height:48px;flex:0 0 auto}
.dci-pdp-variable-cart .woocommerce-variation-add-to-cart .quantity input.qty{width:52px;height:46px;border:0!important;text-align:center;padding:0!important;background:#fff!important;box-shadow:none!important;font-size:14px}
.dci-pdp-variable-cart .single_add_to_cart_button{height:42px!important;flex:1;border:0!important;border-radius:7px!important;background:var(--dci-maroon)!important;color:#fff!important;font-weight:800!important;font-size:14px!important}
.dci-pdp-variable-cart .single_add_to_cart_button:hover{background:#96172f!important}
@media(max-width:767px){
  .dci-pdp-variable-cart .variations td.label{width:38%}
}

/* v1.4.9 — requested PDP refinements */
.dci-stars{color:#f4b000!important;letter-spacing:1px;font-size:15px;line-height:1}

/* Thickness + Size: one horizontal row */
.dci-pdp-variable-cart .dci-variation-inline{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center;margin:0 0 10px}
.dci-pdp-variable-cart .dci-variation-inline-field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0}
.dci-pdp-variable-cart .dci-variation-inline-field>label{font-size:13px;font-weight:800;color:#24201c;white-space:nowrap}
.dci-pdp-variable-cart .dci-variation-inline-select{min-width:0}
.dci-pdp-variable-cart .dci-variation-inline-select select{width:100%;height:44px;border:1px solid #d8c6a9!important;border-radius:7px!important;background:#fff!important;padding:0 12px!important;box-shadow:none!important;color:#222}

/* Four managed feature cards directly below the product image */
.single-product div.product .woocommerce-product-gallery{padding-bottom:112px!important;box-sizing:border-box}
.dci-gallery-highlights{position:absolute;left:0;right:0;bottom:0;z-index:6}
.dci-benefits-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid rgba(234,217,189,.9);border-radius:14px;background:#fff8ed;overflow:hidden;box-sizing:border-box}
.dci-benefit-card{min-width:0;min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10px 8px;box-sizing:border-box;position:relative}
.dci-benefit-card+ .dci-benefit-card{border-left:1px solid rgba(222,201,166,.75)}
.dci-benefit-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin-bottom:5px;color:var(--dci-maroon)}
.dci-benefit-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dci-benefit-card strong{font-size:12px;line-height:1.25;color:#222;font-weight:800;max-width:150px}
.dci-benefit-card>span{display:block;margin-top:3px;font-size:10px;line-height:1.25;color:#716659;max-width:160px}

/* Four managed service/trust benefits below the pincode checker */
.dci-trust-benefits{margin-top:12px;border:0;background:transparent;overflow:visible}
.dci-trust-benefits .dci-benefit-card{min-height:64px;padding:6px 7px}
.dci-trust-benefits .dci-benefit-icon{width:27px;height:27px;margin-bottom:3px}
.dci-trust-benefits .dci-benefit-icon svg{width:24px;height:24px}
.dci-trust-benefits .dci-benefit-card strong{font-size:11px}
.dci-trust-benefits .dci-benefit-card>span{font-size:10px}

@media(max-width:767px){
  .single-product div.product .woocommerce-product-gallery{padding-bottom:0!important}
  .dci-gallery-highlights{position:static;margin-top:10px}
  .dci-gallery-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dci-gallery-benefits .dci-benefit-card:nth-child(3){border-left:0;border-top:1px solid rgba(222,201,166,.75)}
  .dci-gallery-benefits .dci-benefit-card:nth-child(4){border-top:1px solid rgba(222,201,166,.75)}
  .dci-pdp-variable-cart .dci-variation-inline{grid-template-columns:1fr;gap:8px}
  .dci-pdp-variable-cart .dci-variation-inline-field{grid-template-columns:36% minmax(0,1fr)}
  .dci-trust-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dci-trust-benefits .dci-benefit-card:nth-child(3),.dci-trust-benefits .dci-benefit-card:nth-child(4){border-top:1px solid rgba(222,201,166,.75)}
}

/* v1.4.11 — keep v1.4.9 gallery/summary structure intact.
 * Feature cards stay inside the native gallery and align exactly with the
 * main image content area (after the left thumbnail column).
 */
@media (min-width:768px){
  .dci-gallery-highlights{left:84px!important;right:0!important;bottom:0!important;position:absolute!important;z-index:6!important}
  .dci-image-badge-wrap{position:absolute!important;left:0!important;right:0!important;top:0!important;bottom:0!important;z-index:20!important;pointer-events:none!important}
}
.dci-image-badge{position:absolute;left:94px;top:12px;display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:58px;padding:0 10px;border-radius:50%;background:var(--dci-maroon);border:2px solid var(--dci-gold);color:#fff;font-size:12px;font-weight:900;line-height:1;text-align:center;box-sizing:border-box;box-shadow:0 3px 10px rgba(0,0,0,.16)}
.dci-image-badge.dci-image-badge-new,.dci-image-badge.dci-image-badge-trending{background:var(--dci-green)}
.dci-image-badge.dci-image-badge-best_seller{background:var(--dci-gold);color:#fff;border-color:#fff7e8}
.dci-image-badge.dci-image-badge-sale{background:var(--dci-maroon);border-color:var(--dci-gold)}
.dci-image-sale-badge{position:absolute;left:10px;top:10px;display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:var(--dci-maroon);border:2px solid var(--dci-gold);color:#fff;font-size:12px;font-weight:900;line-height:1;text-align:center;box-sizing:border-box;box-shadow:0 3px 8px rgba(0,0,0,.12)}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs .onsale,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li .onsale,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li span.onsale,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li .woocommerce span.onsale{display:none!important}
@media(max-width:767px){
  .dci-image-badge-wrap{position:absolute!important;left:0!important;right:0!important;top:0!important;bottom:0!important;z-index:20!important;pointer-events:none!important}
}


/* v1.4.12 — keep feature cards directly below the main image without
 * becoming children of WooCommerce's thumbnail list. The PHP hook places
 * the markup inside the gallery thumbnail area; frontend JS relocates it to
 * the gallery wrapper, and these rules position it below the image.
 */
@media (min-width:768px){
  .single-product div.product .woocommerce-product-gallery{
    padding-bottom:0!important;
    overflow:visible!important;
  }
  .single-product div.product .woocommerce-product-gallery .dci-gallery-highlights{
    position:absolute!important;
    left:84px!important;
    right:0!important;
    top:100%!important;
    bottom:auto!important;
    margin-top:10px!important;
    z-index:6!important;
  }
}


/* STABLE ROW FIX — ONLY Quantity + Add to Cart + Buy Now */
.dci-variable-purchase-row .dci-pdp-variable-cart form.dci-native-variations-form .single_variation_wrap .variations_button{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:9px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.dci-variable-purchase-row .dci-pdp-variable-cart form.dci-native-variations-form .single_variation_wrap .variations_button .dci-pdp-qty{
  display:flex!important;
  flex:0 0 100px!important;
  width:100px!important;
  min-width:100px!important;
  max-width:100px!important;
  height:42px!important;
  margin:0!important;
}
.dci-variable-purchase-row .dci-pdp-variable-cart form.dci-native-variations-form .single_variation_wrap .variations_button .dci-pdp-add-cart{
  display:flex!important;
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:42px!important;
  margin:0!important;
}
.dci-variable-purchase-row .dci-pdp-variable-cart form.dci-native-variations-form .single_variation_wrap .variations_button .dci-pdp-buy-now{
  display:flex!important;
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:42px!important;
  margin:0!important;
  white-space:nowrap!important;
}
@media(max-width:767px){
  .dci-variable-purchase-row .dci-pdp-variable-cart form.dci-native-variations-form .single_variation_wrap .variations_button{
    flex-wrap:nowrap!important;
    gap:6px!important;
  }
  .dci-variable-purchase-row .dci-pdp-variable-cart form.dci-native-variations-form .single_variation_wrap .variations_button .dci-pdp-qty{
    flex-basis:88px!important;width:88px!important;min-width:88px!important;max-width:88px!important;
  }
}


/* Uniform purchase controls: same height and text size only */
.dci-variable-purchase-row .dci-variation-inline-select select,
.dci-variable-purchase-row .dci-pdp-qty,
.dci-variable-purchase-row .dci-pdp-qty input.qty,
.dci-variable-purchase-row .dci-pdp-qty .dci-qty-minus,
.dci-variable-purchase-row .dci-pdp-qty .dci-qty-plus,
.dci-variable-purchase-row .dci-pdp-add-cart,
.dci-variable-purchase-row .dci-pdp-buy-now{
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  box-sizing:border-box!important;
  font-size:14px!important;
}
.dci-variable-purchase-row .dci-pdp-add-cart,
.dci-variable-purchase-row .dci-pdp-buy-now{line-height:42px!important;}


/* FINAL PINCODE COMPACT FIX — only delivery checker */
.dci-pdp-pincode.dci-pincode-box{
  padding:8px 12px!important;
  border-radius:9px!important;
}
.dci-pdp-pincode .dci-pincode-title{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0 0 5px!important;
  font-size:14px!important;
  line-height:18px!important;
}
.dci-pdp-pincode .dci-pin-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  flex:0 0 16px!important;
  color:var(--dci-maroon)!important;
  visibility:visible!important;
  opacity:1!important;
}
.dci-pdp-pincode .dci-pin-icon svg{
  display:block!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  visibility:visible!important;
  opacity:1!important;
  overflow:visible!important;
}
.dci-pdp-pincode .dci-pincode-row{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.dci-pdp-pincode .dci-pincode-input,
.dci-pdp-pincode .dci-pincode-check{
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  box-sizing:border-box!important;
  font-size:14px!important;
  line-height:1.2!important;
}
.dci-pdp-pincode .dci-pincode-check{
  padding:0 18px!important;
  font-weight:800!important;
}
.dci-pdp-pincode .dci-pincode-result:empty{
  display:none!important;
}
.dci-pdp-pincode .dci-pincode-result{
  min-height:0!important;
  margin-top:5px!important;
  font-size:12px!important;
}

/* PINCODE — compact, consistent with purchase controls */
.dci-pdp-pincode.dci-pincode-box{
  height:90px!important;
  min-height:90px!important;
  max-height:90px!important;
  padding:8px 12px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.dci-pdp-pincode .dci-pincode-title{
  height:18px!important;
  min-height:18px!important;
  margin:0 0 5px!important;
  font-size:14px!important;
  line-height:18px!important;
  display:flex!important;
  align-items:center!important;
}
.dci-pdp-pincode .dci-pin-icon{
  display:inline-flex!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  flex:0 0 16px!important;
  align-items:center!important;
  justify-content:center!important;
  color:#bd1e3c!important;
  visibility:visible!important;
  opacity:1!important;
}
.dci-pdp-pincode .dci-pin-icon:before{
  content:'📍'!important;
  display:block!important;
  font-size:14px!important;
  line-height:16px!important;
  visibility:visible!important;
  opacity:1!important;
}
.dci-pdp-pincode .dci-pin-icon svg{display:none!important;}
.dci-pdp-pincode .dci-pincode-row{
  height:38px!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.dci-pdp-pincode .dci-pincode-input{
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  font-size:14px!important;
  line-height:38px!important;
  box-sizing:border-box!important;
}
.dci-pdp-pincode .dci-pincode-check{
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0 18px!important;
  font-size:14px!important;
  line-height:38px!important;
  font-weight:800!important;
  box-sizing:border-box!important;
}
.dci-pdp-pincode .dci-pincode-result{display:none!important;}

/* PRODUCT TABS — premium theme styling, desktop + mobile */
.woocommerce-tabs ul.tabs.dci-product-tabs,
.woocommerce-tabs ul.tabs{
  display:flex!important;
  align-items:flex-end!important;
  gap:6px!important;
  margin:28px 0 0!important;
  padding:0 0 0 2px!important;
  border-bottom:1px solid #d9c9b8!important;
  list-style:none!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scrollbar-width:none!important;
}
.woocommerce-tabs ul.tabs::-webkit-scrollbar{display:none!important;}
.woocommerce-tabs ul.tabs li{
  float:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d9c9b8!important;
  border-bottom:0!important;
  border-radius:8px 8px 0 0!important;
  background:#f5eee5!important;
  flex:0 0 auto!important;
  min-height:44px!important;
}
.woocommerce-tabs ul.tabs li:before,
.woocommerce-tabs ul.tabs li:after{display:none!important;}
.woocommerce-tabs ul.tabs li a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:0 18px!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:#4b3b31!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.woocommerce-tabs ul.tabs li.active{
  background:#a9233b!important;
  border-color:#a9233b!important;
  position:relative!important;
  z-index:2!important;
}
.woocommerce-tabs ul.tabs li.active a{
  color:#fff!important;
}
.woocommerce-tabs .woocommerce-Tabs-panel{
  margin:0!important;
  padding:26px 0 10px!important;
}
.woocommerce-tabs .woocommerce-Tabs-panel h2:first-child{
  margin-top:0!important;
}

@media (max-width:767px){
  .woocommerce-tabs ul.tabs{
    gap:4px!important;
    margin-top:20px!important;
    padding-left:0!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .woocommerce-tabs ul.tabs li{
    min-height:42px!important;
    border-radius:7px 7px 0 0!important;
  }
  .woocommerce-tabs ul.tabs li a{
    min-height:42px!important;
    padding:0 14px!important;
    font-size:13px!important;
  }
  .woocommerce-tabs .woocommerce-Tabs-panel{
    padding:20px 0 8px!important;
  }
}


/* Final high-specificity fallback for WooCommerce tabs */
body.single-product .woocommerce-tabs ul.tabs.wc-tabs{display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none!important}
body.single-product .woocommerce-tabs ul.tabs.wc-tabs::-webkit-scrollbar{display:none!important}
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li{float:none!important;display:flex!important;align-items:stretch!important;flex:0 0 auto!important;margin:0!important;padding:0!important;min-height:46px!important;border:1px solid #dfcfbf!important;border-bottom:0!important;border-radius:9px 9px 0 0!important;background:#f7f1e7!important}
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active{background:#a9233b!important;border-color:#a9233b!important}
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:0 18px!important;margin:0!important;border:0!important;background:transparent!important;color:#4a3a31!important;font-size:14px!important;font-weight:700!important;white-space:nowrap!important}
body.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active a{color:#fff!important}
@media(max-width:767px){body.single-product .woocommerce-tabs ul.tabs.wc-tabs{gap:5px!important;margin-top:20px!important}body.single-product .woocommerce-tabs ul.tabs.wc-tabs li,body.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active{min-height:42px!important}body.single-product .woocommerce-tabs ul.tabs.wc-tabs li a{min-height:42px!important;padding:0 14px!important;font-size:13px!important}}


/* Quantity control: hide native browser number spinners.
   Keep the existing custom minus / quantity / plus controls unchanged. */
.dci-variable-purchase-row .dci-pdp-qty input.qty::-webkit-outer-spin-button,
.dci-variable-purchase-row .dci-pdp-qty input.qty::-webkit-inner-spin-button{
  -webkit-appearance:none!important;
  appearance:none!important;
  margin:0!important;
}
.dci-variable-purchase-row .dci-pdp-qty input.qty{
  -moz-appearance:textfield!important;
  appearance:textfield!important;
}

/* Related products: premium product-card presentation (no ratings). */
.dci-related-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.dci-related-card{position:relative;display:flex;flex-direction:column;gap:8px;padding:7px;border:1px solid var(--dci-border);border-radius:8px;background:#fff;text-decoration:none!important;color:#222;min-width:0;overflow:hidden;box-sizing:border-box}
.dci-related-image-wrap{position:relative;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:5px;background:#f4f5f5}
.dci-related-image-wrap img{width:100%!important;height:100%!important;object-fit:cover!important;display:block;margin:0!important}
.dci-related-sale{position:absolute;z-index:2;top:8px;left:8px;padding:4px 9px;border-radius:2px;background:#3f5541;color:#fff;font-size:11px;line-height:1;font-weight:800;letter-spacing:.2px;text-transform:uppercase}
.dci-related-name{display:block;font-size:13px;font-weight:500;line-height:1.35;color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 1px}
.dci-related-price{display:block;font-size:14px;line-height:1.35;color:#222;font-weight:700;padding:0 1px}
.dci-related-price del{color:#999;font-weight:500;margin-left:4px}
.dci-related-price ins{text-decoration:none;color:#222}
@media(max-width:767px){
  .dci-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .dci-related-card{padding:6px;border-radius:7px}
  .dci-related-sale{top:6px;left:6px;font-size:10px;padding:4px 7px}
  .dci-related-name{font-size:12px}
  .dci-related-price{font-size:13px}
}
@media(max-width:420px){.dci-related-grid{grid-template-columns:1fr}}

/* Related Products — standalone section appended to the end of Description */
body.single-product .dci-related-section {
    width:100% !important;
    margin:34px 0 0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
    clear:both !important;
}
body.single-product .dci-related-section-title {
    display:block !important;
    width:100% !important;
    margin:0 0 18px !important;
    padding:0 !important;
    border-bottom:1px solid #cfc0b0 !important;
    color:#fff !important;
    font-size:0 !important;
    font-weight:800 !important;
    line-height:1 !important;
    box-sizing:border-box !important;
}
body.single-product .dci-related-section-title span {
    display:inline-flex !important;
    align-items:center !important;
    min-height:42px !important;
    padding:0 18px !important;
    background:#a9233b !important;
    color:#fff !important;
    border-radius:8px 8px 0 0 !important;
    font-size:16px !important;
    font-weight:700 !important;
    line-height:1 !important;
    box-sizing:border-box !important;
}
body.single-product .dci-related-section .dci-related-grid {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:16px !important;
    width:100% !important;
    box-sizing:border-box !important;
}
body.single-product .dci-related-section .dci-related-card {
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    min-width:0 !important;
    overflow:hidden !important;
    border:1px solid #e2d5c7 !important;
    border-radius:10px !important;
    background:#fff !important;
    color:#241a16 !important;
    text-decoration:none !important;
    box-shadow:0 2px 8px rgba(73,47,34,.06) !important;
    transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease !important;
}
body.single-product .dci-related-section .dci-related-card:hover {
    transform:translateY(-4px) !important;
    border-color:#d9b58a !important;
    box-shadow:0 10px 24px rgba(73,47,34,.13) !important;
}
body.single-product .dci-related-section .dci-related-image-wrap {
    position:relative !important;
    display:block !important;
    width:100% !important;
    aspect-ratio:4 / 3 !important;
    overflow:hidden !important;
    background:#f7f1e7 !important;
}
body.single-product .dci-related-section .dci-related-image-wrap img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    margin:0 !important;
    object-fit:cover !important;
    object-position:center !important;
    transition:transform .45s cubic-bezier(.2,.7,.2,1) !important;
}
body.single-product .dci-related-section .dci-related-card:hover .dci-related-image-wrap img { transform:scale(1.06) !important; }
body.single-product .dci-related-section .dci-related-sale {
    position:absolute !important;
    top:10px !important;
    left:10px !important;
    z-index:3 !important;
    padding:4px 9px !important;
    border-radius:4px !important;
    background:#3f5540 !important;
    color:#fff !important;
    font-size:11px !important;
    font-weight:700 !important;
    line-height:1 !important;
    letter-spacing:.3px !important;
    text-transform:uppercase !important;
}
body.single-product .dci-related-section .dci-related-name {
    display:block !important;
    padding:11px 12px 4px !important;
    margin:0 !important;
    color:#2a211d !important;
    font-size:14px !important;
    font-weight:600 !important;
    line-height:1.35 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
body.single-product .dci-related-section .dci-related-price {
    display:block !important;
    padding:0 12px 12px !important;
    color:#a9233b !important;
    font-size:15px !important;
    font-weight:700 !important;
    line-height:1.35 !important;
}
body.single-product .dci-related-section .dci-related-price del { color:#8d8179 !important; font-size:12px !important; font-weight:500 !important; margin-right:5px !important; opacity:.8 !important; }
body.single-product .dci-related-section .dci-related-price ins { color:#a9233b !important; text-decoration:none !important; }
@media (max-width:767px) {
    body.single-product .dci-related-section { margin-top:26px !important; }
    body.single-product .dci-related-section-title { margin-bottom:14px !important; }
    body.single-product .dci-related-section-title span { min-height:40px !important; padding:0 16px !important; font-size:15px !important; }
    body.single-product .dci-related-section .dci-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
    body.single-product .dci-related-section .dci-related-image-wrap { aspect-ratio:1 / 1 !important; }
    body.single-product .dci-related-section .dci-related-name { padding:9px 9px 3px !important; font-size:12px !important; }
    body.single-product .dci-related-section .dci-related-price { padding:0 9px 9px !important; font-size:13px !important; }
    body.single-product .dci-related-section .dci-related-sale { top:7px !important; left:7px !important; padding:4px 7px !important; font-size:10px !important; }
}
@media (max-width:420px) {
    body.single-product .dci-related-section .dci-related-grid { grid-template-columns:1fr !important; }
}

/* Product share + pre-details variation placement */
.dci-pdp-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.dci-share-product{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(216,198,169,.95);border-radius:50%;background:#fffaf2;color:var(--dci-maroon);cursor:pointer;transition:all .18s ease;box-sizing:border-box}
.dci-share-product svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dci-share-product:hover{background:var(--dci-maroon);color:#fff;border-color:var(--dci-maroon);transform:translateY(-1px)}
.dci-pre-details-variation-form{margin:0!important;padding:0 0 12px!important}
.dci-pre-details-variations{margin:0!important}
@media (max-width:767px){
 .dci-pdp-actions{gap:7px}
 .dci-share-product{width:32px;height:32px}
 .dci-pre-details-variation-form{padding-bottom:10px!important}
}

/* v1.4.28 — compact direct-select variation chips + clearer product share control */
body.single-product .dci-pre-details-variations{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  margin:0!important;
  padding:0 0 12px!important;
}
body.single-product .dci-pre-details-variations .dci-variation-inline-field{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
}
body.single-product .dci-pre-details-variations .dci-variation-option-label{
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  color:#24201c!important;
  margin:0!important;
}
body.single-product .dci-pre-details-variations .dci-variation-inline-options{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
}
body.single-product .dci-pre-details-variations .dci-variation-option{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:48px!important;
  min-height:30px!important;
  padding:4px 9px!important;
  margin:0!important;
  border:1px solid #dcc8a9!important;
  border-radius:7px!important;
  background:#fffaf2!important;
  color:#332a24!important;
  box-shadow:none!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.1!important;
  cursor:pointer!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease!important;
}
body.single-product .dci-pre-details-variations .dci-variation-option:hover{
  border-color:#a9233b!important;
  color:#a9233b!important;
  transform:translateY(-1px)!important;
}
body.single-product .dci-pre-details-variations .dci-variation-option.is-selected{
  background:#a9233b!important;
  border-color:#a9233b!important;
  color:#fff!important;
  box-shadow:0 2px 7px rgba(169,35,59,.18)!important;
}
body.single-product .dci-pre-details-variations .dci-variation-option-dot{
  width:6px!important;
  height:6px!important;
  flex:0 0 6px!important;
  border:1px solid currentColor!important;
  border-radius:50%!important;
  opacity:.72!important;
  box-sizing:border-box!important;
}
body.single-product .dci-pre-details-variations .dci-variation-option.is-selected .dci-variation-option-dot{
  background:#fff!important;
  border-color:#fff!important;
  opacity:1!important;
}
body.single-product .dci-pre-details-variations .dci-native-variation-select-wrap{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
body.single-product .dci-pre-details-variations .dci-native-variation-select-wrap select{
  width:1px!important;
  height:1px!important;
}
body.single-product .dci-pdp-actions{
  gap:14px!important;
  margin-left:auto!important;
}
body.single-product .dci-share-product{
  width:auto!important;
  min-width:72px!important;
  height:34px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:1px solid rgba(216,198,169,.95)!important;
  border-radius:17px!important;
  background:#fffaf2!important;
  color:#a9233b!important;
  box-sizing:border-box!important;
  font:inherit!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  cursor:pointer!important;
  flex:0 0 auto!important;
}
body.single-product .dci-share-product svg{
  display:block!important;
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  overflow:visible!important;
}
body.single-product .dci-share-product svg circle{fill:currentColor!important;stroke:none!important}
body.single-product .dci-share-product svg path{fill:none!important;stroke:currentColor!important}
body.single-product .dci-share-product .dci-share-label{display:inline!important;line-height:1!important}
body.single-product .dci-share-product:hover{
  background:#a9233b!important;
  color:#fff!important;
  border-color:#a9233b!important;
  transform:translateY(-1px)!important;
}
@media(max-width:767px){
  body.single-product .dci-pre-details-variations{gap:9px!important;padding-bottom:10px!important}
  body.single-product .dci-pre-details-variations .dci-variation-inline-options{gap:5px!important}
  body.single-product .dci-pre-details-variations .dci-variation-option{min-width:44px!important;min-height:29px!important;padding:4px 8px!important;font-size:11px!important}
  body.single-product .dci-pdp-actions{gap:10px!important}
  body.single-product .dci-share-product{min-width:68px!important;height:32px!important;padding:0 9px!important;border-radius:16px!important}
}


/* Frequently Bought Together — uses the same premium product-card language as Related Products */
body.single-product .dci-fbt-section {
  margin-top: 34px !important;
}
body.single-product .dci-fbt-section .dci-related-section-title {
  margin-bottom: 16px !important;
}
body.single-product .dci-fbt-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
body.single-product .dci-fbt-card {
  min-width: 0;
}
body.single-product .dci-fbt-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--dci-border, #e0a326);
}
body.single-product .dci-fbt-hint {
  font-size: 13px;
  color: #6f6259;
}
@media (max-width: 900px) {
  body.single-product .dci-fbt-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 420px) {
  body.single-product .dci-fbt-products { grid-template-columns: 1fr; }
}

/* Product recommendation sliders: Related Products / You May Also Like / FBT */
body.single-product .dci-related-slider{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.single-product .dci-related-slider .dci-related-track{
  display:flex!important;
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  grid-template-columns:none!important;
  gap:16px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:smooth!important;
  scroll-snap-type:x mandatory!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  padding:2px 2px 22px!important;
  box-sizing:border-box!important;
}
body.single-product .dci-related-slider .dci-related-track::-webkit-scrollbar{display:none!important}
body.single-product .dci-related-slider .dci-related-card{
  flex:0 0 calc((100% - 48px) / 4)!important;
  width:calc((100% - 48px) / 4)!important;
  scroll-snap-align:start!important;
}
body.single-product .dci-slider-arrow{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #d9c4aa!important;
  border-radius:50%!important;
  background:#fffaf2!important;
  color:#a9233b!important;
  font-size:20px!important;
  font-weight:700!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:0 3px 10px rgba(73,47,34,.10)!important;
  transition:all .2s ease!important;
  z-index:3!important;
}
body.single-product .dci-slider-arrow:hover:not(:disabled){
  background:#a9233b!important;
  border-color:#a9233b!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
}
body.single-product .dci-slider-arrow:disabled{
  opacity:.32!important;
  cursor:default!important;
  box-shadow:none!important;
}
body.single-product .dci-fbt-products.dci-related-track{
  display:flex!important;
}
@media (max-width:900px){
  body.single-product .dci-related-slider .dci-related-card{
    flex-basis:calc((100% - 20px) / 3)!important;
    width:calc((100% - 20px) / 3)!important;
  }
}
@media (max-width:767px){
  body.single-product .dci-related-slider{
    gap:6px!important;
  }
  body.single-product .dci-related-slider .dci-related-track{
    gap:10px!important;
    padding:2px 1px 16px!important;
    scroll-snap-type:x mandatory!important;
  }
  body.single-product .dci-related-slider .dci-related-card{
    flex-basis:calc((100% - 10px) / 2)!important;
    width:calc((100% - 10px) / 2)!important;
  }
  body.single-product .dci-slider-arrow{
    flex-basis:30px!important;
    width:30px!important;
    height:30px!important;
    font-size:17px!important;
  }
}
@media (max-width:480px){
  body.single-product .dci-related-slider .dci-related-card{
    flex-basis:82%!important;
    width:82%!important;
  }
}


/* v1.4.33 — Recommendation sliders must remain a single horizontal row.
   This final override intentionally targets only Related Products,
   You May Also Like and Frequently Bought Together recommendation tracks. */
body.single-product .dci-related-slider .dci-related-track,
body.single-product .dci-related-slider .dci-related-grid,
body.single-product .dci-related-slider .dci-fbt-products {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  grid-template-columns:none !important;
  grid-auto-flow:column !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
}
body.single-product .dci-related-slider .dci-related-track > .dci-related-card,
body.single-product .dci-related-slider .dci-fbt-products > .dci-related-card {
  flex:0 0 calc((100% - 48px) / 4) !important;
  width:calc((100% - 48px) / 4) !important;
  max-width:none !important;
  min-width:0 !important;
}
@media (max-width:900px){
  body.single-product .dci-related-slider .dci-related-track > .dci-related-card,
  body.single-product .dci-related-slider .dci-fbt-products > .dci-related-card {
    flex-basis:calc((100% - 20px) / 3) !important;
    width:calc((100% - 20px) / 3) !important;
  }
}
@media (max-width:767px){
  body.single-product .dci-related-slider .dci-related-track > .dci-related-card,
  body.single-product .dci-related-slider .dci-fbt-products > .dci-related-card {
    flex-basis:calc((100% - 10px) / 2) !important;
    width:calc((100% - 10px) / 2) !important;
  }
}
@media (max-width:480px){
  body.single-product .dci-related-slider .dci-related-track > .dci-related-card,
  body.single-product .dci-related-slider .dci-fbt-products > .dci-related-card {
    flex-basis:82% !important;
    width:82% !important;
  }
}



/* v1.4.45 — mobile product-summary spacing and action alignment only.
 * Desktop remains unchanged. */
@media (max-width:767px){
  body.single-product .summary > .product_title,
  body.single-product .summary .product_title.dci-title-owned{
    margin-top:16px!important;
  }
  body.single-product .dci-pdp-actions{
    margin-left:0!important;
    align-self:flex-start!important;
  }
}

/* v1.4.46 — mobile purchase/pincode spacing only. Desktop untouched. */
@media (max-width:767px){
  /* Keep Add to Cart on one clean line inside the mobile action row. */
  body.single-product .dci-variable-purchase-row .dci-pdp-add-cart,
  body.single-product .dci-variable-purchase-row .dci-pdp-add-cart.single_add_to_cart_button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    line-height:1!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 12px!important;
    box-sizing:border-box!important;
  }

  /* Give the delivery card breathing room before and after it. */
  body.single-product .dci-pdp-pincode.dci-pincode-box{
    margin-top:10px!important;
    margin-bottom:18px!important;
  }

  /* Keep the trust cards visually separated from the tabs/description area. */
  body.single-product .dci-trust-benefits{
    margin-top:14px!important;
    margin-bottom:28px!important;
  }
}


/* v1.4.48 — increase mobile breathing room above and below the four trust cards. Gallery and desktop untouched. */
@media (max-width:767px){
  body.single-product .dci-pdp-pincode.dci-pincode-box{
    margin-top:14px!important;
    margin-bottom:28px!important;
  }
  body.single-product .dci-trust-benefits{
    margin-top:12px!important;
    margin-bottom:56px!important;
  }
}

/* v1.4.49 — Mobile recommendation sliders: hide navigation arrows only.
 * Applies only to Related Products, You May Also Like and Frequently Bought Together.
 * Desktop navigation remains unchanged. */
@media (max-width: 767px){
  body.single-product .dci-related-slider .dci-slider-arrow{
    display:none!important;
  }
  body.single-product .dci-related-slider{
    gap:0!important;
  }
  body.single-product .dci-related-slider .dci-related-track{
    width:100%!important;
    flex:1 1 100%!important;
  }
}

/* v1.4.50 — keep availability beside Share in the product action row.
 * Tax is rendered directly below price by the PHP markup. */
.dci-pdp-actions .dci-pdp-stock{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;line-height:1.1}
@media (max-width:767px){
  body.single-product .dci-pdp-actions{display:flex!important;align-items:center!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;margin-left:0!important;align-self:flex-start!important}
  body.single-product .dci-pdp-actions .dci-pdp-stock{margin:0!important}
}


/* v1.5.18 — mobile-only spacing after gallery benefit cards and consistent Buy Now height.
 * Keep desktop gallery, native WooCommerce zoom, and Add to Cart styling unchanged.
 */
@media (max-width: 767px) {
  body.single-product div.product .woocommerce-product-gallery {
    margin-bottom: 16px !important;
  }
  body.single-product div.product .woocommerce-product-gallery .dci-gallery-highlights {
    margin-top: 10px !important;
    margin-bottom: 18px !important;
    display: flow-root !important;
  }
  body.single-product .dci-pdp-buy-now,
  body.single-product .dci-variable-purchase-row .dci-pdp-buy-now,
  body.single-product .dci-pdp-cart-row .dci-pdp-buy-now {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 12px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }
}


/* v1.5.20 — mobile-only product title spacing and compact three-control purchase row.
 * Desktop, WooCommerce variation/cart behavior, pincode checker and other sections unchanged.
 */
@media (max-width: 767px) {
  /* Add clear breathing room between the gallery benefit cards and product title. */
  body.single-product div.product .woocommerce-product-gallery .dci-gallery-highlights {
    margin-bottom: 28px !important;
  }
  body.single-product .summary > .product_title,
  body.single-product .summary .product_title.dci-title-owned {
    margin-top: 12px !important;
  }

  /* Simple products: keep quantity, Add to Cart and Buy Now in one row. */
  body.single-product .dci-pdp-cart-row:not(.dci-variable-purchase-row) {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.12fr) !important;
    align-items: stretch !important;
    gap: 6px !important;
  }
  body.single-product .dci-pdp-cart-row:not(.dci-variable-purchase-row) .dci-pdp-cart-form {
    display: contents !important;
  }
  body.single-product .dci-pdp-cart-row:not(.dci-variable-purchase-row) .dci-pdp-qty {
    grid-column: 1 !important;
    width: 88px !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
  }
  body.single-product .dci-pdp-cart-row:not(.dci-variable-purchase-row) .dci-pdp-qty button {
    width: 26px !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 16px !important;
  }
  body.single-product .dci-pdp-cart-row:not(.dci-variable-purchase-row) .dci-pdp-qty input {
    width: 34px !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 12px !important;
  }
  body.single-product .dci-pdp-cart-row:not(.dci-variable-purchase-row) .dci-pdp-add-cart {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 5px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  body.single-product .dci-pdp-cart-row:not(.dci-variable-purchase-row) .dci-pdp-buy-now {
    grid-column: 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 5px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  /* Variable products: override the existing inline flex styles only on mobile. */
  body.single-product .dci-variable-purchase-row .dci-pdp-variable-cart .variations_button {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.12fr) !important;
    align-items: stretch !important;
    gap: 6px !important;
    width: 100% !important;
  }
  body.single-product .dci-variable-purchase-row .dci-pdp-variable-cart .variations_button .dci-pdp-qty {
    grid-column: 1 !important;
    flex: none !important;
    width: 88px !important;
    min-width: 0 !important;
    max-width: 88px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }
  body.single-product .dci-variable-purchase-row .dci-pdp-variable-cart .variations_button .dci-pdp-qty button {
    width: 26px !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 16px !important;
  }
  body.single-product .dci-variable-purchase-row .dci-pdp-variable-cart .variations_button .dci-pdp-qty input.qty {
    width: 34px !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 12px !important;
  }
  body.single-product .dci-variable-purchase-row .dci-pdp-variable-cart .variations_button .dci-pdp-add-cart {
    grid-column: 2 !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 5px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  body.single-product .dci-variable-purchase-row .dci-pdp-variable-cart .variations_button .dci-pdp-buy-now {
    grid-column: 3 !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 5px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }
}
