/* ==========================================================================
   ST DOMOTIQUE - Modern & Elegant Front-End Design System 2026
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #0284c7;
    --accent-hover: #0369a1;
    --accent-light: #e0f2fe;
    --brand-orange: #f97316;
    --brand-orange-hover: #ea580c;
    --success: #10b981;
    --danger: #e11d48;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 35px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #334155;
    background-color: #f8fafc;
    line-height: 1.6;
    font-size: 14px !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

a {
    color: var(--accent);
    transition: all 0.2s ease;
    text-decoration: none !important;
}

a:hover {
    color: var(--accent-hover);
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.std-topbar {
    background: #0b1329;
    color: #cbd5e1;
    font-size: 12.5px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.std-topbar a {
    color: #cbd5e1;
}

.std-topbar a:hover {
    color: #38bdf8;
}

.std-topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.std-topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.std-topbar-links li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.std-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.std-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    transition: all 0.2s ease;
}

.std-social-icons a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   MAIN HEADER (LOGO, SEARCH, CONTACT, CART)
   ========================================================================== */
.std-header-mid {
    background: #ffffff;
    padding: 16px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.std-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.std-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}



/* Search Bar */
.std-search-wrapper {
    flex: 1;
    max-width: 580px;
    position: relative;
}

.std-search-form {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-full);
    padding: 3px 5px 3px 18px;
    transition: all 0.25s ease;
}

.std-search-form:focus-within {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.std-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    padding: 8px 0;
}

.std-search-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.std-search-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* Header Right Actions */
.std-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.std-phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.std-phone-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.std-phone-text {
    line-height: 1.2;
}

.std-phone-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.std-phone-num {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

/* Cart Button */
.std-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    text-decoration: none !important;
    transition: all 0.2s ease;
    position: relative;
}

.std-cart-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.std-cart-icon-wrapper {
    position: relative;
    display: inline-flex;
}

.std-cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--brand-orange);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* ==========================================================================
   NAVIGATION BAR & MEGA-MENU
   ========================================================================== */
.std-navbar {
    background: #0f172a;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.std-navbar-container {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.std-nav-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap !important;
    width: 100%;
}

.std-nav-item {
    position: relative;
    flex-shrink: 0;
}

.std-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 13px 13px;
    font-size: 13.5px;
    font-weight: 600;
    color: #f1f5f9 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.std-nav-item:hover > .std-nav-link,
.std-nav-link.active {
    color: #38bdf8 !important;
    background: rgba(255, 255, 255, 0.08);
}

.std-nav-devis {
    margin-left: auto;
}

.std-nav-devis-btn {
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.12);
    border-radius: 6px;
    padding: 7px 12px !important;
    border: 1px solid rgba(251, 191, 36, 0.3);
    margin-right: 4px;
}

.std-nav-devis-btn:hover {
    background: rgba(251, 191, 36, 0.24) !important;
    color: #ffffff !important;
    border-color: #fbbf24;
}

@media (min-width: 992px) and (max-width: 1240px) {
    .std-nav-link {
        padding: 12px 8px;
        font-size: 12px;
        gap: 4px;
    }
    .std-nav-devis-btn {
        padding: 6px 9px !important;
    }
}

@media (max-width: 991px) {
    .std-navbar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .std-navbar::-webkit-scrollbar {
        display: none;
    }
    .std-nav-list {
        min-width: max-content;
    }
    .std-nav-link {
        padding: 11px 12px;
        font-size: 13px;
    }
}

.std-nav-item:hover .std-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Menu */
.std-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--accent);
    padding: 12px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.std-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155 !important;
    transition: all 0.15s ease;
}

.std-dropdown-menu a:hover {
    background: #f0f9ff;
    color: var(--accent) !important;
    padding-left: 24px;
}

/* Mega-Menu Multi-Column */
.std-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 680px;
    background: #ffffff;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--accent);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.std-nav-item:hover .std-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.std-mega-col-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.6px;
    margin: 0 0 10px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--accent-light);
}

.std-mega-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.std-mega-links li a {
    display: block;
    padding: 6px 0;
    font-size: 13.5px;
    color: #475569 !important;
    font-weight: 500;
    transition: all 0.15s ease;
}

.std-mega-links li a:hover {
    color: var(--accent) !important;
    transform: translateX(4px);
}

/* ==========================================================================
   HERO BANNER & SLIDER
   ========================================================================== */
/* ==========================================================================
   HERO FULLWIDTH SLIDER (WIDTH 100% EDGE-TO-EDGE)
   ========================================================================== */
.std-hero-section {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 35px 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.std-hero-slide {
    position: relative;
    width: 100% !important;
    height: 520px;
    border-radius: 0 !important;
    overflow: hidden;
    background: #0f172a;
}

.std-hero-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 0.9;
    transition: transform 6s ease;
}

.std-hero-slide:hover img {
    transform: scale(1.03);
}

.std-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.4) 55%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 !important;
    color: #ffffff;
}

.std-hero-overlay .container {
    width: 100%;
}

.std-hero-content {
    max-width: 620px;
    padding: 20px 0;
}

.std-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 132, 199, 0.25);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.std-hero-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 14px 0;
    letter-spacing: -0.5px;
}

.std-hero-desc {
    font-size: 15px;
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.55;
}

.std-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.25s ease;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #075985 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.5);
}

.btn-hero-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.2s ease;
}

.btn-hero-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

/* ==========================================================================
   TRUST BADGES / FEATURES STRIP
   ========================================================================== */
.std-features-strip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 45px;
}

.std-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.std-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.std-feature-info h4 {
    font-size: 14px !important;
    font-weight: 700;
    margin: 0 0 3px 0;
    color: #0f172a;
}

