/* =====================================================================
   NESBUY - Shop / Category / Product grid design
   File: wp-content/themes/astra-child/nesbuy-shop.css
   Colors: red #FF4141, navy #0B2545, button navy #0E2F56
   ===================================================================== */

:root{
  --nbs-red:#FF4141;
  --nbs-red-dark:#ec2f2f;
  --nbs-navy:#0B2545;
  --nbs-navy2:#0E2F56;
  --nbs-line:#e6ebf3;
  --nbs-soft:#f1f5fb;
  --nbs-muted:#6b7a90;
}

/* ---------- Breadcrumb + page title ---------- */
body .woocommerce-breadcrumb{margin:0 0 14px;padding-top:26px;font-size:13.5px;color:var(--nbs-muted)}
body .woocommerce-breadcrumb a{color:var(--nbs-navy);font-weight:600;text-decoration:none}
body .woocommerce-breadcrumb a:hover{color:var(--nbs-red)}

body .woocommerce-products-header{margin:0 0 26px}
body .woocommerce-products-header__title,
body .woocommerce-products-header .page-title{margin:0;font-size:clamp(30px,3.2vw,42px);font-weight:800;line-height:1.15;letter-spacing:-.01em;color:var(--nbs-navy)}
body .woocommerce-products-header__title::after,
body .woocommerce-products-header .page-title::after{content:"";display:block;width:56px;height:4px;margin-top:14px;border-radius:4px;background:var(--nbs-red)}
body .woocommerce-products-header .term-description{margin-top:14px;max-width:720px;color:var(--nbs-muted);font-size:15.5px;line-height:1.7}
body .woocommerce-products-header .term-description p{margin:0}

/* ---------- Result count + sorting bar ---------- */
body .woocommerce-result-count{margin:0 0 26px;font-size:14.5px;line-height:46px;color:var(--nbs-muted)}
body .woocommerce-ordering{margin:0 0 26px}
body .woocommerce-ordering select{
  appearance:none;-webkit-appearance:none;min-height:46px;padding:0 46px 0 16px;
  border:1px solid #d9e0ec;border-radius:10px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2545' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center/14px;
  color:var(--nbs-navy);font-size:14.5px;font-weight:600;cursor:pointer;box-shadow:none}
body .woocommerce-ordering select:focus{outline:0;border-color:var(--nbs-red);box-shadow:0 0 0 3px rgba(255,65,65,.15)}

/* ---------- Product grid ---------- */
body ul.products{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px!important;margin:0 0 40px!important;padding:0!important;list-style:none}
body ul.products::before,
body ul.products::after{display:none!important;content:none!important}

