
:root {
  /* Large header height to prevent any overlap */
  --header-large: 300px;
  --header-small: 94px;
  --promo-height: 36px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body { 
  font-family: 'Poppins', sans-serif; 
  -webkit-font-smoothing: antialiased; 
  scroll-behavior: smooth; 
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}



.italic-elite { font-style: italic; font-weight: 1000; }

/* ELITE SMOOTH HEADER SYSTEM */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: #00009c;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, transform 0.25s ease;
  height: var(--header-large); 
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Transition padding to stay perfectly synced with header */
main {
  padding-top: var(--header-large);
  transition: padding-top 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
  height: var(--header-small) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

header.scrolled + main {
  padding-top: var(--header-small);
}

.promo-bar {
  height: var(--promo-height);
  background: #84cc16;
  color: black;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.05em;
  transition: margin-top 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

header.scrolled .promo-bar {
  margin-top: calc(-1 * var(--promo-height));
  opacity: 0;
}

.header-inner {
  position: relative;
  max-width: 1750px;
  height: calc(var(--header-large) - var(--promo-height));
  margin: 0 auto;
  padding: 0 40px;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled .header-inner {
  height: var(--header-small);
}

/* LOGO: Glide from Top-Center to Left-Center */
.logo-anchor {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  pointer-events: none;
}

/* Ensure anchor inside the logo area remains interactive even when the
   parent uses pointer-events: none for layout/animation purposes. */
.logo-anchor a {
  pointer-events: auto;
  cursor: pointer;
}

header.scrolled .logo-anchor {
  left: 40px;
  top: 50%;
  transform: translate(0, -50%);
  flex-direction: row;
  align-items: center;
  width: auto;
}

.logo-db {
  font-size: 5.5rem;
  color: white;
  line-height: 0.8;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled .logo-db {
  font-size: 2.2rem;
  margin-right: 15px;
}

/* Image logo sizing (desktop + scrolled state) */
.logo-img {
  height: 120px;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
@media (min-width: 1025px) {
  header.scrolled .logo-img {
    height: 80px;
    transform: none;
  }
}

.logo-text-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled .logo-text-stack {
  align-items: flex-start;
}

.logo-name {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.15em;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled .logo-name {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.logo-sub {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin-top: 8px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled .logo-sub {
  font-size: 8px;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ACTIONS: Glide from Bottom-Center to Right-Center */
.action-anchor {
  position: absolute;
  bottom: 50px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row; 
  align-items: center;
  gap: 30px; 
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  width: auto;
  white-space: nowrap;
}

header.scrolled .action-anchor {
  bottom: auto;
  top: 50%;
  right: 40px;
  left: auto;
  transform: translateY(-50%);
  flex-direction: row;
  gap: 16px;
}

/* Mobile-specific tweak: reduce Visit Us In OHIO eyebrow on small screens */
@media (max-width: 640px) {
  .visit-ohio { font-size: 11px !important; }
  /* Reduce location badge text size on small screens */
  .location-badges span { font-size: 12px !important; }
}


.phone-link {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
header.scrolled .phone-link {
  font-size: 1.4rem;
}
@media (min-width: 1025px) {
  header.scrolled .phone-link {
    font-size: 1.1rem;
    gap: 10px;
  }
}

.design-btn {
  background: transparent;
  border: 4px solid #84cc16;
  color: white;
  padding: 16px 40px;
  border-radius: 20px;
  font-weight: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.design-btn .design-icon {
  width: 40px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
}
header.scrolled .design-btn {
  padding: 8px 24px;
  font-size: 1.2rem;
  border-width: 2px;
  border-radius: 10px;
}
@media (min-width: 1025px) {
  header.scrolled .design-btn {
    padding: 6px 18px;
    font-size: 0.95rem;
    border-width: 2px;
    border-radius: 8px;
  }
}
.design-btn:hover {
  background: #84cc16;
  color: black;
}

/* Mobile Overrides */
@media (max-width: 1024px) {
  :root {
    --header-large: 280px;
    --header-small: 110px;
  }
  #main-header { height: var(--header-large); }
  main { padding-top: var(--header-large); }
  .logo-anchor { top: 28px; transform: translateX(-50%) scale(0.78); }
  .action-anchor { bottom: 26px; transform: translateX(-50%) scale(0.88); gap: 14px; }

  /* reduce action sizes on small screens */
  .action-anchor [data-lucide],
  .action-anchor svg {
    width: 28px !important;
    height: 28px !important;
  }
  .action-anchor .phone-link { font-size: 1.4rem; }
  .action-anchor .phone-link span { font-size: 1.1rem; }
  .action-anchor .design-btn { padding: 10px 18px; border-width: 3px; }
  .action-anchor .design-btn i[data-lucide], .action-anchor .design-btn svg, .action-anchor .design-btn .design-icon { width: 24px !important; height: 24px !important; }

  header.scrolled { height: var(--header-small) !important; }
  /* tablet/small-desktop scrolled layout: logo left, actions stacked right */
  header.scrolled .logo-anchor { left: 16px; top: 50%; transform: translateY(-50%) scale(0.62); display: flex; align-items: center; }
  /* Stack actions vertically on mobile scrolled: phone (icon + number) above pill button */
  header.scrolled .action-anchor { right: 16px; left: auto; top: 50%; transform: translateY(-50%); flex-direction: column; gap: 8px; align-items: flex-end; justify-content: center; }
  header.scrolled .action-anchor .phone-link { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
  header.scrolled .action-anchor .phone-link i[data-lucide],
  header.scrolled .action-anchor .phone-link svg { width: 18px !important; height: 18px !important; }
  header.scrolled .action-anchor .design-btn { padding: 6px 14px; border-width: 2px; border-radius: 9999px; font-size: 0.8rem; display: flex; align-items: center; gap: 8px; }
  header.scrolled .action-anchor .design-btn i[data-lucide],
  header.scrolled .action-anchor .design-btn svg,
  header.scrolled .action-anchor .design-btn .design-icon { width: 20px !important; height: 20px !important; }

  /* Mobile hide-on-scroll: slide header out of view when scrolling down */
  header.header-hidden-mobile { transform: translateY(-110%); }
  /* When header is hidden on mobile, remove top padding so content moves up */
  header.header-hidden-mobile + main { padding-top: 0 !important; }
}

@media (max-width: 480px) {
  :root {
    /* slightly smaller header so logo and actions are closer */
    --header-large: 190px;
    --header-small: 96px;
    --promo-height: 30px;
  }
  /* reduce promo bar on very small screens */
  .promo-bar { font-size: 12px; padding: 2px 6px; height: var(--promo-height); letter-spacing: 0.05em; }
  .promo-bar { white-space: normal; line-height: 1.1; }

  /* scale logo and actions for very small screens */
  #main-header { height: var(--header-large); }
  main { padding-top: var(--header-large); }
  .logo-anchor { top: 14px; transform: translateX(-50%) scale(0.65); }
  .logo-img { height: 86px; }
  .logo-name { font-size: 1.0rem; }
  .logo-db { font-size: 2.2rem; }

  /* make action area fit inside the header on very small screens
    - use left/right padding to prevent overflow
    - center actions horizontally and reduce transform to avoid off-screen placement */
  /* move actions up a bit so they're visually closer to the logo */
  .action-anchor { bottom: 28px; left: 12px; right: 12px; transform: none; gap: 10px; justify-content: center; }
  .phone-link { font-size: 1.15rem; }
  .design-btn { padding: 8px 18px; font-size: 0.75rem; }

  /* further reduce action sizes on very small screens */
  .action-anchor [data-lucide],
  .action-anchor svg {
    width: 22px !important;
    height: 22px !important;
  }
  .action-anchor .phone-link { font-size: 1rem; }
  .action-anchor .phone-link span { font-size: 0.95rem; }
  .action-anchor .design-btn { padding: 6px 12px; border-width: 2px; font-size: 0.7rem; }
  .action-anchor .design-btn i[data-lucide], .action-anchor .design-btn svg, .action-anchor .design-btn .design-icon { width: 18px !important; height: 18px !important; }

  /* hide promo when space is tight to avoid overlap */
  .promo-bar { display: block; }
  header.scrolled .promo-bar { margin-top: calc(-1 * var(--promo-height)); opacity: 0; }

  /* mobile scrolled layout: logo left, actions stacked right */
  header.scrolled .logo-anchor { left: 12px; top: 50%; transform: translateY(-50%) scale(0.62); display: flex; align-items: center; }
  /* Very small screens: stack actions vertically and keep them compact */
  header.scrolled .action-anchor { right: 12px; left: auto; top: 50%; transform: translateY(-50%); flex-direction: column; gap: 6px; align-items: flex-end; justify-content: center; }
  header.scrolled .action-anchor .phone-link { display: flex; align-items: center; gap: 6px; font-size: 0.95rem; }
  header.scrolled .action-anchor .phone-link i[data-lucide],
  header.scrolled .action-anchor .phone-link svg { width: 16px !important; height: 16px !important; }
  header.scrolled .action-anchor .design-btn { padding: 5px 12px; border-width: 2px; border-radius: 9999px; font-size: 0.75rem; display: flex; align-items: center; gap: 6px; }
  header.scrolled .action-anchor .design-btn i[data-lucide],
  header.scrolled .action-anchor .design-btn svg,
  header.scrolled .action-anchor .design-btn .design-icon { width: 16px !important; height: 16px !important; }

  /* make interactive elements clickable on mobile */
  .logo-anchor, .action-anchor { pointer-events: auto; }

  /* reduce horizontal padding to avoid overflow on very small screens */
  .header-inner { padding: 0 12px; max-width: calc(100% - 24px); }
  .logo-anchor { width: auto; left: 50%; }
  img { max-width: 100%; height: auto; display: block; }
}

/* Force smaller badge sizes on narrow viewports to avoid large images in mobile cards */
@media (max-width: 640px) {
  #product-grid img[src$="accredited.png"] {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
  }

  /* target product card's small elite logo only (do not affect header logo) */
  #product-grid img[src$="elite-logo.png"] {
    height: 70px !important;
    max-height: 70px !important;
    width: auto !important;
  }

  #product-grid img[src$="elite-usa.png"] {
    height: 80px !important;
    max-height: 80px !important;
    width: auto !important;
    margin-left: 6px !important;
  }

  /* only target the two badge images above; avoid touching other product images */
}
/* ensure the 'Visit us in:' heading and address line are 12px on narrow/mobile viewports */
@media (max-width: 640px) {
  #product-grid h3 {
    font-size: 12px !important;
    line-height: 1.15 !important;
  }
  #product-grid h3 span {
    font-size: 12px !important;
    line-height: 1.15 !important;
  }
}
/* Force smaller Ohio-heart icon on narrow/mobile viewports and override Tailwind sizing */
@media (max-width: 767px) {
  #product-grid .ohio-heart,
  .ohio-heart {
    height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    display: inline-block !important;
  }
}

/* Make the small promo text on product cards more readable on narrow/mobile viewports */
@media (max-width: 640px) {
  /* target the promo strip rendered inside each product card */
  #product-grid .bg-transparent.text-sm.py-4 {
    font-size: 12px !important;
    line-height: 1.05 !important;
    letter-spacing: 0.06em !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  /* make announcement text on product cards smaller on narrow/mobile viewports */
  #product-grid .product-announcement {
    font-size: 12.5px !important;
    line-height: 1.05 !important;
    letter-spacing: 0.04em !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}

/* Slightly smaller action buttons inside product cards on mobile */
@media (max-width: 640px) {
  #product-grid button[data-action],
  #product-grid .grid button {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    min-height: auto !important;
    font-size: 13px !important;
  }

  /* shrink the inline icon inside the buttons */
  #product-grid button[data-action] i[data-lucide],
  #product-grid button[data-action] svg {
    width: 16px !important;
    height: 16px !important;
    margin-right: 8px !important;
  }

  /* ensure the label uses a slightly smaller text size */
  #product-grid button[data-action] .text-sm,
  #product-grid button[data-action] .text-base {
    font-size: 12px !important;
  }
}

/* Reduce size of the product-card header and accredited badge on small screens */
@media (max-width: 640px) {
  /* Target the black strip that contains the location text and badge */
  #product-grid .bg-black.py-4 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  /* Make the heading text smaller and tighter */
  #product-grid .bg-black.py-4 h3 {
    font-size: 11px !important;
    line-height: 1.02 !important;
    letter-spacing: 0.01em !important;
    font-weight: 800 !important;
  }

  /* Make the accredited badge slightly smaller to fit nicely */
  #product-grid .bg-black.py-4 img[src$="accredited.png"] {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
  }
}
/* Custom breakpoint: show 3 columns when viewport is wide (approx. when zoomed out to ~75%)
    This overrides Tailwind classes so 2 columns remain for normal sizes and 3 at large widths. */
@media (min-width: 1400px) {
  #product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Polished right-side panel modal (tablet-first) */
#product-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(2,6,23,0.45); backdrop-filter: blur(4px); align-items: stretch; justify-content: flex-end; opacity: 0; transition: opacity 220ms ease; }
#product-modal.show { display: flex; opacity: 1; }

/* Panel */
#product-panel { width: 100%; max-width: 720px; background: linear-gradient(180deg,#ffffff,#fbfbfc); box-shadow: -30px 0 80px rgba(2,6,23,0.18); transform: translateX(18%); transition: transform 360ms cubic-bezier(.2,.9,.2,1); border-left: 6px solid #84cc16; border-top-left-radius: 12px; border-bottom-left-radius: 12px; overflow:auto; }
#product-modal.show #product-panel { transform: translateX(0); }

/* Close button (floating, accessible) */
/* Use fixed positioning so the button is always visible and doesn't create horizontal scroll */
#product-modal-close { position: fixed; right: 28px; top: 24px; background: white; border-radius: 9999px; padding: 10px; border: 1px solid rgba(2,6,23,0.06); box-shadow: 0 10px 28px rgba(2,6,23,0.12); z-index: 10010; }
#product-modal-close i { color: #0b1220; }

/* Typography & inputs */
#product-modal-title { color: #07112a; letter-spacing: -0.01em; }
#product-modal-sub { color: #6b7280; letter-spacing: 0.14em; font-weight:600; }
#product-panel .p-8 { padding: 2.5rem; }
#product-panel input, #product-panel textarea { border-radius: 0; border: 1px solid #e6e9ee; background: #fff; color: #0f1724; padding: 14px; font-weight:700; }
#product-panel input::placeholder, #product-panel textarea::placeholder { color: #9aa0a6; font-weight:700; text-transform:none; }
#product-panel input:focus, #product-panel textarea:focus { outline: none; box-shadow: 0 12px 40px rgba(132,204,22,0.08); border-color: #84cc16; }
#product-panel button[type="submit"] { background: #000; color: #fff; padding: 14px; font-weight:900; letter-spacing:0.28em; box-shadow: 0 10px 30px rgba(2,6,23,0.12); border-radius: 2px; }

/* Responsive adjustments */
@media (max-width: 900px) {
  #product-panel { max-width: 640px; transform: translateX(12%); }
  #product-modal-close { right: 20px; }
}
@media (max-width: 640px) {
  #product-panel { max-width: 100%; transform: translateX(6%); border-left: 0; border-radius: 0; }
  #product-modal-close { right: 12px; top: 12px; }
}
/* Mobile: reduce modal title size to prevent overflow */
@media (max-width: 480px) {
  #product-modal-title { font-size: 1.5rem !important; line-height: 1.05 !important; }
}


    /* Make the SEE CURRENT SALES button smaller on narrow screens */
    @media (max-width: 640px) {
        #see-sales-btn {
            padding: 8px 18px;
            font-size: 14px;
            letter-spacing: 0.12em;
        }
    }

   .card-hover {
            transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
            position: relative;
        }
        .card-hover:hover {
            transform: translateY(-5px) scale(1.007);
            box-shadow: 0 20px 56px -10px rgba(14,50,140,0.65) !important;
        }

        /* Outer ambient card glow pulse */
        @keyframes card-glow-pulse {
            0%, 100% { box-shadow: 0 12px 40px -8px rgba(14,50,140,0.55); }
            50%       { box-shadow: 0 16px 48px -8px rgba(14,50,140,0.65); }
        }
        .card-glow {
            animation: card-glow-pulse 4s ease-in-out infinite;
        }

        /* top accent bar sweep animation */
        @keyframes bar-sweep {
            0%   { background-position: -200% center; }
            100% { background-position:  200% center; }
        }
        .accent-bar {
            background: linear-gradient(90deg, #0f2056 0%, #1e3a8a 15%, #2563eb 35%, #60a5fa 50%, #2563eb 65%, #1e3a8a 85%, #0f2056 100%);
            background-size: 200% 100%;
            animation: bar-sweep 3s linear infinite;
            height: 3px;
        }
        /* decorative corner bracket lines */
        .card-corner {
            position: absolute;
            width: 32px;
            height: 32px;
            pointer-events: none;
            z-index: 10;
        }
        .card-corner-tl { top: 18px; left: 18px; border-top: 2px solid rgba(59,130,246,0.70); border-left: 2px solid rgba(59,130,246,0.70); border-radius: 4px 0 0 0; }
        .card-corner-tr { top: 18px; right: 18px; border-top: 2px solid rgba(59,130,246,0.70); border-right: 2px solid rgba(59,130,246,0.70); border-radius: 0 4px 0 0; }
        .card-corner-bl { bottom: 18px; left: 18px; border-bottom: 2px solid rgba(74,222,128,0.65); border-left: 2px solid rgba(74,222,128,0.65); border-radius: 0 0 0 4px; }
        .card-corner-br { bottom: 18px; right: 18px; border-bottom: 2px solid rgba(74,222,128,0.65); border-right: 2px solid rgba(74,222,128,0.65); border-radius: 0 0 4px 0; }
        /* decorative divider lines & diamonds */
        .deco-divider {
            opacity: 0.75;
        }
        /* call-now tick marks */
        .tick-mark {
            opacity: 0.65;
        }
        /* shimmer sweep on the Limited Time Offer badge */
        @keyframes card-shimmer {
            0%   { background-position: -200% center; }
            100% { background-position:  200% center; }
        }
        /* Limited Time Offer — typewriter (driven by JS) */
        @keyframes lto-cursor {
            0%, 100% { border-right-color: rgba(255,255,255,0.90); }
            50%       { border-right-color: transparent; }
        }
        .lto-text {
            display: inline-block;
            white-space: nowrap;
            border-right: 2px solid rgba(255,255,255,0.90);
            animation: lto-cursor 0.6s step-end infinite;
            transition: opacity 0.4s ease;
        }
        .offer-badge-inner {
            position: relative;
            overflow: hidden;
        }
        .offer-badge-inner::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
            background-size: 200% 100%;
            animation: card-shimmer 2.6s linear infinite;
            pointer-events: none;
        }
        /* live-call pulsing dot */
        @keyframes phone-dot-pulse {
            0%, 100% { transform: scale(1);   opacity: 1;   box-shadow: 0 0 0 0 rgba(132,204,22,0.70); }
            50%       { transform: scale(1.4); opacity: 0.7; box-shadow: 0 0 0 5px rgba(132,204,22,0); }
        }
        .phone-live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #84cc16;
            display: inline-block;
            animation: phone-dot-pulse 1.5s ease-in-out infinite;
            flex-shrink: 0;
        }
        .accredited-logo {
           height: 35px !important;
           width: auto !important;
           max-height: none !important;
           min-height: 35px !important;
           display: block !important;
        }
        @media (min-width: 768px) {
            .accredited-logo {
                height: 50px !important;
                min-height: 50px !important;
            }
        }
        .ohio-heart-container {
            flex-shrink: 0;
            width: 8rem;   /* 128px */
            height: 8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: -0.5rem;
        }
        @media (min-width: 768px) {
            .ohio-heart-container {
                width: 9rem;   /* 144px */
                height: 9rem;
                margin-top: -1rem;
            }
        }
        @media (min-width: 1024px) {
            .ohio-heart-container {
                width: 10rem;  /* 160px */
                height: 10rem;
                margin-top: -1.5rem;
            }
        }

    /* Responsive badge tweaks: smaller text and slightly larger icons on mobile */
    @media (max-width: 640px) {
      .badge-text { font-size: 10px !important; }
      .badge-svg { width: 24px !important; height: 24px !important; }
      .offer-badge-inner {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        gap: 0 !important;
      }
      .lto-text {
        white-space: nowrap !important;
        overflow: hidden !important;
        flex: none !important;
        height: 22px !important;
        min-height: 22px !important;
        line-height: 22px !important;
        display: block !important;
      }
      .offer-badge-inner > span:last-child {
        flex-shrink: 0 !important;
        height: 22px !important;
        line-height: 22px !important;
        display: block !important;
      }
      .product-img-wrap {
        aspect-ratio: unset !important;
        height: auto !important;
      }
      .product-img {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 220px !important;
        object-fit: contain !important;
      }
    }
    /* Desktop: make original price slightly larger */
    @media (min-width: 641px) {
      .original-price { font-size: 20px !important; }
    }
    /* Diagonal corner ribbon */
    .corner-ribbon {
      position: absolute;
      top: 22px;
      left: -34px;
      width: 150px;
      padding: 6px 0;
      text-align: center;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #14532d;
      background: linear-gradient(135deg, #bbf7d0 0%, #86efac 60%, #a7f3d0 100%);
      transform: rotate(-45deg);
      box-shadow: 0 3px 10px rgba(0,0,0,0.25);
      z-index: 20;
      pointer-events: none;
    }
    .corner-ribbon::before,
    .corner-ribbon::after {
      content: '';
      position: absolute;
      top: 0; bottom: 0;
      width: 6px;
      background: #6ee7b7;
    }
    .corner-ribbon::before { left: 0; }
    .corner-ribbon::after  { right: 0; }