/* ================================================================
   Eshopbd — Shop Pages Premium CSS v3
   Cart · Checkout · Product · Shop
   ================================================================ */

/* ── Shared ── */
:root {
  --sp-radius: 14px;
  --sp-shadow: 0 4px 24px rgba(0,0,0,.07);
  --sp-shadow-md: 0 6px 32px rgba(0,0,0,.11);
  --sp-border: #f0f0f0;
}

/* ================================================================
   CART PAGE
   ================================================================ */
.eshop-cart-page { padding: 36px 0 70px; }

/* Header row */
.cart-page-header {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 12px; margin-bottom: 32px;
}
.cart-page-header h1 {
  font-size: 28px; font-weight: 800; color: var(--dark);
  display: flex; align-items: center; gap: 12px; margin: 0;
}
.cart-page-header h1 i { color: var(--primary); font-size: 26px; }
.cart-count-pill {
  background: #fff3f3; color: var(--primary);
  border: 1.5px solid #ffd5d5;
  font-size: 14px; font-weight: 700;
  padding: 7px 20px; border-radius: 30px;
}

/* Empty state */
.cart-empty-state {
  text-align: center; padding: 80px 20px;
  background: #fff; border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
}
.cart-empty-icon {
  width: 100px; height: 100px; border-radius: 50%;
  background: #fff3f3; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
}
.cart-empty-icon i { font-size: 44px; color: var(--primary); }
.cart-empty-state h2 { font-size: 24px; color: var(--dark); margin-bottom: 10px; }
.cart-empty-state p { color: #999; margin-bottom: 28px; font-size: 15px; }
.btn-shop-now {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 30px; background: var(--primary); color: #fff;
  border-radius: 10px; text-decoration: none; font-weight: 700;
  font-size: 15px; transition: .2s;
}
.btn-shop-now:hover { background: var(--primary-hover); transform: translateY(-2px); }

/* Two-column grid */
.cart-page-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px; align-items: start;
}

/* ── Left panel ── */
.cart-panel {
  background: #fff;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  overflow: hidden;
}

/* Table header */
.cart-panel-head {
  display: grid;
  grid-template-columns: 88px 1fr 120px 160px 100px 44px;
  gap: 12px; padding: 13px 22px;
  background: #f7f7f8;
  border-bottom: 1px solid var(--sp-border);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; color: #aaa;
}