.std-feature-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Feature Icon Colors */
.fi-blue { background: #e0f2fe; color: #0284c7; }
.fi-green { background: #dcfce7; color: #16a34a; }
.fi-amber { background: #fef3c7; color: #d97706; }
.fi-purple { background: #ede9fe; color: #7c3aed; }

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.std-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.std-section-title-box {
    position: relative;
}

.std-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.std-section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.std-section-title-box::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.std-view-all-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.std-view-all-link:hover {
    color: var(--accent-hover);
    transform: translateX(3px);
}

/* ==========================================================================
   EQUAL-HEIGHT PRODUCT GRID SYSTEM (Prevents Bootstrap float-snag blank gaps)
   ========================================================================== */
.std-products-grid {
    display: flex !important;
    flex-wrap: wrap !important;
}

.std-products-grid:before,
.std-products-grid:after {
    display: none !important;
}

.std-products-grid > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
}

.std-products-grid > [class*="col-"] > .std-product-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: calc(100% - 25px) !important;
    margin-bottom: 25px !important;
}

/* ==========================================================================
   MODERN PRODUCT CARD (.std-product-card)
   ========================================================================== */
.std-product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #edf2f9;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: calc(100% - 25px);
    margin-bottom: 25px;
    position: relative;
}

.std-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.std-card-thumb {
    position: relative;
    height: 220px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.std-card-img {
    max-height: 180px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.std-product-card:hover .std-card-img {
    transform: scale(1.08);
}

/* Badges */
.std-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.std-badge-promo {
    background: #e11d48;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.std-badge-new {
    background: var(--accent);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.std-badge-dispo {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}

.badge-in-stock { background: #dcfce7; color: #15803d; }
.badge-out-stock { background: #fee2e2; color: #b91c1c; }

/* Card Body */
.std-card-body {
    padding: 18px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.std-brand-pill {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 8px;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.std-prod-title, .std-card-title {
    font-size: 14px !important;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.std-prod-title a, .std-card-title a {
    font-size: 14px !important;
    color: #0f172a !important;
}

.std-prod-title a:hover, .std-card-title a:hover {
    color: var(--accent) !important;
}

.std-prod-ref {
    font-size: 11.5px;
    color: var(--text-muted);
    font-family: monospace;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price Box */
.std-price-box {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.std-current-price {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.std-price-promo {
    color: #e11d48;
}

.std-old-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}

/* Card Actions Footer */
.std-card-footer {
    padding: 12px 18px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-card-details {
    flex: 1;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155 !important;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-card-details:hover {
    background: #f1f5f9;
    color: #0f172a !important;
    border-color: #94a3b8;
}

.btn-card-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn-card-whatsapp:hover {
    background: #20ba5a;
    transform: scale(1.08);
}

.btn-card-cart {
    background: var(--accent);
    color: #ffffff !important;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-card-cart:hover {
    background: var(--accent-hover);
    transform: scale(1.08);
}

/* ==========================================================================
   CATEGORIES GRID
   ========================================================================== */
.std-cat-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #edf2f9;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    text-decoration: none !important;
}

.std-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.std-cat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.std-cat-card:hover .std-cat-icon {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.1);
}

.std-cat-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* ==========================================================================
   BRANDS SECTION
   ========================================================================== */
.std-brands-strip {
    background: #ffffff;
    border: 1px solid #edf2f9;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.std-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    align-items: center;
}

.std-brand-item {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #edf2f9;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.std-brand-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.std-brand-item img {
    max-height: 45px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.8;
    transition: all 0.25s ease;
}

.std-brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   MODERN FOOTER
   ========================================================================== */
.std-footer {
    background: #0b1329;
    color: #94a3b8;
    padding-top: 55px;
    margin-top: 50px;
    border-top: 4px solid var(--accent);
}

.std-footer h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 18px 0;
    position: relative;
    padding-bottom: 8px;
}

.std-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--accent);
}

.std-footer p {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.6;
}

.std-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.std-footer-links li {
    margin-bottom: 9px;
}

.std-footer-links a {
    color: #94a3b8;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.std-footer-links a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

.std-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13.5px;
    color: #cbd5e1;
}

.std-footer-contact i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 3px;
}

.std-copyright-bar {
    background: #060a17;
    padding: 20px 0;
    margin-top: 45px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: #64748b;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.std-floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: stdPulse 2.5s infinite;
}

.std-floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

@keyframes stdPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .std-header-inner {
        flex-direction: column;
        gap: 14px;
    }
    .std-search-wrapper {
        width: 100%;
        max-width: 100%;
    }
    .std-hero-slide {
        height: 380px !important;
    }
    .std-hero-title {
        font-size: 24px !important;
    }
}

@media (max-width: 767px) {
    .std-hero-slide {
        height: 290px !important;
    }
    .std-hero-desc {
        display: none !important;
    }
    .std-hero-title {
        font-size: 19px !important;
        margin-bottom: 10px !important;
    }
    .std-hero-badge {
        margin-bottom: 8px !important;
        padding: 3px 10px !important;
        font-size: 10.5px !important;
    }
    .btn-hero-primary,
    .btn-hero-whatsapp {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }
    .std-mega-menu {
        display: none !important;
    }
    .std-features-strip .col-md-3 {
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   CART & CHECKOUT PAGE STYLING
   ========================================================================== */
.std-page-header {
    background: linear-gradient(135deg, #0b1329 0%, #1e293b 100%);
    color: #ffffff;
    padding: 35px 0 25px;
    margin-bottom: 35px;
    border-bottom: 3px solid #0284c7;
}

.std-page-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.std-page-subtitle {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.std-breadcrumb-nav {
    margin-top: 10px;
}

.std-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 13px;
    color: #94a3b8;
}

.std-breadcrumb a {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.2s;
}

.std-breadcrumb a:hover {
    color: #ffffff;
}

.std-breadcrumb-sep {
    color: #64748b;
}

.std-cart-box {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(11, 19, 41, 0.04);
    overflow: hidden;
    margin-bottom: 25px;
}

.std-cart-header {
    padding: 18px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.std-cart-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0b1329;
}

.std-cart-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
}

.std-cart-table th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 18px;
    border-top: none;
    border-bottom: 1px solid #e2e8f0;
}

.std-cart-table td {
    padding: 18px;
    vertical-align: middle;
    border-top: 1px solid #f1f5f9;
}

.std-cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.std-cart-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    padding: 6px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.std-cart-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.std-cart-item-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.std-cart-item-title a:hover {
    color: #0284c7;
}

.std-cart-item-ref {
    font-size: 12px;
    color: #64748b;
}

.std-cart-qty-input {
    width: 70px;
    text-align: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px;
    font-weight: 700;
    color: #0b1329;
}

.std-cart-qty-input:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.std-cart-price {
    font-size: 15px;
    font-weight: 700;
    color: #0b1329;
}

.std-cart-total {
    font-size: 16px;
    font-weight: 800;
    color: #0284c7;
}

.std-cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fee2e2;
    color: #ef4444;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
}

.std-cart-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: scale(1.05);
}

.std-summary-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(11, 19, 41, 0.05);
    padding: 24px;
    position: sticky;
    top: 90px;
}

.std-summary-title {
    font-size: 18px;
    font-weight: 800;
    color: #0b1329;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.std-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #475569;
}

.std-summary-row.total {
    border-top: 2px dashed #e2e8f0;
    margin-top: 10px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 800;
    color: #0b1329;
}

.std-summary-row.total .price {
    color: #0284c7;
    font-size: 22px;
}

.btn-checkout-primary {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: all 0.25s ease;
    margin-top: 18px;
}

.btn-checkout-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-checkout-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.25s ease;
}

.btn-checkout-whatsapp:hover {
    background: #20bd5a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.std-checkout-form-box {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(11, 19, 41, 0.04);
    padding: 24px;
    margin-top: 25px;
}

.std-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.std-form-control {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    padding: 11px 14px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.2s ease;
}

.std-form-control:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.std-empty-cart-box {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 60px 20px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 8px 30px rgba(11, 19, 41, 0.04);
}

.std-empty-cart-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 36px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   CONTACT & DEVIS PAGE STYLING
   ========================================================================== */
.std-info-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(11, 19, 41, 0.03);
}

.std-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.std-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.std-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.std-info-text h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0b1329;
    margin: 0 0 4px;
}

.std-info-text p, .std-info-text a {
    font-size: 14px;
    color: #475569;
    margin: 0;
    text-decoration: none;
    transition: color 0.2s;
}

.std-info-text a:hover {
    color: #0284c7;
}

.std-map-wrapper {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(11, 19, 41, 0.04);
}

.std-content-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(11, 19, 41, 0.03);
    margin-bottom: 40px;
    color: #334155;
    line-height: 1.7;
}