/* ---------- Product card ---------- */
body ul.products li.product{
  float:none!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;
  display:flex!important;flex-direction:column;position:relative;overflow:hidden;text-align:left;
  background:#fff;border:1px solid var(--nbs-line);border-radius:16px;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
body ul.products li.product:hover{transform:translateY(-4px);border-color:#d5deec;box-shadow:0 16px 34px rgba(11,37,69,.12)}

body ul.products li.product .astra-shop-thumbnail-wrap{position:relative;margin:0;overflow:hidden;background:var(--nbs-soft)}
body ul.products li.product img{
  display:block;width:100%!important;height:auto;aspect-ratio:1/1;object-fit:cover;
  margin:0!important;border-radius:0!important;box-shadow:none!important;transition:transform .45s ease}
body ul.products li.product:hover img{transform:scale(1.05)}

body ul.products li.product .astra-shop-summary-wrap{display:flex;flex-direction:column;flex:1;padding:16px 16px 18px;text-align:left}

/* category (title er upore) */
body ul.products li.product .ast-woo-product-category{margin:0 0 6px;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--nbs-muted)}

/* title (max 2 line) */
body ul.products li.product .woocommerce-loop-product__title{
  margin:0 0 10px!important;padding:0!important;min-height:2.8em;
  font-size:15.5px!important;font-weight:700!important;line-height:1.4!important;color:var(--nbs-navy);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body ul.products li.product a{text-decoration:none}
body ul.products li.product a:hover .woocommerce-loop-product__title{color:var(--nbs-red)}

/* rating */
body ul.products li.product .star-rating{margin:0 0 8px;font-size:13px;color:#f5a623}

/* price: sale price lal, ager price kata */
body ul.products li.product .price{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0 0 16px!important;
  font-size:18px;font-weight:800;color:var(--nbs-navy)}
body ul.products li.product .price del{order:2;color:#9aa5b8;font-size:14px;font-weight:500;opacity:1;text-decoration:line-through}
body ul.products li.product .price ins{order:1;color:var(--nbs-red);font-weight:800;text-decoration:none;background:none}

/* Add to cart button (bottom e align hobe) */
body ul.products li.product .button,
body ul.products li.product a.add_to_cart_button{
  display:block!important;width:100%;margin:auto 0 0!important;padding:12px 16px!important;
  border:0!important;border-radius:10px!important;background:var(--nbs-red)!important;color:#fff!important;
  font-size:14.5px!important;font-weight:700!important;line-height:1.2!important;text-align:center;text-decoration:none;
  box-shadow:0 8px 16px rgba(255,65,65,.22);transition:background .2s ease,transform .15s ease}
body ul.products li.product .button:hover,
body ul.products li.product a.add_to_cart_button:hover{background:var(--nbs-red-dark)!important;transform:translateY(-1px)}
body ul.products li.product .button.loading{opacity:.7}
body ul.products li.product .button.added::after,
body ul.products li.product .button.loading::after{display:none!important}

/* cart e add howar pore "View cart" link */
body ul.products li.product a.added_to_cart{
  display:block;margin:8px 0 0!important;padding:11px 16px;border:1.5px solid var(--nbs-navy);border-radius:10px;
  background:transparent!important;color:var(--nbs-navy)!important;font-size:14px;font-weight:700;text-align:center;box-shadow:none}
body ul.products li.product a.added_to_cart:hover{background:var(--nbs-navy)!important;color:#fff!important}

/* ---------- Sale badge ---------- */
body span.onsale,
body span.ast-onsale-card{
  position:absolute!important;top:14px!important;left:14px!important;right:auto!important;z-index:3;
  min-width:0!important;min-height:0!important;margin:0!important;padding:7px 12px!important;
  border-radius:999px!important;background:var(--nbs-red)!important;color:#fff!important;
  font-size:12px!important;font-weight:700!important;line-height:1!important;letter-spacing:.03em;text-transform:uppercase;
  box-shadow:0 6px 14px rgba(255,65,65,.30)}

/* ---------- Pagination ---------- */
body .woocommerce-pagination{margin:10px 0 44px;text-align:center}
body .woocommerce-pagination ul.page-numbers{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;border:0!important}
body .woocommerce-pagination ul.page-numbers li{float:none;margin:0;border:0!important;overflow:visible;background:none}
body .woocommerce-pagination ul.page-numbers li .page-numbers{
  display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 14px;
  border:1px solid var(--nbs-line);border-radius:10px;background:#fff;color:var(--nbs-navy);
  font-size:15px;font-weight:600;line-height:1;text-decoration:none;transition:all .2s ease}
body .woocommerce-pagination ul.page-numbers li a.page-numbers:hover{border-color:var(--nbs-red);color:var(--nbs-red);background:#fff}
body .woocommerce-pagination ul.page-numbers li span.page-numbers.current{background:var(--nbs-red);border-color:var(--nbs-red);color:#fff}

/* ---------- Related / Upsell heading (single product page) ---------- */
body .related.products > h2,
body .upsells.products > h2,
body .up-sells > h2{margin:0 0 22px;font-size:26px;font-weight:800;color:var(--nbs-navy)}

/* ---------- Scroll to top button ---------- */
body #ast-scroll-top{background:var(--nbs-red)!important;border-radius:12px;box-shadow:0 8px 18px rgba(255,65,65,.30)}

/* ---------- Tablet ---------- */
@media (max-width:1024px){
  body ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
}

/* ---------- Mobile (2 column) ---------- */
@media (max-width:768px){
  body .woocommerce-breadcrumb{padding-top:18px}
  body .woocommerce-result-count{float:none!important;display:block;margin:0 0 12px;line-height:1.4}
  body .woocommerce-ordering{float:none!important;width:100%;margin-bottom:20px}
  body .woocommerce-ordering select{width:100%}

  body ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body ul.products li.product{border-radius:14px}
  body ul.products li.product .astra-shop-summary-wrap{padding:12px 12px 14px}
  body ul.products li.product .ast-woo-product-category{font-size:11px;margin-bottom:4px}
  body ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;margin-bottom:8px!important}
  body ul.products li.product .price{font-size:16px;margin-bottom:12px!important}
  body ul.products li.product .price del{font-size:12.5px}
  body ul.products li.product .button,
  body ul.products li.product a.add_to_cart_button{padding:11px 8px!important;font-size:13.5px!important}
  body span.onsale,
  body span.ast-onsale-card{top:10px!important;left:10px!important;padding:6px 10px!important;font-size:11px!important}
}
@media (prefers-reduced-motion:reduce){
  body ul.products li.product,body ul.products li.product img,body ul.products li.product .button{transition:none}
  body ul.products li.product:hover{transform:none}
  body ul.products li.product:hover img{transform:none}
}










/* ---------- Discount % badge (avoraix style) ---------- */
body ul.products li.product .nbs-save-badge{
  display:inline-block;align-self:flex-start;margin:-6px 0 14px;padding:4px 10px;
  border-radius:4px;background:#FFD400;color:var(--nbs-navy);
  font-size:13px;font-weight:800;line-height:1.2}

/* ---------- Sidebar layout (shop / category) ---------- */
@media (min-width:922px){
  body.ast-left-sidebar.woocommerce ul.products,
  body.ast-right-sidebar.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.ast-left-sidebar.woocommerce #secondary,
  body.ast-right-sidebar.woocommerce #secondary{padding-top:6px}
}

/* ---------- Sidebar widgets ---------- */
body.woocommerce #secondary .widget{
  margin-bottom:24px;padding:20px;background:#fff;
  border:1px solid var(--nbs-line);border-radius:16px}
body.woocommerce #secondary .widget-title,
body.woocommerce #secondary .wp-block-heading{
  margin:0 0 16px;font-size:17px;font-weight:800;color:var(--nbs-navy)}
body.woocommerce #secondary .widget-title::after{
  content:"";display:block;width:36px;height:3px;margin-top:8px;border-radius:3px;background:var(--nbs-red)}

/* category list */
body.woocommerce #secondary .product-categories,
body.woocommerce #secondary .wc-block-product-categories-list{margin:0;padding:0;list-style:none}
body.woocommerce #secondary .product-categories li,
body.woocommerce #secondary .wc-block-product-categories-list-item{
  padding:9px 0;border-bottom:1px solid var(--nbs-line);font-size:14.5px;color:var(--nbs-muted)}
body.woocommerce #secondary .product-categories li:last-child{border-bottom:0}
body.woocommerce #secondary .product-categories a,
body.woocommerce #secondary .wc-block-product-categories-list-item a{
  color:var(--nbs-navy);font-weight:600;text-decoration:none}
body.woocommerce #secondary .product-categories a:hover,
body.woocommerce #secondary .wc-block-product-categories-list-item a:hover{color:var(--nbs-red)}

/* price filter (classic widget) */
body.woocommerce .widget_price_filter .ui-slider .ui-slider-range{background:var(--nbs-red)}
body.woocommerce .widget_price_filter .ui-slider .ui-slider-handle{
  background:#fff;border:3px solid var(--nbs-red);width:18px;height:18px;top:-6px;box-shadow:none}
body.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content{background:var(--nbs-line)}
body.woocommerce .widget_price_filter .price_slider_amount{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.woocommerce .widget_price_filter .price_slider_amount .button{
  padding:10px 18px;border:0;border-radius:10px;background:var(--nbs-navy2);color:#fff;font-weight:700}
body.woocommerce .widget_price_filter .price_slider_amount .button:hover{background:var(--nbs-red)}
body.woocommerce .widget_price_filter .price_label{font-size:14px;font-weight:600;color:var(--nbs-navy)}

/* price filter (block widget) */
body.woocommerce .wc-block-price-filter .wc-block-components-price-slider__range-input-progress{color:var(--nbs-red)}
body.woocommerce .wc-block-price-filter .wc-block-components-filter-submit-button{
  padding:10px 18px;border-radius:10px;background:var(--nbs-navy2);color:#fff;font-weight:700}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /* ---------- Custom Filter Bar ---------- */
body .nbs-filter{margin:0 0 26px;background:#fff;border:1px solid var(--nbs-line);border-radius:16px;overflow:hidden}
body .nbs-filter__toggle{
  display:flex;align-items:center;gap:10px;padding:14px 18px;cursor:pointer;list-style:none;
  font-size:15px;font-weight:800;color:var(--nbs-navy);background:var(--nbs-soft);user-select:none}
body .nbs-filter__toggle::-webkit-details-marker{display:none}
body .nbs-filter__toggle::after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid var(--nbs-navy);border-bottom:2px solid var(--nbs-navy);transform:rotate(45deg);transition:transform .2s ease}
body .nbs-filter[open] .nbs-filter__toggle::after{transform:rotate(-135deg)}
body .nbs-filter__dot{width:9px;height:9px;border-radius:50%;background:var(--nbs-red)}

body .nbs-filter__body{display:flex;flex-direction:column;gap:20px;padding:18px}
body .nbs-filter__label{margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--nbs-muted)}

/* category chips */
body .nbs-chips{display:flex;flex-wrap:wrap;gap:10px}
body .nbs-chip{
  display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid #d9e0ec;border-radius:999px;
  background:#fff;color:var(--nbs-navy);font-size:14px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;
  transition:all .2s ease}
body .nbs-chip small{font-size:11.5px;font-weight:700;color:var(--nbs-muted)}
body .nbs-chip:hover{border-color:var(--nbs-red);color:var(--nbs-red)}
body .nbs-chip.is-active{background:var(--nbs-red);border-color:var(--nbs-red);color:#fff;box-shadow:0 6px 14px rgba(255,65,65,.25)}
body .nbs-chip.is-active small{color:rgba(255,255,255,.85)}

/* price */
body .nbs-price__row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
body .nbs-price__row em{color:var(--nbs-muted);font-style:normal}
body .nbs-price__field{
  display:flex;align-items:center;gap:6px;width:130px;height:44px;margin:0;padding:0 12px;
  border:1px solid #d9e0ec;border-radius:10px;background:#fff}
body .nbs-price__field:focus-within{border-color:var(--nbs-red);box-shadow:0 0 0 3px rgba(255,65,65,.15)}
body .nbs-price__field span{font-size:14px;font-weight:700;color:var(--nbs-muted)}
body .nbs-price__field input{
  width:100%;min-width:0;height:100%;padding:0;border:0!important;outline:0!important;box-shadow:none!important;
  background:transparent!important;font-size:14.5px;font-weight:600;color:var(--nbs-navy)}
body .nbs-price__btn{
  height:44px;padding:0 24px;border:0;border-radius:10px;background:var(--nbs-navy2);color:#fff;
  font-size:14.5px;font-weight:700;cursor:pointer;transition:background .2s ease}
body .nbs-price__btn:hover{background:var(--nbs-red)}
body .nbs-price__reset{font-size:14px;font-weight:700;color:var(--nbs-red);text-decoration:none}
body .nbs-price__reset:hover{text-decoration:underline}

/* desktop: toggle bar hide, body always visible */
@media (min-width:769px){
  body .nbs-filter__toggle{display:none}
  body .nbs-filter__body{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:32px}
  body .nbs-filter__group:first-child{flex:1}
}

/* mobile */
@media (max-width:768px){
  body .nbs-filter{margin-bottom:18px;border-radius:14px}
  body .nbs-filter__body{padding:14px;gap:16px}
  body .nbs-chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -14px;padding:0 14px 4px;scrollbar-width:none}
  body .nbs-chips::-webkit-scrollbar{display:none}
  body .nbs-price__row{display:grid;grid-template-columns:1fr auto 1fr;gap:8px}
  body .nbs-price__field{width:auto}
  body .nbs-price__btn{grid-column:1 / -1;width:100%}
  body .nbs-price__reset{grid-column:1 / -1;text-align:center}
}




















/* ---------- FIX: top gap remove (desktop + mobile) ---------- */
body.woocommerce #primary,
body.woocommerce-page #primary,
body.archive.woocommerce #primary{margin-top:0!important;padding-top:0!important}
body.woocommerce .site-content > .ast-container,
body.woocommerce-page .site-content > .ast-container{padding-top:0!important}
body.woocommerce .site-content,
body.woocommerce-page .site-content{padding-top:0!important;margin-top:0!important}
body.woocommerce #content,
body.woocommerce-page #content{padding-top:0!important}
body .woocommerce-breadcrumb{padding-top:12px!important;margin-top:0!important}
body .woocommerce-products-header{margin-top:0!important}

@media (max-width:768px){
  body .woocommerce-breadcrumb{padding-top:6px!important;margin-bottom:10px}
  body .woocommerce-products-header{margin-bottom:16px}
}

/* ---------- FIX: filter box overflow + Apply button (mobile) ---------- */
body .nbs-filter,
body .nbs-filter__body,
body .nbs-filter__group{box-sizing:border-box;max-width:100%;min-width:0}

@media (max-width:768px){
  body .nbs-filter__body{padding:14px;overflow:hidden}

  /* category chips: scroll korbe, box er bhitore thakbe */
  body .nbs-chips{margin:0;padding:0 0 6px;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

  /* price row: grid na, flex; Apply button full width, duto side e same radius */
  body .nbs-price__row{display:flex;flex-wrap:wrap;gap:10px;width:100%;box-sizing:border-box}
  body .nbs-price__field{flex:1 1 0;min-width:0;width:auto;box-sizing:border-box}
  body .nbs-price__row em{flex:0 0 auto}
  body .nbs-price__btn{
    flex:1 1 100%;width:100%;max-width:100%;box-sizing:border-box;
    margin:0;border-radius:10px}
  body .nbs-price__reset{flex:1 1 100%;text-align:center}
}




















/* =====================================================================
   SINGLE PRODUCT PAGE
   ===================================================================== */

/* ---------- Layout ---------- */
body.single-product div.product{margin-bottom:20px}
body.single-product .woocommerce-breadcrumb{padding-top:14px!important;margin-bottom:18px}

/* ---------- Gallery ---------- */
body.single-product .woocommerce-product-gallery{position:relative}
body.single-product .woocommerce-product-gallery__wrapper{
  overflow:hidden;background:var(--nbs-soft);border:1px solid var(--nbs-line);border-radius:18px}
body.single-product .woocommerce-product-gallery__image img{
  display:block;width:100%;height:auto;border-radius:0!important;box-shadow:none!important}
body.single-product .woocommerce-product-gallery__trigger{
  top:16px!important;right:16px!important;width:42px;height:42px;border-radius:50%;
  background:#fff;box-shadow:0 6px 14px rgba(11,37,69,.15);z-index:5}

/* thumbnails */
body.single-product .flex-control-thumbs{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;
  margin:14px 0 0!important;padding:0!important;list-style:none}
body.single-product .flex-control-thumbs li{float:none!important;width:auto!important;margin:0!important}
body.single-product .flex-control-thumbs li img{
  display:block;width:100%;aspect-ratio:1/1;object-fit:cover;cursor:pointer;
  border:2px solid transparent;border-radius:12px;background:var(--nbs-soft);opacity:.65;transition:all .2s ease}
body.single-product .flex-control-thumbs li img:hover{opacity:1}
body.single-product .flex-control-thumbs li img.flex-active{opacity:1;border-color:var(--nbs-red)}

/* ---------- Summary ---------- */
body.single-product .entry-summary{padding-left:10px}

/* category label (title er upore) */
body.single-product .entry-summary .ast-woo-product-category,
body.single-product .entry-summary > .posted_in:first-child{
  display:block;margin:0 0 8px;font-size:12.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
body.single-product .entry-summary .ast-woo-product-category a{color:var(--nbs-muted);text-decoration:none}
body.single-product .entry-summary .ast-woo-product-category a:hover{color:var(--nbs-red)}

/* title */
body.single-product .product_title{
  margin:0 0 14px!important;font-size:clamp(24px,2.6vw,34px)!important;font-weight:800!important;
  line-height:1.25!important;letter-spacing:-.01em;color:var(--nbs-navy)}
body.single-product .product_title::after{
  content:"";display:block;width:48px;height:4px;margin-top:12px;border-radius:4px;background:var(--nbs-red)}

/* rating */
body.single-product .woocommerce-product-rating{margin:0 0 12px}
body.single-product .star-rating{color:#f5a623}

/* price */
body.single-product .entry-summary p.price,
body.single-product .entry-summary span.price{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0 0 10px!important;
  font-size:30px;font-weight:800;color:var(--nbs-navy)}
body.single-product .entry-summary .price del{order:2;color:#9aa5b8;font-size:19px;font-weight:500;opacity:1}
body.single-product .entry-summary .price ins{order:1;color:var(--nbs-red);font-weight:800;text-decoration:none;background:none}

/* discount badge (single) */
body.single-product .entry-summary .nbs-save-badge{
  display:inline-block;margin:0 0 18px;padding:5px 12px;border-radius:6px;
  background:#FFD400;color:var(--nbs-navy);font-size:14px;font-weight:800;line-height:1.2}

/* stock status */
body.single-product .entry-summary .stock{
  margin:0 0 16px;font-size:14.5px;font-weight:700}
body.single-product .entry-summary .stock.in-stock{color:#16a34a}
body.single-product .entry-summary .stock.out-of-stock{color:var(--nbs-red)}

/* short description */
body.single-product .woocommerce-product-details__short-description{
  margin:0 0 22px;padding:18px 20px;background:var(--nbs-soft);border-radius:14px;
  font-size:15px;line-height:1.7;color:#3b4a60}
body.single-product .woocommerce-product-details__short-description h2,
body.single-product .woocommerce-product-details__short-description h3,
body.single-product .woocommerce-product-details__short-description h4{
  margin:0 0 10px;font-size:17px;font-weight:800;color:var(--nbs-navy)}
body.single-product .woocommerce-product-details__short-description ul{margin:0;padding:0;list-style:none}
body.single-product .woocommerce-product-details__short-description li{
  position:relative;margin:0 0 6px;padding-left:22px}
body.single-product .woocommerce-product-details__short-description li::before{
  content:"";position:absolute;left:2px;top:.55em;width:7px;height:7px;border-radius:50%;background:var(--nbs-red)}
body.single-product .woocommerce-product-details__short-description li strong{color:var(--nbs-navy)}
body.single-product .woocommerce-product-details__short-description p:last-child{margin-bottom:0}

/* ---------- Add to cart ---------- */
body.single-product form.cart:not(.variations_form),
body.single-product .woocommerce-variation-add-to-cart{
  display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;margin:0 0 20px}

body.single-product .quantity{margin:0!important}
body.single-product .quantity .qty{
  width:78px;height:52px;padding:0 8px;text-align:center;
  border:1px solid #d9e0ec;border-radius:10px;background:#fff;
  font-size:16px;font-weight:700;color:var(--nbs-navy);box-shadow:none}
body.single-product .quantity .qty:focus{outline:0;border-color:var(--nbs-red);box-shadow:0 0 0 3px rgba(255,65,65,.15)}

body.single-product .single_add_to_cart_button{
  flex:1 1 220px;min-height:52px;margin:0!important;padding:0 28px!important;
  border:0!important;border-radius:10px!important;background:var(--nbs-red)!important;color:#fff!important;
  font-size:16px!important;font-weight:700!important;text-align:center;
  box-shadow:0 10px 20px rgba(255,65,65,.25);transition:background .2s ease,transform .15s ease}
body.single-product .single_add_to_cart_button:hover{background:var(--nbs-red-dark)!important;transform:translateY(-1px)}
body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button:disabled{opacity:.5;transform:none;box-shadow:none}

/* variations (variable product) */
body.single-product table.variations{margin:0 0 16px;border:0}
body.single-product table.variations th,
body.single-product table.variations td{padding:6px 0;border:0;background:none;display:block;text-align:left}
body.single-product table.variations label{font-size:14px;font-weight:700;color:var(--nbs-navy)}
body.single-product table.variations select{
  width:100%;min-height:48px;padding:0 14px;border:1px solid #d9e0ec;border-radius:10px;
  background-color:#fff;color:var(--nbs-navy);font-weight:600}
body.single-product .reset_variations{display:inline-block;margin-top:6px;font-size:13px;font-weight:700;color:var(--nbs-red)}

/* ---------- Trust strip ---------- */
body.single-product .nbs-trust{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 20px;padding:0;list-style:none}
body.single-product .nbs-trust li{
  display:flex;align-items:center;gap:10px;margin:0;padding:12px;
  border:1px solid var(--nbs-line);border-radius:12px;background:#fff;color:var(--nbs-red)}
body.single-product .nbs-trust svg{flex:0 0 auto}
body.single-product .nbs-trust span{font-size:12px;line-height:1.35;color:var(--nbs-muted)}
body.single-product .nbs-trust strong{display:block;font-size:13px;color:var(--nbs-navy)}

/* ---------- Meta ---------- */
body.single-product .product_meta{
  margin:0;padding:16px 0 0;border-top:1px solid var(--nbs-line);
  font-size:14px;color:var(--nbs-muted)}
body.single-product .product_meta > span{display:block;margin-bottom:6px}
body.single-product .product_meta a{color:var(--nbs-navy);font-weight:600;text-decoration:none}
body.single-product .product_meta a:hover{color:var(--nbs-red)}

/* wishlist link */
body.single-product .entry-summary .yith-wcwl-add-to-wishlist a,
body.single-product .entry-summary .tinvwl_add_to_wishlist_button,
body.single-product .entry-summary .tinvwl_add_to_wishlist-text{
  color:var(--nbs-navy)!important;font-size:14.5px;font-weight:700;text-decoration:none}
body.single-product .entry-summary .yith-wcwl-add-to-wishlist a:hover,
body.single-product .entry-summary .tinvwl_add_to_wishlist_button:hover{color:var(--nbs-red)!important}

/* ---------- Tabs / Description ---------- */
body.single-product .woocommerce-tabs{margin:44px 0 0;padding:0}
body.single-product .woocommerce-tabs ul.tabs{
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px!important;padding:0 0 14px!important;
  border:0!important;border-bottom:1px solid var(--nbs-line)!important;list-style:none}
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after{display:none!important}
body.single-product .woocommerce-tabs ul.tabs li{
  margin:0!important;padding:0!important;border:0!important;background:none!important;border-radius:0!important}
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after{display:none!important}
body.single-product .woocommerce-tabs ul.tabs li a{
  display:block;padding:11px 22px!important;border:1px solid #d9e0ec;border-radius:999px;
  background:#fff;color:var(--nbs-navy)!important;font-size:14.5px;font-weight:700!important;text-decoration:none}
body.single-product .woocommerce-tabs ul.tabs li a:hover{border-color:var(--nbs-red);color:var(--nbs-red)!important}
body.single-product .woocommerce-tabs ul.tabs li.active a{
  background:var(--nbs-red);border-color:var(--nbs-red);color:#fff!important;box-shadow:0 6px 14px rgba(255,65,65,.25)}

body.single-product .woocommerce-Tabs-panel{font-size:15.5px;line-height:1.8;color:#3b4a60}
body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3{margin:28px 0 14px;font-size:22px;font-weight:800;color:var(--nbs-navy)}
body.single-product .woocommerce-Tabs-panel > h2:first-child{margin-top:0}
body.single-product .woocommerce-Tabs-panel ul{margin:0 0 20px;padding:0;list-style:none}
body.single-product .woocommerce-Tabs-panel ul li{position:relative;margin:0 0 10px;padding-left:24px}
body.single-product .woocommerce-Tabs-panel ul li::before{
  content:"";position:absolute;left:3px;top:.6em;width:7px;height:7px;border-radius:50%;background:var(--nbs-red)}
body.single-product .woocommerce-Tabs-panel strong{color:var(--nbs-navy)}

/* reviews form */
body.single-product #review_form #respond .comment-form input[type=text],
body.single-product #review_form #respond .comment-form input[type=email],
body.single-product #review_form #respond textarea{
  border:1px solid #d9e0ec;border-radius:10px;padding:12px 14px;background:#fff}
body.single-product #review_form #respond .form-submit input{
  padding:13px 26px;border:0;border-radius:10px;background:var(--nbs-red);color:#fff;font-weight:700}

/* ---------- Related products ---------- */
body.single-product .related.products,
body.single-product .upsells.products{margin-top:48px}
body.single-product .related.products > h2::after,
body.single-product .upsells.products > h2::after{
  content:"";display:block;width:48px;height:4px;margin-top:10px;border-radius:4px;background:var(--nbs-red)}

/* ---------- Tablet ---------- */
@media (max-width:921px){
  body.single-product .entry-summary{padding-left:0;margin-top:26px}
}

/* ---------- Mobile ---------- */
@media (max-width:768px){
  body.single-product .woocommerce-product-gallery__wrapper{border-radius:14px}
  body.single-product .flex-control-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  body.single-product .entry-summary .price{font-size:26px}
  body.single-product .woocommerce-product-details__short-description{padding:14px 16px}
  body.single-product .nbs-trust{grid-template-columns:1fr;gap:8px}
  body.single-product .nbs-trust li{padding:10px 12px}
  body.single-product .single_add_to_cart_button{flex:1 1 100%}
  body.single-product .woocommerce-tabs{margin-top:32px}
  body.single-product .woocommerce-tabs ul.tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  body.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar{display:none}
  body.single-product .woocommerce-tabs ul.tabs li a{white-space:nowrap;padding:10px 18px!important}
  body.single-product .woocommerce-Tabs-panel h2,
  body.single-product .woocommerce-Tabs-panel h3{font-size:19px}
}











/* ---------- FIX: single product category label hide (breadcrumb e already ache) ---------- */
body.single-product .entry-summary .ast-woo-product-category,
body.single-product .entry-summary > .posted_in,
body.single-product .entry-summary > .ast-single-product-category,
body.single-product .entry-summary > a[rel="tag"]{display:none!important}

/* ---------- FIX: regular (old) price more visible ---------- */
body.single-product .entry-summary .price del,
body.single-product .entry-summary .price del .amount,
body.single-product .entry-summary .price del bdi{
  color:#6b7a90!important;opacity:1!important;font-size:20px;font-weight:600;text-decoration-thickness:2px}

/* shop/category grid er regular price o same rokom */
body ul.products li.product .price del,
body ul.products li.product .price del .amount,
body ul.products li.product .price del bdi{
  color:#6b7a90!important;opacity:1!important;font-weight:600}

@media (max-width:768px){
  body.single-product .entry-summary .price del,
  body.single-product .entry-summary .price del .amount{font-size:17px}
}