/* Archive page product grid */

.add-cart a.button {
  display: block;
  width: 100%;
  padding: 5px 10px;
  background: #3bb77e;
  color: white;
  text-align: center;
  border-radius: 5px;
}

.product-grid {
  gap: 30px 0;
}

.product-grid-4 {
  justify-content: center;
}

.variation-badge {
  display: inline-block;
  padding: 2px 12px;
  background-color: #f1f1f1;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #3f3f3f;
}

.variation-badge.active {
  border: 1px solid #3bb77e;
  background-color: #ffffff;
  font-weight: 500;
}

.variation-badge.disabled,
.variation-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none; /* make truly unclickable */
}

.selling-price {
  font-size: 18px;
  font-weight: bold;
  color: #222;
}

.price-subline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 14px;
}

.old-price {
  text-decoration: line-through;
  color: #999;
}

.discount-badge {
  background: #ff4c3b;
  color: white;
  font-size: 12px;
  padding: 0px 6px;
  border-radius: 4px;
}

.product-variations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.update-cart-button {
  padding: 10px 40px !important;
}

.button-v-atc {
  display: block !important;
  width: 100% !important;
  padding: 7px 30px !important;
  background: #3bb77e !important;
  color: white !important;
  text-align: center !important;
  border-radius: 5px !important;
}

/* In your theme’s style.css (or a child theme’s style.css): */
.product-badges .badge {
  display: inline-block;
  padding: 0.25em 0.5em;
  border-radius: 3px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-sale {
  background-color: #e74c3c;
  /* red */
}

.badge-new {
  background-color: #27ae60;
  /* green */
}

/* 1) Make the card a column‐flex container, but do NOT set its height to 100% here */
.product-cart-wrap {
  display: flex;
  flex-direction: column;
  /* remove any “height: 100%;” from here */
}

/* 2) Make the content wrap fill remaining space and push its bottom child down */
.product-content-wrap {
  flex: 1;
  /* fill all vertical space left by image/badge */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fcfbfb;
  /* top info at top, bottom info at bottom */
}

/* 3) Ensure only product-card-bottom is pushed down, without overflowing */
.product-card-bottom {
  margin-top: auto;
  /* pushes this block to the bottom of .product-content-wrap */
}

@media (max-width: 460px) {
  .product-card-bottom {
    display: block !important;
  }

  .button-v-atc {
    margin-top: 10px !important;
  }
}

/* 4) Keep each grid column itself from forcing extra height */
.row.product-grid>.col-lg-1-5 {
  display: flex;
  /* so its child .product-cart-wrap can stretch in that column */
}

.row.product-grid>.col-lg-1-5 .product-cart-wrap {
  flex: 1;
  /* fill the column height, but only as tall as the tallest card */
}

/* 4) Keep each grid column itself from forcing extra height */
.row.product-grid>.col-lg-1-4 {
  display: flex;
  /* so its child .product-cart-wrap can stretch in that column */
}

.row.product-grid>.col-lg-1-4 .product-cart-wrap {
  flex: 1 !important;
  /* fill the column height, but only as tall as the tallest card */
}

.product-img-action-wrap .product-rating-archive {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 5px 10px;
}

.product-img-action-wrap .product-rating-archive .star-rating {
  float: none;
  margin: 0;
  color: #FFA600;
}

.product-img-action-wrap .product-rating-archive .star-rating::before,
.product-img-action-wrap .product-rating-archive .star-rating span::before {
  color: #FFA600;
}

.product-img-action-wrap .product-rating-archive .rating-value {
  font-weight: 600;
  font-size: 14px;
  color: #253d4e;
  line-height: 1;
}

@media (max-width: 767px) {
  .product-padding {
    padding: 5px;
  }

  .product-grid {
    gap: 0;
  }
}


.add-to-cart-custom {
  display: block;
  width: 100%;
  padding: 12px 10px;
  background: #3bb77e;
  color: white;
  text-align: center;
  border-radius: 5px;
}

/* Disabled add-to-cart visual state */
.add-to-cart-custom.disabled,
.add-to-cart-custom[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.mob-offcanvas-btn {
  padding: 10px 35px;
  border-radius: 9px;
  background: #ffffff !important;
  color: #737373 !important;
  border-color: #d5d5d5 !important;
  justify-content: center;
  align-items: center;
}

.mob-offcanvas-btn i {
  margin-right: 10px;
}

.offcanvas-start {
  width: 350px !important;
}

/*=========================================================== Cart page ===========================================================*/

.cart-item-card.rounded-corners {
  border-radius: 8px;
  /* Ensure any child elements don’t overflow the rounded corners */
  overflow: hidden;
}

/* Hide default number‐input spinner arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  /* For Firefox */
}

.detail-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  padding: 5px;
}