.std-content-card h2, .std-content-card h3 {
    color: #0b1329;
    font-weight: 800;
    margin-top: 24px;
    margin-bottom: 14px;
}

.std-content-card p {
    font-size: 15px;
    margin-bottom: 16px;
}

.std-content-card ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.std-content-card ul li {
    margin-bottom: 8px;
    font-size: 15px;
}


/* ==========================================================================
   FEATURED CATEGORIES SHOWCASE (5 GRANDES GAMMES)
   ========================================================================== */
.std-featured-cats-section {
    margin-bottom: 50px;
}

.std-cat-hero-card {
    position: relative;
    display: block;
    height: 270px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none !important;
    background-color: #0f172a;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 24px;
}

.std-cat-hero-card.std-card-lg {
    height: 300px;
}

.std-cat-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
    filter: brightness(0.92) contrast(1.05);
}

.std-cat-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.42) 40%, rgba(15, 23, 42, 0.94) 100%);
    transition: background 0.4s ease;
}

.std-cat-hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.28), 0 10px 15px -5px rgba(2, 132, 199, 0.2);
    border-color: rgba(56, 189, 248, 0.6);
}

.std-cat-hero-card:hover .std-cat-hero-bg {
    transform: scale(1.06);
    filter: brightness(1) contrast(1.08);
}

.std-cat-hero-card:hover .std-cat-hero-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.35) 35%, rgba(15, 23, 42, 0.96) 100%);
}

.std-cat-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 24px;
    color: #ffffff;
}

.std-cat-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.std-cat-pill i {
    font-size: 12px;
}

.std-cat-pill-sonoff {
    border-color: rgba(56, 189, 248, 0.5);
    color: #7dd3fc;
}

.std-cat-pill-alexa {
    border-color: rgba(251, 191, 36, 0.5);
    color: #fde68a;
}

.std-cat-pill-shelly {
    border-color: rgba(59, 130, 246, 0.5);
    color: #93c5fd;
}

.std-cat-pill-gps {
    border-color: rgba(16, 185, 129, 0.5);
    color: #6ee7b7;
}

.std-cat-pill-sono {
    border-color: rgba(168, 85, 247, 0.5);
    color: #d8b4fe;
}

.std-cat-hero-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.std-cat-hero-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.3px;
    transition: color 0.25s ease;
}

.std-cat-hero-card:hover .std-cat-hero-title {
    color: #38bdf8;
}

.std-cat-hero-card.card-alexa:hover .std-cat-hero-title {
    color: #fbbf24;
}

