/* -----------------------------------------------------------
   1. FONT IMPORT & GLOBAL STYLES
----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

.aed-final-card, 
.aed-final-card *, 
.aed-card-content-box *,
.aed-card-footer .button {
    font-family: 'Outfit', sans-serif !important;
}

/* -----------------------------------------------------------
   2. GRID LAYOUT (4 Columns for Shop/Category Pages)
----------------------------------------------------------- */
/* Targeted at the main shop and category archive pages */
.post-type-archive-product .products-grid,
.tax-product_cat .products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* Fallback for other pages or general product grids */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 25px !important;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .post-type-archive-product .products-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 991px) {
    .post-type-archive-product .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
    .post-type-archive-product .products-grid { grid-template-columns: 1fr !important; }
}

/* -----------------------------------------------------------
   3. THE "NUCLEAR" HIDE (Stop Duplicates & Extra Quick Views)
----------------------------------------------------------- */
/* Hides all theme-generated content that leaks outside our custom card */
.products-grid .product-card .product-thumb, 
.products-grid .product-card .product-details, 
.products-grid .product-card > .yith-wcqv-button,
.products-grid .product-card > .button,
.products-grid .product-card > .dt-sc-button,
.product-buttons-wrapper,
.wc_inline_buttons {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

/* Clean up theme wrappers */
.product-wrapper {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* -----------------------------------------------------------
   4. AED CUSTOM CARD DESIGN
----------------------------------------------------------- */
.aed-final-card {
    background: #ffffff !important;
    border: 1px solid #f0f2f5 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aed-final-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}

/* Top Image Box */
.aed-card-top-box {
    background: #f8f9fb !important;
    padding: 35px 20px !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.aed-brand-badge {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    background: #001a33 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    text-transform: uppercase;
}

/* Custom Eye Button */
.aed-eye-container {
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    z-index: 20 !important;
}

.aed-eye-btn {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    transition: all 0.2s ease;
}

.aed-eye-btn:hover {
    background: #f8f9fb !important;
    color: #c63d2d !important;
}

.aed-main-image-wrap img {
    max-width: 200px !important;
    height: auto !important;
    mix-blend-mode: multiply !important;
}

/* Content Area */
.aed-card-content-box {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.aed-cat-sub {
    color: #c63d2d !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aed-product-title a {
    color: #001a33 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    display: block !important;
    margin-bottom: 10px;
    min-height: 2em;
}

.aed-product-excerpt {
    color: #5d718a !important;
    font-size: 14px !important;
    margin-bottom: 15px !important;
    line-height: 1.5;
    flex-grow: 1;
}

.aed-pill-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
}

.aed-pill {
    background: #f0f7f4 !important;
    color: #4a7c6d !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
}

/* -----------------------------------------------------------
   5. BUTTONS (Add to Cart & Quote)
----------------------------------------------------------- */
.aed-card-footer {
    display: flex !important;
    gap: 10px !important;
    margin-top: auto !important;
    align-items: center !important;
}

/* General button style (Add to Cart / Read More) */
.aed-card-footer .button {
    flex-grow: 1 !important;
    background-color: #c63d2d !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 14px 10px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    border: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    line-height: 1 !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.3s ease;
}

.aed-card-footer .button:hover {
    background-color: #a52d22 !important;
}

/* Quote/Contact Button */
.aed-quote-action-btn {
    width: 48px !important;
    height: 46px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    padding: 0 !important;
    transition: all 0.2s ease;
}

.aed-quote-action-btn:hover {
    background: #f8f9fb !important;
    border-color: #cbd5e1 !important;
}

/* Hide 'View Cart' link that appears after AJAX add */
.aed-card-footer .added_to_cart {
    display: none !important;
}


/* 1. HIDE BY DEFAULT */
.aed-eye-container {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.3s ease-in-out !important;
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    z-index: 99 !important;
}

/* 2. SHOW ON HOVER */
.aed-final-card:hover .aed-eye-container {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* 3. FIX THE ICON STYLE */
/* This forces the eye icon to look like the design and kills theme icons */
.aed-eye-btn {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}

/* Force FontAwesome Eye Icon */
.aed-eye-btn i::before,
.aed-eye-btn i {
    content: "\f06e" !important; /* FontAwesome Eye code */
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    color: #64748b !important;
    font-size: 16px !important;
}

/* Icon Hover State */
.aed-eye-btn:hover {
    background: #c63d2d !important;
}

.aed-eye-btn:hover i::before {
    color: #ffffff !important;
}


/* 1. EQUAL CARD HEIGHT FIX */
/* This forces the grid to stretch all cards to the same height in every row */
.products-grid {
    display: grid !important;
    align-items: stretch !important; 
}

.aed-final-card {
    display: flex !important;
    flex-direction: column !important; /* Stack top-box and content-box */
    height: 100% !important; /* Fill the grid space */
}

.aed-card-content-box {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important; /* Allow content box to fill the card */
}

/* THE MAGIC ALIGNER: This pushes buttons to the bottom regardless of text length */
.aed-product-excerpt {
    flex-grow: 1 !important;
    margin-bottom: 20px !important;
    min-height: 5em;
}

.aed-card-footer {
    margin-top: auto !important; /* Final lock for button alignment */
}

/* 2. QUICK VIEW ICON HOVER FIX */
/* Hide the icon container by default */
.aed-eye-container {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease-in-out !important;
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    z-index: 99 !important;
}

/* Show the icon ONLY when the card is hovered */
.aed-final-card:hover .aed-eye-container {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 3. CARD HOVER LIFT EFFECT */
.aed-final-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.aed-final-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}



*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #c0392b;
  --red-hover: #a93226;
  --red-light: #fdf2f1;
  --navy: #0c1d3a;
  --navy-mid: #152a4a;
  --navy-light: #1e3a5f;
  --teal: #1a8a7d;
  --teal-light: #e8f6f4;
  --green: #27ae60;
  --green-light: #eafaf1;
  --orange: #f39c12;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-50: #f3f4f6;
  --gray-100: #e8eaee;
  --gray-200: #d1d5db;
  --gray-300: #b0b7c3;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--gray-700); line-height: 1.65; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1400px; margin: 0 auto !important; padding: 0 24px; }

/* ═══ TOP STRIP ═══ */
.top-strip {
  background: var(--navy);
  padding: 9px 0;
  text-align: center;
}
.top-strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.top-strip-item {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.85); font-size: 12.5px; font-weight: 500; white-space: nowrap;
}
.top-strip-item svg { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }
.top-strip-sep { color: rgba(255,255,255,0.2); font-size: 11px; }

/* ═══ HEADER ═══ */
.header {
  background: var(--white);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; background: var(--red); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 20px; height: 20px; color: white; }
.logo-text { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: var(--navy); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--gray-700); transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red); color: white !important;
  padding: 10px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 13.5px; transition: all 0.25s;
}
.nav-cta:hover { background: var(--red-hover); }
.header-right { display: flex; align-items: center; gap: 16px; }
.cart-icon { position: relative; cursor: pointer; }
.cart-icon svg { width: 22px; height: 22px; color: var(--gray-700); }
.cart-badge {
  position: absolute; top: -5px; right: -7px;
  background: var(--red); color: white; font-size: 10px; font-weight: 700;
  width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle svg { width: 24px; height: 24px; color: var(--navy); }

/* ═══ BREADCRUMB ═══ */
.breadcrumb {
  padding: 14px 0; background: var(--gray-50); border-bottom: 1px solid var(--gray-100);
}
.breadcrumb-list {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-400);
}
.breadcrumb-list a { color: var(--gray-500); transition: color 0.2s; }
.breadcrumb-list a:hover { color: var(--red); }
.breadcrumb-list .sep { font-size: 10px; }
.breadcrumb-list .current { color: var(--navy); font-weight: 600; }

/* ═══ PRODUCT HERO (two-column) ═══ */
.product-hero {
  background: var(--white);
}
.product-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: flex-start;
}

/* Gallery */
.product-gallery { position: sticky; top: 90px; }
.gallery-main {
  width: 100%; aspect-ratio: 1;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; margin-bottom: 14px;
}
.gallery-main img { max-width: 82%; max-height: 82%; object-fit: contain; transition: transform 0.4s; }
.gallery-main:hover img { transform: scale(1.05); }
.gallery-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--navy); color: white;
  font-size: 11px; font-weight: 600; padding: 5px 12px;
  border-radius: 5px; text-transform: uppercase; letter-spacing: 0.8px;
}
.gallery-zoom {
  position: absolute; bottom: 14px; right: 14px;
  width: 36px; height: 36px; background: white;
  border: 1px solid var(--gray-200); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.gallery-zoom:hover { border-color: var(--navy); }
.gallery-zoom svg { width: 16px; height: 16px; color: var(--gray-500); }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb {
  width: 80px; height: 80px; background: var(--gray-50);
  border: 2px solid var(--gray-100); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; overflow: hidden; padding: 8px;
}
.gallery-thumb:hover { border-color: var(--gray-300); }
.gallery-thumb.active { border-color: var(--red); }
.gallery-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Product Details (Right column) */
.product-details {}
.product-brand-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red-light); color: var(--red);
  padding: 4px 12px; border-radius: 20px;
  font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}