.detail-qty .qty-btn {
  background: #f5f5f5;
  border: none;
  color: #333;
  font-size: 18px;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.detail-qty .qty-btn:hover {
  background: #e1e1e1;
}

.detail-qty input.qty {
  width: 45px;
  /* adjust as needed */
  border: none;
  /* remove default outline */
  text-align: center;
}

.product-thumbnail {
  height: auto;
  max-width: 85%;
  margin: auto;
}

@media (max-width: 767.99px) {
  .product-thumbnail {
    width: 60px;
  }
}

.qty {
  height: 30px;
  padding-left: 0;
}

.cart-product-title {
  font-size: 20px;
}

.cart-item-price {
  font-size: 18px;
  font-weight: bold;
  color: #3bb77e;
}

.cart-item-mrp {
  text-decoration: line-through;
  color: #999;
}

.cart-item-saved-price {
  background: #ff4c3b;
  color: white;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
}

.cart-item-subtotal {
  color: #2a6e00;
}

/* ————————————— */
/* SMOOTH SCROLLING  */
/* ————————————— */
.coupon-slider {
  scroll-behavior: smooth;
  /* other existing rules: */
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

/* Style each coupon card */
.coupon-card {
  flex-shrink: 0;
  width: 240px;
  min-width: 240px;
  scroll-snap-align: start;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  position: relative;
}

/* Style the Prev/Next buttons */
.coupon-nav button {
  width: 32px;
  height: 32px;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hide native number‐input arrows (quantity input above) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Optional: style the horizontal scrollbar for .coupon-slider */
.coupon-slider::-webkit-scrollbar {
  height: 6px;
}

.coupon-slider::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.coupon-slider::-webkit-scrollbar-track {
  background: transparent;
}

/* Responsive tweak (smaller width on mobile screens) */
@media (max-width: 768px) {
  .coupon-card {
    width: 200px;
    min-width: 200px;
  }
}

.border {
  border-radius: 10px;
}

.coupon-code {
  padding: 6px 15px 6px 15px;
  height: 30px;
  background: #ffffff;
  border: 1px dashed #a1a1a1;
  border-radius: 4px;
  /* font-family: "Gotham Rounded"; */
  font-size: 18px;
  line-height: 19px;
  color: #43494e;
  text-transform: uppercase;
  width: fit-content;
}

.apply-coupon-btn {
  border-radius: 5px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 5px 10px !important;
}

.available-coupon {
  padding: 20px;
}

@media (max-width: 991.98px) {
  .available-coupon {
    margin-top: 30px;
  }
}

@media (max-width: 1199px) {
  .coupon-nav {
    display: none;
  }
}

/* ——————————————— */
/* ORDER SUMMARY STYLES */
/* ——————————————— */

/* Outer wrapper */
.order-summary {
  background-color: #ffffff;
  border: 1px solid #e0a766;
  /* Beige border */
  border-radius: 10px !important;
  margin-top: 30px;
}

/* Title “Order Summary” */
.order-summary h4 {
  margin-bottom: 1rem;
  font-weight: bold;
}

/* Inner white box with dotted border */
/* .order-summary .summary-lines {
  border: 1px dotted #e0a766;
  border-radius: 8px;
  background-color: #ffffff;
} */

/* Table row cells padding */
.order-summary .summary-lines table tr td {
  padding: 0.5rem 0;
}

/* “Total MRP Price” and normal line labels */
.order-summary .summary-lines .summary-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  text-align: start;
}

/* “Discount on MRP” value in green */
.order-summary .summary-lines .summary-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #28a745;
  /* Bootstrap “success” green */
}

/* “Coupon Discount” row: same styling but text in green for the value */
.order-summary .summary-lines tr.cart-discount .summary-label {
  color: #333;
  font-weight: 500;
}

.order-summary .summary-lines tr.cart-discount .summary-value {
  color: #28a745;
}

/* “Shipping Charges” styling (struck-though or normal) */
.order-summary .summary-lines tr td .summary-value span {
  font-weight: 500;
}

/* “To Pay” row has a top dotted border and bolder text */
.order-summary .summary-lines tr.border-top {
  border-top: 1px dotted #e0a766;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.order-summary .summary-lines tr.border-top .summary-label,
.order-summary .summary-lines tr.border-top .summary-value {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
}

/* Green banner at bottom: “You’re saving…” */
.order-summary .summary-savings {
  background-color: #28a745;
  /* Green */
  color: #ffffff;
  border-radius: 4px;
  /* Round bottom corners */
  margin-top: 10px;
  padding: 2px;
}

.order-summary .summary-savings span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* “Proceed To Checkout” button */
.order-summary .proceed-to-checkout .btn {
  background-color: #ff6d1f;
  /* Change to your primary brand color */
  color: #ffffff;
  border: none;
  font-size: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  text-align: center;
  display: block;
  width: 100%;
  transition: background-color 0.2s ease;
}

.order-summary .proceed-to-checkout .btn:hover {
  background-color: #0069d9;
  color: #fff;
}

/* “Remove” (×) link next to coupon code */
.order-summary .summary-lines a {
  text-decoration: none;
  font-weight: bold;
  margin-left: 0.5rem;
  color: #dc3545;
  /* Red for “remove” */
  font-size: 25px;
  line-height: 0;
}

.order-summary .summary-lines a:hover {
  color: #a71d2a;
}

.summary-lines table tr {
  border: none;
  display: flex;
  justify-content: space-between;
}

.summary-highlight {
  font-weight: 700 !important;
  color: #000000 !important;
}

.border-top-mrp {
  border-top: 1px solid #e9ecef !important;
}

.cart-action {
  display: flex;
}

.update-cart-button {
  background-color: #ff6d1f !important;
  border-color: #ff6d1f !important;
}

.update-cart-button:disabled {
  background-color: #ffffff !important;
  border-color: #fdd5bf !important;
}

@media (max-width: 515px) {
  .cart-action {
    display: block;
  }

  .continue-shopping-button {
    width: 100%;
  }

  .update-cart-button {
    width: 100%;
    margin-top: 20px;
    background-color: #ff6d1f !important;
  }
}

/*===================== Checkout Page =====================*/

/* card headers */
.petsvilla .card-header {
  border-bottom: 2px solid #eee;
}

/* make the “Pay now” button full-width & brand-orange */
.petsvilla #place_order {
  width: 100%;
  background-color: #ff6f00;
  border-color: #e65a00;
}

/* tighten up form-rows */
.petsvilla .woocommerce-checkout .form-row {
  margin-bottom: 1rem;
}

/*===================== Single Product Page =====================*/

/* ─── Variation Selector ─── */
.variant-selector {
  gap: 10px;
}

.variation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  min-width: 80px; /* keep a sensible minimum */
  width: auto;    /* allow item to grow with content */
  flex: 0 0 auto; /* don't force equal widths; size to content */
  cursor: pointer;
  transition: border-color 0.2s;
}