.std-cat-hero-card.card-gps:hover .std-cat-hero-title {
    color: #34d399;
}

.std-cat-hero-card.card-sono:hover .std-cat-hero-title {
    color: #c084fc;
}

.std-cat-hero-desc {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.45;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.std-cat-hero-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    transition: transform 0.25s ease, gap 0.25s ease;
}

.std-cat-hero-action .btn-round-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.std-cat-hero-card:hover .std-cat-hero-action {
    gap: 12px;
}

.std-cat-hero-card:hover .std-cat-hero-action .btn-round-arrow {
    background: #0284c7;
    transform: translateX(4px);
    color: #ffffff;
}

.std-cat-hero-card.card-alexa:hover .std-cat-hero-action .btn-round-arrow {
    background: #f59e0b;
}

.std-cat-hero-card.card-gps:hover .std-cat-hero-action .btn-round-arrow {
    background: #10b981;
}

.std-cat-hero-card.card-sono:hover .std-cat-hero-action .btn-round-arrow {
    background: #9333ea;
}

@media (max-width: 991px) {
    .std-cat-hero-card,
    .std-cat-hero-card.std-card-lg {
        height: 240px;
    }
    .std-cat-hero-title {
        font-size: 19px;
    }
}

@media (max-width: 767px) {
    .std-cat-hero-card,
    .std-cat-hero-card.std-card-lg {
        height: 290px !important;
        margin-bottom: 20px !important;
        border-radius: 18px !important;
    }
    .std-cat-hero-content {
        padding: 18px 20px 22px !important;
    }
    .std-cat-pill {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }
    .std-cat-hero-title {
        font-size: 21px !important;
        font-weight: 800 !important;
        margin-bottom: 6px !important;
        letter-spacing: 0.5px !important;
    }
    .std-cat-hero-desc {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: 12px !important;
        color: #e2e8f0 !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
    }
    .std-cat-hero-action {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin-top: 4px !important;
    }
    .std-cat-hero-action .btn-round-arrow {
        width: 30px !important;
        height: 30px !important;
        background: rgba(255, 255, 255, 0.25) !important;
        color: #ffffff !important;
    }
}


/* ==========================================================================
   LIVE SEARCH AUTOCOMPLETE DROPDOWN
   ========================================================================== */
.std-search-wrapper {
    position: relative;
}

.std-search-clear {
    background: transparent;
    border: none;
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
    padding: 0;
}

