/* ==========================================================================
   PRODUCTION MOBEX-STYLE THEME SYSTEM (FLATSOME CUSTOM EXTENSION)
   ========================================================================== */

.product-small.tb-mobex-product-card {
  padding: 10px !important;
}

.product-small.tb-mobex-product-card .tb-card-inner {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  transition:
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-small.tb-mobex-product-card:hover .tb-card-inner {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

/* Image/Media Box Configurations */
.tb-card-media-wrapper {
  position: relative;
  padding: 20px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  border-bottom: 1px solid #f3f4f6;
}

.tb-card-media-wrapper img {
  max-height: 170px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-small.tb-mobex-product-card:hover .tb-card-media-wrapper img {
  transform: scale(1.03);
}

/* Floating Action Core Setup */
.tb-card-hover-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 25;
}

.product-small.tb-mobex-product-card:hover .tb-card-hover-actions {
  opacity: 1;
  transform: translateX(0);
}

/* Action Button Resets & Integrations */
.tb-action-btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  overflow: hidden;
}

.tb-action-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

/* Ensure inside links and native layout blocks fill the circular button */
.tb-action-btn a,
.tb-action-btn .yith-wcwl-add-button,
.tb-action-btn .yith-wcwl-add-button a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #475569 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

.tb-action-btn svg {
  display: block;
  stroke: #475569;
}

/* YITH AJAX Spinner Reset */
.tb-action-btn .ajax-loading,
.tb-action-btn img.ajax-loading {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: 16px !important;
  height: 16px !important;
}

/* Meta Typography Engine */
.tb-card-content-wrapper {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tb-card-sku {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.3px;
  margin-bottom: 5px;
}

.tb-card-title {
  font-size: 14.5px;
  line-height: 1.42;
  font-weight: 700;
  margin: 0 0 10px 0;
  height: 40px;
  overflow: hidden;
}

.tb-card-title a {
  color: #1e293b;
  text-decoration: none;
}

.tb-card-title a:hover {
  color: #0284c7;
}

/* Fitment Badges */
.tb-card-fitment-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: #0369a1;
  background-color: #f0f9ff;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e0f2fe;
  width: max-content;
}

/* Badges Base System */
.tb-card-badges-container {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 20;
}

.tb-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  color: #ffffff;
  line-height: 1;
}
.tb-badge.badge-sale {
  background-color: #ff9800;
}
.tb-badge.badge-new {
  background-color: #4caf50;
}
.tb-badge.badge-popular {
  background-color: #2196f3;
}