.variation-item.active {
  border-color: #28a745;
}

.variation-item .variant-label {
  background: #fff;
  padding: 8px 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  white-space: normal; /* allow wrapping for long labels */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.variation-item .variant-discount {
  background: #28a745;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: none;
  text-align: center;
  padding: 4px 0;
  width: 100%;
}

/* —— Single Product Price Styling —— */
.product-price-cover {
  /* you already have clearfix */
}

.product-price .current-price {
  font-size: 28px;
  font-weight: 600;
  display: inline-block;
  vertical-align: middle;
}

.product-price .old-price {
  font-size: 14px;
  color: #888888;
  text-decoration: line-through;
  vertical-align: middle;
}

.product-price .save-price {
  font-size: 14px;
  color: #28a745;
  /* or your .color3 */
  vertical-align: middle;
}

.product-price .tax-info {
  font-size: 16px;
  color: #888888;
  /* or your .color6 */
  margin-top: 5px;
}

.deal-sec {
  background-color: #CEE5CE;
  padding: 8px 15px 8px 15px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.deal-countdown {
  font-size: 18px;
  font-weight: 700;
  color: #0e6823;
  line-height: 2;
}

@media (max-width: 425px) {
  .deal-countdown {
    font-size: 16px;
  }
}

.brand-link {
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
}

.brand-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.brand-rating-row .single-product-rating {
  margin-left: auto;
}

.brand-rating-row .star-rating {
  float: none;
  margin: 0;
  color: #ffa600;
}

.brand-rating-row .star-rating::before,
.brand-rating-row .star-rating span::before {
  color: #ffa600;
}

.title-detail {
  font-size: 26px;
}

@media (max-width: 575px) {
  .title-detail {
    font-size: 22px !important;
  }
}

/* —— Sticky add-to-cart bar —— */
.sticky-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #ddd;
  padding: 10px 20px;
  z-index: 999;
}

.sticky-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.sticky-current-price {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  font-weight: 900;
  color: #253D4E;
  font-family: "Quicksand", sans-serif;
}

.sticky-old-price {
  text-decoration: line-through;
  color: #B6B6B6;
  font-size: 16px;
  font-weight: 600;
  display: block;
  font-family: "Quicksand", sans-serif;
}

.sticky-save-price {
  font-size: 16px;
  font-weight: 600;
  /* margin-bottom: 6px; */
  display: block;
  color: #ff5500;
  font-family: "Quicksand", sans-serif;
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button-sticky-add-to-cart {
  background: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
}

.sticky-qty {
  display: flex;
  align-items: center;
}

.sticky-qty .qty-val {
  width: 50px;
  text-align: center;
  margin: 0 5px;
}

@media (max-width: 425px) {
  .button.button-add-to-cart {
    padding: 8px 20px;
  }

  .sticky-info {
    display: block;
  }
}

/* —— Quantity Picker Styling —— */
.detail-extralink {
  display: flex;
  align-items: center;
  gap: 15px;
}

.detail-extralink .detail-qty {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.detail-extralink .detail-qty a.qty-down,
.detail-extralink .detail-qty a.qty-up {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  color: #333;
  text-decoration: none;
  font-size: 18px;
}

.detail-extralink .detail-qty a.qty-down {
  border-right: 1px solid #ddd;
}

.detail-extralink .detail-qty a.qty-up {
  border-left: 1px solid #ddd;
}

.detail-extralink .detail-qty input.qty {
  width: 40px;
  border: none;
  text-align: center;
  font-size: 16px;
  padding: 8px 0;
  outline: none;
  -moz-appearance: textfield;
}

.detail-extralink .detail-qty input::-webkit-outer-spin-button,
.detail-extralink .detail-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* —— Add to Cart Button Styling —— */
.button-add-to-cart {
  background-color: #3BB77E !important;
  color: #fff !important;
  padding: 12px 24px !important;
  border: none;
  border-radius: 8px;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 8px !important;
  cursor: pointer !important;
  width: 100% !important;
  justify-content: center;
}

.button-add-to-cart i {
  font-size: 18px;
}

/* Optional hover state */
.button-add-to-cart:hover {
  background-color: #e65c00;
}

/* Disable Add to Cart (native button) interactions when disabled */
.single_add_to_cart_button:disabled,
.single_add_to_cart_button.disabled,
.button-add-to-cart:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Fallback – show “–” and “+” if the icon font isn’t present */
.detail-qty .qty-down,
.detail-qty .qty-up {
  position: relative;
  font-size: 20px;
  color: #333;
  width: 40px;
  /* match your design */
  text-decoration: none;
}

.detail-qty .qty-down::after {
  content: "−";
  /* U+2212 minus sign */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.detail-qty .qty-up::after {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* hide the <i> tag if it’s empty or missing the font */
.detail-qty .qty-down i,
.detail-qty .qty-up i {
  display: none;
}

@media (max-width: 575px) {
  .body-pading {
    padding: 0 20px !important;
  }
}

.view-cart {
  background-color: #3BB77E !important;
  color: #fff !important;
  padding: 12px 24px !important;
  border: none;
  border-radius: 8px;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 8px !important;
  cursor: pointer !important;
  width: 100% !important;
  justify-content: center;
  text-align: center;
}

/* ---- Feature cards ribbon (matches your screenshot) ---- */

.usp-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  --usp-border: #0f172a;
  --usp-radius: 10px;
  --usp-title: #0f172a;
  /* near-black */
  --usp-muted: #6b7280;
}

@media (max-width:1024px) {
  .usp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.usp-card {
  align-items: center;
  gap: 10px;
  background: var(--usp-bg);
  border: 1px solid #28a745;
  border-radius: var(--usp-radius);
  padding: 15px 10px;
  box-shadow: var(--usp-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

@media (max-width: 575px) {
  .usp-card {
    padding: 2px 5px;
  }
}

.usp-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f8fafc;
  margin: auto;
  /* soft tint */
}

.usp-icon svg {
  width: 26px;
  height: 26px;
  color: #0b1220;
}

.usp-text h6 {
  margin: 0;
  font-weight: 700;
  color: var(--usp-title);
  font-size: 16px;
}

@media (max-width: 575px) {
  .usp-text h6 {
    font-size: 10px;
  }
}

.usp-text small {
  display: block;
  margin-top: 2px;
  color: var(--usp-muted);
  font-size: 13px;
}

.usp-text small-2 {
  display: block;
  margin-top: 2px;
  color: var(--usp-muted);
  font-size: 13px;
  line-height: 15px;
}

@media (max-width: 575px) {
  .usp-text small {
    display: none;
  }

  .usp-text small-2 {
    display: block;
    margin-top: 2px;
    color: var(--usp-muted);
    font-size: 10px;
    line-height: 13px;
  }
}

hr {
  margin: 7px 0 !important;
}

/* Horizontal scroll for related products */
.related-products {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.related-products>div {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .related-products>div {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.woocommerce-Reviews-title {
  font-size: 22px !important;
  margin-bottom: 30px;
}

.woocommerce .star-rating span {
  color: #FFA600 !important;
}

/* Checkout Page styles ====================================================================================== */


.checkout-background {
  width: 1080px;
  margin: auto;
}

.checkout-fields-checkout {
  width: 100%;
  max-width: 540px;
  margin: auto;
}

/* .checkout-total-checkout {
  width: 100%;
  max-width: 540px;
  margin: auto;
} */

.wc-block-components-sidebar {
  width: 100% !important;
  max-width: 540px;
  margin: auto;
}

.wc-block-components-title {
  font-size: 25px !important;
  font-weight: 800 !important;
}

.wc-block-components-checkout-step__description {
  font-family: "Quicksand", sans-serif;
  font-size: 15px !important;
  color: #111111 !important;
  font-weight: 500 !important;
}

.wc-block-components-text-input input {
  font-size: 15px !important;
  color: #000000 !important;
  font-family: "Quicksand", sans-serif !important;
  font-weight: 500 !important;
}

.wc-block-components-payment-method-label {
  font-size: 15px !important;
  color: #222222 !important;
  font-family: "Quicksand", sans-serif !important;
  font-weight: 500 !important;
}

.wc-block-components-radio-control-accordion-content,
.wc-block-components-checkbox__label {
  font-size: 15px !important;
  color: #222222 !important;
  font-family: "Quicksand", sans-serif !important;
  font-weight: 500 !important;
}

.wc-block-components-checkout-place-order-button--full-width {
  border: none;
  background-color: #3BB77E;
  border: 1px solid #29A56C;
  border-radius: 10px;
  padding: 15px 40px;
}

.wc-block-components-checkout-place-order-button__text {
  font-family: "Quicksand", sans-serif !important;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}

.wp-block-woocommerce-checkout-order-summary-block {
  background-color: #ffffff !important;
  border: 1px solid #202020 !important;
  border-radius: 10px !important;
  padding: 20px !important;
}

.wc-block-components-checkout-order-summary__title-text {
  font-family: "Quicksand", sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #253d4e !important;
}

.wc-block-components-product-name {
  font-family: "Quicksand", sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #000000 !important;
}

.wc-block-components-formatted-money-amount {
  font-family: "Quicksand", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #000000 !important;
}

.wc-block-components-product-price {
  padding-top: 12px !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image>img {
  width: 70px !important;
  max-width: 70px !important;
  height: 80px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 1px solid #b8b8b8 !important;
  margin-right: 50px !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__description {
  padding-left: 30px !important;
  padding-top: 12px !important;
}

.wc-block-components-order-summary-item__individual-prices {
  display: none !important;
}

.wc-block-components-product-details__size {
  font-family: "Quicksand", sans-serif !important;
  font-size: 14px !important;
  color: #555555 !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image {
  width: 55px !important;
}

.wc-block-components-panel__button {
  font-family: "Quicksand", sans-serif;
  font-size: 15px !important;
  color: #111111 !important;
  font-weight: 500 !important;
}

.wc-block-components-totals-item__label {
  font-family: "Quicksand", sans-serif;
  font-size: 15px !important;
  color: #111111 !important;
  font-weight: 600 !important;
}

.wc-block-components-totals-coupon__button {
  padding: 10px 20px !important;
}

@media (max-width: 768px) {
  .checkout-background {
    width: 100%;
  }

  .checkout-fields-checkout,
  .wc-block-components-sidebar {
    max-width: 100%;
  }

  .wp-block-woocommerce-checkout-order-summary-block {
    display: none !important;
  }
}

.footer-logo {
  width: 150px !important;
  height: auto !important;
}

/* ===================================== HOME PAGE ==================================== */

.newsletter-inner2 {
  border-radius: 12px;
}

.page-content {
  padding: 0 20px 0 20px;
}

.old-price {
  text-decoration: line-through;
  color: #999 !important;
  gap: 10px;
  font-size: 18px !important;
}

.top-category-offer {
  background: #076f47;
  border-radius: 7px 7px 0 0;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .mobile-view {
    display: none;
  }

  .background-image-home {
    padding-bottom: 30px !important;
    object-fit: cover;
    background-repeat: repeat !important;
  }
}

@media (min-width: 768px) {
  .desktop-view {
    display: none;
  }
}

.background-image-home {
  padding-bottom: 15px;
  object-fit: cover;
  background-repeat: no-repeat;
}

.footer-background {
  object-fit: cover;
  background-repeat: no-repeat;
  background-color: #CEE5CE;
  padding-top: 50px;
  margin-top: 50px;
}

.product-grid-6 {
  justify-content: center !important;
}

.product-grid-4 {
  display: flex;
}

.product-grid-6 {
  display: none;
}

@media (max-width: 1199px) {
  .product-grid-4 {
    display: none;
  }

  .product-grid-6 {
    display: flex;
  }
}

/* =============== Category Slider For Mobile Home page =============================================================================== */

/* ===== Simple, mobile‑friendly card slider (no JS needed) ===== */
.fc-snap {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  /* small breathing space for iOS scrollbar */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* momentum on iOS */
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* Firefox hide scrollbar */
}

.fc-snap::-webkit-scrollbar {
  display: none;
}

/* Chrome/Safari hide scrollbar */

.fc-snap>.card-2 {
  scroll-snap-align: start;
  flex: 0 0 var(--fc-basis, 20%);
  /* responsive width (overridden below) */
  min-width: 0;
  backface-visibility: hidden;
  transform: translateZ(0);
  /* GPU promote for smoothness */
}

/* Tame heavy hover/zoom effects on small screens to keep swipes silky */
@media (max-width: 768px) {

  .fc-snap .img-hover-scale,
  .fc-snap .img-hover-scale * {
    transition: none !important;
    transform: none !important;
  }
}

/* How many cards are visible per viewport */
@media (max-width: 480px) {

  /* phones */
  .fc-snap>.card-2 {
    --fc-basis: calc(50% - 8px);
  }

  /* 2 per view */
}

@media (min-width: 481px) and (max-width: 768px) {

  /* big phones/small tabs */
  .fc-snap>.card-2 {
    --fc-basis: calc(33.333% - 10.7px);
  }

  /* 3 per view */
}

@media (min-width: 769px) and (max-width: 1024px) {

  /* tablets */
  .fc-snap>.card-2 {
    --fc-basis: calc(20% - 12.8px);
  }

  /* 5 per view */
}

@media (min-width: 1025px) {

  /* desktops */
  .fc-snap>.card-2 {
    --fc-basis: calc(10% - 14.4px);
  }

  /* ~10 per view */
}

/* Desktop-only arrows (hidden on mobile). Remove this block if not needed. */
#fc-arrows {
  display: none;
}

@media (min-width: 1025px) {
  #fc-arrows {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  #fc-arrows .fc-prev,
  #fc-arrows .fc-next {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, .12);
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    line-height: 1;
    cursor: pointer;
  }

  #fc-arrows .fc-prev[disabled],
  #fc-arrows .fc-next[disabled] {
    opacity: .4;
    cursor: default;
  }
}

.cat-slider-desktop {
  display: block;
}

.cat-slider-mobile {
  display: none;
}

@media (max-width: 480.98px) {
  .cat-slider-desktop {
    display: none;
  }

  .cat-slider-mobile {
    display: block;
  }
}

/* =================================================== Product Archive Page =================================================== */

/* === Sidebar Category widget scrollbar === */
.sidebar-widget.widget-category-2 ul {
  max-height: 400px;
  /* tweak as needed */
  overflow-y: auto;
  padding-right: 8px;
  /* avoids scrollbar overlapping text */
}

/* Optional: prettify the scrollbar (WebKit/Chromium/Edge) */
.sidebar-widget.widget-category-2 ul::-webkit-scrollbar {
  width: 6px;
}

.sidebar-widget.widget-category-2 ul::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sidebar-widget.widget-category-2 ul::-webkit-scrollbar-thumb {
  background: #b5b5b5;
  border-radius: 3px;
}

.sidebar-widget.widget-category-2 ul::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* ===== Pagination container – centres everything ===== */
.pagination-area nav.woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  /* centers horizontally */
  align-items: center;
  gap: .5rem;
  /* space between buttons */
  margin: 0;
  padding: 0;
}

/* ===== All page buttons, incl. Prev / Next ===== */
.page-numbers li {
  display: inline-block;
  min-width: 40px;
  padding: .5rem .85rem;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  /* rounded corners */
  font-size: 0.9rem;
  line-height: 1;
  text-align: center;
  transition: all .25s ease;
}

.page-numbers li:hover {
  background: #ff6b28;
  /* your brand colour */
  border-color: #ff6b28;
  color: #fff;
}

/* ===== Optional tweaks ===== */
.pagination-area .page-numbers.dots {
  cursor: default;
}


/* ===== search ===== */

/* shared */
.search-style-2 {
  position: relative;
}

.cot-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid #eaeaea;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
  border-radius: 8px;
  margin-top: 8px;
  max-height: 380px;
  overflow: auto;
  padding: 6px;
}

.cot-item {
  display: flex;
  gap: 10px;
  padding: 8px;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
}

.cot-item:hover {
  background: #f7f7f7;
}

.cot-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 48px;
}

.cot-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cot-title {
  font-size: 14px;
  line-height: 1.3;
  color: #222;
}

.cot-price {
  font-size: 13px;
  color: #666;
}

.cot-empty {
  padding: 10px;
  color: #666;
}

.cot-view-all {
  display: block;
  padding: 10px;
  text-align: center;
  border-top: 1px solid #eee;
  text-decoration: none;
  color: #0073aa;
}

.cot-view-all:hover {
  background: #f7f7f7;
}

mark {
  background: transparent;
  color: inherit;
  font-weight: 600;
}

/* mobile tweaks */
.mobile-search.search-style-3 {
  position: relative;
}

@media (max-width: 767.98px) {
  .mobile-search .cot-search-dropdown {
    max-height: 60vh;
    z-index: 9999;
  }

  .mobile-search .cot-item img {
    width: 40px;
    height: 40px;
  }
}

/* =========================== Mega Menu ====================================== */

/* FORCE the inner UL to be a grid */
.mega-menu.brand-mega-menu>li.sub-mega-menu>ul {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(150px, 1fr)) !important;
  /* adjust count */
  gap: 16px 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Undo common theme rules that stack items */
.mega-menu.brand-mega-menu>li.sub-mega-menu>ul>li {
  width: auto !important;
  display: block !important;
  float: none !important;
  clear: none !important;
}

.mega-menu.brand-mega-menu>li.sub-mega-menu>ul>li>a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  padding: 10px 8px !important;
}

/* Images & labels */
.mega-menu.brand-mega-menu .sub-mega-menu img {
  width: 150px !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  padding: 8px !important;
  background: #fff !important;
}

.mega-menu.brand-mega-menu .sub-mega-menu span {
  font-size: 15px !important;
  line-height: 1.25 !important;
  color: #2c2c2c !important;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .mega-menu.brand-mega-menu>li.sub-mega-menu>ul {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* ============================== 404 page =========================================== */

.error-404 {
  text-align: center;
  padding: 80px 20px;
}

.error-404 h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.error-404 .btn {
  background: #0073aa;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
}

.error-404 .btn:hover {
  background: #005177;
}

/* ============================== Slider =========================================== */

/* FRAME: full width, height determined by visible image */
.css-slider {
  position: relative;
  width: 100%;
  margin: 0;
  /* edge-to-edge */
  overflow: hidden;
}

.css-slider * {
  box-sizing: border-box;
}

/* hide radios */
.css-slider>input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* slides in normal flow (so height = active image) */
.css-slider .slides {
  position: relative;
  width: 100%;
}

.css-slider .slide {
  display: none;
}

/* hide all by default */

/* Show the selected slide ONLY (so container height = that slide img height) */
#s1:checked~.slides .slide:nth-child(1),
#s2:checked~.slides .slide:nth-child(2),
#s3:checked~.slides .slide:nth-child(3),
#s4:checked~.slides .slide:nth-child(4) {
  display: block;
}

/* Images: fill screen width; height auto (drives slider height) */
.css-slider img {
  display: block;
  width: 100%;
  height: auto;
  /* keeps aspect ratio; sets container height */
}

/* dots */
.css-slider .dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.css-slider .dots label {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff9;
  background: transparent;
  cursor: pointer;
}

#s1:checked~.dots label:nth-child(1),
#s2:checked~.dots label:nth-child(2),
#s3:checked~.dots label:nth-child(3),
#s4:checked~.dots label:nth-child(4) {
  background: #fff;
  border-color: #fff;
}

/* arrows (overlay; do not affect height) */
.css-slider .arrows label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #ddd;
  cursor: pointer;
  display: none;
  z-index: 2;
}

.css-slider .prev {
  left: 12px;
}

.css-slider .next {
  right: 12px;
}

.css-slider .prev::before,
.css-slider .next::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
}

.css-slider .prev::before {
  transform: rotate(-135deg);
  left: 4px;
}

.css-slider .next::before {
  transform: rotate(45deg);
  right: 4px;
}

/* show the correct arrows for active slide */
#s1:checked~.arrows .for-s1,
#s2:checked~.arrows .for-s2,
#s3:checked~.arrows .for-s3,
#s4:checked~.arrows .for-s4 {
  display: block;
}