.product-title {
  font-family: 'Outfit', sans-serif; font-size: 30px; font-weight: 800;
  color: var(--navy); line-height: 1.2; margin-bottom: 8px; letter-spacing: -0.5px;
  background: none !important;
  text-align: left !important;
  padding-left: 0px !important;
}
.product-subtitle {
  font-size: 14.5px; color: var(--gray-500); margin-bottom: 16px; line-height: 1.6;
}
.product-meta-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.rating-stars { display: flex; align-items: center; gap: 3px; }
.rating-stars .star { color: var(--orange); font-size: 15px; }
.rating-stars .count { font-size: 13px; color: var(--gray-400); margin-left: 4px; }
.stock-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; }
.stock-badge.in-stock { color: var(--green); }
.stock-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.sku-label { font-size: 12px; color: var(--gray-400); }

.product-intro {
  font-size: 14.5px; color: var(--gray-500); line-height: 1.75;
  margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--gray-100);
}
.product-intro strong { color: var(--navy); font-weight: 600; }

/* Trust badges */
.trust-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--gray-50);
  border-radius: var(--radius); border: 1px solid var(--gray-100);
}
.trust-item .t-icon {
  width: 34px; height: 34px; background: var(--white);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 1px solid var(--gray-100);
}
.trust-item .t-icon svg { width: 16px; height: 16px; color: var(--teal); }
.trust-item .t-text { font-size: 12.5px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.trust-item .t-text span { display: block; font-weight: 400; color: var(--gray-400); font-size: 11px; }

/* Purchase box */
.purchase-box {
  background: var(--off-white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px;
}
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.price-tag { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; color: var(--gray-400); }
.price-action { font-size: 13px; color: var(--red); font-weight: 600; cursor: pointer; }
.price-action:hover { text-decoration: underline; }
.quantity-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.qty-label { font-size: 13px; font-weight: 600; color: var(--navy); }
.qty-control {
  display: flex; align-items: center;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius); overflow: hidden;
}
.qty-btn {
  width: 38px; height: 38px; background: var(--white); border: none;
  cursor: pointer; font-size: 16px; font-weight: 600; color: var(--gray-500);
  display: flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.qty-btn:hover { background: var(--gray-50); }
.qty-input {
  width: 44px; height: 38px; border: none;
  border-left: 1.5px solid var(--gray-200); border-right: 1.5px solid var(--gray-200);
  text-align: center; font-size: 14px; font-weight: 600;
  font-family: 'DM Sans', sans-serif; color: var(--navy); outline: none;
}
.cta-buttons { display: flex; gap: 10px; }
.btn-add-cart {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; background: var(--red); color: white; border: none;
  border-radius: var(--radius); font-size: 15px; font-weight: 700;
  font-family: 'DM Sans', sans-serif; cursor: pointer; transition: all 0.25s;
}
.btn-add-cart:hover { background: var(--red-hover);   transform: translateY(-1px); box-shadow: 0 6px 20px rgba(192,57,43,0.25); }
.btn-add-cart svg { width: 18px; height: 18px; }
.btn-request-quote {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; background: var(--navy); color: white; border: none;
  border-radius: var(--radius); font-size: 15px; font-weight: 700;
  font-family: 'DM Sans', sans-serif; cursor: pointer; transition: all 0.25s;
}
.btn-request-quote:hover { background: var(--navy-mid); color: white !important; transform: translateY(-1px); }
.btn-request-quote svg { width: 18px; height: 18px; }
.bulk-link {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; font-size: 13px; color: var(--gray-500); cursor: pointer;
}
.bulk-link:hover { color: var(--red); }
.bulk-link svg { width: 14px; height: 14px; }

/* Share */
.share-row {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--gray-100);
}
.share-row > span { font-size: 12.5px; color: var(--gray-400); font-weight: 500; }
.share-icons { display: flex; gap: 6px; }
.share-icons a {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.share-icons a:hover { background: var(--navy); border-color: var(--navy); }
.share-icons a:hover svg { color: white; }
.share-icons a svg { width: 14px; height: 14px; color: var(--gray-400); }


/* Container for the nav items */
.jump-nav {
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    width: 100%;
    z-index: 999;
    
}

/* THE FIX: Full width breakout when sticky */
.jump-nav.scrolled {
    position: fixed;
    top: 68px; /* Set to 0 if your main header is NOT sticky */
    left: 0;
    width: 100vw;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: none;
}

.jump-nav-inner {
    display: flex;
    align-items: center;
    justify-content: start; /* Centers links in the bar */
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.jump-nav-inner::-webkit-scrollbar { display: none; }

.jump-link {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.jump-link:hover { color: #0f172a; }

.jump-link.active {
    color: #0f172a;
    border-bottom-color: #e11d48; /* Your Theme Red */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .jump-nav-inner {
        justify-content: flex-start;
        padding: 0 10px;
    }
    .jump-link {
        padding: 14px 15px;
        font-size: 13px;
    }
}


/* ═══════════════════════════════════════════
   OPEN VERTICAL SECTIONS
   ═══════════════════════════════════════════ */
.detail-section {
  padding: 56px 0;
  scroll-margin-top: 130px; /* accounts for sticky header + jump nav */
}
.detail-section:nth-child(odd) { background: var(--off-white); }
.detail-section:nth-child(even) {background: var(--white);  }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.section-eyebrow .num {
  width: 28px; height: 28px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  font-family: 'Outfit', sans-serif;
}
.section-eyebrow .line {
  width: 32px; height: 2px; background: var(--gray-200); border-radius: 2px;
}
.detail-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.detail-section .section-desc {
  font-size: 14.5px;
  color: var(--gray-500);
  margin-bottom: 28px;
  max-width: 640px;
  line-height: 1.7;
}

/* Key Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--gray-50);
  
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: all 0.25s;
}
.detail-section:nth-child(odd) .feature-card {background: var(--white);  }
.feature-card:hover { border-color: rgba(192,57,43,0.15); box-shadow: var(--shadow-sm); }
.feature-card .f-icon {
  width: 40px; height: 40px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-card .f-icon svg { width: 20px; height: 20px; color: var(--teal); }
.feature-card .f-text h4 {
  font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px;
}
.feature-card .f-text p {
  font-size: 13px; color: var(--gray-500); line-height: 1.6; margin: 0;
}

/* Technical Specs */
.specs-table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.detail-section:nth-child(odd) .specs-table { background: var(--gray-50); }
.specs-table tr { border-bottom: 1px solid var(--gray-100); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:hover { background: rgba(26,138,125,0.02); }
.specs-table td { padding: 13px 18px; font-size: 14px; vertical-align: top; }
.specs-table td:first-child {
  font-weight: 600; color: var(--navy); width: 36%;
  background: rgba(12,29,58,0.02) !important;
  border-right: 1px solid var(--gray-100);
}
.specs-table td:last-child { color: var(--gray-500)!important; }

/* What's Included */
.includes-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.includes-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--white)!important;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.detail-section:nth-child(odd) .includes-item { background: var(--gray-50); }
.includes-item:hover { border-color: var(--green); }
.includes-item .inc-check {
  width: 28px; height: 28px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.includes-item .inc-check svg { width: 14px; height: 14px; color: var(--green); }
.includes-item span { font-size: 14px; color: var(--gray-700); font-weight: 500; }

/* Warranty & Shipping */
.ws-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ws-card {
    background: var(--gray-50)!important;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.detail-section:nth-child(odd) .ws-card { background: var(--gray-50); }
.ws-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--red); border-radius: 4px 0 0 4px;
}
.ws-card .card-icon {
  width: 48px; height: 48px;
  background: var(--red-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.ws-card .card-icon svg { width: 24px; height: 24px; color: var(--red); }
.ws-card h3 {
  font-family: 'Outfit', sans-serif; font-size: 18px;
  font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.ws-card p { font-size: 13.5px; color: var(--gray-500); line-height: 1.7; margin-bottom: 14px; }
.ws-card ul li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px; color: var(--gray-500); margin-bottom: 8px; line-height: 1.55;
}
.ws-card ul li svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }


/* ═══ RELATED PRODUCTS ═══ */
.related-section {
  padding: 60px 0 70px; background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.related-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.related-header h2 {
  font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 700; color: var(--navy);
}
.related-header a {
  font-size: 14px; font-weight: 600; color: var(--red);
  display: flex; align-items: center; gap: 4px;
}
.related-header a:hover { text-decoration: underline; }
.related-header a svg { width: 16px; height: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rel-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s;
}
.rel-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.rel-thumb {
  height: 180px; background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--gray-100); padding: 20px; position: relative;
}
.rel-thumb .brand-tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--navy); color: white;
  font-size: 9px; font-weight: 600; padding: 3px 8px;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 0.6px;
}
.mini-aed-r {
  width: 90px; height: 80px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.mini-aed-r.green { background: linear-gradient(145deg, #dcfce7, #bbf7d0); border: 2px solid #86efac; }
.mini-aed-r.blue { background: linear-gradient(145deg, #dbeafe, #bfdbfe); border: 2px solid #93c5fd; }
.mini-aed-r.coral { background: linear-gradient(145deg, #ffe4e6, #fecdd3); border: 2px solid #fda4af; }
.mini-aed-r .heart { font-size: 24px; opacity: 0.4; }
.rel-body { padding: 16px; }
.rel-body h4 { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.35; }
.rel-body .rel-type { font-size: 11.5px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.rel-body .rel-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--red); }
.rel-body .rel-btn:hover { text-decoration: underline; }
.rel-body .rel-btn svg { width: 13px; height: 13px; }


/* ═══ BOTTOM CTA ═══ */
.bottom-cta { background: #0a1d37; padding: 50px 0; text-align: center; }
.bottom-cta h2 {
  font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 700;
  color: white; margin-bottom: 10px;
}
.bottom-cta p { font-size: 15px; color: rgba(255,255,255,0.5); margin-bottom: 24px; }
.btn-red-lg {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: white;
  padding: 15px 32px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; border: none;
  cursor: pointer; transition: all 0.25s;
}
.btn-red-lg:hover { background: var(--red-hover); transform: translateY(-2px); }
.btn-red-lg svg { width: 16px; height: 16px; }


/* ═══ FOOTER ═══ */
.footer {
  background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5); padding: 40px 0 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 28px; padding-top: 60px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.35); max-width: 250px; }
.footer-col h4 {
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
  color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  padding-top: 18px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 11.5px; color: rgba(255,255,255,0.25); }


/* ═══ STICKY MOBILE CTA ═══ */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--gray-100);
  padding: 12px 20px; z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.sticky-cta-inner { display: flex; align-items: center; gap: 12px; max-width: 1200px; margin: 0 auto; }
.sticky-info { flex: 1; min-width: 0; }
.sticky-info h4 { font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-info .sticky-stock { font-size: 11px; color: var(--green); font-weight: 600; }
.sticky-btns { display: flex; gap: 8px; }
.sticky-btns .btn-sm-sticky {
  padding: 10px 18px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  border: none; cursor: pointer; white-space: nowrap;
}
.sticky-btns .btn-sm-sticky.red { background: var(--red); color: white; }
.sticky-btns .btn-sm-sticky.navy { background: var(--navy); color: white; }


/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .product-layout { grid-template-columns: 1fr; gap: 36px !important; }
  .product-gallery { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .product-title { font-size: 24px; }
  .trust-strip { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .specs-table td:first-child { width: 44%; }
  .footer-grid { grid-template-columns: 1fr !important ; }
  .jump-link { padding: 14px 16px; font-size: 12.5px; }
  .sticky-cta { display: flex; }
  .gallery-thumbs { overflow-x: auto; }
  .detail-section { padding: 40px 0; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .page-hero h1 { font-size: 28px; }
  .filter-bar-inner { flex-direction: column; align-items: flex-start; }
  .filter-left { flex-wrap: wrap; }
  .view-toggle { display: none; }
}
------------------------------------------------------------------------------------


/* Hide the theme's extra Compare button inside our box if it appears */
.purchase-box .compare.button, 
.purchase-box .yith-wcwl-add-to-wishlist {
    display: none !important;
}

/* Fix Quantity Input Appearance */
#qty_val::-webkit-outer-spin-button,
#qty_val::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Removes the small theme arrows */
    margin: 0;
}

/* Ensure our container handles everything */
.purchase-box {
    display: block !important;
    clear: both !important;
}

/* Kill theme interference for Compare/Wishlist inside our box */
.purchase-box .wccm_btn_wrapper, 
.purchase-box .wcwl_btn_wrapper {
    display: none !important; /* Forces the unwanted buttons from utils.php to vanish */
}
/* Container Background & Border */
.main-purchase-container {
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    max-width: 500px;
}


.related.products {
  margin-bottom: 30px !important;
}


/* ═══════════════════════════════════════════════════
   SECTION 1 — HERO
   Mapped from: Variant 1 hero (product image left, text+CTA right)
   Dev note: Same Elementor hero columns. Swap image, headline, buttons.
   ═══════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #f9fafb 0%, #f1f3f7 60%, #eaecf2 100%);
  padding: 65px 0 75px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}
/* Image on the LEFT — same as Medik Variant 1 */
.hero-image {
  flex: 0 0 46%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-image-wrap {
  position: relative;
  width: 360px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Blob shape behind product — same as Medik's circular/blob hero bg */
.hero-blob {
  position: absolute;
  inset: 10px;
  background: linear-gradient(145deg, rgba(192,57,43,0.06), rgba(12,29,58,0.05));
  border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%;
  animation: blobMove 9s ease-in-out infinite;
}
@keyframes blobMove {
  0%, 100% { border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%; }
  50% { border-radius: 45% 55% 50% 50% / 55% 45% 50% 55%; }
}
/* AED Product placeholder — devs replace with actual product image */
.hero-aed {
  position: relative;
  z-index: 2;
  width: 240px;
}
.aed-device-hero {
  width: 220px;
  height: 260px;
  background: linear-gradient(160deg, #e8edf2, #d0d8e2);
  border-radius: 28px;
  border: 3px solid #c0c9d4;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 50px rgba(12,29,58,0.15);
  overflow: hidden;
}
.aed-device-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--red);
  border-radius: 25px 25px 0 0;
  opacity: 0.9;
}
.aed-heart {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  font-size: 38px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  line-height: 1;
}
.aed-screen {
  width: 120px;
  height: 56px;
  background: linear-gradient(180deg, #1a3a2a, #0d2618);
  border-radius: 6px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  border: 2px solid #2a4a3a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aed-screen-line {
  width: 70%;
  height: 2px;
  background: #34d399;
  border-radius: 1px;
  position: relative;
}
.aed-screen-line::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20%;
  width: 15px;
  height: 18px;
  border-left: 2px solid #34d399;
  border-bottom: 2px solid #34d399;
  transform: skewX(-20deg);
}
.aed-label-bottom {
  margin-top: auto;
  margin-bottom: 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gray-500);
  position: relative;
  z-index: 1;
}
.aed-handle-hero {
  width: 56px;
  height: 22px;
  background: linear-gradient(180deg, #b8c2cc, #a0aab4);
  border-radius: 6px 6px 0 0;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

/* Hero text — right column */
.hero-content { flex: 1; }
.hero-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}
.hero-content p {
  font-size: 16.5px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 440px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-red:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,0.25); }
.btn-red svg { width: 16px; height: 16px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--navy);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); }
