/* ============================================================
   WooCommerce styles — loaded separately from style.css so that
   cache plugins / minifiers / Persian WC plugins don't break it.
   All rules use !important to override WooCommerce's own CSS.
   ============================================================ */

/* ===== Main container — ensure proper width + padding ===== */
body.bnv-chrome.woocommerce .bnv-main,
body.bnv-chrome.woocommerce-page .bnv-main{
  max-width:1200px !important;
  margin:0 auto !important;
  padding:32px 24px !important;
  box-sizing:border-box !important;
}
body.bnv-chrome.woocommerce .bnv-woocommerce,
body.bnv-chrome.woocommerce-page .bnv-woocommerce{
  width:100% !important;
  max-width:none !important;
}

/* ===== Shop product grid ===== */

body.bnv-chrome .woocommerce ul.products,
body.bnv-chrome.woocommerce-page ul.products{
  display:grid !important;
  gap:24px !important;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr)) !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

body.bnv-chrome .woocommerce ul.products li.product,
body.bnv-chrome.woocommerce-page ul.products li.product,
body.bnv-chrome .woocommerce-page ul.products li.product{
  background:linear-gradient(180deg, rgba(17,24,39,.95), rgba(13,20,32,.95)) !important;
  border:1px solid #1f2937 !important;
  border-radius:18px !important;
  padding:0 !important;
  margin:0 !important;
  text-align:right !important;
  transition:transform .2s, border-color .2s, box-shadow .25s;
  overflow:hidden;
  position:relative;
  display:flex !important;
  flex-direction:column;
  float:none !important;
  width:auto !important;
  box-sizing:border-box;
}

body.bnv-chrome .woocommerce ul.products li.product:hover{
  transform:translateY(-6px);
  border-color:rgba(34,197,94,.5) !important;
  box-shadow:0 16px 40px -12px rgba(0,0,0,.5), 0 0 0 1px rgba(34,197,94,.1) !important;
}

body.bnv-chrome .woocommerce ul.products li.product::before{
  content:"";position:absolute;top:0;inset-inline:0;height:3px;
  background:linear-gradient(90deg, transparent, #22c55e, #38bdf8, transparent);
  opacity:0;transition:opacity .25s;z-index:1;
}
body.bnv-chrome .woocommerce ul.products li.product:hover::before{opacity:1}

body.bnv-chrome .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:block !important;
  text-decoration:none !important;
  color:inherit !important;
}

body.bnv-chrome .woocommerce ul.products li.product img{
  border-radius:0 !important;
  margin:0 !important;
  width:100% !important;
  height:200px;
  object-fit:cover;
  display:block;
  background:#0a0e17;
  border-bottom:1px solid #1f2937;
  transition:transform .3s;
}
body.bnv-chrome .woocommerce ul.products li.product:hover img{
  transform:scale(1.05);
}