.header-action-icon-2 label {
  color: black !important;
}


.woocommerce nav.woocommerce-pagination ul {
  border: none !important;
}

/* Push native Woo variation UI off-screen (don’t rely on display:none only) */
form.variations_form .single_variation_wrap,
form.variations_form .single_variation,
form.variations_form .woocommerce-variation,
form.variations_form .woocommerce-variation-price,
form.variations_form .woocommerce-variation-availability {
  position: absolute !important;
  left: -99999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  /* keep display as block so Woo's .show()/slideDown() doesn't flip visibility back */
  display: block !important;
}

/* Price layout: top = sale (big), bottom-left = MRP (small, grey, strikethrough),
   bottom-right = % Off (highlight) */
.single-product .single_variation .price,
.single-product #price-mirror .price,
.single-product .product-price .price {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "now now"
    "reg save";
  row-gap: 2px;
  column-gap: 10px;
  align-items: baseline;
}

/* Sale price (ins) → top row, big & bold */
.single-product .price ins {
  grid-area: now;
  display: block;
  font-weight: 800;
  font-size: clamp(30px, 2.2vw, 28px);
  line-height: 1.1;
  text-decoration: none;
  color: #253D4E;
}

/* Regular price (del) → bottom-left, small & grey */
.single-product .price del {
  grid-area: reg;
  display: block;
  color: #8a8f98;
  font-size: 18px;
  opacity: .95;
  font-weight: 600;
}

.single-product .price del::before {
  content: "MRP: ";
  margin-right: 4px;
  color: inherit;
}

/* % Off badge → bottom-right, highlighted */
.single-product .price .save-price {
  grid-area: save;
  color: #ff5a1f;
  /* tweak to your accent */
  font-weight: 700;
  font-size: 22px;
  white-space: nowrap;
}

/* Tax line just under the block */
.single-product .tax-info {
  margin-top: 4px;
  font-size: 16px;
  color: #7e8b9a;
}

.out-of-stock {
  color: #FF2626 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
}




/* keep from earlier answer */


.variant-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.variant-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--swatch, #ccc);
  border: 1px solid rgba(17, 24, 39, .12);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}

/* Make swatch non-shrinking and allow text to wrap beside it */
.variant-label {
  /* override earlier white-space:nowrap to allow wrapped labels when needed */
  white-space: normal;
}
.variant-label .variant-swatch {
  flex: 0 0 22px; /* fixed size, don't shrink */
  width: 22px;
  height: 22px;
}
.variant-label .variant-text {
  flex: 1 1 auto; /* allow text to take remaining space and wrap */
  word-break: break-word;
  text-align: left;
}

.under-cart-trust {
  width: 30px;
  height: auto;
}