/* Item row */
.cart-row-v2 {
  display: grid;
  grid-template-columns: 88px 1fr 120px 160px 100px 44px;
  gap: 12px; align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--sp-border);
  transition: background .15s;
}
.cart-row-v2:last-of-type { border-bottom: none; }
.cart-row-v2:hover { background: #fafafa; }

/* Image */
.cr-img img {
  width: 78px; height: 78px; object-fit: cover;
  border-radius: 10px; border: 1px solid #efefef; display: block;
}

/* Name + meta */
.cr-info {}
.cr-name {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--dark); text-decoration: none;
  line-height: 1.4; margin-bottom: 5px;
  transition: color .15s;
}
.cr-name:hover { color: var(--primary); }
.cr-meta { font-size: 12px; color: #bbb; line-height: 1.5; }

/* Price / subtotal */
.cr-price { font-size: 14px; font-weight: 600; color: #555; }
.cr-subtotal { font-size: 15px; font-weight: 700; color: var(--dark); }

/* Qty stepper */
.cr-qty {}
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1.5px solid #e5e5e5; border-radius: 8px;
  overflow: hidden; background: #fff;
}
.qty-stepper .qs-minus,
.qty-stepper .qs-plus {
  width: 34px; height: 40px;
  background: #f5f5f5; border: none;
  cursor: pointer; font-size: 12px; color: #666;
  display: flex; align-items: center; justify-content: center;
  transition: .15s;
}
.qty-stepper .qs-minus:hover,
.qty-stepper .qs-plus:hover { background: var(--primary); color: #fff; }
.qty-stepper input.qty,
.qty-stepper input[type="number"] {
  width: 46px; height: 40px; text-align: center;
  border: none; border-left: 1.5px solid #e5e5e5;
  border-right: 1.5px solid #e5e5e5;
  font-family: inherit; font-weight: 700;
  font-size: 14px; color: var(--dark); background: #fff; outline: none;
}

/* Remove */
.cr-remove a {
  width: 34px; height: 34px; border-radius: 8px;
  background: #fff3f3; color: #e53935;
  border: 1px solid #ffd5d5;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 13px; transition: .15s;
}
.cr-remove a:hover { background: #e53935; color: #fff; border-color: #e53935; }

/* Coupon + update bar */
.cart-actions-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  background: #f7f7f8; border-top: 1px solid var(--sp-border);
  flex-wrap: wrap;
}
.coupon-wrap {
  display: flex; align-items: center;
  flex: 1; min-width: 220px;
  height: 44px;
  border: 1.5px solid #e5e5e5; border-radius: 8px;
  overflow: hidden; background: #fff;
}
.coupon-wrap i { padding: 0 12px; color: #ccc; font-size: 14px; flex-shrink: 0; }
.coupon-wrap input[type="text"] {
  flex: 1; border: none; padding: 0 8px;
  font-family: inherit; font-size: 14px; outline: none; color: var(--text);
  background: transparent;
}
.btn-coupon {
  flex-shrink: 0; height: 100%;
  padding: 0 18px; background: var(--dark); color: #fff;
  border: none; font-family: inherit; font-size: 13px;
  font-weight: 700; cursor: pointer; transition: .2s;
}
.btn-coupon:hover { background: var(--primary); }
.btn-update-cart {
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 18px;
  background: #fff; border: 1.5px solid #e5e5e5;
  border-radius: 8px; font-family: inherit;
  font-size: 13px; font-weight: 600; color: var(--text);
  cursor: pointer; transition: .2s;
}
.btn-update-cart:hover { border-color: var(--primary); color: var(--primary); }

.cart-back-link {
  padding: 14px 22px; border-top: 1px solid var(--sp-border);
}
.cart-back-link a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: #888; text-decoration: none; transition: .2s;
}
.cart-back-link a:hover { color: var(--primary); }

/* ── Right: summary panel ── */
.cart-summary-panel { position: sticky; top: 110px; }
.cart-summary-box {
  background: #fff; border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow-md); overflow: hidden;
}
.cs-head {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--sp-border);
  font-size: 18px; font-weight: 800; color: var(--dark);
}
.cs-head i { color: var(--primary); font-size: 20px; }

/* WooCommerce cart_totals override */
.cart_totals { padding: 0; }
.cart_totals h2 { display: none !important; }
.cart_totals .woocommerce-shipping-calculator { margin-top: 10px; }

/* cs-totals rows */
.cs-totals { padding: 6px 24px 2px; }
.cs-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--sp-border);
  font-size: 14px;
}
.cs-row:last-child { border-bottom: none; }
.cs-label { color: #666; }
.cs-val { font-weight: 600; color: var(--dark); }
.cs-discount .cs-val { color: #27ae60; }
.cs-free .cs-val { color: #27ae60; display: inline-flex; align-items: center; gap: 5px; }
.cs-total {
  padding-top: 16px; padding-bottom: 10px;
  border-top: 2px solid var(--sp-border); border-bottom: none;
}
.cs-total .cs-label { font-size: 15px; font-weight: 700; color: var(--dark); }
.cs-total .cs-val { font-size: 22px; font-weight: 800; color: var(--primary); }

/* Checkout button */
.cs-checkout-btn { padding: 16px 24px 20px; }
.cs-checkout-btn .checkout-button,
.cs-checkout-btn a.checkout-button,
.wc-proceed-to-checkout .checkout-button {
  display: block !important; width: 100%; text-align: center;
  padding: 15px 20px; background: var(--primary); color: #fff !important;
  border: none; border-radius: 10px; font-family: inherit;
  font-size: 16px; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: .2s;
}
.cs-checkout-btn .checkout-button:hover,
.cs-checkout-btn a.checkout-button:hover,
.wc-proceed-to-checkout .checkout-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,77,77,.3);
}

/* WooCommerce cart_totals table style */
.cart_totals table.shop_table {
  width: 100%; border-collapse: collapse;
}
.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
  padding: 12px 24px; border-bottom: 1px solid var(--sp-border);
  font-size: 14px; text-align: left;
}
.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td {
  font-size: 18px; font-weight: 800;
  padding-top: 16px; border-bottom: none;
}
.cart_totals table.shop_table tr.order-total td { color: var(--primary); }
.cart_totals .wc-proceed-to-checkout { padding: 16px 24px 22px; }

