/* Responsive editorial single-product page — v1.16.5 */
@media (max-width:1279px){
  .brandina-product-shell{grid-template-columns:minmax(290px,320px) minmax(0,1fr);grid-template-areas:"purchase main";}
  .brandina-product-purchase-column{padding-top:96px;}
  .brandina-product-hero{grid-template-columns:minmax(0,1fr) minmax(350px,44%);}
  .brandina-product-quick-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
  .brandina-product-services>div{padding-inline:12px;}
  .brandina-single-products-list{grid-auto-columns:clamp(210px,calc((100% - 42px)/4),250px);}
}
@media (max-width:1099px){
  .brandina-single-product-container{width:min(calc(100% - 20px),var(--bp-container,1540px));}
  .brandina-product-shell{grid-template-columns:1fr;grid-template-areas:"main" "purchase";direction:rtl;}
  .brandina-product-purchase-column{padding-top:0;}
  .brandina-product-purchase-card{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding-top:0;}
  .brandina-purchase-offer,.brandina-purchase-benefits,.brandina-single-add-to-cart,.brandina-purchase-price{grid-column:1/-1;}
  .brandina-purchase-store{grid-column:1;}.brandina-purchase-stats{grid-column:2;align-self:stretch;}
  .brandina-product-hero{grid-template-columns:minmax(0,1fr) minmax(310px,44%);}
  .brandina-review-layout,.brandina-question-layout{grid-template-columns:230px minmax(0,1fr);gap:18px;}
  .brandina-product-services{grid-template-columns:repeat(2,1fr);row-gap:18px;}.brandina-product-services>div:nth-child(2){border-left:0;}
  .brandina-single-products-list{grid-auto-columns:clamp(205px,calc((100% - 28px)/3),245px);}
}
@media (max-width:767px){
  body.brandina-single-product-page{background:#fff;}
  .brandina-single-product{font-size:var(--bp-body-m,13px);}
  .brandina-single-product-container{width:100%;padding:0 var(--bp-mobile-pad,10px) 28px;}
  .brandina-single-breadcrumb{display:none;}
  .brandina-product-heading{display:block;padding:12px 4px 10px;border-bottom:0;text-align:center;}
  .brandina-single-title{font-size:max(var(--bp-title-m,17px),17px);line-height:1.7;}
  .brandina-single-english-title{margin-top:2px;font-size:10px;line-height:1.6;text-align:center;}
  .brandina-heading-actions{justify-content:center;margin-top:8px;}
  .brandina-heading-actions button{width:38px;height:38px;border:0;background:transparent;}
  .brandina-heading-actions .brandina-icon{width:19px;height:19px;}
  .brandina-product-shell{display:block;margin-top:0;}
  .brandina-product-main-column{display:block;}
  .brandina-product-purchase-column{padding:0;min-height:0;}
  .brandina-product-hero{display:flex;flex-direction:column;gap:10px;direction:rtl;}
  .brandina-product-gallery-card,.brandina-product-summary-card,.brandina-product-content-section,.brandina-single-products-section{border-radius:11px;}
  .brandina-product-gallery-card{padding:6px;border:1px solid var(--bp-border,#e6e8ee);}
  .brandina-product-main-image{min-height:var(--bp-gallery-h-m,330px);border-radius:10px;}
  .brandina-product-main-image img{height:var(--bp-gallery-h-m,330px);}
  .brandina-single-discount{top:9px;right:9px;min-width:43px;padding:5px 8px;font-size:10px;border-radius:8px;}
  .brandina-gallery-zoom{display:none;}
  .brandina-product-thumbnails{gap:7px;margin-top:8px;}
  .brandina-product-thumbnails button{flex-basis:62px;width:62px;height:62px;padding:3px;border-radius:9px;}
  .brandina-product-summary-card{padding:10px 3px 14px;border:0;background:#fff;}
  .brandina-single-rating-row{justify-content:center;gap:6px;margin-bottom:11px;}
  .brandina-single-rating-row>*{padding:5px 8px;border:0;background:transparent;font-size:10px;}
  .brandina-product-quick-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
  .brandina-quick-fact{min-height:76px;padding:10px 8px;border-radius:9px;}
  .brandina-quick-fact>span{margin-bottom:4px;font-size:10px;line-height:1.5;}
  .brandina-quick-option b{font-size:11px;line-height:1.6;}
  .brandina-quick-option i{width:11px;height:11px;}
  .brandina-single-short-description{margin-top:12px;font-size:11px;line-height:2.05;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;}
  .brandina-summary-links{gap:10px;margin-top:9px;padding-top:9px;}.brandina-summary-links a{font-size:10px;}
  .brandina-delivery-callout{margin-top:12px;padding:12px;border-radius:9px;}.brandina-delivery-callout>span{width:40px;height:40px;border-radius:10px;}.brandina-delivery-callout strong{font-size:11px;line-height:1.7;}.brandina-delivery-callout small{font-size:9px;line-height:1.6;}
  .brandina-product-purchase-card{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;}
  .brandina-product-services{grid-template-columns:repeat(3,1fr);gap:0;margin-top:14px;padding:14px 0;}
  .brandina-product-services>div{grid-template-columns:32px 1fr;padding:0 7px;border-left:1px solid var(--bp-border,#e6e8ee);}
  .brandina-product-services>div:nth-child(4){display:none;}.brandina-product-services>div:nth-child(3){border-left:0;}
  .brandina-product-services>div>span{width:32px;height:32px;border-radius:9px;}.brandina-product-services .brandina-icon{width:17px;height:17px;}.brandina-product-services strong{font-size:10px;line-height:1.6;}.brandina-product-services small{font-size:8px;line-height:1.6;}
  .brandina-product-section-nav{position:static;gap:20px;margin-top:14px;padding:12px 4px;overflow-x:auto;white-space:nowrap;background:#fff;backdrop-filter:none;scrollbar-width:none;}.brandina-product-section-nav::-webkit-scrollbar{display:none;}.brandina-product-section-nav a{font-size:11px;}
  .brandina-product-content-section{margin-top:12px;padding:20px 12px;border:0;border-top:1px solid var(--bp-border,#e6e8ee);border-radius:0;scroll-margin-top:20px;}
  .brandina-product-content-section h2,.brandina-single-products-head h2{margin-bottom:20px;font-size:20px;line-height:1.6;}
  .brandina-product-rich-content{font-size:12px;line-height:2.15;}.brandina-product-rich-content h2,.brandina-product-rich-content h3{font-size:16px;}.brandina-product-rich-content img{border-radius:10px;}
  .brandina-attributes-table th,.brandina-attributes-table td{padding:14px 8px!important;font-size:11px!important;line-height:1.8;}.brandina-attributes-table th{width:42%;}
  .brandina-review-layout,.brandina-question-layout{display:block;}
  .brandina-review-summary,.brandina-question-summary{position:static;margin-bottom:14px;padding:24px 16px;border-radius:18px;}
  .brandina-review-summary>strong,.brandina-question-summary>strong{font-size:40px;}.brandina-review-stars{font-size:19px;}.brandina-rating-bars{gap:11px;margin-top:20px;}.brandina-rating-bars>div{grid-template-columns:48px 1fr 34px;font-size:10px;}
  .brandina-review-comments .commentlist li{padding:14px;border-radius:12px;}.brandina-review-comments .comment_container{grid-template-columns:38px 1fr;gap:9px;}.brandina-review-comments .avatar{width:38px!important;height:38px!important;}.brandina-review-comments #review_form_wrapper{padding:14px;border-radius:12px;}
  .brandina-question-summary a{max-width:190px;margin-inline:auto;padding:11px;font-size:11px;}.brandina-question-list article,.brandina-empty-questions{padding:15px;border-radius:12px;font-size:11px;}
  .brandina-single-products-section{margin-top:12px;padding:20px 6px 16px;border:0;border-top:1px solid var(--bp-border,#e6e8ee);border-radius:0;}
  .brandina-single-products-head{padding-inline:4px;margin-bottom:12px;}
  .brandina-single-products-viewport{touch-action:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;cursor:auto;}
  .brandina-single-products-list{grid-auto-columns:clamp(164px,45vw,190px);gap:8px;}
  .brandina-single-related-card{grid-template-rows:142px minmax(0,1fr);border-radius:10px;}
  .brandina-single-related-topline{top:7px;right:7px;left:7px;}.brandina-related-discount{padding:4px 6px;border-radius:6px;font-size:9px;}.brandina-related-wishlist{width:29px;height:29px;border:0;}.brandina-related-wishlist .brandina-icon{width:15px;height:15px;}
  .brandina-single-related-media{height:100%;padding:10px;}
  .brandina-single-related-body{grid-template-rows:minmax(50px,auto) 24px minmax(70px,auto);gap:8px;padding:10px;}
  .brandina-single-related-body h3{min-height:50px;font-size:11px;line-height:1.75;}
  .brandina-related-meta{font-size:9px;line-height:1.5;}
  .brandina-related-footer{grid-template-columns:1fr;gap:8px;align-content:end;min-height:70px;}
  .brandina-single-related-price{font-size:12px;line-height:1.5;}.brandina-single-related-price del{font-size:9px;}
  .brandina-related-add{width:100%;min-height:34px!important;padding:0 8px!important;font-size:10px!important;border-radius:8px!important;}
  .brandina-single-products-arrow{display:none!important;}
  .brandina-mobile-purchase-bar{position:fixed;right:0;left:0;bottom:calc(var(--brandina-bottom-nav-height,66px) + env(safe-area-inset-bottom));z-index:10005;min-height:var(--bp-sticky-h,70px);display:grid;grid-template-columns:106px minmax(0,1fr);grid-template-areas:"qty buy";gap:10px;align-items:stretch;padding:8px 10px;direction:ltr;background:#fff;border-top:1px solid var(--bp-border,#e6e8ee);box-shadow:0 -9px 28px rgba(15,35,78,.13);}
  .brandina-mobile-quantity{grid-area:qty;height:52px;display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;padding:4px;direction:ltr;background:#f3f5fa;border-radius:11px;}
  .brandina-mobile-quantity button{width:34px;height:44px;display:grid;place-items:center;padding:0;color:var(--bp-text,#0c2a64);background:#fff;border:0;border-radius:9px;font-size:17px;line-height:1;font-weight:900;}.brandina-mobile-quantity span{display:grid;place-items:center;min-width:0;height:44px;text-align:center;font-size:14px;line-height:1;font-weight:900;}
  .brandina-mobile-buy-button{grid-area:buy;width:100%;height:52px;padding:0 12px;color:var(--bp-button-text,#fff);background:var(--bp-button-bg,#ef4056);border:0;border-radius:var(--bp-button-radius,11px);font-size:12px;line-height:1.5;font-weight:900;direction:rtl;}
  .brandina-mobile-purchase-bar.has-price{grid-template-areas:"price price" "qty buy";grid-template-rows:auto 52px;min-height:calc(var(--bp-sticky-h,70px) + 34px);}.brandina-mobile-purchase-bar.has-price .brandina-mobile-quantity{grid-area:qty;}.brandina-mobile-purchase-bar.has-price .brandina-mobile-buy-button{grid-area:buy;}.brandina-mobile-purchase-price{grid-area:price;text-align:left;font-size:11px;line-height:1.5;direction:rtl;}.brandina-mobile-purchase-price del{color:#9aa5b7;font-size:9px;}.brandina-mobile-purchase-price ins{text-decoration:none;}
  body.brandina-has-product-mobile-buybar{padding-bottom:calc(var(--brandina-bottom-nav-height,66px) + var(--bp-sticky-h,70px) + env(safe-area-inset-bottom))!important;}
  body.brandina-mobile-sheet-open .brandina-mobile-purchase-bar,body.brandina-overlay-open .brandina-mobile-purchase-bar{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(120%);}
  body:not(.brandina-has-mobile-bottom-nav) .brandina-mobile-purchase-bar{bottom:env(safe-area-inset-bottom);}
  body:not(.brandina-has-mobile-bottom-nav).brandina-has-product-mobile-buybar{padding-bottom:calc(var(--bp-sticky-h,70px) + env(safe-area-inset-bottom))!important;}
}
@media (max-width:390px){
  .brandina-product-quick-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
  .brandina-quick-fact{min-height:68px;}
  .brandina-product-services>div{padding-inline:4px;}.brandina-product-services strong{font-size:9px;}
  .brandina-single-products-list{grid-auto-columns:162px;}
  .brandina-mobile-purchase-bar{grid-template-columns:98px minmax(0,1fr);gap:8px;padding-inline:8px;}
  .brandina-mobile-quantity{grid-template-columns:31px minmax(0,1fr) 31px;}.brandina-mobile-quantity button{width:31px;}
  .brandina-mobile-buy-button{font-size:11px;padding-inline:8px;}
}
@media (min-width:768px){.brandina-mobile-purchase-bar{display:none!important;}}

/* v1.16.5 — responsive card geometry */
@media (max-width:1099px){
  .brandina-product-purchase-card{top:auto;contain:none;}
}
@media (max-width:767px){
  .brandina-single-products-section{padding-inline:10px;}
  .brandina-single-products-head{padding-inline:0;}
  .brandina-single-products-viewport{
    margin-inline:0;
    touch-action:pan-x pan-y pinch-zoom;
    scroll-snap-type:x proximity;
  }
  .brandina-single-products-list{gap:var(--brandina-related-gap,10px);}
  .brandina-single-related-card{
    flex-basis:var(--brandina-related-card-width,190px);
    width:var(--brandina-related-card-width,190px);
    border-radius:12px;
    scroll-snap-align:end;
  }
  .brandina-single-related-media{aspect-ratio:1/1;padding:10px;}
  .brandina-single-related-body{
    grid-template-rows:minmax(58px,58px) 22px minmax(90px,auto);
    gap:8px;
    padding:10px;
  }
  .brandina-single-related-body h3{
    min-height:58px;
    max-height:58px;
    font-size:12px;
    line-height:1.75;
  }
  .brandina-related-meta{height:22px;font-size:9.5px;}
  .brandina-related-footer{
    grid-template-columns:1fr;
    align-content:end;
    gap:8px;
    min-height:90px;
  }
  .brandina-single-related-price{
    min-height:38px;
    font-size:12.5px;
  }
  .brandina-single-related-price del{font-size:9.5px;}
  .brandina-related-add{
    width:100%;
    min-width:0;
    min-height:38px!important;
    font-size:10.5px!important;
  }
}
@media (max-width:389px){
  .brandina-single-products-section{padding-inline:8px;}
  .brandina-single-related-body h3{font-size:11.5px;}
}

/* v1.16.5 — compact mobile product cards and a coordinated buy bar. */
@media (max-width:767px){
  .brandina-single-products-section{
    overflow:hidden;
    padding:20px 8px 18px;
  }
  .brandina-single-products-head{
    padding-inline:2px;
    margin-bottom:14px;
  }
  .brandina-single-products-head h2{
    margin:0;
    font-size:21px;
    line-height:1.55;
  }
  .brandina-single-products-viewport{
    width:100%;
    margin:0;
    padding:0 2px 3px;
    overflow-x:auto;
    overflow-y:hidden;
    touch-action:pan-x pan-y pinch-zoom;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }
  .brandina-single-products-list{
    display:flex;
    flex-flow:row-reverse nowrap;
    align-items:flex-start;
    gap:var(--brandina-related-gap,9px);
    width:max-content;
    min-width:100%;
    padding:0;
  }
  .brandina-single-related-card{
    flex:0 0 var(--brandina-related-card-width,178px);
    width:var(--brandina-related-card-width,178px);
    height:auto!important;
    min-height:0!important;
    align-self:flex-start;
    display:grid;
    grid-template-rows:auto auto;
    overflow:hidden;
    border-radius:13px;
    scroll-snap-align:end;
    contain:layout paint style;
  }
  .brandina-single-related-media{
    width:100%;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1/1;
    padding:9px;
  }
  .brandina-single-related-media img{
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    object-fit:contain;
  }
  .brandina-single-related-body{
    min-height:0!important;
    display:grid;
    grid-template-rows:54px 21px auto;
    gap:7px;
    padding:10px;
    border-top:1px solid #f1f3f7;
  }
  .brandina-single-related-body h3{
    min-height:54px;
    max-height:54px;
    margin:0;
    font-size:11.5px;
    line-height:1.75;
    text-align:right;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .brandina-related-meta{
    height:21px;
    min-width:0;
    gap:5px;
    font-size:9px;
    line-height:1.4;
    overflow:hidden;
  }
  .brandina-related-meta>span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .brandina-related-footer{
    min-height:0!important;
    display:grid;
    grid-template-columns:1fr;
    align-content:end;
    gap:7px;
  }
  .brandina-single-related-price{
    min-height:34px;
    display:grid;
    align-content:end;
    justify-items:start;
    gap:1px;
    font-size:12px;
    line-height:1.4;
  }
  .brandina-single-related-price del{font-size:9px;}
  .brandina-related-add{
    width:100%!important;
    min-width:0!important;
    min-height:37px!important;
    padding:0 7px!important;
    border-radius:9px!important;
    font-size:10px!important;
    line-height:1.4!important;
  }

  .brandina-mobile-purchase-bar{
    grid-template-columns:minmax(0,1fr) 112px;
    grid-template-areas:"buy qty";
    gap:8px;
    align-items:end;
    padding:8px 10px 7px;
    direction:ltr;
    border-radius:22px 22px 0 0;
    overflow:visible;
  }
  .brandina-mobile-buy-button{
    grid-area:buy;
    position:relative;
    width:100%;
    height:54px;
    min-width:0;
    padding:0 16px;
    border-radius:16px 16px 38px 16px;
    font-size:13px;
    line-height:1.5;
    box-shadow:0 9px 22px color-mix(in srgb,var(--bp-button-bg,#ef4056) 23%,transparent);
    isolation:isolate;
  }
  .brandina-mobile-quantity{
    grid-area:qty;
    width:112px;
    height:54px;
    grid-template-columns:35px minmax(0,1fr) 35px;
    padding:4px;
    direction:ltr;
    border-radius:16px 16px 16px 38px;
    box-shadow:0 6px 18px rgba(15,35,78,.06);
  }
  .brandina-mobile-quantity button{
    width:35px;
    height:46px;
    border-radius:11px;
    font-size:18px;
  }
  .brandina-mobile-quantity span{
    height:46px;
    font-size:15px;
  }
  .brandina-mobile-purchase-bar.has-price{
    grid-template-columns:minmax(0,1fr) 112px;
    grid-template-areas:"price price" "buy qty";
    grid-template-rows:auto 54px;
    row-gap:7px;
  }
  .brandina-mobile-purchase-price{
    grid-area:price;
    min-width:0;
    padding-inline:2px;
    text-align:right;
    font-size:12px;
    line-height:1.45;
    direction:rtl;
  }
}
@media (max-width:389px){
  .brandina-single-related-body h3{font-size:11px;}
  .brandina-mobile-purchase-bar,
  .brandina-mobile-purchase-bar.has-price{
    grid-template-columns:minmax(0,1fr) 104px;
    gap:7px;
    padding-inline:7px;
  }
  .brandina-mobile-quantity{width:104px;grid-template-columns:32px minmax(0,1fr) 32px;}
  .brandina-mobile-quantity button{width:32px;}
  .brandina-mobile-buy-button{padding-inline:9px;font-size:12px;}
}

/* Brandina v1.16.8 — a true, dynamically aligned concave notch on the button itself. */
@media (max-width:767px){
  .brandina-mobile-purchase-bar{
    overflow:visible;
    isolation:isolate;
  }
  .brandina-mobile-buy-button{
    position:relative;
    z-index:2;
    overflow:hidden;
    border-radius:0!important;
    box-shadow:none!important;
    transform:translateZ(0);
  }
  .brandina-mobile-buy-button::before,
  .brandina-mobile-buy-button::after{
    content:none!important;
    display:none!important;
  }
  .brandina-mobile-buy-button.has-aligned-menu-notch{
    /* Values are measured from the actual menu circle by product.js. */
    -webkit-mask-image:radial-gradient(
      circle at var(--bp-buy-notch-x) calc(100% + var(--bp-buy-notch-y)),
      transparent 0 var(--bp-buy-notch-inner),
      #000 var(--bp-buy-notch-radius)
    );
    mask-image:radial-gradient(
      circle at var(--bp-buy-notch-x) calc(100% + var(--bp-buy-notch-y)),
      transparent 0 var(--bp-buy-notch-inner),
      #000 var(--bp-buy-notch-radius)
    );
    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;
    -webkit-mask-size:100% 100%;
    mask-size:100% 100%;
  }
}


/* Brandina v1.16.9 — bring the shaped buy button closer to the centre menu and soften its outer corners. */
@media (max-width:767px){
  .brandina-mobile-buy-button{
    border-radius:9px!important;
    transform:translate3d(0,5px,0);
  }
}


/* Brandina v1.16.10 — keep the mobile quantity and buy button aligned, while preserving the menu notch. */
@media (max-width:767px){
  .brandina-mobile-purchase-bar,
  .brandina-mobile-purchase-bar.has-price{
    align-items:center;
  }
  .brandina-mobile-purchase-bar{
    --bp-mobile-action-shift:5px;
  }
  .brandina-mobile-buy-button,
  .brandina-mobile-quantity{
    align-self:center;
    transform:translate3d(0,var(--bp-mobile-action-shift),0);
  }
  .brandina-mobile-buy-button{
    border-radius:10px!important;
  }
}


/* Brandina 2.0.1 — readable mobile prices on the single-product page. */
@media (max-width:767px){
  .brandina-purchase-price{
    font-size:var(--bp-price-m,22px)!important;
    line-height:1.45!important;
    gap:7px!important;
  }
  .brandina-purchase-price del{
    font-size:max(13px,.58em)!important;
  }
  .brandina-mobile-purchase-price{
    font-size:var(--bp-mobile-price-size,17px)!important;
    font-weight:950!important;
    line-height:1.5!important;
  }
  .brandina-mobile-purchase-price del{
    font-size:max(11px,.68em)!important;
  }
  .brandina-mobile-purchase-price .woocommerce-Price-currencySymbol,
  .brandina-purchase-price .woocommerce-Price-currencySymbol{
    font-size:.58em!important;
  }
}


/* Brandina 2.5.2 — the product price is a mandatory first row in the mobile
   purchase bar whenever a WooCommerce price exists. */
@media (max-width:767px){
  .brandina-mobile-purchase-bar.has-price{
    grid-template-areas:"price price" "buy qty"!important;
    grid-template-rows:minmax(28px,auto) 54px!important;
    min-height:calc(var(--bp-sticky-h,70px) + 38px)!important;
    row-gap:7px!important;
  }
  .brandina-mobile-purchase-price{
    grid-area:price!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    min-height:28px!important;
    padding:0 3px!important;
    color:var(--bp-text,#0c2a64)!important;
    font-size:var(--bp-mobile-price-size,17px)!important;
    font-weight:950!important;
    text-align:right!important;
    direction:rtl!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .brandina-mobile-purchase-price>.woocommerce-Price-amount,
  .brandina-mobile-purchase-price>ins{
    color:var(--bp-text,#0c2a64)!important;
  }
}