.std-search-clear:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.std-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.05);
    z-index: 1060;
    overflow: hidden;
    animation: stdDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stdDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.std-ac-content {
    max-height: 480px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Custom scrollbar */
.std-ac-content::-webkit-scrollbar {
    width: 6px;
}
.std-ac-content::-webkit-scrollbar-track {
    background: #f8fafc;
}
.std-ac-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.std-ac-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Suggestions Header (Categories & Brands) */
.std-ac-suggestions-strip {
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.std-ac-strip-title {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-right: 4px;
}

.std-ac-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0369a1;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.std-ac-pill:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateY(-1px);
}

.std-ac-pill-cat {
    color: #059669;
}
.std-ac-pill-cat:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

/* Section Header */
.std-ac-section-label {
    padding: 10px 18px 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.std-ac-section-count {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
}

/* Product Item Row */
.std-ac-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 18px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none !important;
    color: inherit;
    transition: background 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}

.std-ac-item:last-child {
    border-bottom: none;
}

.std-ac-item:hover,
.std-ac-item.selected {
    background: #f1f5f9;
}

.std-ac-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.std-ac-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.std-ac-info {
    flex: 1;
    min-width: 0;
}

.std-ac-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.std-ac-brand {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0284c7;
    background: #e0f2fe;
    padding: 1px 7px;
    border-radius: 4px;
}

.std-ac-stock {
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.std-ac-stock.in-stock {
    color: #10b981;
}

.std-ac-stock.out-stock {
    color: #f59e0b;
}

.std-ac-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.std-ac-highlight {
    background: rgba(2, 132, 199, 0.15);
    color: #0369a1;
    font-weight: 800;
    padding: 0 2px;
    border-radius: 3px;
}

/* Pricing in dropdown */
.std-ac-price-box {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.std-ac-price {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.std-ac-price-promo {
    color: #dc2626;
}

.std-ac-old-price {
    font-size: 11.5px;
    color: #94a3b8;
    text-decoration: line-through;
}

.std-ac-arrow {
    color: #cbd5e1;
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.std-ac-item:hover .std-ac-arrow,
.std-ac-item.selected .std-ac-arrow {
    color: #0284c7;
    transform: translateX(3px);
}

/* Footer & Actions */
.std-ac-footer {
    padding: 12px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.std-ac-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0284c7;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.std-ac-view-all:hover {
    color: #0369a1;
    transform: translateX(2px);
}

.std-ac-view-all i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.std-ac-view-all:hover i {
    transform: translateX(4px);
}

.std-ac-shortcuts {
    font-size: 11.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.std-ac-shortcuts kbd {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}

/* Empty State & Loading */
.std-ac-loading,
.std-ac-empty {
    padding: 30px 20px;
    text-align: center;
    color: #64748b;
}

.std-ac-loading i {
    font-size: 26px;
    color: #0284c7;
    margin-bottom: 10px;
}

.std-ac-empty i {
    font-size: 28px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.std-ac-empty h4 {
    font-size: 14px !important;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

.std-ac-empty p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

@media (max-width: 767px) {
    .std-autocomplete-dropdown {
        border-radius: 12px;
        max-height: 400px;
    }
    .std-ac-shortcuts {
        display: none;
    }
    .std-ac-item {
        padding: 9px 12px;
        gap: 10px;
    }
    .std-ac-thumb {
        width: 40px;
        height: 40px;
    }
    .std-ac-title {
        font-size: 12.5px;
    }
    .std-ac-price {
        font-size: 13px;
    }
}


/* ==========================================================================
   FORM ACTION BUTTONS (DEVIS / CONTACT)
   ========================================================================== */
.std-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.std-form-actions .btn-form-primary,
.btn-form-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
    transition: all 0.25s ease;
    line-height: 1.4;
    white-space: nowrap;
}

.std-form-actions .btn-form-primary:hover,
.btn-form-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.std-form-actions .btn-form-whatsapp,
.btn-form-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #25d366;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
    transition: all 0.25s ease;
    line-height: 1.4;
    white-space: nowrap;
}

.std-form-actions .btn-form-whatsapp:hover,
.btn-form-whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .std-form-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .std-form-actions .btn-form-primary,
    .std-form-actions .btn-form-whatsapp {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


/* Card Price Row in Brands and Categories */
.std-card-price-row {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.std-price-quote {
    font-size: 14px;
    font-weight: 700;
    color: #0284c7;
}

.std-price-current {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}


/* ==========================================================================
   MOBILE FIRST OPTIMIZATIONS & APP-LIKE NAVIGATION SUITE (2026)
   ========================================================================== */

/* Mobile Header Top Row */
.std-header-mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 0;
}

@media (max-width: 991px) {
    .std-header-mid {
        padding: 8px 0 12px !important;
    }
    .std-header-mid .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        width: 100% !important;
    }
    .std-header-inner {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .std-header-mobile-bar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 2px 0 !important;
    }
    .std-mobile-hamburger {
        width: 42px !important;
        height: 42px !important;
        flex-shrink: 0 !important;
    }
    .std-mobile-logo {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
    .std-mobile-logo img {
        height: 44px !important;
        max-width: 220px !important;
        width: auto !important;
        object-fit: contain !important;
    }
    .std-mobile-right-btns {
        width: 42px !important;
        display: flex !important;
        justify-content: flex-end !important;
        flex-shrink: 0 !important;
    }
    .std-mobile-top-btn.cart {
        width: 42px !important;
        height: 42px !important;
    }
    .std-search-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: block !important;
    }
    .std-search-form {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        height: 46px !important;
        background: #f1f5f9 !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 25px !important;
        padding: 2px 4px 2px 18px !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
        transition: all 0.25s ease !important;
    }
    .std-search-form:focus-within {
        background: #ffffff !important;
        border-color: #0284c7 !important;
        box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
    }
    .std-search-input {
        width: 100% !important;
        flex: 1 1 auto !important;
        font-size: 14px !important;
        padding: 8px 0 !important;
        border: none !important;
        background: transparent !important;
        color: #0f172a !important;
    }
    .std-search-btn {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
        color: #ffffff !important;
        flex-shrink: 0 !important;
    }
    .std-navbar {
        display: none !important;
    }
}

.std-mobile-hamburger {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.std-mobile-hamburger:hover,
.std-mobile-hamburger:active {
    background: #e2e8f0;
    color: #0284c7;
}

.std-mobile-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.std-mobile-logo img {
    height: 38px;
    max-width: 170px;
    object-fit: contain;
}

.std-mobile-right-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

.std-mobile-top-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none !important;
    font-size: 18px;
    transition: transform 0.15s ease;
}

.std-mobile-top-btn:active {
    transform: scale(0.94);
}

.std-mobile-top-btn.wa {
    background: #25d366;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.std-mobile-top-btn.cart {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a !important;
}

.std-mobile-top-btn .std-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    line-height: 16px;
    border-radius: 9px;
    text-align: center;
    border: 2px solid #ffffff;
    padding: 0 4px;
}

/* Off-Canvas Mobile Drawer */
.std-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.std-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.std-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 86vw;
    background: #ffffff;
    z-index: 99999;
    box-shadow: 8px 0 32px rgba(15, 23, 42, 0.25);
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.std-mobile-drawer.open {
    transform: translateX(0);
}

body.drawer-open {
    overflow: hidden !important;
}

.std-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.std-drawer-logo img {
    height: 34px;
    max-width: 150px;
    object-fit: contain;
}

.std-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.std-drawer-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Quick Contact Card inside Drawer */
.std-drawer-contact-card {
    margin: 14px 16px;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
}

.std-drawer-contact-title {
    font-size: 13px;
    font-weight: 800;
    color: #0369a1;
    margin-bottom: 3px;
}

.std-drawer-contact-sub {
    font-size: 11.5px;
    color: #0284c7;
    margin-bottom: 10px;
}

.std-drawer-contact-btns {
    display: flex;
    gap: 8px;
}

.std-drawer-wa-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    background: #25d366;
    color: #ffffff !important;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.std-drawer-call-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    background: #ffffff;
    color: #0f172a !important;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    border: 1px solid #cbd5e1;
}

/* Drawer Nav List */
.std-drawer-nav {
    flex: 1;
    padding: 4px 12px;
}

.std-drawer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.std-drawer-item {
    border-bottom: 1px solid #f8fafc;
}

.std-drawer-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.std-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex: 1;
}

.std-drawer-link i {
    width: 20px;
    text-align: center;
    font-size: 15px;
    color: #64748b;
    transition: color 0.2s ease;
}

.std-drawer-link:hover,
.std-drawer-link:active {
    background: #f8fafc;
    color: #0284c7;
}

.std-drawer-link:hover i {
    color: #0284c7;
}

.std-drawer-toggle-sub {
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, color 0.2s ease;
}

.std-drawer-item.expanded > .std-drawer-link-row .std-drawer-toggle-sub {
    transform: rotate(180deg);
    color: #0284c7;
}

.std-drawer-submenu {
    display: none;
    list-style: none;
    padding: 4px 0 10px 32px;
    margin: 0;
    background: #f8fafc;
    border-radius: 8px;
}

.std-drawer-submenu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 12.5px;
    color: #475569;
    text-decoration: none !important;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.std-drawer-submenu li a:hover,
.std-drawer-submenu li a:active {
    color: #0284c7;
    background: #f1f5f9;
}

.std-drawer-pill {
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    background: #e0f2fe;
    color: #0284c7;
}

.std-drawer-pill.promo-pill {
    background: #fee2e2;
    color: #ef4444;
}

.std-drawer-cart-count {
    margin-left: auto;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 10px;
    text-align: center;
    padding: 0 6px;
}

/* Drawer Footer */
.std-drawer-footer {
    padding: 16px;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
}

.std-drawer-devis-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    margin-bottom: 12px;
}

.std-drawer-info {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.6;
}

.std-drawer-info i {
    width: 14px;
    color: #cbd5e1;
}

/* Modern Mobile Bottom Sticky Navigation */
.std-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid #e2e8f0;
    display: none;
    z-index: 9990;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
    padding: 0 4px;
}

@media (max-width: 767px) {
    .std-mobile-bottom-nav {
        display: flex !important;
    }
    body {
        padding-bottom: 68px !important;
    }
    /* Hide floating WhatsApp on mobile: the sticky bottom bar already has a dedicated WhatsApp button */
    .std-floating-whatsapp {
        display: none !important;
    }
}

.std-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    text-decoration: none !important;
    background: transparent;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    transition: color 0.15s ease;
    min-height: 52px;
}

.std-bottom-nav-item i {
    font-size: 18px;
    line-height: 1;
}

.std-bottom-nav-item.active,
.std-bottom-nav-item:active {
    color: #0284c7;
}

.std-bottom-nav-item.wa-item {
    color: #25d366;
}

.std-bottom-cart-wrap {
    position: relative;
    display: inline-block;
}

.std-bottom-cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    line-height: 15px;
    border-radius: 9px;
    text-align: center;
    border: 2px solid #ffffff;
    padding: 0 3px;
}