/* Trust badges */
.cs-trust {
  display: flex; justify-content: space-around;
  padding: 14px 24px 20px;
  border-top: 1px solid var(--sp-border);
}
.cs-trust-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: #888; text-align: center;
}
.cs-trust-item i { font-size: 20px; color: var(--primary); }

/* ================================================================
   CHECKOUT PAGE — Premium Redesign v4
   বড় বাম কলাম · সুন্দর ফর্ম ফিল্ড · পরিষ্কার লেআউট
   ================================================================ */

.eshop-checkout-page { padding: 36px 0 80px; }

/* ── Step indicator ── */
.co-page-head { margin-bottom: 32px; }

.co-page-head h1 {
  font-size: 28px; font-weight: 800; color: var(--dark);
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
}
.co-page-head h1 i { color: #2ecc71; font-size: 24px; }

.co-steps {
  display: flex; align-items: center; gap: 0;
  background: #fff; border-radius: 12px;
  box-shadow: var(--sp-shadow); overflow: hidden;
  width: fit-content;
}
.co-step {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-size: 14px; font-weight: 600;
  color: #bbb; background: #fff; position: relative;
  transition: .2s;
}
.co-step + .co-step {
  border-left: 1px solid #f0f0f0;
}
.co-step.active {
  background: var(--primary); color: #fff;
}
.co-step.done {
  color: #2ecc71;
}
.co-step-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.co-step.active .co-step-num { background: rgba(255,255,255,.25); color: #fff; }
.co-step.done .co-step-num { background: #e8faf0; color: #2ecc71; }
/* হেডার বাদ দিলাম — শুধু ডেস্কটপে step label দেখাবে */
@media (max-width: 500px) { .co-step-label { display: none; } }

/* ── Two-column body: বাম বড়, ডান fixed ── */
.co-body {
  display: grid;
  grid-template-columns: 1fr 360px;   /* বাম কলাম সম্পূর্ণ flexible */
  gap: 32px;
  align-items: start;
}

/* ── Card component ── */
.co-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  margin-bottom: 24px; overflow: hidden;
  border: 1px solid #f5f5f5;
}
.co-card:last-child { margin-bottom: 0; }

.co-card-head {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 28px 18px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}
.co-card-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, #fff0f0 0%, #ffe5e5 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(255,77,77,.15);
}
.co-card-icon i { font-size: 20px; color: var(--primary); }
.co-card-head-text {}
.co-card-head h3 {
  font-size: 17px; font-weight: 800; color: var(--dark);
  margin: 0 0 3px; line-height: 1.2;
}
.co-card-head p { font-size: 13px; color: #aaa; margin: 0; }

.co-card-body { padding: 28px 28px 24px; }

/* ── Form field grid ──
   WooCommerce ডিফল্টে প্রতিটি field p.form-row এ থাকে।
   আমরা wrapper কে grid করি; wide field সম্পূর্ণ প্রস্থ নেয়।
── */
.co-card-body .woocommerce-billing-fields > h3,
.co-card-body .woocommerce-shipping-fields > h3 { display: none !important; }

.co-card-body .woocommerce-billing-fields__field-wrapper,
.co-card-body .woocommerce-shipping-fields__field-wrapper,
.co-card-body .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

/* প্রতিটি field row — margin/float reset */
.co-card-body p.form-row {
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  clear: none !important;
}
/* Wide fields (address, email, etc.) সম্পূর্ণ প্রস্থ নেবে */
.co-card-body p.form-row-wide,
.co-card-body p.form-row.form-row-wide,
.co-card-body p#billing_address_1_field,
.co-card-body p#billing_address_2_field,
.co-card-body p#shipping_address_1_field,
.co-card-body p#shipping_address_2_field,
.co-card-body p#billing_company_field,
.co-card-body p#shipping_company_field { grid-column: 1 / -1; }

/* Label */
.co-card-body p.form-row label {
  display: block;
  font-size: 13px; font-weight: 700;
  color: #444; margin-bottom: 7px;
  letter-spacing: .2px;
}
.co-card-body p.form-row abbr[title],
.co-card-body p.form-row .required {
  color: var(--primary); text-decoration: none;
  margin-left: 2px;
}

/* Input / Select / Textarea */
.co-card-body p.form-row input[type="text"],
.co-card-body p.form-row input[type="email"],
.co-card-body p.form-row input[type="tel"],
.co-card-body p.form-row input[type="number"],
.co-card-body p.form-row input[type="password"],
.co-card-body p.form-row select,
.co-card-body p.form-row textarea {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  font-family: inherit; font-size: 15px;
  color: var(--dark); background: #fff;
  outline: none; box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: auto; appearance: auto;
  line-height: 1.4;
}
.co-card-body p.form-row input:hover,
.co-card-body p.form-row select:hover { border-color: #ccc; }

.co-card-body p.form-row input:focus,
.co-card-body p.form-row select:focus,
.co-card-body p.form-row textarea:focus {
  border-color: var(--primary);
  background: #fffafa;
  box-shadow: 0 0 0 4px rgba(255,77,77,.1);
}
.co-card-body p.form-row textarea {
  min-height: 100px; resize: vertical;
}
.co-card-body .woocommerce-input-wrapper { display: block; }

/* Validation states */
.co-card-body p.form-row.woocommerce-invalid input,
.co-card-body p.form-row.woocommerce-invalid select {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,.1);
}
.co-card-body p.form-row.woocommerce-validated input,
.co-card-body p.form-row.woocommerce-validated select {
  border-color: #2ecc71;
}
.co-card-body p.form-row span.woocommerce-error,
.co-card-body p.form-row em {
  display: block; color: #e53935;
  font-size: 12px; margin-top: 5px;
  font-style: normal;
}

/* Ship to different address */
.co-card-body #ship-to-different-address {
  margin-bottom: 16px;
}
.co-card-body #ship-to-different-address label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; color: var(--dark);
  margin: 0;
}
.co-card-body #ship-to-different-address input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--primary);
  border-radius: 4px; flex-shrink: 0;
}