/* Grid Footer Alignment */
.tb-card-footer-layout {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.tb-card-price-box {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.tb-card-cta-link {
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.tb-card-cta-link.add-to-cart-style {
  color: #0284c7;
}
.tb-card-cta-link.config-style {
  color: #ea580c;
}

/* ==========================================================================
   YITH & COMPARE OVERRIDES (PURE INLINE SVG FLOW)
   ========================================================================== */

/* 1. Reset container circular dimensions cleanly */
.tb-action-btn {
  position: relative !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
  z-index: 30 !important;
}

/* 2. Strip ALL text labels completely */
.tb-action-btn span,
.tb-action-btn a span,
.tb-action-btn .yith-wcwl-add-to-wishlist-button__label,
.tb-action-btn .yith-wcwl-add-to-wishlist-button-block span {
  display: none !important;
  font-size: 0 !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  text-indent: -9999px !important;
  position: absolute !important;
}

.tb-action-btn .yith-wcwl-add-to-wishlist i,
.tb-action-btn .yith-wcwl-add-to-wishlist img:not(.ajax-loading),
.tb-action-btn .yith-wcwl-add-to-wishlist svg:not(.tb-wishlist-svg) {
  display: none !important;
}

/* 3. Force YITH wrappers and links to fill the circle transparently */
.tb-action-btn .yith-wcwl-add-to-wishlist,
.tb-action-btn .yith-wcwl-add-button,
.tb-action-btn .yith-wcwl-wishlistadded,
.tb-action-btn .yith-wcwl-wishlistexists,
.tb-action-btn .yith-add-to-wishlist-button-block,
.tb-action-btn .yith-wcwl-add-to-wishlist a,
.tb-action-btn a.compare,
.tb-action-btn .compare-btn a {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  float: none !important;
  z-index: 10 !important; /* Ensure the invisible clickable link overlays the icon */
}

/* 4. Turn off all font-icon pseudo elements entirely */
.tb-action-btn a::before,
.tb-action-btn a::after,
.tb-action-btn .yith-wcwl-add-to-wishlist a::before,
.tb-action-btn .yith-wcwl-add-to-wishlist a::after {
  display: none !important;
  content: "" !important;
}

/* 5. Direct styling for all inline SVG icons (Compare, Quickview, Wishlist) */
.tb-action-btn svg,
.tb-action-btn .tb-icon-svg,
.tb-action-btn .tb-wishlist-svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  color: #475569 !important;
  fill: none !important;
  stroke: #475569 !important;
  stroke-width: 2 !important;
  position: absolute !important;
  pointer-events: none !important; /* Click actions pass through to link layer below */
}

/* ==========================================================================
   WISH LIST FILLED ACTIVE STATE STYLE
   ========================================================================== */

/* 6. Active State: Bold crimson fill, seamless transitions */
.tb-action-btn.is-in-wishlist {
  background-color: #fef2f2 !important; /* Extremely soft red backdrop */
  border-color: #fee2e2 !important; /* Soft red border */
}

.tb-action-btn.is-in-wishlist .tb-wishlist-svg {
  color: #ef4444 !important;
  fill: #ef4444 !important; /* Solid red inner heart */
  stroke: #ef4444 !important; /* Match red outline */
  transform: scale(1.05);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Micro-hover response for active button state */
.tb-action-btn.is-in-wishlist:hover {
  background-color: #ffe4e6 !important;
}

.tb-action-btn.is-in-wishlist:hover .tb-wishlist-svg {
  transform: scale(1.15); /* Soft clicky bounce animation */
}

/* Fallback matching rules for extra stability */
.tb-action-btn:has(.yith-wcwl-wishlistadded) .tb-wishlist-svg,
.tb-action-btn:has(.yith-wcwl-wishlistexists) .tb-wishlist-svg {
  color: #ef4444 !important;
  fill: #ef4444 !important;
  stroke: #ef4444 !important;
}

/* Compare active state color change (green/blue indicator when added) */
.tb-action-btn.is-added svg {
  stroke: #10b981 !important; /* Emerald green */
}

/* ==========================================================================
   COMPARE ACTIVE STATE STYLES
   ========================================================================== */

/* Ensure the YITH link expands to fill the entire container button */
.tb-action-btn.compare-btn {
  position: relative !important;
  overflow: hidden;
}

/* Make YITH's native link transparent, but full-screen so it receives clicks */
.tb-action-btn.compare-btn a.compare {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  font-size: 0 !important; /* Hides YITH default text ("Compare") */
  line-height: 0 !important;
  color: transparent !important;
  opacity: 0 !important; /* Zero opacity keeps the click target active but invisible */
  z-index: 5 !important;
}

/* Lock our SVG icon underneath the click target */
.tb-action-btn.compare-btn .tb-compare-svg {
  position: relative;
  z-index: 1;
  pointer-events: none; /* Let clicks pass right through to YITH link */
}

/* Spinner active state animation */
.tb-action-btn.compare-btn.tb-loading .tb-compare-svg {
  animation: tb-spin 1s linear infinite;
  color: #3b82f6 !important;
  stroke: #3b82f6 !important;
}

@keyframes tb-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Compare active state styling */
.tb-action-btn.compare-btn.is-in-compare {
  background-color: #eff6ff !important;
  border-color: #dbeafe !important;
}

.tb-action-btn.compare-btn.is-in-compare .tb-compare-svg {
  color: #3b82f6 !important;
  stroke: #3b82f6 !important;
}

/* 7. Loading state spinner alignment */
.tb-action-btn .ajax-loading,
.tb-action-btn img.ajax-loading {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: 16px !important;
  height: 16px !important;
  z-index: 50 !important;
}

/* Style YITH's sticky bottom comparison bar */
#yith-woocompare-footer {
  background-color: #111827 !important; /* Premium dark background */
  border-top: 2px solid #3b82f6 !important; /* Accent blue border */
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15) !important;
  padding: 12px 24px !important;
  z-index: 99999 !important; /* Ensure it stays above everything */
}

/* Style the "View Comparison" CTA inside the bar */
#yith-woocompare-footer a.compare {
  background-color: #3b82f6 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border-radius: 6px !important;
  padding: 10px 20px !important;
  transition: all 0.2s ease-in-out !important;
}

#yith-woocompare-footer a.compare:hover {
  background-color: #2563eb !important; /* Darker blue hover */
  transform: translateY(-1px);
}

/* ==========================================================================
   IMAGE HOVER GALLERY SYSTEM
   ========================================================================== */