body.bnv-chrome .woocommerce ul.products li.product .onsale{
  position:absolute !important;
  top:12px;
  inset-inline-end:12px;
  z-index:2;
  background:linear-gradient(135deg, #ef4444, #dc2626) !important;
  color:#fff !important;
  border-radius:10px !important;
  padding:5px 12px !important;
  font-size:.72rem !important;
  font-weight:800 !important;
  box-shadow:0 4px 12px -2px rgba(239,68,68,.5) !important;
  border:0 !important;
  min-height:auto !important;
  line-height:1.4 !important;
  margin:0 !important;
}

body.bnv-chrome .woocommerce ul.products li.product .woocommerce-loop-product__title{
  color:#e6edf3 !important;
  font-size:1.05rem !important;
  font-weight:700 !important;
  padding:16px 16px 8px !important;
  margin:0 !important;
  line-height:1.5 !important;
  min-height:48px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body.bnv-chrome .woocommerce ul.products li.product .woocommerce-loop-product__title::before{content:none !important}

body.bnv-chrome .woocommerce ul.products li.product .price{
  color:#22c55e !important;
  font-weight:800 !important;
  font-size:1.15rem !important;
  padding:4px 16px 16px !important;
  display:flex !important;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
}
body.bnv-chrome .woocommerce ul.products li.product .price del{
  color:#9ca3af !important;
  font-size:.85rem !important;
  font-weight:600 !important;
  opacity:.7;
  text-decoration:line-through !important;
}
body.bnv-chrome .woocommerce ul.products li.product .price ins{
  color:#22c55e !important;
  text-decoration:none !important;
  font-weight:800 !important;
}
body.bnv-chrome .woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol{
  font-size:.75rem !important;
  font-weight:600 !important;
  margin-inline-start:2px;
  opacity:.8;
}

body.bnv-chrome .woocommerce ul.products li.product a.button,
body.bnv-chrome .woocommerce ul.products li.product button.button,
body.bnv-chrome .woocommerce ul.products li.product .added_to_cart{
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:calc(100% - 32px) !important;
  margin:0 16px 16px !important;
  padding:11px 16px !important;
  border-radius:11px !important;
  background:linear-gradient(135deg, rgba(34,197,94,.18), rgba(34,197,94,.08)) !important;
  border:1px solid rgba(34,197,94,.5) !important;
  color:#22c55e !important;
  font-weight:700 !important;
  font-size:.88rem !important;
  text-decoration:none !important;
  transition:background .15s, transform .12s, box-shadow .2s;
}
body.bnv-chrome .woocommerce ul.products li.product a.button:hover,
body.bnv-chrome .woocommerce ul.products li.product button.button:hover,
body.bnv-chrome .woocommerce ul.products li.product .added_to_cart:hover{
  background:linear-gradient(135deg, #22c55e, #16a34a) !important;
  color:#05230f !important;
  transform:translateY(-1px);
  box-shadow:0 6px 16px -6px rgba(34,197,94,.5);
}

body.bnv-chrome .woocommerce ul.products li.product .star-rating{
  margin:8px 16px 0;
  color:#f59e0b;
  font-size:.85rem;
}

/* ===== Pagination ===== */
body.bnv-chrome.woocommerce nav.woocommerce-pagination ul{
  display:flex !important;
  gap:6px;
  list-style:none !important;
  padding:0 !important;
  margin:24px 0 0 !important;
  justify-content:center;
  border:0 !important;
}
body.bnv-chrome.woocommerce nav.woocommerce-pagination ul li{
  border:0 !important;
  margin:0 !important;
}
body.bnv-chrome.woocommerce nav.woocommerce-pagination ul li a,
body.bnv-chrome.woocommerce nav.woocommerce-pagination ul li span{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 10px !important;
  border-radius:10px !important;
  background:#111827 !important;
  border:1px solid #1f2937 !important;
  color:#e6edf3 !important;
  font-weight:700 !important;
  font-size:.88rem !important;
  text-decoration:none !important;
  transition:background .15s, border-color .15s, color .15s;
}
body.bnv-chrome.woocommerce nav.woocommerce-pagination ul li a:hover,
body.bnv-chrome.woocommerce nav.woocommerce-pagination ul li .current{
  background:rgba(34,197,94,.16) !important;
  border-color:rgba(34,197,94,.4) !important;
  color:#22c55e !important;
}

/* ===== Page header ===== */
body.bnv-chrome.woocommerce .woocommerce-products-header h1,
body.bnv-chrome.woocommerce .woocommerce-products-header .woocommerce-products-header__title{
  font-size:1.6rem !important;
  font-weight:800 !important;
  color:#e6edf3 !important;
  margin:0 0 8px !important;
}
body.bnv-chrome.woocommerce .woocommerce-result-count{
  color:#9ca3af !important;
  font-size:.85rem !important;
  margin-bottom:16px !important;
}
body.bnv-chrome.woocommerce .woocommerce-ordering{
  margin-bottom:20px !important;
}
body.bnv-chrome.woocommerce .woocommerce-ordering select{
  background:#111827 !important;
  border:1px solid #1f2937 !important;
  border-radius:10px !important;
  color:#e6edf3 !important;
  padding:8px 12px !important;
  font-family:inherit !important;
  font-size:.85rem !important;
}
body.bnv-chrome.woocommerce .woocommerce-ordering select:focus{
  outline:none !important;
  border-color:#22c55e !important;
}

/* ===== Notices ===== */
body.bnv-chrome .woocommerce-message,
body.bnv-chrome .woocommerce-info,
body.bnv-chrome .woocommerce-error{
  background:#111827 !important;
  border:1px solid #1f2937 !important;
  border-inline-start:4px solid #22c55e !important;
  color:#e6edf3 !important;
  border-radius:12px !important;
  padding:14px 18px !important;
}
body.bnv-chrome .woocommerce-error{
  border-inline-start-color:#f43f5e !important;
}

/* ===== Single product ===== */
body.bnv-chrome .woocommerce div.product .product_title{
  color:#e6edf3 !important;
  font-size:1.8rem !important;
  font-weight:800 !important;
  margin:0 0 12px !important;
}
body.bnv-chrome .woocommerce div.product p.price,
body.bnv-chrome .woocommerce div.product span.price{
  color:#22c55e !important;
  font-weight:800 !important;
  font-size:1.4rem !important;
}
body.bnv-chrome .woocommerce div.product .price del{
  color:#9ca3af !important;
  font-size:1rem !important;
  opacity:.7;
}
body.bnv-chrome .woocommerce div.product .price ins{
  text-decoration:none !important;
}
body.bnv-chrome .woocommerce div.product .onsale{
  background:linear-gradient(135deg, #ef4444, #dc2626) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:10px !important;
  padding:5px 12px !important;
  font-size:.75rem !important;
  font-weight:800 !important;
}
body.bnv-chrome .woocommerce div.product .summary > p{
  color:#9ca3af !important;
  line-height:1.9 !important;
}
body.bnv-chrome .woocommerce div.product form.cart .button,
body.bnv-chrome .woocommerce div.product .single_add_to_cart_button{
  background:linear-gradient(135deg, #22c55e, #16a34a) !important;
  color:#05230f !important;
  border:0 !important;
  border-radius:12px !important;
  padding:13px 28px !important;
  font-weight:800 !important;
  font-size:1rem !important;
}
body.bnv-chrome .woocommerce div.product form.cart .quantity .qty{
  background:rgba(10,14,23,.65) !important;
  border:1px solid #1f2937 !important;
  border-radius:10px !important;
  color:#e6edf3 !important;
  padding:10px 12px !important;
}
body.bnv-chrome .woocommerce div.product .product_meta{
  border-top:1px solid #1f2937 !important;
  border-bottom:1px solid #1f2937 !important;
  padding:14px 0 !important;
  margin-top:20px !important;
  font-size:.85rem !important;
  color:#9ca3af !important;
}
body.bnv-chrome .woocommerce div.product .product_meta a{
  color:#38bdf8 !important;
}

/* ===== Tabs ===== */
body.bnv-chrome .woocommerce .woocommerce-tabs{
  margin-top:40px !important;
  background:#111827 !important;
  border:1px solid #1f2937 !important;
  border-radius:16px !important;
  overflow:hidden;
}
body.bnv-chrome .woocommerce .woocommerce-tabs ul.tabs{
  padding:0 !important;
  margin:0 !important;
  list-style:none !important;
  display:flex !important;
  flex-wrap:wrap;
  background:rgba(10,14,23,.5) !important;
  border-bottom:1px solid #1f2937 !important;
}
body.bnv-chrome .woocommerce .woocommerce-tabs ul.tabs li{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  margin:0 !important;
  padding:0 !important;
}
body.bnv-chrome .woocommerce .woocommerce-tabs ul.tabs li.active{
  background:transparent !important;
  border-bottom:3px solid #22c55e !important;
}
body.bnv-chrome .woocommerce .woocommerce-tabs ul.tabs li a{
  display:block !important;
  padding:14px 24px !important;
  color:#9ca3af !important;
  font-weight:700 !important;
  font-size:.9rem !important;
  text-decoration:none !important;
}
body.bnv-chrome .woocommerce .woocommerce-tabs ul.tabs li.active a{
  color:#22c55e !important;
}
body.bnv-chrome .woocommerce .woocommerce-tabs .panel{
  padding:24px !important;
  color:#e6edf3 !important;
  line-height:1.9 !important;
}

/* ===== Related products ===== */
body.bnv-chrome .woocommerce .related.products > h2,
body.bnv-chrome .woocommerce .upsells.products > h2{
  font-size:1.3rem !important;
  font-weight:800 !important;
  color:#e6edf3 !important;
  margin:40px 0 20px !important;
  padding-bottom:10px !important;
  border-bottom:2px solid #22c55e !important;
  display:inline-block;
}

/* ===== Cart ===== */
body.bnv-chrome .woocommerce table.shop_table{
  background:#111827 !important;
  border:1px solid #1f2937 !important;
  border-radius:14px !important;
  overflow:hidden;
}
body.bnv-chrome .woocommerce table.shop_table th{
  background:rgba(255,255,255,.03) !important;
  color:#e6edf3 !important;
  font-weight:700 !important;
  font-size:.82rem !important;
  padding:11px 14px !important;
  text-align:right !important;
  border-color:#1f2937 !important;
}
body.bnv-chrome .woocommerce table.shop_table td{
  padding:12px 14px !important;
  color:#e6edf3 !important;
  font-size:.88rem !important;
  border-color:#1f2937 !important;
}
body.bnv-chrome .woocommerce table.shop_table tr:last-child td{
  border-bottom:0 !important;
}

/* ===== Forms / inputs ===== */
body.bnv-chrome .woocommerce form .form-row input.input-text,
body.bnv-chrome .woocommerce form .form-row textarea,
body.bnv-chrome .woocommerce .select2-container--default .select2-selection--single,
body.bnv-chrome .woocommerce select,
body.bnv-chrome .woocommerce #order_comments{
  background:#0d1420 !important;
  color:#e6edf3 !important;
  border:1px solid #1f2937 !important;
  border-radius:10px !important;
  padding:12px 14px !important;
  width:100% !important;
  font-family:inherit !important;
}
body.bnv-chrome .woocommerce form .form-row input:focus,
body.bnv-chrome .woocommerce form .form-row textarea:focus{
  outline:none !important;
  border-color:#22c55e !important;
}
body.bnv-chrome .woocommerce form .form-row label{
  color:#e6edf3 !important;
  font-weight:600 !important;
  margin-bottom:6px !important;
  display:block !important;
}

/* ===== Buttons (global WooCommerce) ===== */
body.bnv-chrome .woocommerce a.button,
body.bnv-chrome .woocommerce button.button,
body.bnv-chrome .woocommerce input.button,
body.bnv-chrome .woocommerce #respond input#submit,
body.bnv-chrome .woocommerce .button.alt{
  background:linear-gradient(135deg, #22c55e, #16a34a) !important;
  color:#05230f !important;
  border:0 !important;
  border-radius:10px !important;
  font-weight:800 !important;
  padding:12px 20px !important;
  transition:transform .12s, box-shadow .2s !important;
}
body.bnv-chrome .woocommerce a.button:hover,
body.bnv-chrome .woocommerce button.button:hover,
body.bnv-chrome .woocommerce .button.alt:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 8px 20px -8px rgba(34,197,94,.5) !important;
}

/* ===== Cart totals ===== */
body.bnv-chrome .woocommerce .cart_totals h2,
body.bnv-chrome.woocommerce-checkout h3{
  color:#e6edf3 !important;
}

/* ===== Responsive ===== */
@media (max-width:768px){
  body.bnv-chrome .woocommerce ul.products{
    grid-template-columns:repeat(2,1fr) !important;
    gap:16px !important;
  }
  body.bnv-chrome .woocommerce ul.products li.product img{height:160px}
}
@media (max-width:480px){
  body.bnv-chrome .woocommerce ul.products{
    grid-template-columns:1fr !important;
  }
  body.bnv-chrome .woocommerce ul.products li.product img{height:200px}
}