/* ==========================================================================
   ELEGANT "1 PAR 1" MOBILE PRODUCT CARD DESIGN
   ========================================================================== */
@media (max-width: 767px) {
    .std-products-grid {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .std-products-grid > .std-prod-col,
    .std-products-grid > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        float: none !important;
    }
    .std-product-card {
        background: #ffffff !important;
        border-radius: 18px !important;
        border: 1px solid #e9eef5 !important;
        box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06) !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
    }
    .std-card-thumb {
        width: 100% !important;
        height: 250px !important;
        background: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 16px !important;
        position: relative !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .std-card-thumb a {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .std-card-img {
        width: 100% !important;
        max-width: 100% !important;
        height: 215px !important;
        max-height: 215px !important;
        object-fit: contain !important;
        filter: none !important;
    }
    /* Badges left and right without any collision */
    .std-card-badges {
        position: absolute !important;
        top: 14px !important;
        left: 14px !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 6px !important;
        z-index: 3 !important;
    }
    .std-badge-new {
        font-size: 11px !important;
        font-weight: 800 !important;
        padding: 4px 10px !important;
        border-radius: 20px !important;
        letter-spacing: 0.3px !important;
        box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25) !important;
    }
    .std-badge-promo {
        font-size: 11px !important;
        font-weight: 800 !important;
        padding: 4px 10px !important;
        border-radius: 20px !important;
        letter-spacing: 0.3px !important;
        box-shadow: 0 2px 8px rgba(225, 29, 72, 0.3) !important;
    }
    .std-badge-dispo {
        position: absolute !important;
        top: 14px !important;
        right: 14px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        padding: 4px 12px !important;
        border-radius: 20px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        z-index: 3 !important;
    }
    /* Card Body */
    .std-card-body {
        padding: 16px 20px 12px !important;
        background: #ffffff !important;
    }
    .std-brand-pill {
        display: inline-block !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        padding: 3px 10px !important;
        border-radius: 6px !important;
        background: #f0f9ff !important;
        color: #0284c7 !important;
        margin-bottom: 8px !important;
        border: 1px solid #e0f2fe !important;
    }
    .std-prod-title,
    .std-card-title {
        font-size: 16px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        line-height: 1.45 !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 0 6px 0 !important;
        -webkit-line-clamp: unset !important;
        display: block !important;
    }
    .std-prod-title a,
    .std-card-title a {
        font-size: 16px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
    }
    .std-prod-ref {
        display: block !important;
        font-size: 12px !important;
        color: #64748b !important;
        font-family: inherit !important;
        margin-bottom: 10px !important;
    }
    .std-price-box {
        margin-top: 6px !important;
        padding-top: 12px !important;
        border-top: 1px dashed #e2e8f0 !important;
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
    }
    .std-current-price {
        font-size: 22px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
    }
    .std-current-price small {
        font-size: 13px !important;
        font-weight: 700 !important;
        margin-left: 2px !important;
    }
    .std-old-price {
        font-size: 14px !important;
        margin-left: 10px !important;
        color: #94a3b8 !important;
    }
    /* Action Buttons Footer: Row 1 = Full-Width "Ajouter au Panier" (100% visible & bold), Row 2 = Détails + WhatsApp */
    .std-card-footer {
        padding: 14px 18px 18px !important;
        background: #f8fafc !important;
        border-top: 1px solid #f1f5f9 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        align-items: center !important;
    }
    /* Button 1: Ajouter au Panier - 100% LARGEUR, PRIMARY CONVERSION BUTTON */
    .btn-card-cart {
        order: 1 !important;
        width: 100% !important;
        flex: 1 1 100% !important;
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        font-size: 14.5px !important;
        font-weight: 800 !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
        cursor: pointer !important;
        transition: transform 0.15s ease, box-shadow 0.15s ease !important;
        padding: 0 16px !important;
    }
    .btn-card-cart:active {
        transform: scale(0.98) !important;
    }
    .btn-card-cart i {
        font-size: 17px !important;
    }
    .btn-card-cart::after {
        content: "Ajouter au Panier" !important;
        font-size: 14.5px !important;
        font-weight: 800 !important;
        margin-left: 6px !important;
    }
    /* Button 2: Fiche Détails - 50% LARGEUR */
    .btn-card-details {
        order: 2 !important;
        flex: 1 1 calc(50% - 5px) !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        color: #1e293b !important;
        padding: 0 12px !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }
    .btn-card-details:active {
        background: #f1f5f9 !important;
    }
    /* Button 3: WhatsApp - 50% LARGEUR */
    .btn-card-whatsapp {
        order: 3 !important;
        flex: 1 1 calc(50% - 5px) !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        background: #25d366 !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
        padding: 0 12px !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }
    .btn-card-whatsapp:active {
        transform: scale(0.98) !important;
    }
    .btn-card-whatsapp i {
        font-size: 16px !important;
    }
    .btn-card-whatsapp::after {
        content: "WhatsApp" !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        margin-left: 4px !important;
    }
}