/* Ensure the link container acts as a relative bounding box */
.tb-image-link {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Base image styling rules */
.tb-image-link img {
  max-height: 170px;
  width: auto;
  object-fit: contain;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease !important;
}

/* Stacking context: Place the secondary hover image exactly over the first */
.tb-image-link .tb-hover-image {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
  opacity: 0;
  pointer-events: none; /* Let clicks fall through cleanly */
}

.tb-image-link .tb-primary-image {
  opacity: 1;
}

/* ==========================================================================
   HOVER ACTIONS
   ========================================================================== */

/* 1. When the user hovers over the card, transition the opacity smoothly */
.product-small.tb-mobex-product-card:hover .tb-image-link .tb-primary-image {
  /* Only fade out if there actually is a hover image to show */
  opacity: 0.1; /* Optional: Slight visibility of the back image, or set to 0 for a complete swap */
}

/* If the card does NOT have a hover image, don't fade the primary image at all */
.product-small.tb-mobex-product-card:hover
  .tb-image-link:not(:has(.tb-hover-image))
  .tb-primary-image {
  opacity: 1;
}

/* 2. Transition the hover gallery image into view */
.product-small.tb-mobex-product-card:hover .tb-image-link .tb-hover-image {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.03) !important; /* Soft scale swell */
}

/* ==========================================================================
   PRODUCT CARD RESPONSIVENESS AND SMALL SCREENPORTS
   ========================================================================== */

/* Tablet & Mobile Touch State Adjustments */
@media screen and (max-width: 991px) {
  /* Permanently show hover utility actions on touch screens */
  .tb-card-hover-actions {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Small Screens Breakpoint (Force pricing & action layout vertical stack) */
@media screen and (max-width: 550px) {
  .tb-card-footer-layout {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  /* Force action block directly below price display */
  .tb-card-cta-action {
    width: 100% !important;
  }

  .tb-card-cta-link {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 6px 0 !important;
    font-size: 13px !important;
  }
}

/* ==========================================================================
   QUICK VIEW MODAL OVERLAY & LAYER SYSTEM
   ========================================================================== */
#tb-quickview-modal.tb-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    15,
    23,
    42,
    0.7
  ); /* Deep slate semi-transparent backdrop */
  backdrop-filter: blur(4px);
  z-index: 999999 !important; /* Forces layout above theme headers */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#tb-quickview-modal .tb-modal-container {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 860px !important;
  max-height: 90vh;
  border-radius: 6px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: tbModalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#tb-quickview-modal .tb-modal-content-body {
  padding: 30px 40px !important;
}

#tb-quickview-modal .tb-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  z-index: 30;
  transition: color 0.15s ease;
}

#tb-quickview-modal .tb-modal-close:hover {
  color: #0f172a;
}

#tb-quickview-modal .tb-loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  font-weight: 600;
  color: #64748b;
  font-size: 15px;
}

@keyframes tbModalSlide {
  from {
    transform: translateY(15px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   BASE GRID & CONTENT LAYOUT
   ========================================================================== */
.tb-quickview-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: flex-start;
}

.tb-qv-image-column {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 380px;
}

.tb-qv-image-column img {
  max-height: 340px;
  width: auto;
  object-fit: contain;
}

.tb-qv-brand-badge {
  background-color: #f1f5f9;
  color: #0284c7;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
}

.tb-qv-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  margin: 0 0 10px 0;
}

.tb-qv-sku {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 20px;
}

.tb-qv-sku span {
  color: #1e293b;
}

.tb-qv-price-row {
  font-size: 24px;
  font-weight: 800;
  color: #ea580c;
  margin-bottom: 20px;
  line-height: 1;
}

/* ==========================================================================
   VARIATIONS SELECTORS
   ========================================================================== */
.tb-qv-interactive-purchase-wrapper .variations {
  width: 100%;
  margin-bottom: 20px !important;
  border: none !important;
}

.tb-qv-interactive-purchase-wrapper .variations td {
  padding: 8px 0 !important;
  border: none !important;
  display: block;
}

.tb-qv-interactive-purchase-wrapper .variations td.label {
  font-weight: 700;
  font-size: 13px;
  color: #1e293b;
  margin-bottom: 4px;
}

.tb-qv-interactive-purchase-wrapper .variations select {
  width: 100%;
  height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background-color: #f8fafc;
  padding: 0 12px;
  font-size: 14px;
}

/* ==========================================================================
   INTERACTIVE QUANTITY, ADD TO CART & BUY NOW (FULL WIDTH CLEANUP)
   ========================================================================== */

/* Stack all action elements block-by-block */
#tb-quickview-modal form.cart {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
}

