/*
Theme Name: MediCart Ultistal
Theme URI: https://ultistalsupplies.com
Author: Ultistal Supplies Ltd
Description: Dynamic WordPress theme for Ultistal Supplies Ltd -- medical equipment & consumables catalog with mega-menu navigation, hero slider, RFQ (Request for Quote) system, hospital equipment showcase, partners carousel, and WhatsApp chat widget.
Version: 2.0.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: medicart
*/

:root {
    --brand-blue: #0056b3;
    --brand-blue-dark: #003d80;
    --brand-yellow: #ffc107;
    --medical-dark: #0f172a;
    --bg-light: #f8fafc;
    --pure-white: #ffffff;
    --text-body: #475569;
    --border-color: #e2e8f0;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #075E54;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--medical-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { width: 92%; max-width: 1300px; margin: 0 auto; position: relative; }

/* --- LINKS: never underlined; hover feedback is a background/color change instead --- */
a { text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
a:hover, a:focus { text-decoration: none; }
/* Generic links inside written content (product descriptions, pages, etc.)
   that don't already have their own button/nav styling. */
.description a, .ccv2-desc a, .entry-content a, .site-content a {
    color: var(--brand-blue);
    border-radius: 4px;
    padding: 0 3px;
    margin: 0 -3px;
}
.description a:hover, .ccv2-desc a:hover, .entry-content a:hover, .site-content a:hover {
    background-color: var(--brand-yellow);
    color: var(--medical-dark);
}

/* Honeypot anti-spam field: hidden from real visitors, left for bots to fill in */
.mc-hp-wrap {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: #6397d0;
    color: var(--pure-white);
    font-size: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.top-bar-info a { color: inherit; text-decoration: none; }
.top-bar-info i { color: var(--brand-yellow); margin-right: 5px; }

.compliance-badge {
    background: #ffffff !important;
    color: #6397d0;
    padding: 2px 8px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- HEADER --- */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 999;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
    border-bottom: 1px solid var(--border-color);
}
.nav-flex { display: flex; align-items: center; padding: 0.8rem 0; gap: 2rem; }
.brand-logo { text-decoration: none; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-logo img,
.brand-logo .custom-logo,
img.custom-logo {
    max-height: 56px;
    width: auto;
    height: auto;
    display: block;
}
@media (max-width: 782px) {
    .brand-logo img,
    .brand-logo .custom-logo,
    img.custom-logo {
        max-height: 42px;
    }
}
.logo-icon { width: 12px; height: 12px; background-color: var(--brand-yellow); border-radius: 50%; align-self: flex-start; margin-top: 4px; box-shadow: 0 0 5px rgba(255, 193, 7, 0.5); }
.logo-icon-img { width: 44px; height: 44px; display: block; flex-shrink: 0; }
@media (max-width: 782px) {
    .logo-icon-img { width: 36px; height: 36px; }
}
.logo-text-container { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-size: 1.8rem; font-weight: 800; color: var(--brand-blue); text-transform: lowercase; letter-spacing: -1px; }
.logo-sub { font-size: 0.7rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 4px; margin-top: 2px; }

.navigation-wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.menu { display: flex; list-style: none; align-items: center; justify-content: center; gap: 1.25rem; flex: 1; }
.menu > li { position: relative; }
.menu > li > a {
    text-decoration: none; color: var(--medical-dark); font-weight: 600; font-size: 0.85rem;
    padding: 1.5rem 0.4rem; display: flex; align-items: center; gap: 5px;
    transition: var(--transition-smooth);
}
.menu > li:hover > a, .menu > li.active > a, .menu > li.current-menu-item > a { color: var(--brand-blue); }
.dropdown-arrow { font-size: 0.65rem; opacity: 0.7; transition: transform 0.2s ease; }

.mega-menu-content {
    position: absolute; top: 100%; left: 0;
    transform: translateY(10px);
    background: var(--pure-white);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--border-color); border-top: 3px solid var(--brand-blue);
    border-radius: 8px; opacity: 0; visibility: hidden; transition: var(--transition-smooth);
    z-index: 100; padding: 25px; display: grid; gap: 25px;
    width: 720px; grid-template-columns: 1fr 1fr 1fr;
}
@media (min-width: 992px) {
    .menu > li:hover > .mega-menu-content { opacity: 1; visibility: visible; transform: translateY(0); }
    .menu > li:hover > a .dropdown-arrow { transform: rotate(180deg); color: var(--brand-blue); }
}
.mega-column-title { font-size: 0.8rem; font-weight: 800; color: var(--brand-blue); border-bottom: 1px solid var(--border-color); padding-bottom: 8px; margin-bottom: 12px; text-transform: uppercase; }
.mega-link-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mega-link-list a { padding: 6px 0; font-weight: 500; font-size: 0.8rem; color: var(--text-body); display: block; transition: var(--transition-smooth); }
.mega-link-list a:hover { background-color: var(--bg-light); color: var(--brand-blue); padding-left: 10px; border-radius: 6px; }

.btn-rfq-trigger {
    background-color: var(--brand-blue); color: var(--pure-white) !important;
    padding: 0.6rem 1.1rem; border-radius: 50px;
    box-shadow: 0 4px 14px rgba(0, 86, 179, 0.3);
    display: flex; align-items: center; gap: 8px; font-weight: 700;
    font-size: 0.85rem; text-decoration: none; flex-shrink: 0; cursor: pointer;
    border: none;
}
.btn-rfq-trigger:hover { background-color: var(--brand-blue-dark); transform: translateY(-2px); }
.cart-count {
    background-color: var(--brand-yellow); color: var(--medical-dark);
    font-size: 0.75rem; font-weight: 800; border-radius: 50%;
    width: 20px; height: 20px; display: inline-flex; justify-content: center; align-items: center;
}
.mobile-toggle { background: none; border: none; cursor: pointer; padding: 0.5rem; font-size: 1.5rem; color: var(--medical-dark); }
.mobile-nav-icons { display: none; align-items: center; gap: 0.5rem; }
.btn-rfq-mobile {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
    background-color: var(--brand-blue); color: var(--pure-white); font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0, 86, 179, 0.3); flex-shrink: 0;
}
.btn-rfq-mobile:hover { background-color: var(--brand-blue-dark); }
.btn-rfq-mobile .cart-count { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; font-size: 0.65rem; border: 2px solid var(--pure-white); }

/* --- HERO SLIDER --- */
.hero-slider-container { height: 550px; position: relative; overflow: hidden; background: var(--medical-dark); }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; z-index: 1; transition: opacity 1s ease-in-out; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 2; }
.hero-text { position: relative; z-index: 3; color: var(--pure-white); max-width: 720px; padding: 0 1rem; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
.hero-tagline { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--brand-yellow); margin-bottom: 0.8rem; display: inline-block; }
.hero-text h1 { font-size: clamp(1.85rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -1px; }
.hero-text p { font-size: clamp(0.85rem, 2vw, 1rem); color: #f1f5f9; margin-bottom: 1.8rem; max-width: 580px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-quote-hero { display: inline-flex; align-items: center; gap: 10px; background-color: #6297d0; color: var(--pure-white); border: 1px solid #6297d0; padding: 0.8rem 1.6rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: var(--transition-smooth); }
.btn-quote-hero:hover { background-color: transparent; color: var(--pure-white); }
.btn-primary { background-color: var(--brand-yellow); color: var(--medical-dark); text-decoration: none; padding: 0.8rem 1.6rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 10px; transition: var(--transition-smooth); border: 1px solid var(--brand-yellow); }
.btn-primary:hover { background-color: transparent; color: var(--brand-yellow); }
.slider-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: var(--transition-smooth); }
.dot.active { background: var(--brand-yellow); width: 28px; border-radius: 10px; }

/* --- CATALOG --- */
.catalog-section { padding: clamp(3rem, 8vw, 5rem) 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header span { color: var(--brand-blue); font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }
.section-header h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin-top: 0.5rem; color: var(--medical-dark); }
.vat-notice { background: #fff3cd; color: #856404; padding: 0.5rem 1rem; border-radius: 4px; font-size: 0.8rem; font-weight: 600; display: inline-block; margin-top: 1rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.catalog-card { background: var(--pure-white); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: var(--transition-smooth); display: flex; flex-direction: column; }
.catalog-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06); border-color: var(--brand-blue); }
.card-img-box { position: relative; height: 210px; background-color: #f1f5f9; overflow: hidden; }
.card-img-box img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.catalog-card:hover .card-img-box img { transform: scale(1.04); }
.card-badge { position: absolute; top: 1rem; left: 1rem; background: var(--medical-dark); color: var(--pure-white); font-size: 0.65rem; padding: 4px 8px; font-weight: 700; border-radius: 4px; text-transform: uppercase; z-index: 2; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--medical-dark); }
.card-body p { font-size: 0.85rem; color: var(--text-body); margin-bottom: 1.25rem; flex-grow: 1; }
.price-tag { font-size: 1.2rem; font-weight: 800; color: var(--brand-blue); margin-bottom: 1.25rem; }
.compatibility { font-size: 0.75rem; color: #64748b; background: #f1f5f9; padding: 0.5rem; border-radius: 4px; margin-bottom: 1rem; }
.card-action { display: flex; flex-wrap: nowrap; gap: 8px; border-top: 1px solid var(--border-color); padding-top: 1rem; width: 100%; }
.btn-action {
    flex: 1 1 0; min-width: 0; padding: 0.6rem 0.4rem; border-radius: 8px; font-weight: 700; font-size: 0.72rem;
    cursor: pointer; transition: var(--transition-smooth); display: inline-flex; align-items: center; justify-content: center;
    gap: 4px; border: none; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.btn-details { background-color: var(--bg-light); color: var(--medical-dark); border: 1px solid var(--border-color); }
.btn-details:hover { background-color: var(--border-color); border-color: var(--brand-blue); }
.btn-add-quote, .btn-add-rfq { background-color: var(--brand-blue); color: var(--pure-white); }
.btn-add-quote:hover, .btn-add-rfq:hover { background-color: var(--medical-dark); }
.btn-add-quote.added, .btn-add-rfq.added { background-color: #28a745; }

/* --- LOAD MORE --- */
.load-more-wrap { text-align: center; margin-top: 2.5rem; }
.btn-load-more { background: var(--pure-white); border: 2px solid var(--brand-blue); color: var(--brand-blue); padding: 0.8rem 2rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: var(--transition-smooth); }
.btn-load-more:hover { background: var(--brand-blue); color: #fff; }
.btn-load-more:disabled { opacity: 0.5; cursor: default; }

/* --- HOSPITAL EQUIPMENT SECTION (2 COLUMN LAYOUT) --- */
.hospital-equipment-section { padding: 4rem 0; background: var(--pure-white); border-top: 1px solid var(--border-color); }
.hospital-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.hospital-featured {
    background: var(--bg-light); border-radius: 20px; overflow: hidden; position: relative; min-height: 400px;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
    background-size: cover; background-position: center; background-repeat: no-repeat; transition: var(--transition-smooth);
}
.hospital-featured:hover { transform: scale(1.01); }
.hospital-featured::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.2) 100%); z-index: 1; }
.hospital-featured-content { position: relative; z-index: 2; color: var(--pure-white); }
.hospital-featured-content .badge { display: inline-block; background: var(--brand-yellow); color: var(--medical-dark); padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.8rem; }
.hospital-featured-content h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.hospital-featured-content p { font-size: 0.95rem; color: #cbd5e1; max-width: 80%; }
.hospital-featured-content .btn-outline-light { display: inline-block; margin-top: 1rem; padding: 0.6rem 1.5rem; border: 2px solid var(--pure-white); color: var(--pure-white); border-radius: 8px; font-weight: 700; font-size: 0.85rem; text-decoration: none; transition: var(--transition-smooth); }
.hospital-featured-content .btn-outline-light:hover { background: var(--pure-white); color: var(--medical-dark); }

.hospital-grid-small { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.5rem; }
.hospital-item { background: var(--bg-light); border-radius: 16px; padding: 1.5rem; border: 1px solid var(--border-color); transition: var(--transition-smooth); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hospital-item:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); border-color: var(--brand-blue); }
.hospital-item .icon-box { width: 60px; height: 60px; background: var(--brand-blue); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--pure-white); font-size: 1.8rem; margin-bottom: 0.8rem; }
.hospital-item h4 { font-size: 1rem; font-weight: 700; color: var(--medical-dark); }
.hospital-item p { font-size: 0.8rem; color: var(--text-body); margin: 0.3rem 0 0.6rem; }
.hospital-item .price-small { font-weight: 700; color: var(--brand-blue); font-size: 0.9rem; }

/* --- RFQ DRAWER --- */
.rfq-drawer {
    position: fixed; top: 0; right: -100%; width: 440px; max-width: 100%; height: 100vh;
    background: var(--pure-white); box-shadow: -10px 0 50px rgba(15, 23, 42, 0.1);
    z-index: 1001; transition: var(--transition-smooth); padding: 2rem; display: flex; flex-direction: column;
}
.rfq-drawer.open { right: 0; }
.drawer-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(4px); z-index: 1000; display: none; }
.drawer-backdrop.show { display: block; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.drawer-header h3 { font-size: 1.25rem; font-weight: 800; }
.btn-close-drawer { background: none; border: none; font-size: 1.8rem; color: var(--medical-dark); cursor: pointer; }
.quote-items-list { flex-grow: 1; overflow-y: auto; margin-bottom: 1.5rem; }
.empty-cart-msg { text-align: center; color: var(--text-body); font-size: 0.85rem; margin-top: 2rem; }
.quote-item { display: flex; justify-content: space-between; align-items: center; background: var(--bg-light); padding: 0.85rem; border-radius: 8px; margin-bottom: 0.75rem; border: 1px solid var(--border-color); }
.quote-item-details h5 { font-weight: 700; font-size: 0.85rem; margin-bottom: 2px; }
.quote-item-details p { font-size: 0.7rem; color: var(--text-body); }
.btn-remove-item { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 0.85rem; padding: 5px; }
.rfq-form label { display: block; font-size: 0.7rem; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; margin-bottom: 0.4rem; }
.form-input { width: 100%; padding: 0.7rem; border: 1px solid var(--border-color); border-radius: 8px; font-family: var(--font-main); margin-bottom: 1rem; font-size: 0.85rem; }
.form-input:focus { outline: none; border-color: var(--brand-blue); }
.btn-submit-rfq { width: 100%; background-color: var(--brand-blue); color: var(--pure-white); border: none; padding: 0.85rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: var(--transition-smooth); }
.btn-submit-rfq:hover { background-color: var(--brand-blue-dark); }
.btn-submit-rfq:disabled { opacity: 0.6; cursor: default; }
.rfq-form-status { font-size: 0.8rem; margin-top: 0.75rem; text-align: center; }
.rfq-form-status.success { color: #28a745; }
.rfq-form-status.error { color: #ef4444; }

/* --- WHY US SECTION --- */
.why-us-section { padding: 4rem 0; background: var(--pure-white); border-top: 1px solid var(--border-color); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.why-card { padding: 2rem 1.5rem; border-radius: 16px; transition: var(--transition-smooth); background: var(--bg-light); text-align: center; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.why-card i { font-size: 2.5rem; color: var(--brand-blue); margin-bottom: 1rem; }
.why-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.85rem; color: var(--text-body); }

/* --- PARTNERS CAROUSEL --- */
.partners-section { padding: 4rem 0; background: var(--bg-light); border-top: 1px solid var(--border-color); overflow: hidden; }
.partners-track { display: flex; gap: 2rem; transition: transform 1s ease-in-out; will-change: transform; }
.partners-track .partner-card {
    flex: 0 0 calc(25% - 1.5rem); min-width: 200px; background: var(--pure-white); border-radius: 16px;
    padding: 2rem 1.5rem; text-align: center; border: 1px solid var(--border-color); transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.partners-track .partner-card:hover { border-color: var(--brand-blue); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.partner-card i { font-size: 3.5rem; color: var(--brand-blue); margin-bottom: 1rem; opacity: 0.7; }
.partner-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--medical-dark); }
.partner-card p { font-size: 0.8rem; color: var(--text-body); }
.partner-card .partner-logo-placeholder {
    width: 80px; height: 80px; margin: 0 auto 1rem; background: var(--bg-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: var(--brand-blue);
    border: 2px dashed var(--border-color);
}
.partners-wrapper { overflow: hidden; position: relative; }
.partners-wrapper .partner-dots { text-align: center; margin-top: 2rem; display: flex; justify-content: center; gap: 10px; }
.partners-wrapper .partner-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-color); cursor: pointer; transition: var(--transition-smooth); }
.partners-wrapper .partner-dots span.active { background: var(--brand-blue); width: 28px; border-radius: 10px; }

/* --- CONTACT US SECTION --- */
.contact-section { padding: 4rem 0; background: var(--pure-white); border-top: 1px solid var(--border-color); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--medical-dark); }
.contact-info p { color: var(--text-body); margin-bottom: 1.5rem; }
.contact-details { list-style: none; }
.contact-details li { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; font-size: 0.95rem; color: var(--text-body); }
.contact-details li i { width: 40px; height: 40px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--brand-blue); font-size: 1.1rem; flex-shrink: 0; }
.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.3rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 0.7rem 1rem; border: 1px solid var(--border-color); border-radius: 8px;
    font-family: var(--font-main); font-size: 0.9rem; background: var(--bg-light); transition: var(--transition-smooth);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-blue); background: var(--pure-white); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.btn-submit-contact { background: var(--brand-blue); color: var(--pure-white); border: none; padding: 0.8rem 2rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: var(--transition-smooth); }