/* Responsive Features Strip (2x2 Clean Pro Grid on Mobile) */
@media (max-width: 767px) {
    .std-features-strip {
        padding: 16px 12px !important;
        margin-bottom: 30px !important;
        border-radius: 16px !important;
    }
    .std-features-strip .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }
    .std-features-strip [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-bottom: 10px !important;
    }
    .std-feature-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 14px 8px !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        border: 1px solid #edf2f7 !important;
        height: 100% !important;
        gap: 8px !important;
    }
    .std-feature-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 19px !important;
        border-radius: 12px !important;
        margin: 0 auto !important;
    }
    .std-feature-info h4 {
        font-size: 12px !important;
        font-weight: 800 !important;
        margin: 0 0 2px 0 !important;
        line-height: 1.25 !important;
    }
    .std-feature-info p {
        font-size: 10.5px !important;
        color: #64748b !important;
        line-height: 1.25 !important;
        margin: 0 !important;
    }

    /* Responsive Section Headings */
    .std-section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-bottom: 18px !important;
        padding-bottom: 10px !important;
    }
    .std-section-title-box {
        width: 100% !important;
    }
    .std-section-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }
    .std-section-subtitle {
        font-size: 13px !important;
        line-height: 1.45 !important;
        color: #64748b !important;
        margin-bottom: 8px !important;
    }
    .std-view-all-link {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        color: #0284c7 !important;
        background: #f0f9ff !important;
        border: 1px solid #bae6fd !important;
        padding: 6px 14px !important;
        border-radius: 20px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }
    .std-view-all-link i {
        font-size: 11px !important;
        margin-left: 2px !important;
    }
}


/* ==========================================================================
   PRODUCT DETAILS PAGE (DESKTOP & GENERAL)
   ========================================================================== */
.std-detail-breadcrumb-wrap {
    margin-top: 20px;
    margin-bottom: 20px;
}
.std-detail-breadcrumb-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.std-detail-breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.std-detail-breadcrumb .active {
    color: #0f172a;
    font-weight: 700;
}
.std-detail-main-wrap {
    margin-bottom: 40px;
}
.std-detail-card {
    background: #ffffff;
    border: 1px solid #edf2f9;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    margin-bottom: 35px;
}

/* Gallery */
.std-detail-gallery-col {
    margin-bottom: 25px;
}
.std-detail-preview {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.std-detail-preview img {
    max-height: 340px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.std-detail-preview:hover img {
    transform: scale(1.03);
}
.std-detail-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.std-detail-thumb-item {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.std-detail-thumb-item:hover,
.std-detail-thumb-item.active {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}
.std-detail-thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Specs & Information */
.std-detail-info {
    padding-left: 15px;
}
.std-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.std-detail-ref-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}
.std-detail-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px 0;
    line-height: 1.35;
}
.std-detail-desc {
    color: #64748b;
    font-size: 14.5px;
    margin-bottom: 22px;
    line-height: 1.6;
    border-left: 3px solid #0284c7;
    padding-left: 14px;
}
.std-detail-pricebox {
    background: #f8fafc;
    border: 1.5px solid #edf2f9;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 24px;
}
.std-detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.std-detail-price-val {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}
.std-detail-price-val small {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
}
.std-detail-price-val.promo {
    color: #e11d48;
}
.std-detail-price-val.sur-devis {
    font-size: 20px;
    color: #0284c7;
}
.std-detail-old-price {
    font-size: 16px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}
.std-detail-discount-badge {
    background: #ffe4e6;
    color: #e11d48;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Actions */
.std-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.std-detail-buy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.std-detail-qty-picker {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 3px;
    height: 48px;
}
.std-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #ffffff;
    border-radius: 8px;
    font-weight: bold;
    color: #334155;
    cursor: pointer;
    font-size: 17px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.std-qty-btn:active {
    background: #e2e8f0;
}
.std-qty-input {
    width: 48px;
    height: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 800;
    color: #0f172a;
    font-size: 15px;
    -moz-appearance: textfield;
}
.std-qty-input::-webkit-outer-spin-button,
.std-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.std-detail-cart-wrapper {
    display: inline-flex;
}
.std-detail-add-btn {
    height: 48px;
    padding: 0 28px;
    font-size: 14.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}
.std-detail-add-btn.in-cart {
    background: #10b981 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28) !important;
}
.std-detail-secondary-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.std-detail-whatsapp-btn {
    height: 44px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    text-decoration: none;
}
.std-detail-devis-btn {
    height: 44px;
    padding: 0 20px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}
.std-detail-devis-btn:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
    text-decoration: none;
}

/* Trust Strip */
.std-detail-trust {
    border-top: 1px solid #edf2f9;
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.std-detail-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #475569;
}
.std-detail-trust-item i {
    font-size: 18px;
    flex-shrink: 0;
}

/* Tabs */
.std-detail-tabs-card {
    background: #ffffff;
    border: 1px solid #edf2f9;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
    margin-bottom: 45px;
}
.std-detail-tabs-nav {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
}
.std-detail-tabs-nav > li > a {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    border-radius: 8px 8px 0 0;
    padding: 12px 24px;
}
.std-detail-tabs-content {
    color: #334155;
    font-size: 14.5px;
    line-height: 1.7;
}
.std-detail-desc-content {
    line-height: 1.75;
}
.std-detail-desc-content img {
    max-width: 100% !important;
    height: auto !important;
}
.std-detail-desc-content table {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    display: block !important;
}
.std-detail-datasheet-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    max-width: 500px;
}
.std-detail-datasheet-box h4 {
    font-weight: 700;
    color: #0f172a;
    margin: 10px 0 6px 0;
}
.std-detail-download-btn {
    border-radius: 10px;
    font-weight: 700;
    padding: 10px 22px;
}