/* ── Right column ── */
.co-right { position: sticky; top: 90px; }

.co-order-card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
  border: 1px solid #f0f0f0;
  overflow: hidden; margin-bottom: 16px;
}
.co-order-body { padding: 0 22px 6px; }

/* Order review table */
.co-order-body .shop_table {
  width: 100%; border-collapse: collapse;
}
.co-order-body .shop_table th,
.co-order-body .shop_table td {
  padding: 12px 0; border-bottom: 1px solid #f5f5f5;
  font-size: 14px; text-align: left; vertical-align: top;
}
.co-order-body .shop_table thead th {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .7px; color: #bbb;
}
.co-order-body .shop_table .product-name { font-weight: 600; color: var(--dark); }
.co-order-body .shop_table .product-total { text-align: right; color: var(--dark); font-weight: 600; }
.co-order-body .shop_table tfoot tr th,
.co-order-body .shop_table tfoot tr td {
  font-size: 13px; color: #666;
}
.co-order-body .shop_table tfoot tr.order-total th,
.co-order-body .shop_table tfoot tr.order-total td {
  font-size: 20px; font-weight: 800;
  color: var(--primary); border-bottom: none;
  padding-top: 14px; padding-bottom: 4px;
}

/* Payment methods */
.co-order-body #payment { padding: 10px 0 0; }
.co-order-body ul.payment_methods {
  list-style: none; padding: 0; margin: 0 0 14px;
}
.co-order-body ul.payment_methods li { margin-bottom: 10px; }
.co-order-body ul.payment_methods > li > label {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  border: 2px solid #ebebeb; border-radius: 10px;
  cursor: pointer; font-size: 14px; font-weight: 500;
  color: var(--dark); transition: .2s; background: #fafafa;
}
.co-order-body ul.payment_methods > li > label:hover {
  border-color: #d5d5d5; background: #fff;
}
.co-order-body ul.payment_methods > li > label img {
  height: 24px; width: auto;
}
.co-order-body ul.payment_methods li:has(input:checked) > label,
.co-order-body ul.payment_methods li input[type="radio"]:checked + label {
  border-color: var(--primary);
  background: linear-gradient(135deg, #fff8f8, #fff3f3);
  color: var(--primary);
}
.co-order-body ul.payment_methods li input[type="radio"] {
  accent-color: var(--primary); flex-shrink: 0;
  width: 16px; height: 16px;
}
.co-order-body .payment_box {
  padding: 10px 16px; font-size: 13px; color: #888;
  background: #f5f5f5; border-radius: 0 0 10px 10px;
  margin: -8px 0 12px; border: 2px solid #ebebeb;
  border-top: none;
}

/* Privacy policy text */
.co-order-body .woocommerce-privacy-policy-text {
  font-size: 12px; color: #bbb; margin-bottom: 12px;
  line-height: 1.5;
}
.co-order-body .woocommerce-privacy-policy-text a {
  color: var(--primary); text-decoration: none;
}

/* Terms & conditions */
.co-order-body .woocommerce-terms-and-conditions-wrapper {
  font-size: 13px; color: #666; margin-bottom: 16px;
}
.co-order-body .woocommerce-terms-and-conditions-wrapper a {
  color: var(--primary); text-decoration: none;
}

/* Place order button */
.co-order-body .place-order { padding: 14px 22px 24px; }
.co-order-body #place_order {
  width: 100%; padding: 16px 20px;
  background: linear-gradient(135deg, var(--primary), #e53e3e);
  color: #fff; border: none; border-radius: 12px;
  font-family: inherit; font-size: 17px; font-weight: 800;
  cursor: pointer; letter-spacing: .3px;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; transition: .25s;
  box-shadow: 0 4px 16px rgba(255,77,77,.3);
}
.co-order-body #place_order:hover {
  background: linear-gradient(135deg, #e53e3e, #c53030);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,77,77,.4);
}
.co-order-body #place_order::before {
  content: "\f023"; font-family: "Font Awesome 6 Free";
  font-weight: 900; font-size: 15px;
}

