/* (page background is set by the redesign layer below) */
.amz-product-page{padding:18px 0 40px;background:#fff;}
.amz-breadcrumb{font-size:12px;color:#565959;margin-bottom:14px;}
.amz-breadcrumb a{color:#007185;text-decoration:none;}
.amz-breadcrumb a:hover{color:#c7511f;text-decoration:underline;}
.amz-breadcrumb span{margin:0 6px;color:#777;}

.amz-main-grid{
    display:grid;
    grid-template-columns:440px minmax(420px,1fr) 300px;
    gap:24px;
    align-items:start;
}
.amz-left,.amz-center,.amz-right{min-width:0;}

.amz-gallery-grid{
    display:grid;
    grid-template-columns:78px 1fr;
    gap:14px;
    position:sticky;
    top:20px;
}
.amz-thumb-col{display:flex;flex-direction:column;gap:10px;}
.amz-thumb-item{
    display:block;border:1px solid #d5d9d9;border-radius:8px;overflow:hidden;background:#fff;
}
.amz-thumb-item.active,
.amz-thumb-item:hover{
    border-color:var(--theme-hover);
    box-shadow:0 0 0 2px rgba(231,118,0,.15);
}
.amz-thumb-img{
    width:76px;height:76px;background:#fff;display:flex;align-items:center;justify-content:center;padding:4px;
}
.amz-thumb-img img{
    max-width:100%;max-height:100%;object-fit:contain;
}

.amz-main-image-wrap{
    border:1px solid #e7e7e7;border-radius:12px;padding:14px;background:#fff;
}
.prod-slider{margin:0;padding:0;list-style:none;}
.prod-slider li{height:500px;background:#fff;}
.amz-zoom-frame{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    overflow:hidden;
    cursor:zoom-in;
    position:relative;
}
.amz-zoom-img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:transform .15s ease;
    transform-origin:center center;
}
.amz-image-actions{
    display:flex;justify-content:center;gap:18px;padding-top:12px;font-size:13px;color:#565959;
}
.amz-image-actions i{margin-right:5px;}

.amz-brand-line{margin-bottom:8px;}
.amz-brand-line a{color:#007185;text-decoration:none;font-size:14px;}
.amz-brand-line a:hover{color:#c7511f;text-decoration:underline;}
.amz-title{
    font-size:28px;line-height:1.3;font-weight:500;color:#0f1111;margin:0 0 10px;
}
.amz-rating-row{
    display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px;
}
.amz-rating-stars{color:#f69931;font-size:14px;}
.amz-rating-link{color:#007185;text-decoration:none;font-size:14px;}
.amz-rating-link:hover{color:#c7511f;text-decoration:underline;}
.amz-sep{color:#bbb;}
.amz-views,.amz-purchased-note{font-size:14px;color:#565959;}
.amz-divider{height:1px;background:#e7e7e7;margin:14px 0 18px;}
.amz-price-block{margin-bottom:18px;}
.amz-discount{font-size:28px;color:#cc0c39;line-height:1;margin-bottom:6px;}
.amz-price-line{display:flex;align-items:flex-start;gap:3px;color:#0f1111;}
.amz-currency{font-size:18px;margin-top:7px;}
.amz-price{font-size:34px;line-height:1;font-weight:500;}
.amz-mrp-line{margin-top:8px;color:#565959;font-size:14px;}
.amz-tax-line{color:#565959;font-size:14px;margin-top:4px;}

.amz-offers-row{
    display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px;
}
.amz-offer-card{
    border:1px solid #d5d9d9;border-radius:8px;padding:12px;background:#fff;min-height:94px;
}
.amz-offer-card strong{display:block;font-size:14px;margin-bottom:6px;color:#0f1111;}
.amz-offer-card span{display:block;font-size:13px;color:#565959;line-height:1.45;}

.amz-short-desc{font-size:14px;line-height:1.7;color:#222;margin-bottom:18px;}

.amz-variant-box{
    border:1px solid #e7e7e7;
    border-radius:12px;
    padding:18px;
    background:#fff;
}
.amz-variant-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}
.amz-option-group label{
    display:block;font-size:14px;font-weight:700;margin-bottom:8px;color:#111;
}
.amz-select{
    width:100%;
    height:44px !important;
    border-radius:8px !important;
    border:1px solid #d5d9d9 !important;
    padding:0 12px !important;
    box-shadow:none !important;
}
.amz-highlights{
    border-top:1px solid #e7e7e7;
    padding-top:16px;
    margin-top:18px;
}
.amz-highlight-row{
    display:grid;grid-template-columns:140px 1fr;gap:12px;margin-bottom:10px;font-size:14px;
}
.amz-highlight-label{color:#565959;font-weight:700;}
.amz-highlight-value{color:#111;word-break:break-word;}

.amz-buy-box{
    border:1px solid #d5d9d9;border-radius:12px;padding:18px;position:sticky;top:20px;background:#fff;
}
.amz-buy-price{font-size:28px;color:#0f1111;line-height:1.1;margin-bottom:12px;}
.amz-buy-delivery,.amz-buy-location{font-size:14px;color:#007185;margin-bottom:10px;}
.amz-stock{font-size:20px;margin-bottom:14px;}
.amz-stock.in{color:#007600;}
.amz-stock.out{color:#b12704;}
.amz-buy-meta{font-size:13px;color:#565959;margin-bottom:16px;}
.amz-buy-meta div{display:grid;grid-template-columns:80px 1fr;gap:10px;margin-bottom:8px;}
.amz-buy-meta strong{color:#111;font-weight:500;}
.amz-qty-label{display:block;margin-bottom:6px;font-size:14px;color:#111;}
.amz-qty-select{
    width:100%;height:40px;border:1px solid #d5d9d9;border-radius:8px;padding:0 10px;margin-bottom:12px;
}
.amz-btn{
    width:100%;border:none;border-radius:999px;height:38px;font-weight:700;font-size:14px;margin-bottom:10px;
}
.amz-btn-cart{background:var(--theme-primary);color:#111;}
.amz-btn-cart:hover{background:var(--theme-hover);}
.amz-btn-buy{background:var(--theme-hover);color:#111;}
.amz-btn-buy:hover{background:var(--theme-primary);}
.amz-gift-line{font-size:13px;color:#111;padding-top:6px;}
.amz-share-mini{margin-top:14px;font-size:13px;}

.amz-delivery-checker{
    margin:12px 0 14px;
}
.amz-delivery-row{
    display:flex;
    gap:8px;
}
.amz-pincode-input{
    flex:1;
    height:40px;
    border:1px solid #d5d9d9;
    border-radius:8px;
    padding:0 12px;
    font-size:14px;
    color:#111;
}
.amz-pincode-input:focus{
    outline:none;
    border-color:var(--theme-hover);
    box-shadow:0 0 0 2px rgba(231,118,0,.15);
}
.amz-pincode-btn{
    border:none;
    background:var(--theme-primary);
    color:#111;
    border-radius:8px;
    padding:0 16px;
    font-weight:700;
    height:40px;
    white-space:nowrap;
}
.amz-pincode-btn:hover{
    background:var(--theme-hover);
}
.amz-location-btn{
    margin-top:10px;
    width:100%;
    border:1px solid #d5d9d9;
    background:#fff;
    color:#111;
    border-radius:8px;
    height:40px;
    font-weight:600;
}
.amz-location-btn:hover{
    background:#f7fafa;
}

.amz-store-rating-box{
    margin-top:28px;
    border:1px solid #e7e7e7;
    border-radius:12px;
    padding:20px;
    background:#fff;
}
.amz-store-rating-head h3{
    margin:0 0 6px;
    font-size:22px;
    font-weight:700;
    color:#111;
}
.amz-store-rating-head h3 a{
    color:#111;
    text-decoration:none;
}
.amz-store-rating-head h3 a:hover{
    color:#c7511f;
    text-decoration:underline;
}
.amz-store-rating-head p{
    margin:0;
    color:#565959;
    font-size:14px;
}
.amz-store-rating-content{
    margin-top:16px;
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}
.amz-store-rating-score{
    font-size:34px;
    font-weight:700;
    color:#111;
    line-height:1;
}
.amz-store-rating-stars{
    color:#f69931;
    font-size:18px;
}
.amz-store-rating-meta{
    font-size:14px;
    color:#565959;
}
.amz-store-rating-actions{
    margin-left:auto;
}
.amz-view-reviews-btn{
    border:none;
    background:var(--theme-primary);
    color:#111;
    border-radius:999px;
    padding:10px 18px;
    font-weight:700;
    font-size:14px;
}
.amz-view-reviews-btn:hover{
    background:var(--theme-hover);
}

.amz-detail-section{margin-top:28px;}
.amz-section-title{font-size:24px;font-weight:700;color:#111;margin-bottom:14px;}
.amz-about-box{
    border-top:1px solid #e7e7e7;padding-top:18px;font-size:14px;line-height:1.8;color:#222;
}

.amz-tab-card{margin-top:28px;}
.amz-tabs{border-bottom:1px solid #ddd;}
.amz-tabs > li > a{color:#111;font-weight:600;}
.amz-tabs > li.active > a,
.amz-tabs > li.active > a:focus,
.amz-tabs > li.active > a:hover{
    color:#111;border:1px solid #ddd;border-bottom-color:transparent;background:#fff;
}
.amz-tab-content{
    border:1px solid #ddd;border-top:none;padding:22px;font-size:14px;line-height:1.8;color:#222;
}

.amz-review-wrap{display:grid;grid-template-columns:280px 1fr;gap:26px;}
.amz-review-summary{border-right:1px solid #eee;padding-right:18px;}
.amz-review-score{font-size:34px;font-weight:700;color:#111;}
.amz-review-text{color:#565959;font-size:14px;margin-top:6px;}
.amz-single-review{border-bottom:1px solid #eee;padding:14px 0;}
.amz-review-head{
    display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;
}
.amz-empty-review,.amz-already-review,.amz-login-review-msg{font-size:14px;color:#565959;}
.amz-review-form-box{margin-top:20px;padding-top:16px;border-top:1px solid #eee;}
.amz-review-submit{
    background:var(--theme-primary);border:none;border-radius:999px;padding:10px 22px;font-weight:700;color:#111;
}
.amz-review-submit:hover{background:var(--theme-hover);}

.amz-store-modal .modal-content{
    border-radius:14px;
}
.amz-store-modal .modal-header{
    border-bottom:1px solid #eee;
}
.amz-store-modal .modal-title{
    font-weight:700;
    color:#111;
}
.amz-store-review-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}
.amz-store-review-item{
    border:1px solid #ececec;
    border-radius:10px;
    padding:14px;
    background:#fff;
}
.amz-store-review-top{
    margin-bottom:8px;
    font-size:14px;
    color:#111;
}
.amz-store-review-product{
    color:#565959;
    margin-left:6px;
}
.amz-store-review-stars{
    color:#f69931;
    font-size:14px;
    margin-bottom:8px;
}
.amz-store-review-comment{
    font-size:14px;
    color:#222;
    line-height:1.7;
}

.amz-related-products{margin-top:34px;}
.amz-related-head h2{margin:0 0 6px;font-size:24px;font-weight:700;}
.amz-related-head p{margin:0 0 16px;color:#666;}
.amz-related-card{padding:8px;display:flex;width:100%;}
.amz-related-inner{
    border:1px solid #e7e7e7;border-radius:12px;background:#fff;overflow:hidden;height:100%;position:relative;
    display:flex;flex-direction:column;width:100%;
}
.amz-related-img{
    display:flex;align-items:center;justify-content:center;flex:0 0 auto;height:240px;padding:18px;background:#fff;border-bottom:1px solid #f2f2f2;
}
.amz-related-img img{max-width:100%;max-height:100%;object-fit:contain;}
.amz-related-info{padding:16px;display:flex;flex-direction:column;flex:1 1 auto;}
/* title 2 line pe clamp â€” warna lamba naam card ko bahut tall bana deta tha */
.amz-related-info h3{
    margin:0 0 8px;font-size:14px;line-height:1.5;
    height:42px;overflow:hidden;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.amz-related-info h3 a{color:#0f1111;text-decoration:none;}
.amz-related-info h3 a:hover{color:#c7511f;}
.amz-related-price{font-size:18px;font-weight:700;color:#111;margin-bottom:12px;}
.amz-related-price del{font-size:13px;color:#999;margin-left:6px;}
.amz-related-btn{
    display:inline-block;background:var(--theme-primary);color:#111;text-decoration:none !important;border-radius:999px;padding:10px 16px;font-weight:700;
    margin-top:auto;align-self:flex-start;
}
/* carousel ke sabhi cards barabar height ke rahein */
.amz-related-products .product-carousel{position:relative;}
.amz-related-products .product-carousel .owl-stage{display:flex;align-items:stretch;}
.amz-related-products .product-carousel .owl-item{display:flex;height:auto !important;}

/* nav arrows side me â€” neeche ki khaali row hat jaye */
.amz-related-products .product-carousel .owl-nav{margin:0;}
.amz-related-products .product-carousel .owl-nav button.owl-prev,
.amz-related-products .product-carousel .owl-nav button.owl-next{
    position:absolute;top:130px;width:38px;height:38px;
    margin:0 !important;padding:0 !important;
    border:1px solid #e6e6e6 !important;border-radius:50% !important;
    background:#fff !important;color:#333 !important;
    font-size:20px !important;line-height:36px !important;
    box-shadow:0 6px 18px rgba(0,0,0,.10);transition:.25s ease;z-index:5;
}
.amz-related-products .product-carousel .owl-nav button.owl-prev{left:-8px;}
.amz-related-products .product-carousel .owl-nav button.owl-next{right:-8px;}
.amz-related-products .product-carousel .owl-nav button.owl-prev:hover,
.amz-related-products .product-carousel .owl-nav button.owl-next:hover{
    background:var(--theme-primary) !important;border-color:var(--theme-primary) !important;color:#111 !important;
}

/* 4 se kam products: simple grid */
.amz-related-grid{display:flex;flex-wrap:wrap;margin:0 -8px;}
.amz-related-grid .amz-related-card{flex:0 0 25%;max-width:25%;}
.amz-related-btn:hover{background:var(--theme-hover);}
.amz-badge{
    position:absolute;top:10px;left:10px;z-index:3;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:700;
}
.amz-badge.in{background:#e9f9ee;color:#1d8f45;}
.amz-badge.out{background:#ffe9e9;color:#d13232;}

@media (max-width: 1199px){
    .amz-main-grid{
        grid-template-columns:380px minmax(340px,1fr) 280px;
        gap:20px;
    }
    .prod-slider li{height:420px;}
    .amz-offers-row{grid-template-columns:1fr;}
    .amz-variant-grid{grid-template-columns:1fr;}
}

@media (max-width: 991px){
    .amz-main-grid{grid-template-columns:1fr;}
    .amz-gallery-grid,.amz-buy-box{position:static;}
    .amz-review-wrap{grid-template-columns:1fr;}
    .amz-review-summary{
        border-right:none;border-bottom:1px solid #eee;padding-right:0;padding-bottom:16px;margin-bottom:10px;
    }
    .amz-store-rating-actions{
        margin-left:0;
        width:100%;
    }
    .amz-related-grid .amz-related-card{flex:0 0 33.333%;max-width:33.333%;}
}

@media (max-width: 767px){
    .amz-product-page{padding:14px 0 30px;}
    .amz-gallery-grid{grid-template-columns:1fr;}
    .amz-thumb-col{flex-direction:row;overflow:auto;}
    .amz-thumb-img{width:64px;height:64px;}
    .prod-slider li{height:300px;}
    .amz-title{font-size:22px;}
    .amz-price{font-size:28px;}
    .amz-highlight-row{grid-template-columns:1fr;gap:4px;}
    .amz-tab-content{padding:16px;}
    .amz-related-img{height:190px;}
    .amz-related-grid .amz-related-card{flex:0 0 50%;max-width:50%;}
    .amz-related-products .product-carousel .owl-nav button.owl-prev,
    .amz-related-products .product-carousel .owl-nav button.owl-next{
        top:100px;width:34px;height:34px;line-height:32px !important;
    }
    .amz-related-products .product-carousel .owl-nav button.owl-prev{left:0;}
    .amz-related-products .product-carousel .owl-nav button.owl-next{right:0;}
    .amz-variant-grid{grid-template-columns:1fr;}
    .amz-delivery-row{flex-direction:column;}
    .amz-pincode-btn{width:100%;}
}
.amz-meta-line{
    display:flex;
    align-items:center;
    gap:8px;
    margin:6px 0 10px;
}

/* veg/nonveg icon */
.food-icon{
    width:16px;
    height:16px;
    border:2px solid;
    display:inline-block;
    position:relative;
    border-radius:2px;
    background:#fff;
}

.food-icon::after{
    content:'';
    width:8px;
    height:8px;
    border-radius:50%;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

.food-icon.veg{
    border-color:#008000;
}
.food-icon.veg::after{
    background:#008000;
}

.food-icon.nonveg{
    border-color:#d60000;
}
.food-icon.nonveg::after{
    background:#d60000;
}

/* text */
.amz-bought-text{
    font-size:14px;
    color:#565959;
    font-weight:500;
}

/* ==========================================================
   BDA PRODUCT PAGE 2026 - redesign layer
   Loaded by header.php on product.php only. Everything is scoped
   under .amz-product-page (plus the shared page rail) so no other
   template inherits these rules.
   ========================================================== */

/* page rail now comes from the shared storefront container system
   (assets/css/storefront-shell.css) */

.amz-product-page{
    background:#f5f7fa;
    padding:14px 0 36px;
    color:var(--bda-ink, #0f2340);
}

/* ---------- breadcrumb ---------- */
.amz-product-page .amz-breadcrumb{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
    font-size:12.5px;
    color:var(--bda-muted, #5c6b80);
    margin-bottom:12px;
    min-width:0;
}
.amz-product-page .amz-breadcrumb a{color:var(--bda-navy, #0b2545);font-weight:600;}
.amz-product-page .amz-breadcrumb a:hover{color:var(--bda-orange, #f26a1b);}
.amz-product-page .amz-breadcrumb span{margin:0;color:#9aa6b5;}
.amz-product-page .amz-breadcrumb-current{
    color:var(--bda-muted, #5c6b80);
    max-width:min(46ch, 100%);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* ---------- three column shell ---------- */
.amz-product-page .amz-main-grid{
    display:grid;
    grid-template-columns:minmax(0,36%) minmax(0,1fr) minmax(300px,340px);
    gap:24px;
    align-items:start;
    background:transparent;
}
.amz-product-page .amz-left,
.amz-product-page .amz-center{
    background:#fff;
    border:1px solid var(--bda-line, #e4e9f0);
    border-radius:14px;
    padding:18px;
}
.amz-product-page .amz-center{padding:20px 22px;}

/* ---------- gallery ---------- */
.amz-product-page .amz-gallery-grid{
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    gap:12px;
    align-items:start;
}
.amz-product-page .amz-thumb-col{
    display:flex;
    flex-direction:column;
    gap:8px;
    max-height:460px;
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:2px;
}
.amz-product-page .amz-thumb-item{
    display:block;
    border:2px solid var(--bda-line, #e4e9f0);
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    padding:4px;
}
.amz-product-page .amz-thumb-item.active{
    border-color:var(--bda-lime-dark, #c6ce18);
    box-shadow:0 0 0 2px rgba(216,224,42,.28);
}
.amz-product-page .amz-thumb-item:hover{border-color:var(--bda-orange, #f26a1b);}
.amz-product-page .amz-thumb-img{
    width:100%;
    height:56px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}
.amz-product-page .amz-thumb-img img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.amz-product-page .amz-main-image-wrap{
    position:relative;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    min-width:0;
}
.amz-product-page .prod-slider li{
    height:440px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
}
.amz-product-page .amz-zoom-frame{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    overflow:hidden;
}
.amz-product-page .amz-zoom-img{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
}
/* bxSlider builds a very wide track - keep it clipped inside the wrapper */
.amz-product-page .bx-wrapper,
.amz-product-page .bx-viewport{
    max-width:100% !important;
    overflow:hidden !important;
    border:0;
    box-shadow:none;
    background:transparent;
    margin:0;
}
.amz-product-page .amz-image-actions{
    display:flex;
    gap:18px;
    justify-content:center;
    padding:8px 0 2px;
    font-size:13px;
    color:var(--bda-muted, #5c6b80);
    font-weight:600;
}
.amz-product-page .amz-image-actions i{color:var(--bda-navy, #0b2545);margin-right:5px;}

/* ---------- centre column ---------- */
.amz-product-page .amz-brand-line a,
.amz-product-page .amz-brand-line span{
    font-size:13.5px;
    font-weight:700;
    color:var(--bda-navy, #0b2545);
    text-decoration:none;
}
.amz-product-page .amz-brand-line a:hover{color:var(--bda-orange, #f26a1b);text-decoration:underline;}

.amz-product-page .amz-title{
    font-size:30px;
    line-height:1.25;
    font-weight:800;
    color:var(--bda-ink, #0f2340);
    margin:8px 0 10px;
    overflow-wrap:anywhere;
}

.amz-product-page .amz-rating-row{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    font-size:13px;
    color:var(--bda-muted, #5c6b80);
}
.amz-product-page .amz-rating-score{
    font-weight:800;
    color:var(--bda-ink, #0f2340);
    font-size:15px;
}
.amz-product-page .amz-rating-stars{color:#f5a623;}
.amz-product-page .amz-rating-link{color:var(--bda-navy, #0b2545);font-weight:600;text-decoration:none;}
.amz-product-page .amz-rating-link:hover{color:var(--bda-orange, #f26a1b);text-decoration:underline;}
.amz-product-page .amz-no-rating{font-weight:600;color:var(--bda-muted, #5c6b80);}

.amz-product-page .amz-divider{
    height:1px;
    background:var(--bda-line, #e4e9f0);
    margin:14px 0;
}

/* ---------- price ---------- */
.amz-product-page .amz-price-block{margin-bottom:14px;}
.amz-product-page .amz-price-line{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    color:var(--bda-ink, #0f2340);
}
.amz-product-page .amz-currency{font-size:20px;font-weight:700;align-self:flex-start;margin-top:6px;}
.amz-product-page .amz-price{font-size:36px;line-height:1.05;font-weight:800;}
.amz-product-page .amz-discount-chip{
    border:1px solid var(--bda-orange, #f26a1b);
    color:var(--bda-orange, #f26a1b);
    background:#fff4ec;
    font-size:13px;
    font-weight:800;
    padding:5px 10px;
    border-radius:8px;
}
.amz-product-page .amz-mrp-line{
    font-size:14px;
    color:var(--bda-muted, #5c6b80);
    margin-top:6px;
}
.amz-product-page .amz-mrp-line del{color:#8b97a8;}
.amz-product-page .amz-tax-line{
    font-size:12.5px;
    color:var(--bda-muted, #5c6b80);
    margin-top:4px;
}

/* ---------- trust cards under price ---------- */
.amz-product-page .amz-trust-cards{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin:16px 0 4px;
}
.amz-product-page .amz-trust-card{
    display:flex;
    align-items:flex-start;
    gap:10px;
    border:1px solid var(--bda-line, #e4e9f0);
    border-radius:12px;
    padding:12px;
    background:#fff;
}
.amz-product-page .amz-trust-card i{
    font-size:18px;
    color:var(--bda-navy, #0b2545);
    margin-top:2px;
}
.amz-product-page .amz-trust-card strong{
    display:block;
    font-size:13px;
    color:var(--bda-ink, #0f2340);
}
.amz-product-page .amz-trust-card span{
    display:block;
    font-size:11.5px;
    color:var(--bda-muted, #5c6b80);
    line-height:1.35;
}
.amz-product-page .amz-trust-card a{color:var(--bda-navy, #0b2545);font-weight:600;}

/* ---------- variant + highlight box ---------- */
.amz-product-page .amz-variant-box{
    margin-top:16px;
    border-top:1px solid var(--bda-line, #e4e9f0);
    padding-top:14px;
}
.amz-product-page .amz-option-group label{
    font-size:12.5px;
    font-weight:700;
    color:var(--bda-ink, #0f2340);
    margin-bottom:4px;
    display:block;
}
.amz-product-page .amz-select{
    min-height:44px;
    border-radius:10px;
    border:1px solid var(--bda-line, #e4e9f0);
}
.amz-product-page .amz-highlights{margin-top:12px;}
.amz-product-page .amz-highlight-row{
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    gap:10px;
    padding:7px 0;
    border-bottom:1px dashed #eef1f6;
    font-size:13px;
}
.amz-product-page .amz-highlight-row:last-child{border-bottom:none;}
.amz-product-page .amz-highlight-label{color:var(--bda-muted, #5c6b80);font-weight:600;}
.amz-product-page .amz-highlight-value{color:var(--bda-ink, #0f2340);font-weight:600;overflow-wrap:anywhere;}

/* ---------- purchase card ---------- */
.amz-product-page .amz-buy-box{
    background:#fff;
    border:1px solid var(--bda-line, #e4e9f0);
    border-radius:14px;
    padding:16px;
    box-shadow:0 10px 24px rgba(11,37,69,.06);
}
.amz-product-page .amz-pincode-label{
    display:block;
    font-size:12.5px;
    font-weight:700;
    color:var(--bda-ink, #0f2340);
    margin-bottom:6px;
}
.amz-product-page .amz-delivery-row{
    display:flex;
    align-items:center;   /* stop the input stretching when the row wraps */
    gap:8px;
    flex-wrap:wrap;
}
.amz-product-page .amz-pincode-input{
    flex:1 1 140px;
    min-width:0;
    height:44px;
    min-height:44px;
    border:1px solid var(--bda-line, #e4e9f0);
    border-radius:10px;
    padding:0 12px;
    font-size:14px;
}
.amz-product-page .amz-pincode-input:focus{
    outline:none;
    border-color:var(--bda-navy, #0b2545);
    box-shadow:0 0 0 3px rgba(11,37,69,.10);
}
.amz-product-page .amz-pincode-btn{
    flex:0 0 auto;
    min-height:44px;
    padding:0 18px;
    border:1px solid var(--bda-lime-dark, #c6ce18);
    border-radius:10px;
    background:var(--bda-lime, #d8e02a);
    color:var(--bda-navy, #0b2545);
    font-weight:800;
}
.amz-product-page .amz-pincode-btn:hover{background:var(--bda-lime-dark, #c6ce18);}
.amz-product-page .amz-pincode-btn[disabled]{opacity:.65;cursor:not-allowed;}
.amz-product-page .amz-location-btn{
    margin-top:8px;
    background:none;
    border:none;
    padding:6px 0;
    color:var(--bda-navy, #0b2545);
    font-size:12.5px;
    font-weight:700;
    text-decoration:underline;
    min-height:44px;
}
.amz-product-page .amz-buy-location{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
    font-size:13px;
    color:var(--bda-muted, #5c6b80);
    margin-top:12px;
}
.amz-product-page .amz-buy-location i{color:var(--bda-navy, #0b2545);}
.amz-product-page .amz-buy-location strong{color:var(--bda-ink, #0f2340);}
.amz-product-page .amz-buy-delivery{
    font-size:12.5px;
    color:var(--bda-muted, #5c6b80);
    margin:6px 0 12px;
    line-height:1.45;
    overflow-wrap:anywhere;
}

.amz-product-page .amz-stock{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:16px;
    font-weight:800;
    padding:10px 0;
    border-top:1px solid var(--bda-line, #e4e9f0);
}
.amz-product-page .amz-stock-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    display:inline-block;
}
.amz-product-page .amz-stock.in{color:#1d8f45;}
.amz-product-page .amz-stock.in .amz-stock-dot{background:#1d8f45;}
.amz-product-page .amz-stock.out{color:#d13232;}
.amz-product-page .amz-stock.out .amz-stock-dot{background:#d13232;}

.amz-product-page .amz-buy-meta{
    font-size:13px;
    color:var(--bda-muted, #5c6b80);
    border-top:1px solid var(--bda-line, #e4e9f0);
    padding-top:10px;
    margin-bottom:12px;
}
.amz-product-page .amz-buy-meta > div{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:4px 0;
}
.amz-product-page .amz-buy-meta strong{color:var(--bda-ink, #0f2340);text-align:right;overflow-wrap:anywhere;}
.amz-product-page .amz-free-ship{color:#1d8f45;}
.amz-product-page .amz-seller-link{color:var(--bda-navy, #0b2545);text-decoration:none;}
.amz-product-page .amz-seller-link:hover{text-decoration:underline;color:var(--bda-orange, #f26a1b);}

.amz-product-page .amz-qty-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
}
.amz-product-page .amz-qty-label{
    margin:0;
    font-size:13px;
    font-weight:700;
    color:var(--bda-ink, #0f2340);
}
.amz-product-page .amz-qty-select{
    flex:1;
    min-height:44px;
    border:1px solid var(--bda-line, #e4e9f0);
    border-radius:10px;
    padding:0 10px;
    background:#fff;
    font-size:14px;
}

.amz-product-page .amz-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    min-height:48px;
    border:none;
    border-radius:10px;
    font-weight:800;
    font-size:15px;
    margin-bottom:10px;
    transition:.2s ease;
}
.amz-product-page .amz-btn-cart{
    background:var(--bda-lime, #d8e02a);
    color:var(--bda-navy, #0b2545);
    border:1px solid var(--bda-lime-dark, #c6ce18);
}
.amz-product-page .amz-btn-cart:hover{background:var(--bda-lime-dark, #c6ce18);}
.amz-product-page .amz-btn-buy{
    background:var(--bda-navy, #0b2545);
    color:#fff;
    border:1px solid var(--bda-navy, #0b2545);
}
.amz-product-page .amz-btn-buy:hover{background:var(--bda-navy-soft, #13345c);}
.amz-product-page .amz-btn[disabled]{
    opacity:.55;
    cursor:not-allowed;
    filter:grayscale(.35);
}
.amz-product-page .amz-btn.is-loading{opacity:.7;pointer-events:none;}

.amz-product-page .amz-secure-note{
    display:flex;
    align-items:flex-start;
    gap:10px;
    border-top:1px solid var(--bda-line, #e4e9f0);
    padding-top:12px;
    margin-top:4px;
}
.amz-product-page .amz-secure-note i{color:var(--bda-navy, #0b2545);font-size:17px;margin-top:2px;}
.amz-product-page .amz-secure-note strong{display:block;font-size:13px;color:var(--bda-ink, #0f2340);}
.amz-product-page .amz-secure-note span{display:block;font-size:11.5px;color:var(--bda-muted, #5c6b80);}
.amz-product-page .amz-share-mini{
    margin-top:12px;
    font-size:12.5px;
    color:var(--bda-muted, #5c6b80);
}

/* ---------- benefit strip ---------- */
.amz-product-page .amz-benefit-strip{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
    background:#fbfaef;
    border:1px solid #eceab8;
    border-radius:14px;
    padding:12px 6px;
    margin-top:22px;
}
.amz-product-page .amz-benefit{
    display:flex;
    align-items:center;
    gap:12px;
    padding:4px 16px;
    border-right:1px solid #e8e6c9;
}
.amz-product-page .amz-benefit:last-child{border-right:none;}
.amz-product-page .amz-benefit i{font-size:22px;color:var(--bda-navy, #0b2545);flex:0 0 auto;}
.amz-product-page .amz-benefit strong{display:block;font-size:13.5px;color:var(--bda-ink, #0f2340);}
.amz-product-page .amz-benefit span{display:block;font-size:12px;color:var(--bda-muted, #5c6b80);line-height:1.4;}
.amz-product-page .amz-benefit a{color:var(--bda-navy, #0b2545);font-weight:600;}

/* ---------- sections, tabs ---------- */
.amz-product-page .amz-detail-section,
.amz-product-page .amz-tab-card,
.amz-product-page .amz-store-rating-box{
    background:#fff;
    border:1px solid var(--bda-line, #e4e9f0);
    border-radius:14px;
    margin-top:22px;
}
.amz-product-page .amz-detail-section{padding:18px 20px;}
.amz-product-page .amz-section-title{
    font-size:18px;
    font-weight:800;
    color:var(--bda-navy, #0b2545);
    margin-bottom:10px;
}
.amz-product-page .amz-tabs{
    border-bottom:1px solid var(--bda-line, #e4e9f0);
    padding:0 10px;
    margin:0;
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}
.amz-product-page .amz-tabs > li{float:none;flex:0 0 auto;}
.amz-product-page .amz-tabs > li > a{
    border:none !important;
    background:transparent !important;
    color:var(--bda-muted, #5c6b80);
    font-weight:700;
    font-size:14px;
    padding:14px 16px;
    border-radius:0;
    border-bottom:3px solid transparent !important;
    white-space:nowrap;
    min-height:48px;
}
.amz-product-page .amz-tabs > li.active > a,
.amz-product-page .amz-tabs > li > a:hover,
.amz-product-page .amz-tabs > li > a:focus{
    color:var(--bda-orange, #f26a1b);
    border-bottom-color:var(--bda-orange, #f26a1b) !important;
}
.amz-product-page .amz-tab-content{padding:18px 20px;}

/* ---------- imported rich HTML safety net ----------
   Admin content is pasted from other sites and carries fixed inline
   widths (product 215 ships a 433px block). Normalise it at render
   time only - the stored HTML is never modified. */
.amz-product-page .amz-rich-content,
.amz-product-page .amz-about-box,
.amz-product-page .amz-short-desc{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
}
.amz-product-page .amz-rich-content *,
.amz-product-page .amz-about-box *,
.amz-product-page .amz-short-desc *{
    max-width:100% !important;
    box-sizing:border-box !important;
}
.amz-product-page .amz-rich-content div,
.amz-product-page .amz-rich-content section,
.amz-product-page .amz-rich-content p,
.amz-product-page .amz-rich-content ul,
.amz-product-page .amz-rich-content ol,
.amz-product-page .amz-rich-content li,
.amz-product-page .amz-rich-content span,
.amz-product-page .amz-about-box div,
.amz-product-page .amz-about-box p,
.amz-product-page .amz-about-box ul,
.amz-product-page .amz-about-box li{
    width:auto !important;
    min-width:0 !important;
    float:none !important;
}
.amz-product-page .amz-rich-content img,
.amz-product-page .amz-rich-content video,
.amz-product-page .amz-rich-content iframe,
.amz-product-page .amz-about-box img{
    max-width:100% !important;
    height:auto !important;
}
.amz-product-page .amz-rich-content table,
.amz-product-page .amz-about-box table{
    display:block;
    width:100% !important;
    max-width:100% !important;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}
.amz-product-page .amz-rich-content ul,
.amz-product-page .amz-about-box ul{padding-left:20px;}

/* ---------- related products ---------- */
.amz-product-page .amz-related-products{margin-top:24px;}
.amz-product-page .amz-related-head h2{
    font-size:22px;
    font-weight:800;
    color:var(--bda-navy, #0b2545);
}

/* ---------- responsive ---------- */
@media (max-width: 1399px){
    .amz-product-page .amz-main-grid{
        grid-template-columns:minmax(0,34%) minmax(0,1fr) minmax(288px,310px);
        gap:18px;
    }
    .amz-product-page .amz-title{font-size:26px;}
    .amz-product-page .prod-slider li{height:380px;}
}

@media (max-width: 1199px){
    .amz-product-page .amz-main-grid{
        grid-template-columns:minmax(0,1fr) minmax(288px,320px);
        grid-template-areas:
            "gallery buy"
            "info buy";
    }
    .amz-product-page .amz-left{grid-area:gallery;}
    .amz-product-page .amz-center{grid-area:info;}
    .amz-product-page .amz-right{grid-area:buy;}
    .amz-product-page .amz-trust-cards{grid-template-columns:repeat(3,minmax(0,1fr));}
    .amz-product-page .amz-benefit-strip{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:10px;}
    .amz-product-page .amz-benefit:nth-child(2){border-right:none;}
}

@media (max-width: 991px){
    .amz-product-page .amz-main-grid{
        grid-template-columns:1fr;
        grid-template-areas:
            "gallery"
            "info"
            "buy";
        gap:14px;
    }
    .amz-product-page .amz-title{font-size:23px;}
}

@media (max-width: 767px){
    
    .amz-product-page{padding:10px 0 28px;}
    .amz-product-page .amz-left,
    .amz-product-page .amz-center{padding:14px;}

    .amz-product-page .amz-breadcrumb{
        flex-wrap:nowrap;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        padding-bottom:4px;
        font-size:12px;
    }
    .amz-product-page .amz-breadcrumb a,
    .amz-product-page .amz-breadcrumb-current{white-space:nowrap;}
    .amz-product-page .amz-breadcrumb-current{max-width:22ch;}

    /* main image first, thumbnails as a horizontal strip below */
    .amz-product-page .amz-gallery-grid{
        display:flex;
        flex-direction:column;
        gap:10px;
    }
    .amz-product-page .amz-main-image-wrap{order:1;}
    .amz-product-page .amz-thumb-col{
        order:2;
        flex-direction:row;
        max-height:none;
        /* must not grow with its content, otherwise the strip widens the page */
        width:100%;
        max-width:100%;
        min-width:0;
        flex:0 0 auto;
        overflow-x:auto;
        overflow-y:hidden;
        gap:8px;
        padding-bottom:4px;
    }
    .amz-product-page .amz-thumb-item{flex:0 0 62px;}
    .amz-product-page .amz-thumb-img{height:48px;}
    .amz-product-page .prod-slider li{height:300px;}

    .amz-product-page .amz-title{font-size:22px;}
    .amz-product-page .amz-price{font-size:30px;}
    .amz-product-page .amz-trust-cards{grid-template-columns:1fr;gap:8px;}
    .amz-product-page .amz-highlight-row{grid-template-columns:120px minmax(0,1fr);font-size:12.5px;}

    .amz-product-page .amz-benefit-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;}
    .amz-product-page .amz-benefit{
        border-right:none;
        padding:4px;
        gap:8px;
        align-items:flex-start;
    }
    .amz-product-page .amz-benefit i{font-size:17px;margin-top:2px;}
    .amz-product-page .amz-benefit strong{font-size:12.5px;line-height:1.25;}
    .amz-product-page .amz-benefit span{font-size:11px;line-height:1.35;}

    .amz-product-page .amz-detail-section,
    .amz-product-page .amz-tab-content{padding:14px;}
    .amz-product-page .amz-tabs > li > a{padding:12px 12px;font-size:13px;}
}

/* narrow cards: keep the pincode row readable instead of squeezing it */
@media (max-width: 1199px){
    .amz-product-page .amz-pincode-input{flex:1 1 100%;}
    .amz-product-page .amz-pincode-btn{width:100%;}
}
@media (min-width: 1400px){
    .amz-product-page .amz-pincode-input{flex:1 1 140px;}
    .amz-product-page .amz-pincode-btn{width:auto;}
}

/* ==========================================================
   BDA PRODUCT PAGE - final optimisation pass
   (still scoped to .amz-product-page / body.bda-product-body)
   ========================================================== */

/* ---------- shared: functional scroll rails without visible scrollbars ---------- */
.amz-product-page .amz-breadcrumb,
.amz-product-page .amz-thumb-col,
.amz-product-page .amz-tabs,
.amz-product-page .amz-related-grid,
.amz-product-page .amz-trust-cards{
    scrollbar-width:none;
    -ms-overflow-style:none;
}
.amz-product-page .amz-breadcrumb::-webkit-scrollbar,
.amz-product-page .amz-thumb-col::-webkit-scrollbar,
.amz-product-page .amz-tabs::-webkit-scrollbar,
.amz-product-page .amz-related-grid::-webkit-scrollbar,
.amz-product-page .amz-trust-cards::-webkit-scrollbar{
    width:0;
    height:0;
    display:none;
}

/* ---------- breadcrumb: one compact row ---------- */
.amz-product-page .amz-breadcrumb{
    min-height:0;
    max-height:44px;
    padding:6px 0;
    margin-bottom:10px;
}

/* ---------- top section balance ---------- */
.amz-product-page .amz-main-grid{gap:20px;}
.amz-product-page .amz-left,
.amz-product-page .amz-center{padding:20px;align-self:start;}
.amz-product-page .amz-right{align-self:start;}

/* purchase card stays visible while the summary column scrolls */
@media (min-width: 1200px){
    .amz-product-page .amz-right{
        position:sticky;
        top:210px;
    }
}

/* ---------- trust row vs benefit strip ----------
   Both rows carry the same three platform promises, so only one of them is
   shown per breakpoint instead of stacking two near-identical strips:
   - desktop: the wide benefit strip (reference layout)
   - mobile : the compact trust row, which lands right after Buy Now
   No wording is changed and no content is deleted. */
.amz-product-page .amz-trust-cards{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin:16px 0 0;
}
@media (min-width: 992px){
    .amz-product-page .amz-trust-cards{display:none;}
}
@media (max-width: 991px){
    .amz-product-page .amz-benefit-strip{display:none;}
}
.amz-product-page .amz-trust-card{padding:12px 14px;}
.amz-product-page .amz-trust-card i{font-size:17px;}
.amz-product-page .amz-trust-card span{font-size:12px;}

/* ---------- gallery ---------- */
.amz-product-page .amz-thumb-col{max-height:420px;}
.amz-product-page .prod-slider li{height:400px;}
.amz-product-page .amz-image-actions{
    padding:6px 0 0;
    font-size:12.5px;
}

/* ---------- specification table inside the tabs ---------- */
.amz-product-page .amz-spec-table{
    border:1px solid var(--bda-line, #e4e9f0);
    border-radius:12px;
    padding:6px 14px;
    margin-bottom:14px;
    max-width:640px;
}
.amz-product-page .amz-spec-extra{margin-top:8px;}
.amz-product-page .amz-desc-intro{
    color:var(--bda-muted, #5c6b80);
    font-size:13.5px;
    line-height:1.6;
    padding-bottom:12px;
    margin-bottom:12px;
    border-bottom:1px solid var(--bda-line, #e4e9f0);
}

/* ---------- tabs: white card, orange active underline ---------- */
.amz-product-page .amz-tab-card{
    background:#fff;
    border:1px solid var(--bda-line, #e4e9f0);
    border-radius:14px;
    overflow:hidden;
    margin-top:20px;
}
.amz-product-page .amz-tabs{
    background:#fff;
    border-bottom:1px solid var(--bda-line, #e4e9f0);
    padding:0 8px;
    flex-wrap:nowrap;
}
.amz-product-page .amz-tabs > li > a{
    height:50px;
    min-height:50px;
    display:flex;
    align-items:center;
    color:var(--bda-navy, #0b2545);
    font-size:14px;
    padding:0 18px;
    background:transparent !important;
}
.amz-product-page .amz-tabs > li.active > a,
.amz-product-page .amz-tabs > li > a:hover,
.amz-product-page .amz-tabs > li > a:focus{
    color:var(--bda-orange, #f26a1b);
    border-bottom:3px solid var(--bda-orange, #f26a1b) !important;
}
.amz-product-page .amz-tabs > li > a:focus-visible{
    outline:3px solid var(--bda-orange, #f26a1b);
    outline-offset:-3px;
}

/* ---------- store rating (now after the tabs) ---------- */
.amz-product-page .amz-store-rating-box{margin-top:20px;padding:16px 20px;}

/* ---------- related products ---------- */
.amz-product-page .amz-related-products{margin-top:20px;}
.amz-product-page .amz-related-grid{
    display:flex;
    flex-wrap:wrap;
    margin:0 -8px;
}
.amz-product-page .amz-related-grid .amz-related-card{
    flex:0 0 25%;
    max-width:25%;
}
@media (min-width: 1700px){
    .amz-product-page .amz-related-grid .amz-related-card{
        flex-basis:20%;
        max-width:20%;
    }
}
.amz-product-page .amz-related-img{height:200px;}

/* ---------- responsive ---------- */
@media (max-width: 1199px){
    .amz-product-page .amz-trust-cards{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media (max-width: 991px){
    /* purchase card climbs above the long content on tablets/phones */
    .amz-product-page .amz-main-grid{
        grid-template-areas:
            "gallery"
            "info"
            "buy";
    }
    .amz-product-page .amz-related-grid .amz-related-card{flex:0 0 33.333%;max-width:33.333%;}
}

@media (max-width: 767px){
    .amz-product-page{padding:8px 0 22px;}
    .amz-product-page .amz-main-grid{gap:12px;}
    .amz-product-page .amz-left,
    .amz-product-page .amz-center{padding:14px;}
    .amz-product-page .amz-buy-box{padding:14px;}

    .amz-product-page .amz-breadcrumb{
        max-height:40px;
        padding:4px 0;
        margin-bottom:8px;
    }

    /* compact gallery */
    .amz-product-page .prod-slider li{height:270px;}
    .amz-product-page .amz-thumb-item{flex:0 0 58px;}
    .amz-product-page .amz-thumb-img{height:44px;}
    .amz-product-page .amz-image-actions{gap:14px;font-size:12px;}

    .amz-product-page .amz-title{font-size:21px;line-height:1.3;}
    .amz-product-page .amz-price{font-size:28px;}

    /* pincode row stacks full width on phones */
    .amz-product-page .amz-delivery-row{flex-direction:column;align-items:stretch;}
    .amz-product-page .amz-pincode-input,
    .amz-product-page .amz-pincode-btn{width:100%;flex:0 0 auto;}

    /* variant selects full width */
    .amz-product-page .amz-variant-grid{
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
    }
    .amz-product-page .amz-select{width:100%;}

    /* trust row: compact horizontal rail instead of three tall cards */
    .amz-product-page .amz-trust-cards{
        display:flex;
        flex-wrap:nowrap;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        gap:8px;
        margin-top:12px;
    }
    .amz-product-page .amz-trust-card{
        flex:0 0 72%;
        max-width:72%;
        padding:10px;
    }
    .amz-product-page .amz-trust-card strong{font-size:12.5px;}
    .amz-product-page .amz-trust-card span{font-size:11px;}

    .amz-product-page .amz-benefit-strip{margin-top:16px;}
    .amz-product-page .amz-tab-card,
    .amz-product-page .amz-store-rating-box,
    .amz-product-page .amz-related-products{margin-top:16px;}

    .amz-product-page .amz-tabs > li > a{
        height:48px;
        min-height:48px;
        padding:0 14px;
        font-size:13px;
    }
    .amz-product-page .amz-spec-table{padding:4px 12px;}

    /* related products: swipeable rail, ~1.3 cards visible */
    .amz-product-page .amz-related-grid{
        flex-wrap:nowrap;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scroll-snap-type:x proximity;
        margin:0;
        gap:10px;
        padding-bottom:4px;
    }
    .amz-product-page .amz-related-grid .amz-related-card{
        flex:0 0 76%;
        max-width:76%;
        padding:0;
        scroll-snap-align:start;
    }
    .amz-product-page .amz-related-img{height:170px;}

    /* room for the sticky bar */
    body.bda-product-body{padding-bottom:78px;}
}

@media (max-width: 360px){
    .amz-product-page .amz-thumb-item{flex:0 0 52px;}
    .amz-product-page .amz-thumb-img{height:40px;}
    .amz-product-page .amz-trust-card{flex-basis:82%;max-width:82%;}
}

/* ---------- mobile sticky purchase bar ---------- */
.amz-sticky-buy{display:none;}

@media (max-width: 767px){
    .amz-sticky-buy{
        display:flex;
        align-items:center;
        gap:10px;
        position:fixed;
        left:0;
        right:0;
        bottom:0;
        z-index:1200;
        background:#fff;
        border-top:1px solid var(--bda-line, #e4e9f0);
        box-shadow:0 -6px 18px rgba(11,37,69,.10);
        padding:8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    }
    .amz-sticky-price{
        flex:0 0 auto;
        min-width:78px;
        line-height:1.2;
    }
    .amz-sticky-amount{
        display:block;
        font-size:15px;
        font-weight:800;
        color:var(--bda-ink, #0f2340);
    }
    .amz-sticky-stock{font-size:10.5px;font-weight:700;}
    .amz-sticky-stock.in{color:#1d8f45;}
    .amz-sticky-stock.out{color:#d13232;}

    .amz-sticky-actions{
        flex:1;
        display:flex;
        gap:8px;
        min-width:0;
    }
    .amz-sticky-btn{
        flex:1;
        min-width:0;
        min-height:48px;
        border-radius:10px;
        font-weight:800;
        font-size:14px;
        border:1px solid transparent;
        white-space:nowrap;
    }
    .amz-sticky-cart{
        background:var(--bda-lime, #d8e02a);
        border-color:var(--bda-lime-dark, #c6ce18);
        color:var(--bda-navy, #0b2545);
    }
    .amz-sticky-now{
        background:var(--bda-navy, #0b2545);
        border-color:var(--bda-navy, #0b2545);
        color:#fff;
    }
    .amz-sticky-btn[disabled]{opacity:.55;cursor:not-allowed;}
    .amz-sticky-btn.is-loading{opacity:.7;pointer-events:none;}
    .amz-sticky-btn:focus-visible{
        outline:3px solid var(--bda-orange, #f26a1b);
        outline-offset:2px;
    }

    /* when a field is focused the on-screen keyboard appears - drop the bar
       out of the way instead of letting it sit on top of the input */
    .amz-product-page:focus-within .amz-sticky-buy{opacity:1;}
}

/* ==========================================================
   LOWER-SECTION PASS
   - related products reuse the homepage product-card component
   - no blank grey block under the main product grid
   - compact purchase card + compact details section
   Everything stays scoped to .amz-product-page.
   ========================================================== */

/* ---------- 1. no blank grey block under the main grid ---------- */
/* the summary card fills the grid row instead of leaving background showing */
.amz-product-page .amz-main-grid{align-items:stretch;}
.amz-product-page .amz-left,
.amz-product-page .amz-center{align-self:stretch;height:auto;}
.amz-product-page .amz-right{align-self:start;}
.amz-product-page .amz-gallery-grid{position:static;top:auto;}

/* compact purchase card */
.amz-product-page .amz-buy-box{padding:14px 16px;}
.amz-product-page .amz-delivery-checker{margin:0 0 10px;}
.amz-product-page .amz-buy-location{margin-top:8px;}
.amz-product-page .amz-buy-delivery{margin:4px 0 8px;}
.amz-product-page .amz-stock{padding:8px 0;font-size:15px;}
.amz-product-page .amz-buy-meta{padding-top:8px;margin-bottom:10px;}
.amz-product-page .amz-buy-meta > div{padding:3px 0;}
.amz-product-page .amz-qty-row{margin-bottom:10px;}
.amz-product-page .amz-btn{margin-bottom:8px;}
.amz-product-page .amz-secure-note{padding-top:10px;}
.amz-product-page .amz-location-btn{min-height:38px;padding:2px 0;}
.amz-product-page .amz-share-mini{margin-top:8px;}

/* ---------- 2. compact trust row (shown on every breakpoint now) ---------- */
@media (min-width: 992px){
    .amz-product-page .amz-trust-cards{display:grid;}
}
.amz-product-page .amz-trust-cards{margin:14px 0 0;}

/* ---------- 3. details / tabs spacing ---------- */
.amz-product-page .amz-tab-card{margin-top:16px;}
.amz-product-page .amz-tab-content{padding:16px 20px;}
.amz-product-page .amz-store-rating-box{margin-top:16px;}

/* ==========================================================
   4. RELATED PRODUCTS - homepage product-card component
   (same classes and skin as .home-redesign .mf-product-card)
   ========================================================== */
.amz-product-page .amz-related-products{margin-top:18px;}
.amz-product-page .amz-related-head{margin-bottom:10px;}
.amz-product-page .amz-related-head h2{
    font-size:20px;
    font-weight:800;
    color:var(--bda-navy, #0b2545);
    margin:0;
}

/* auto-fill keeps cards at their natural width: two products do NOT stretch.
   ~280px track => 4 cards at 1366/1440 and 5 cards at 1920. */
.amz-product-page .amz-related-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
    gap:14px;
    justify-content:start;
    margin:0;
    overflow:visible;
}

.amz-product-page .amz-related-grid .mf-product-card{
    display:flex;
    width:100%;
    padding:0;
    max-width:none;
}
/* The related-products cards used to carry a full second copy of the card
   skin here - including a lime CTA forced with `color: ... !important`,
   which fought the shared card and left navy text on an orange button.
   The card is styled once, in assets/css/product-card.css; this page only
   declares the grid it sits in. */

/* ---------- related products: responsive ---------- */
@media (max-width: 1199px){
    .amz-product-page .amz-related-grid{grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));}
}
@media (max-width: 991px){
    .amz-product-page .amz-related-grid{grid-template-columns:repeat(auto-fill, minmax(190px, 1fr));gap:12px;}
}
@media (max-width: 767px){
    /* same 2-up rhythm as the homepage mobile product rows */
    .amz-product-page .amz-related-grid{
        display:grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:10px;
        overflow:visible;
    }
    .amz-product-page .amz-related-grid .mf-product-card{
        flex:1 1 auto;
        max-width:none;
    }
    .amz-product-page .amz-related-head h2{font-size:17px;}
    .amz-product-page .amz-related-products{margin-top:14px;}
}