/* ==========================================================================
   PRODUCT DETAILS MOBILE RESPONSIVE (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
    .std-detail-breadcrumb-wrap {
        margin-top: 10px !important;
        margin-bottom: 12px !important;
    }
    .std-detail-breadcrumb-card {
        padding: 8px 12px !important;
        border-radius: 10px !important;
    }
    .std-detail-breadcrumb {
        font-size: 11.5px !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        flex-wrap: nowrap !important;
    }
    .std-detail-breadcrumb::-webkit-scrollbar {
        display: none !important;
    }
    .std-detail-main-wrap {
        margin-bottom: 25px !important;
    }
    .std-detail-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 20px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
    }
    .std-detail-gallery-col {
        margin-bottom: 18px !important;
    }
    .std-detail-preview {
        min-height: 250px !important;
        height: 250px !important;
        padding: 12px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
        background: #ffffff !important;
    }
    .std-detail-preview img {
        max-height: 220px !important;
    }
    .std-detail-thumb-item {
        width: 52px !important;
        height: 52px !important;
    }
    .std-detail-info {
        padding-left: 0 !important;
    }
    .std-detail-meta {
        margin-bottom: 10px !important;
    }
    .std-detail-title {
        font-size: 18.5px !important;
        line-height: 1.35 !important;
        margin: 0 0 12px 0 !important;
    }
    .std-detail-desc {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 16px !important;
        padding-left: 10px !important;
    }
    .std-detail-pricebox {
        padding: 12px 14px !important;
        border-radius: 10px !important;
        margin-bottom: 18px !important;
    }
    .std-detail-price-val {
        font-size: 22px !important;
    }
    .std-detail-price-val small {
        font-size: 12px !important;
    }
    .std-detail-old-price {
        font-size: 14px !important;
    }
    .std-detail-discount-badge {
        font-size: 11px !important;
        padding: 2px 8px !important;
    }
    .std-detail-actions {
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    .std-detail-buy-row {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .std-detail-qty-picker {
        flex: 0 0 108px !important;
        height: 46px !important;
        border-radius: 10px !important;
    }
    .std-qty-btn {
        width: 34px !important;
        height: 38px !important;
        font-size: 16px !important;
    }
    .std-qty-input {
        width: 36px !important;
        height: 38px !important;
        font-size: 14px !important;
    }
    .std-detail-cart-wrapper {
        flex: 1 1 auto !important;
        display: flex !important;
        min-width: 0 !important;
    }
    .std-detail-add-btn {
        width: 100% !important;
        height: 46px !important;
        font-size: 14px !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }
    .std-detail-secondary-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .std-detail-whatsapp-btn {
        width: 100% !important;
        height: 44px !important;
        font-size: 13.5px !important;
        border-radius: 10px !important;
        justify-content: center !important;
    }
    .std-detail-devis-btn {
        width: 100% !important;
        height: 42px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
        justify-content: center !important;
    }
    .std-detail-trust {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding-top: 14px !important;
    }
    .std-detail-trust-item {
        font-size: 12px !important;
        background: #f8fafc !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        border: 1px solid #f1f5f9 !important;
    }
    .std-detail-trust-item i {
        font-size: 16px !important;
    }
    .std-detail-tabs-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 25px !important;
    }
    .std-detail-tabs-nav {
        display: flex !important;
        width: 100% !important;
        gap: 4px !important;
        margin-bottom: 14px !important;
        border-bottom: 1.5px solid #e2e8f0 !important;
    }
    .std-detail-tabs-nav > li {
        flex: 1 1 auto !important;
    }
    .std-detail-tabs-nav > li > a {
        font-size: 12.5px !important;
        padding: 9px 10px !important;
        text-align: center !important;
        border-radius: 8px 8px 0 0 !important;
        white-space: nowrap !important;
    }
    .std-detail-tabs-content {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
    }
    .std-detail-datasheet-box {
        padding: 16px 12px !important;
        border-radius: 10px !important;
    }
    .std-detail-download-btn {
        width: 100% !important;
        padding: 11px 16px !important;
    }
}
