/* 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;
}

.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;
  width: 100%;
  padding: 5px 10px;
  background: #3bb77e;
  color: white;
  text-align: center;
  border-radius: 5px;
}

/* 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;
  /* 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 */
}

/* 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 */
}

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

/*=========================================================== 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;
  width: 80px;
  /* adjust as needed */
  cursor: pointer;
  transition: border-color 0.2s;
}

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

.variation-item .variant-label {
  background: #fff;
  padding: 8px 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.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: #7fff9d;
  padding: 8px 15px 8px 15px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.deal-countdown {
  font-size: 20px;
  font-weight: 700;
  color: #0e6823;
}

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

.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: #ff6600;
  color: #fff !important;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

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

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

/* 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;
	}
}

/* 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: 20px;
}

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

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

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

/* === Sidebar Category widget scrollbar === */
.sidebar-widget.widget-category-2 ul {
  max-height: 560px;
  /* 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;
  }
}