.btn-submit-contact:hover { background: var(--brand-blue-dark); }
.btn-submit-contact:disabled { opacity: 0.6; cursor: default; }
.contact-form-status { font-size: 0.85rem; margin-top: 0.75rem; }
.contact-form-status.success { color: #28a745; }
.contact-form-status.error { color: #ef4444; }

/* --- PAYMENT SECTION --- */
.payment-section { padding: 4rem 0; background: #fff; border-top: 1px solid var(--border-color); }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.pay-card { border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; transition: var(--transition-smooth); }
.pay-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--brand-blue); }
.pay-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; }
.pay-logo i { font-size: 2.5rem; }
.pay-logo h3 { font-size: 1.5rem; font-weight: 800; color: var(--medical-dark); }
.pay-steps { list-style: none; }
.pay-steps li { margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-body); display: flex; gap: 12px; }
.pay-steps li span { background: var(--brand-blue); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.pay-dummy-box { background: var(--bg-light); border: 1px dashed var(--border-color); padding: 1rem; border-radius: 8px; margin-top: 1.5rem; font-family: monospace; font-size: 0.85rem; }

/* --- LOCATION SECTION --- */
.location-section { padding: 4rem 0; background: var(--bg-light); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.loc-map-3d { transform: rotateY(-5deg) rotateX(3deg); transition: transform 0.5s ease; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15); border: 8px solid #fff; }
.loc-map-3d:hover { transform: rotateY(0) rotateX(0); }
.loc-map-3d iframe { width: 100%; height: 400px; border: 0; display: block; }
.loc-content h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--medical-dark); }
.loc-content p { margin-bottom: 1.5rem; color: var(--text-body); }
.loc-details { list-style: none; margin-top: 1.5rem; }
.loc-details li { margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: var(--text-body); }
.loc-details i { color: var(--brand-blue); margin-top: 4px; font-size: 1.2rem; }