#tb-quickview-modal .woocommerce-variation-add-to-cart,
#tb-quickview-modal form.cart:not(.variations_form) {
  display: flex !important;
  flex-direction: column !important; /* Stack children vertically */
  gap: 12px !important;
  width: 100% !important;
  margin-top: 10px;
}

/* Full Width Quantity Selector */
#tb-quickview-modal .quantity {
  display: flex !important;
  width: 100% !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important; /* Reset any theme default padding */
}

#tb-quickview-modal .quantity .minus {
  order: 1 !important; /* Forces minus to the left edge */
  flex: 0 0 50px !important;
  height: 100% !important;
  background: #f8fafc !important;
  border: none !important;
  font-size: 18px !important;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  user-select: none;
}

#tb-quickview-modal .quantity input.qty {
  order: 2 !important; /* Forces input to stay in the middle */
  flex: 1 1 auto !important; /* Stretches dynamically to fill all space */
  width: 100% !important;
  height: 100% !important;
  border-left: 1px solid #cbd5e1 !important; /* Clean separator lines */
  border-right: 1px solid #cbd5e1 !important;
  border-top: none !important;
  border-bottom: none !important;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  background: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
}

#tb-quickview-modal .quantity .plus {
  order: 3 !important; /* Forces plus to the right edge */
  flex: 0 0 50px !important;
  height: 100% !important;
  background: #f8fafc !important;
  border: none !important;
  font-size: 18px !important;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  user-select: none;
}

#tb-quickview-modal .quantity .plus:hover,
#tb-quickview-modal .quantity .minus:hover {
  background: #e2e8f0 !important;
  color: #0f172a;
}

/* Full Width Add To Cart Button */
#tb-quickview-modal .single_add_to_cart_button {
  width: 100% !important;
  flex-grow: unset !important;
  height: 44px !important;
  background-color: #f59e0b !important; /* Amber Orange */
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: background-color 0.15s ease !important;
}

#tb-quickview-modal .single_add_to_cart_button:hover {
  background-color: #d97706 !important;
}

/* Full Width Buy Now Button */
#tb-quickview-modal #tb-qv-buynow-btn {
  width: 100% !important;
  height: 44px !important;
  background-color: #0284c7 !important; /* Mobex Blue */
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 0px; /* Aligned evenly via container gaps */
  transition: background-color 0.15s ease !important;
}

#tb-quickview-modal #tb-qv-buynow-btn:hover {
  background-color: #0369a1 !important;
}

/* ==========================================================================
   META ACTIONS & CATEGORIES FOOTER BLOCK
   ========================================================================== */
.tb-qv-meta-actions {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
}

.tb-qv-meta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
}

.tb-qv-meta-btn:hover {
  color: #0284c7;
}

.tb-qv-meta-btn svg {
  color: #94a3b8;
}

.tb-qv-meta-btn:hover svg {
  color: #0284c7;
}

.tb-qv-footer-meta {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed #e2e8f0;
}

.tb-meta-row {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}

.tb-meta-label {
  font-weight: 700;
  color: #1e293b;
}

.tb-meta-list a {
  color: #64748b;
  text-decoration: none;
}

.tb-meta-list a:hover {
  color: #0284c7;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE, TABLET, AND SMALL SCREENPORTS)
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* Dynamic modal layout padding for finger targets */
  #tb-quickview-modal .tb-modal-content-body {
    padding: 24px 20px !important;
  }

  /* Transition double column layout to linear block layout */
  .tb-quickview-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Minimize static height on smaller devices to limit scroll jumps */
  .tb-qv-image-column {
    min-height: 250px;
    padding: 10px;
  }

  .tb-qv-image-column img {
    max-height: 220px;
  }

  /* Scale down typographic metrics proportionally */
  .tb-qv-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .tb-qv-price-row {
    font-size: 20px;
    margin-bottom: 15px;
  }

  /* Expand closing handle click scope for thumb taps */
  #tb-quickview-modal .tb-modal-close {
    top: 10px;
    right: 15px;
    font-size: 28px;
    padding: 10px; /* Touch target enhancement */
  }

  /* Ensure variations select-tags fall back elegantly on tight viewports */
  .tb-qv-interactive-purchase-wrapper .variations select {
    font-size: 15px; /* Prevent default iOS zooming on focus */
    height: 44px;
  }
}