/* Security strip */
.co-security {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #f0faf4, #e8f5e9);
  border: 1px solid #c8e6c9; border-radius: 12px;
  font-size: 13px; color: #2d6a4f; line-height: 1.5;
}
.co-security i { font-size: 22px; color: #27ae60; flex-shrink: 0; }

/* Payment icons strip */
.co-payment-icons {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  padding: 14px 22px 4px;
  border-top: 1px solid #f5f5f5;
}
.co-payment-icons img { height: 24px; width: auto; opacity: .7; }
.co-payment-icons span {
  font-size: 11px; color: #ccc; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}
/* ================================================================
   PRODUCT PAGE
   ================================================================ */
.woocommerce div.product .woocommerce-product-gallery {
  border-radius: 16px; overflow: hidden; background: #fff;
}
.woocommerce div.product .woocommerce-product-gallery img {
  width: 100%; height: auto; object-fit: contain;
}
.woocommerce div.product .woocommerce-product-gallery__trigger {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.14);
}
.woocommerce div.product table.variations { width: 100%; border: none; margin: 14px 0 4px; }
.woocommerce div.product table.variations tr { display: block; margin-bottom: 14px; }
.woocommerce div.product table.variations td.label { display: block; font-weight: 700; color: var(--dark); font-size: 14px; margin-bottom: 7px; padding: 0; }
.woocommerce div.product table.variations td.value { display: block; padding: 0; }
.woocommerce div.product table.variations select { width: 100%; max-width: 300px; padding: 11px 15px; border: 1.5px solid #e8e8e8; border-radius: 9px; font-family: inherit; font-size: 14px; outline: none; background: #fff; cursor: pointer; }
.woocommerce div.product table.variations select:focus { border-color: var(--primary); }
.woocommerce div.product .woocommerce-variation { margin: 14px 0; padding: 14px 16px; background: var(--light); border-radius: 11px; }
.woocommerce div.product form.cart { align-items: stretch; }
.woocommerce div.product .quantity { display: flex; align-items: center; }
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart button.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: var(--primary); color: #fff; border: none; border-radius: 9px; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: .2s; text-decoration: none; }
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce div.product form.cart button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { opacity: .9; transform: translateY(-1px); }
.related-products-section { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--sp-border); }
.related-products-section .section-head h2 { font-size: 24px; color: var(--dark); }

/* ================================================================
   SHOP PAGE
   ================================================================ */
.shop-page-header { background: linear-gradient(135deg,#fff5f5,#ffe8e8); padding: 50px 0; text-align: center; }
.shop-page-header h1 { font-size: 38px; color: var(--dark); }
.shop-page-header p { color: var(--gray); margin-top: 8px; font-size: 16px; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.shop-sidebar { background: #fff; border-radius: var(--sp-radius); padding: 22px; box-shadow: var(--sp-shadow); position: sticky; top: 90px; }
.shop-main { min-width: 0; }
.shop-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border-radius: 12px; padding: 14px 20px; margin-bottom: 22px; box-shadow: var(--sp-shadow); }
.shop-toolbar select { margin-left: auto; padding: 8px 16px; border: 1px solid var(--border); border-radius: 30px; font-family: inherit; outline: none; background: #fff; color: var(--text); font-size: 14px; cursor: pointer; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* Cart: 1 column below 1100px */
@media (max-width: 1100px) {
  .cart-page-grid { grid-template-columns: 1fr; }
  .cart-panel-head { display: none; }
  .cart-row-v2 { grid-template-columns: 78px 1fr 42px; gap: 10px; }
  .cr-price, .cr-subtotal, .cr-qty { display: none; }
  .cart-summary-panel { position: static; }
}

/* Checkout: ডান কলাম ছোট হলে নিচে নামাও */
@media (max-width: 1060px) {
  .co-body { grid-template-columns: 1fr 320px; gap: 24px; }
}
@media (max-width: 900px) {
  .co-body { grid-template-columns: 1fr; }
  .co-right { position: static; }
  .shop-layout { grid-template-columns: 1fr; }
}

/* Checkout form fields: 1 column below 600px */
@media (max-width: 600px) {
  .eshop-cart-page { padding: 20px 0 50px; }
  .eshop-checkout-page { padding: 20px 0 50px; }
  .cart-page-header { flex-direction: column; align-items: flex-start; }
  .cart-row-v2 { grid-template-columns: 68px 1fr 38px; padding: 12px 14px; }
  .cr-img img { width: 60px; height: 60px; }
  .cart-actions-bar { flex-direction: column; align-items: stretch; }
  .coupon-wrap { min-width: 100%; }
  .co-steps { border-radius: 10px; }
  .co-step { padding: 12px 16px; }
  .co-card-body { padding: 18px 16px; }
  .co-card-head { padding: 18px 18px 14px; }
  .co-card-body .woocommerce-billing-fields__field-wrapper,
  .co-card-body .woocommerce-shipping-fields__field-wrapper,
  .co-card-body .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .co-card-body p.form-row-wide,
  .co-card-body p.form-row.form-row-wide { grid-column: 1; }
  .co-order-body { padding: 0 16px 6px; }
  .co-order-body .place-order { padding: 12px 16px 20px; }
  .co-page-head h1 { font-size: 22px; }
}