/* --- FOOTER --- */
footer { background: var(--medical-dark); color: var(--pure-white); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 3rem; margin-bottom: 2rem; }
.footer-brand p { color: #94a3b8; font-size: 0.85rem; max-width: 320px; margin-top: 1rem; }
.footer-slogan { font-size: 1.1rem; font-weight: 700; color: var(--brand-yellow); margin-top: 1rem; font-style: italic; }
.footer-col h4 { font-size: 0.9rem; font-weight: 800; margin-bottom: 1.2rem; color: var(--brand-blue); text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; font-size: 0.8rem; transition: var(--transition-smooth); display: inline-flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { color: var(--brand-yellow); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #64748b; flex-wrap: wrap; gap: 12px; }

/* --- WHATSAPP POPUP --- */
.wa-float {
    position: fixed; bottom: 20px; right: 20px; background: var(--whatsapp-green); color: #fff;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 1001; cursor: pointer; transition: transform 0.3s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }
.wa-popup {
    position: fixed; bottom: 90px; right: 20px; width: 320px; max-width: calc(100% - 40px);
    background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 1001;
    display: none; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(20px); transition: all 0.3s;
}
.wa-popup.active { display: flex; opacity: 1; transform: translateY(0); }
.wa-header { background: var(--whatsapp-dark); color: #fff; padding: 1rem; display: flex; align-items: center; gap: 10px; }
.wa-header i { font-size: 1.5rem; }
.wa-header h4 { margin: 0; font-size: 1rem; font-weight: 700; }
.wa-header p { margin: 0; font-size: 0.75rem; opacity: 0.8; }
.wa-body { padding: 1rem; background: #e5ddd5; flex-grow: 1; max-height: 350px; overflow-y: auto; }
.wa-msg { background: #fff; padding: 0.6rem 0.9rem; border-radius: 8px; margin-bottom: 0.8rem; font-size: 0.85rem; box-shadow: 0 1px 2px rgba(0,0,0,0.1); width: 85%; }
.wa-msg.bot { margin-left: 0; }
.wa-msg.user { margin-left: auto; background: #dcf8c6; }
.wa-faq-btn { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--border-color); padding: 0.6rem 1rem; border-radius: 20px; margin-bottom: 0.5rem; font-size: 0.8rem; cursor: pointer; font-family: var(--font-main); font-weight: 600; color: var(--whatsapp-dark); transition: all 0.2s; }
.wa-faq-btn:hover { background: #f0f2f5; }
.wa-footer { padding: 0.8rem; background: #f0f2f5; display: flex; gap: 0.5rem; }
.wa-input { flex: 1; padding: 0.6rem 1rem; border: 1px solid var(--border-color); border-radius: 20px; font-family: var(--font-main); font-size: 0.85rem; }
.wa-send-btn { background: var(--whatsapp-green); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .mobile-nav-icons { display: flex; }
    .nav-flex { justify-content: space-between; gap: 0; }
    .navigation-wrap {
        position: fixed; top: 75px; left: -100%; width: 100%; height: calc(100vh - 75px);
        background: var(--pure-white); flex-direction: column; align-items: stretch;
        padding: 2rem 5%; transition: left 0.4s ease; overflow-y: auto; gap: 2rem;
        border-top: 1px solid var(--border-color);
    }
    .navigation-wrap.active { left: 0; }
    .menu { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; margin-right: 0; flex: none; }
    .menu > li { width: 100%; }
    .menu > li > a { padding: 0.85rem 0; justify-content: space-between; border-bottom: 1px solid var(--border-color); font-size: 0.95rem; }
    .mega-menu-content { position: static !important; opacity: 1 !important; visibility: visible !important; display: none; box-shadow: none !important; border: none !important; border-radius: 0 !important; padding: 15px 10px !important; transform: none !important; background-color: var(--bg-light) !important; width: 100% !important; grid-template-columns: 1fr !important; gap: 15px !important; }
    .btn-rfq-trigger { justify-content: center; margin-top: 1rem; }
    .loc-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .hospital-grid { grid-template-columns: 1fr; }
    .hospital-grid-small { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
    .card-action { flex-wrap: nowrap; }
    .btn-action { font-size: 0.65rem; padding: 0.5rem 0.3rem; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-track .partner-card { flex: 0 0 calc(50% - 1rem); min-width: 150px; }
}
@media (max-width: 768px) {
    .top-bar-flex { flex-direction: column; text-align: center; }
    .top-bar-info { justify-content: center; gap: 0.8rem; }
    .hero-slider-container { height: 379px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .btn-action { font-size: 0.6rem; padding: 0.45rem 0.2rem; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .partners-track .partner-card { flex: 0 0 100%; min-width: 100%; }
    .hospital-grid-small { grid-template-columns: 1fr 1fr; }
    .hospital-featured { min-height: 300px; }
    .hospital-featured-content h3 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .btn-action { font-size: 0.7rem; padding: 0.5rem 0.3rem; }
    .why-grid { grid-template-columns: 1fr; }
    .hospital-grid-small { grid-template-columns: 1fr; }
    .hospital-featured { min-height: 250px; }
    .hospital-featured-content h3 { font-size: 1.2rem; }
    .hospital-featured-content p { max-width: 100%; }
    .hero-buttons { flex-wrap: nowrap; gap: 0.6rem; }
    .btn-primary, .btn-quote-hero { flex: 1 1 0; justify-content: center; padding: 0.7rem 0.6rem; font-size: 0.78rem; gap: 6px; white-space: nowrap; }
}
@media (max-width: 360px) {
    .btn-primary, .btn-quote-hero { padding: 0.6rem 0.4rem; font-size: 0.7rem; gap: 4px; }
    .btn-primary i, .btn-quote-hero i { display: none; }
    .btn-action { font-size: 0.55rem; padding: 0.4rem 0.15rem; gap: 2px; }
    .btn-action i { font-size: 0.6rem; }
}

/* --- SINGLE PRODUCT / ARCHIVE / SEARCH / 404 PAGES --- */
.page-hero { background: linear-gradient(135deg, var(--medical-dark), var(--brand-blue-dark)); padding: 3rem 0; color: #fff; }
.page-hero .hero-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.breadcrumbs, .breadcrumbs a { color: #cbd5e1; font-size: 0.85rem; text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-yellow); }
.single-product { padding: 3rem 0 4rem; }
.single-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-media { display: flex; flex-direction: column; }
.product-gallery { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); aspect-ratio: 4 / 3; background: #f1f5f9; }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.product-gallery .badge { position: absolute; top: 1rem; left: 1rem; background: var(--medical-dark); color: #fff; font-size: 0.7rem; padding: 4px 10px; border-radius: 4px; font-weight: 700; text-transform: uppercase; }

/* --- Product Thumbnail Gallery (below main image, hover popup) --- */
.product-thumb-gallery { display: flex; gap: 10px; margin-top: 1rem; }
.product-thumb { position: relative; width: calc((100% - 40px) / 5); flex-shrink: 0; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-color); cursor: pointer; outline: none; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: var(--transition-smooth); }
.product-thumb:hover img, .product-thumb:focus img { transform: scale(1.08); }
.thumb-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.65); opacity: 0; visibility: hidden; transition: var(--transition-smooth); z-index: 9998; pointer-events: none; }
.product-thumb:hover .thumb-backdrop,
.product-thumb:focus .thumb-backdrop,
.product-thumb:focus-within .thumb-backdrop { opacity: 1; visibility: visible; }
.thumb-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.92); width: min(260px, 60vw); max-height: 45vh; background: var(--pure-white); border: 3px solid var(--brand-blue); border-radius: 14px; padding: 8px; box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35); opacity: 0; visibility: hidden; pointer-events: none; z-index: 9999; transition: var(--transition-smooth); }
.thumb-popup img { width: 100%; max-height: 40vh; object-fit: contain; border-radius: 10px; display: block; margin: 0 auto; }
.product-thumb:hover .thumb-popup,
.product-thumb:focus .thumb-popup,
.product-thumb:focus-within .thumb-popup { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
@media (max-width: 600px) {
    .product-thumb-gallery { gap: 6px; }
    .product-thumb { width: calc((100% - 24px) / 5); }
}

.product-info h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; color: var(--medical-dark); }
.product-info .price { font-size: 1.5rem; font-weight: 800; color: var(--brand-blue); margin-bottom: 1rem; }
.product-info .compat { background: #f1f5f9; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.85rem; margin-bottom: 1.25rem; }
.product-info .description { color: var(--text-body); margin-bottom: 1.5rem; line-height: 1.7; }
.product-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.btn-outline { border: 2px solid var(--brand-blue); color: var(--brand-blue); background: transparent; padding: 0.75rem 1.4rem; border-radius: 8px; font-weight: 700; font-size: 0.85rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition-smooth); }
.btn-outline:hover { background: var(--brand-blue); color: #fff; }
.product-info .meta { border-top: 1px solid var(--border-color); padding-top: 1rem; font-size: 0.85rem; color: var(--text-body); }
.product-info .meta p { margin-bottom: 0.4rem; }
.related-products { padding: 3rem 0 4rem; background: var(--bg-light); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.archive-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; padding: 3rem 0; }
.no-results { text-align: center; padding: 4rem 1rem; color: var(--text-body); }
@media (max-width: 768px) {
    .single-product-grid { grid-template-columns: 1fr; }
}

/* --- FEATURED PRODUCTS SECTION (restored) --- */
.featured-section { padding: 50px 0 30px; background: #fff; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.featured-card { position: relative; border-radius: 16px; overflow: hidden; background: #0056b3; border: 1px solid rgba(255,255,255,0.1); transition: var(--transition-smooth); min-height: 300px; }
.featured-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,86,179,0.3); border-color: var(--brand-yellow); }
.featured-card .card-image { width: 100%; height: 200px; background-size: cover; background-position: center; background-repeat: no-repeat; transition: transform 0.5s ease; }
.featured-card:hover .card-image { transform: scale(1.03); }
.featured-card .card-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 70%; background: linear-gradient(to bottom, transparent 0%, rgba(0,86,179,0.3) 40%, rgba(0,86,179,0.85) 100%); z-index: 1; }
.featured-card .card-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 16px 18px; color: #fff; }
.featured-card .card-badge-top { position: absolute; top: 1rem; left: 1rem; z-index: 3; display: inline-block; background: var(--brand-yellow); color: var(--medical-dark); padding: 4px 12px; border-radius: 4px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.featured-card .card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 3px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.featured-card .card-body h3 a { color: #fff; text-decoration: none; }
.featured-card .card-body h3 a:hover { color: var(--brand-yellow); }
.featured-card .card-body p { font-size: 0.75rem; color: rgba(255,255,255,0.85); margin-bottom: 6px; text-shadow: 0 1px 4px rgba(0,0,0,0.3); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.featured-card .card-body .card-price { font-weight: 700; color: var(--brand-yellow); font-size: 1rem; text-shadow: 0 1px 4px rgba(0,0,0,0.3); margin-bottom: 8px; }
.featured-card .card-body .featured-actions { display: flex; gap: 8px; flex-wrap: nowrap; }
.featured-card .card-body .featured-actions .btn-sm { flex: 1; padding: 5px 8px; border-radius: 6px; font-weight: 700; font-size: 0.65rem; border: none; cursor: pointer; transition: var(--transition-smooth); text-decoration: none; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.featured-card .card-body .featured-actions .btn-view { background: var(--brand-yellow); color: var(--medical-dark); }
.featured-card .card-body .featured-actions .btn-view:hover { background: #fff; transform: translateY(-2px); }
.featured-card .card-body .featured-actions .btn-rfq-featured { background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.featured-card .card-body .featured-actions .btn-rfq-featured:hover { background: rgba(255,255,255,0.35); transform: translateY(-2px); }
.featured-card .card-body .featured-actions .btn-rfq-featured.added { background: #28a745; border-color: #28a745; }
@media (max-width: 991px) {
    .featured-card { min-height: 260px; }
    .featured-card .card-image { height: 160px; }
    .featured-card .card-body { padding: 14px; }
    .featured-card .card-body h3 { font-size: 0.9rem; }
}
@media (max-width: 768px) {
    .featured-grid { grid-template-columns: 1fr 1fr; }
    .featured-card { min-height: 220px; }
    .featured-card .card-image { height: 130px; }
    .featured-card .card-body h3 { font-size: 0.85rem; }
    .featured-card .card-body p { font-size: 0.7rem; }
    .featured-card .card-body .featured-actions .btn-sm { font-size: 0.55rem; padding: 4px 6px; }
}
@media (max-width: 480px) {
    .featured-grid { grid-template-columns: 1fr; }
    .featured-card { min-height: 200px; }
    .featured-card .card-image { height: 120px; }
    .featured-card .card-body { padding: 12px; }
    .featured-card .card-body h3 { font-size: 0.8rem; }
    .featured-card .card-body p { display: none; }
    .featured-card .card-body .card-price { font-size: 0.85rem; }
    .featured-card .card-body .featured-actions { flex-direction: row; gap: 6px; }
}

/* --- LOCAL IMAGE FALLBACKS (no external network dependency) --- */
.card-img-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    color: rgba(255,255,255,0.85);
    font-size: 3rem;
}
.card-image-fallback {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark)) !important;
    color: rgba(255,255,255,0.85);
    font-size: 3rem;
}

/* --- CATALOG CARD V2 (image + title overlay, blue info panel below) --- */
.catalog-card-v2 { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition-smooth); display: flex; flex-direction: column; }
.catalog-card-v2:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(15,23,42,0.1); }
.ccv2-photo { position: relative; height: 300px; background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: flex-end; background-color: #f1f5f9; }
.ccv2-photo-fallback { align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark)); }
.ccv2-photo-fallback i { font-size: 3rem; color: rgba(255,255,255,0.85); position: relative; z-index: 2; }
.ccv2-photo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,23,42,0.88) 100%); z-index: 1; }
.ccv2-badge { position: absolute; top: 1rem; left: 1rem; z-index: 3; background: var(--brand-yellow); color: var(--medical-dark); padding: 4px 12px; border-radius: 4px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.ccv2-title { position: relative; z-index: 2; color: #fff; font-size: 1.1rem; font-weight: 800; line-height: 1.3; padding: 0 1.25rem 1rem; margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.ccv2-info { background: var(--brand-blue); padding: 1.25rem; color: #fff; display: flex; flex-direction: column; flex-grow: 1; }
.ccv2-desc { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-bottom: 0.5rem; flex-grow: 1; }
.ccv2-compat { font-size: 0.75rem; color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); padding: 0.5rem; border-radius: 4px; margin-bottom: 0.75rem; }
.ccv2-price { color: var(--brand-yellow); font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem; }
.ccv2-actions { display: flex; gap: 8px; }
.ccv2-btn-view, .ccv2-btn-rfq { flex: 1; border: none; padding: 0.65rem 0.5rem; border-radius: 8px; font-weight: 700; font-size: 0.78rem; cursor: pointer; transition: var(--transition-smooth); display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.ccv2-btn-view { background: var(--brand-yellow); color: var(--medical-dark); }
.ccv2-btn-view:hover { background: #fff; }
.ccv2-btn-rfq { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.ccv2-btn-rfq:hover { background: rgba(255,255,255,0.3); }
.ccv2-btn-rfq.added { background: #28a745; border-color: #28a745; }

/* --- 3-COLUMN GRID RESPONSIVE BREAKPOINTS (Featured + Catalog) --- */
@media (max-width: 991px) {
    .catalog-grid, .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .catalog-grid, .featured-grid { grid-template-columns: 1fr; }
}

/* --- MOBILE: keep the two card action buttons on one row, well-fitted --- */
@media (max-width: 640px) {
    .ccv2-actions { flex-direction: row; gap: 6px; }
    .ccv2-btn-view, .ccv2-btn-rfq { font-size: 0.7rem; padding: 0.6rem 0.35rem; gap: 4px; }
    .ccv2-btn-view i, .ccv2-btn-rfq i { font-size: 0.7rem; }
    .featured-actions { flex-direction: row; gap: 6px; }
    .featured-card .card-body .featured-actions .btn-sm { font-size: 0.62rem; padding: 6px 6px; }
}
@media (max-width: 380px) {
    .ccv2-btn-view span, .ccv2-btn-rfq span { display: inline; }
    .ccv2-btn-view, .ccv2-btn-rfq { font-size: 0.65rem; padding: 0.55rem 0.25rem; }
}

/* --- Taller card photos, scaled down slightly on smaller screens --- */
@media (max-width: 991px) { .ccv2-photo { height: 260px; } }
@media (max-width: 640px) { .ccv2-photo { height: 220px; } }
