/* ==========================================================================
   HAFE MALL SUPERSTORE - EXACT STYLING & PDP REPLICATION
   ========================================================================== */

:root {
    --hafe-navy: #0f2942;
    --hafe-blue: #0052cc;
    --hafe-blue-hover: #0040a8;
    --hafe-red: #e30613;
    --hafe-dark: #121820;
    --hafe-gray-bg: #f8fafc;
    --hafe-border: #e2e8f0;
    --hafe-text: #2d3748;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background-color: #ffffff;
    color: var(--hafe-text);
    margin: 0;
    padding: 0;
}

.hafe-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* --- 1. PREHEADER --- */
.hafe-preheader {
    background-color: #0c1f32;
    color: #cbd5e1;
    font-size: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hafe-preheader-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hafe-preheader a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s;
}

.hafe-preheader a:hover {
    color: #fbbf24;
}

.preheader-sep {
    margin: 0 8px;
    color: #475569;
}

.preheader-phone {
    color: #f87171 !important;
    font-weight: 700;
}

/* --- 2. MAIN HEADER --- */
.hafe-main-header {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 100;
}

.hafe-main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hafe-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hafe-mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--hafe-navy);
    border-radius: 2px;
}

.hafe-search-container {
    flex: 1;
    max-width: 380px;
}

.hafe-search-form {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hafe-search-input {
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 48px 0 18px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 24px !important;
    font-size: 14px !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    line-height: normal !important;
}

.hafe-search-input:focus {
    border-color: #0046be !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 70, 190, 0.15) !important;
    outline: none !important;
}

.hafe-search-btn {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    border-radius: 50% !important;
    background: #0046be !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0, 70, 190, 0.25) !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
}

.hafe-search-btn:hover {
    background: #041e42 !important;
    transform: translateY(-50%) scale(1.05) !important;
}

.hafe-search-btn svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
    stroke-width: 2.2 !important;
    fill: none !important;
    margin: 0 auto !important;
}

.hafe-logo-container {
    text-align: center;
    flex: 0 0 auto;
}

.hafe-logo-img {
    max-height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.hafe-actions-container {
    display: flex;
    align-items: center;
    gap: 22px;
}

.hafe-action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--hafe-navy);
}

.hafe-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hafe-navy);
    position: relative;
}

.hafe-cart-badge-wrap {
    background: #eff6ff;
    color: var(--hafe-blue);
}

.hafe-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--hafe-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hafe-action-text {
    display: flex;
    flex-direction: column;
}

.action-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #64748b;
}

.action-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--hafe-navy);
}

/* --- 3. NAVBAR --- */
.hafe-navbar {
    background-color: var(--hafe-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hafe-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hafe-nav-menu > li > a {
    display: block;
    padding: 14px 14px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.hafe-nav-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
}

.nav-highlight {
    background-color: #c9000b !important;
    border-radius: 4px;
    margin: 6px 0;
    padding: 8px 14px !important;
}

.nav-highlight:hover {
    background-color: #a80009 !important;
}

.nav-item.has-dropdown {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    min-width: 240px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    display: none;
    z-index: 999;
}

.nav-item.has-dropdown:hover .sub-menu {
    display: block;
}

.sub-menu li a {
    display: block;
    padding: 9px 18px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}

.sub-menu li a:hover {
    background: #eff6ff;
    color: var(--hafe-blue);
    padding-left: 22px;
}

/* --- 4. HERO SLIDER --- */
.hafe-hero-slider-section {
    position: relative;
    background: #000;
    overflow: hidden;
}

.hafe-slider-container {
    position: relative;
    width: 100%;
}

.hafe-slides-wrap {
    position: relative;
    width: 100%;
    min-height: 260px;
}

.hafe-slide {
    display: none;
    width: 100%;
}

.hafe-slide.active {
    display: block;
}

.slider-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 14px 16px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
    transition: background 0.2s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s;
}

.slider-dots .dot.active {
    background: #ffffff;
    width: 28px;
    border-radius: 6px;
}

/* --- 5. ROTATING PROMOS --- */
.hafe-promo-tiles-section {
    padding: 30px 0;
    background: #ffffff;
}

.hafe-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.promo-tile a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-tile a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.promo-tile img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- 6. CATEGORIES --- */
.hafe-category-section {
    padding: 40px 0;
    background: #f8fafc;
}

.hafe-section-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--hafe-navy);
    text-align: center;
    margin-bottom: 24px;
}

.hafe-cat-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hafe-cat-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.2s ease;
}

.hafe-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.hafe-cat-card a {
    text-decoration: none;
    display: block;
    padding: 24px 16px;
}

.cat-img-wrap img {
    height: 160px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 16px;
}

.cat-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--hafe-navy);
    margin: 0;
}

/* --- 7. FEATURED PRODUCTS (HOMEPAGE) --- */
.hafe-products-section {
    padding: 50px 0;
    background: #ffffff;
}

.hafe-section-sub {
    text-align: center;
    color: #64748b;
    margin: -16px 0 30px;
    font-size: 15px;
}

.hafe-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hafe-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.hafe-product-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

.p-thumb-wrap {
    position: relative;
    padding: 20px;
    background: #ffffff;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.p-thumb-wrap img {
    height: 190px;
    width: 100%;
    object-fit: contain;
}

.badge-stock {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #10b981;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-rebate {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--hafe-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}

.p-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p-model {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 6px;
}

.p-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    margin: 0 0 8px;
}

.p-title a {
    color: var(--hafe-navy);
    text-decoration: none;
}

.p-title a:hover {
    color: var(--hafe-blue);
}

.p-rating {
    color: #f59e0b;
    font-size: 13px;
    margin-bottom: 10px;
}

.rating-num {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.p-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 14px;
}

.p-sale-price {
    font-size: 19px;
    font-weight: 800;
    color: #0f2942;
}

.p-regular-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.p-action-btns {
    display: flex;
    gap: 8px;
}

.hafe-btn-add-cart {
    flex: 1;
    background: var(--hafe-blue);
    color: #ffffff;
    text-align: center;
    padding: 9px 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.15s;
}

.hafe-btn-add-cart:hover {
    background: var(--hafe-blue-hover);
}

.hafe-btn-details {
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.15s;
}

.hafe-btn-details:hover {
    background: #f1f5f9;
    color: var(--hafe-navy);
}

/* --- 8. BRANDS CAROUSEL --- */
.hafe-brands-section {
    padding: 40px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.hafe-brands-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.brand-item img {
    height: 38px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.2s;
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- 9. WHY SHOP WITH US BANNER --- */
.hafe-why-us-section {
    padding: 30px 0 50px;
}

.why-us-banner-box {
    background: linear-gradient(135deg, #0f2942 0%, #1e3a5f 100%);
    border-radius: 12px;
    padding: 40px 50px;
    color: #ffffff;
    text-align: center;
}

.why-us-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
}

.why-us-content p {
    font-size: 15px;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.hafe-btn-cta {
    display: inline-block;
    background: var(--hafe-red);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.15s;
}

.hafe-btn-cta:hover {
    background: #c50510;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) - hafe EXACT REPLICATION
   ========================================================================== */
.hafe-single-product-wrapper {
    background: #ffffff;
    padding-bottom: 60px;
}

.hafe-product-breadcrumb {
    background: #ffffff;
    padding: 14px 0;
    font-size: 13px;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
}

.hafe-product-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.hafe-product-breadcrumb a:hover {
    color: var(--hafe-blue);
}

.bc-sep {
    margin: 0 8px;
    color: #cbd5e1;
}

.bc-model {
    color: #0f2942;
    font-weight: 600;
}

.hafe-product-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(380px, 440px) !important;
    gap: 36px !important;
    padding-top: 24px !important;
    align-items: start !important;
}

.hafe-product-left {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
}

.hafe-pdp-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: #121820;
    margin: 0 0 12px;
}

.hafe-pdp-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.hafe-pdp-brand-img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.hafe-pdp-brand-name {
    font-weight: 700;
    color: var(--hafe-navy);
    font-size: 14px;
}

.hafe-pdp-model {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.hafe-pdp-badges-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.badge-tag-rebate {
    background: #f59e0b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-tag-stock {
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}

.badge-tag-delivery {
    background: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}

/* Gallery: Left Rail + Center Image (Compact & Balanced) */
.hafe-pdp-gallery-wrap {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    align-items: flex-start;
}

.hafe-pdp-thumbnails {
    width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.thumb-nav-arrow {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 11px;
    color: #64748b;
    cursor: pointer;
    width: 64px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
    line-height: 1;
}

.thumb-nav-arrow:hover {
    background: #0f2942;
    color: #ffffff;
    border-color: #0f2942;
}

.thumb-nav-arrow.disabled,
.thumb-nav-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    background: #f8fafc;
    color: #94a3b8;
}

.hafe-thumb-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 352px; /* Fits exactly 5 thumbnails (5 * 64px + 4 * 8px = 352px) without stretching */
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 2px;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hafe-thumb-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.thumb-box {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.15s ease;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thumb-box:hover {
    border-color: #0f2942;
}

.thumb-box.active {
    border: 2px solid #0f2942;
    box-shadow: 0 0 0 1px #0f2942;
}

.thumb-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hafe-pdp-main-image-container {
    flex: 1;
    height: 420px;
    min-height: 420px;
    max-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 24px 40px;
    background: #ffffff;
    box-sizing: border-box;
}

.hafe-pdp-main-image-container img#hafePdpMainImg {
    max-height: 330px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto 0;
    transition: opacity 0.15s ease;
}

.hafe-pdp-wishlist-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    transition: color 0.15s;
    z-index: 5;
}

.hafe-pdp-wishlist-icon:hover, .hafe-pdp-wishlist-icon.active {
    color: var(--hafe-red);
}

.hafe-pdp-wishlist-icon.active svg {
    fill: var(--hafe-red);
}

.hafe-pdp-feature-banner {
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: 16px;
    background: #0f2942;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 7px 12px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* Buy Box (Right Column) */
.hafe-product-right {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
}

.hafe-buybox-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.hafe-buybox-price {
    margin-bottom: 10px;
}

.price-big {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
}

.price-was-row {
    font-size: 14px;
    margin-top: 4px;
}

.was-amt {
    color: #6b7280;
    text-decoration: line-through;
    margin-right: 10px;
}

.save-amt {
    color: #16a34a;
    font-weight: 700;
}

.hafe-buybox-wishlist-link {
    margin-bottom: 14px;
}

.hafe-buybox-wishlist-link a {
    color: var(--hafe-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.hafe-buybox-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.stock-indicator {
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
}

/* Color Swatches */
.hafe-buybox-color {
    margin-bottom: 18px;
}

.color-title {
    font-size: 13px;
    color: #374151;
    margin-bottom: 8px;
}

.color-swatches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-swatch-box {
    width: 38px;
    height: 38px;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 2px;
    cursor: pointer;
    box-sizing: border-box;
}

.color-swatch-box.active {
    border-color: #111827;
}

.swatch-fill {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* Warranty Card */
.hafe-buybox-warranty {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 18px;
    transition: all 0.15s;
}

.hafe-buybox-warranty:hover {
    border-color: var(--hafe-blue);
    background: #f8fafc;
}

.warranty-inner-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.warranty-shield {
    font-size: 20px;
}

.warranty-inner-left strong {
    font-size: 13px;
    color: #111827;
    display: block;
}

.warranty-inner-left p {
    margin: 2px 0 0;
    font-size: 11px;
    color: #6b7280;
}

.warranty-arrow {
    font-size: 20px;
    color: #94a3b8;
}

/* Parts & Addons */
.hafe-buybox-parts {
    margin-bottom: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.parts-heading {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
}

.parts-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: #374151;
    margin-bottom: 8px;
    cursor: pointer;
}

.parts-desc {
    flex: 1;
}

.parts-cost {
    font-weight: 700;
    color: #111827;
}

.info-bubble {
    color: #94a3b8;
    margin-left: 2px;
}

/* Quantity & Add to Cart */
.pdp-qty-btn-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.pdp-qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0 6px;
}

.stepper-btn {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    padding: 8px 6px;
}

.stepper-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-right: 4px;
}

.stepper-val {
    width: 30px !important;
    text-align: center !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hafe-pdp-btn-add-cart {
    flex: 1;
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    padding: 12px 20px !important;
    transition: background 0.15s !important;
}

.hafe-pdp-btn-add-cart:hover {
    background: #222222 !important;
}

/* Need More Info */
.hafe-pdp-more-info {
    text-align: center;
    margin-bottom: 18px;
}

.more-info-text {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
    display: block;
}

.hafe-pdp-btn-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 1px solid #111827;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    padding: 10px 16px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.15s;
}

.hafe-pdp-btn-info:hover {
    background: #f8fafc;
}

/* Trust List */
.hafe-pdp-trust-list {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #4b5563;
}

/* --- TABS SECTION --- */
.hafe-pdp-tabs-container {
    margin-top: 50px;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.hafe-pdp-tabs-nav {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
    overflow-x: auto;
}

.tab-link {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}

.tab-link:hover {
    color: var(--hafe-navy);
}

.tab-link.active {
    color: var(--hafe-blue);
    border-bottom-color: var(--hafe-blue);
}

.pdp-tab-pane {
    display: none;
}

.pdp-tab-pane.active {
    display: block;
}

.pdp-tab-pane h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--hafe-navy);
    margin: 0 0 16px;
}

.pdp-body-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.pdp-grid-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.highlight-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.highlight-card h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--hafe-navy);
}

.highlight-card p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.pdp-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.pdp-specs-table th, .pdp-specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.pdp-specs-table th {
    width: 32%;
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
    text-align: left;
}

.pdp-specs-table td {
    color: #111827;
}

.pdp-bullet-list {
    padding-left: 20px;
    color: #374151;
    font-size: 14px;
    line-height: 1.8;
}

.pdp-reviews-summary {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.rating-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--hafe-navy);
}

.rating-stars {
    color: #f59e0b;
    font-size: 20px;
}

.rating-total {
    font-size: 13px;
    color: #64748b;
}

.pdp-review-card {
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 0;
}

.r-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
}

.r-stars {
    color: #f59e0b;
}

.r-date {
    color: #94a3b8;
}

.pdp-review-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* --- FOOTER STYLES --- */
.hafe-footer {
    background: #0f2942;
    color: #cbd5e1;
    padding-top: 40px;
}

.hafe-newsletter-section {
    background: #14375a;
    padding: 30px 0;
    margin-top: -40px;
    margin-bottom: 40px;
}

.hafe-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.newsletter-text h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.newsletter-text p {
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
}

.hafe-newsletter-form {
    display: flex;
    gap: 10px;
}

.hafe-newsletter-form input {
    width: 280px !important;
    height: 42px !important;
    border-radius: 4px !important;
    border: none !important;
    padding: 0 16px !important;
    font-size: 13px !important;
}

.hafe-newsletter-form button {
    background: var(--hafe-red) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
}

.hafe-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-store-name {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-address, .footer-phone, .footer-email, .footer-intro-tag {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 8px;
}

.hafe-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s;
}

.hafe-footer a:hover {
    color: #ffffff;
}

.footer-check-list, .footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-check-list li {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    line-height: 1.4;
}

.footer-nav-list li {
    margin-bottom: 8px;
}

.footer-nav-list li a {
    font-size: 13px;
    color: #94a3b8;
}

.footer-hours-box {
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 14px;
    border-radius: 6px;
    border-left: 3px solid #38bdf8;
}

.footer-hours-box h5 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-hours-box p {
    margin: 0 0 4px;
    font-size: 12px;
    color: #94a3b8;
}

.hafe-footer-bottom {
    padding: 30px 0;
}

.hafe-plaque-wrap {
    text-align: center;
    margin-bottom: 20px;
}

.hafe-partner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 14px 28px;
    text-align: center;
}

.badge-star {
    color: #f59e0b;
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.hafe-partner-badge strong {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
}

.plaque-caption {
    font-size: 12px;
    color: #94a3b8;
    margin: 4px 0 0;
}

.hafe-disclaimer-text {
    font-size: 11px;
    color: #64748b;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px;
}

.hafe-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #152438;
}

.copyright-text {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.footer-legal-links a {
    font-size: 12px;
    color: #94a3b8;
}

.footer-legal-links span {
    margin: 0 8px;
    color: #334155;
}

.hafe-badges-row {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-item {
    background: #112030;
    color: #cbd5e1;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #1e334d;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 1024px) {
    .hafe-product-layout {
        gap: 24px;
    }
    .hafe-product-left {
        flex: 0 0 55%;
        max-width: 55%;
    }
    .hafe-product-right {
        flex: 0 0 45%;
        max-width: 45%;
    }
    .hafe-cat-cards-grid, .hafe-products-grid, .hafe-promo-grid, .hafe-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hafe-preheader {
        display: none;
    }
    .hafe-main-header {
        padding: 10px 0;
    }
    .hafe-main-header-inner {
        flex-wrap: wrap;
    }
    .hafe-mobile-toggle {
        display: flex;
        order: 1;
    }
    .hafe-logo-container {
        order: 2;
        max-width: 140px;
    }
    .hafe-logo-img {
        max-height: 40px;
    }
    .hafe-actions-container {
        order: 3;
        gap: 12px;
    }
    .hafe-action-item.hafe-phone-item .hafe-action-text {
        display: none;
    }
    .hafe-search-container {
        order: 4;
        max-width: 100%;
        width: 100%;
        margin-top: 8px;
    }
    .hide-on-mobile {
        display: none !important;
    }
    .hafe-navbar {
        display: none;
        background: #0f2942;
    }
    .hafe-navbar.mobile-active {
        display: block;
    }
    .hafe-nav-menu {
        flex-direction: column;
        align-items: stretch;
    }
    .hafe-nav-menu > li > a {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #ffffff;
    }
    .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: #081726;
        display: none;
        padding: 4px 0 6px 16px;
    }
    .nav-item.has-dropdown.mobile-open .sub-menu {
        display: block;
    }

    /* PDP Mobile Responsive */
    .hafe-product-layout {
        flex-direction: column;
        gap: 24px;
    }
    .hafe-product-left, .hafe-product-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .hafe-pdp-title {
        font-size: 20px;
    }
    .hafe-pdp-gallery-wrap {
        flex-direction: column-reverse;
    }
    .hafe-pdp-thumbnails {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    .hafe-thumb-scroll {
        flex-direction: row;
        overflow-x: auto;
    }
    .thumb-nav-arrow {
        display: none;
    }
    .hafe-pdp-main-image-container {
        min-height: 280px;
        padding: 12px;
    }
    .hafe-pdp-main-image-container img {
        max-height: 260px;
    }
    .pdp-grid-highlights {
        grid-template-columns: 1fr;
    }
    .hafe-cat-cards-grid, .hafe-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hafe-footer-grid, .hafe-promo-grid {
        grid-template-columns: 1fr;
    }
    .hafe-copyright-row {
        flex-direction: column;
        text-align: center;
    }
}
/* ==========================================================================
   HAFE MALL - FILCO SUPERSTORE CATALOG & ARCHIVE EXACT REPLICATION
   ========================================================================== */

.hafe-catalog-wrapper {
    background-color: #F4F4F5;
    min-height: 80vh;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #18181B;
}

.hafe-catalog-breadcrumbs-container {
    background-color: #ffffff;
    border-bottom: 1px solid #E4E4E7;
    padding: 10px 0;
    font-size: 0.85rem;
}

.hafe-catalog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #71717A;
}

.hafe-catalog-breadcrumbs a {
    color: #52525B;
    text-decoration: none;
    transition: color 0.2s;
}

.hafe-catalog-breadcrumbs a:hover {
    color: #0c1f32;
    text-decoration: underline;
}

.hafe-bc-sep {
    color: #A1A1AA;
}

.hafe-bc-current {
    color: #0c1f32;
    font-weight: 700;
}

/* Category Header Section */
.hafe-catalog-header-section {
    background-color: #ffffff;
    border-bottom: 1px solid #E4E4E7;
    padding: 1.75rem 0 1rem 0;
}

.hafe-cat-main-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0c1f32;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.hafe-cat-tagline {
    font-size: 1rem;
    color: #52525B;
    margin: 0;
    max-width: 850px;
    line-height: 1.5;
}

/* Controls Bar */
.hafe-catalog-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #F4F4F5;
}

.hafe-controls-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hafe-mobile-filter-trigger {
    display: none;
    align-items: center;
    gap: 8px;
    background-color: #0c1f32;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.hafe-mobile-filter-trigger:hover {
    background-color: #cf0909;
}

.hafe-results-count {
    font-size: 0.95rem;
    color: #52525B;
}

.hafe-results-count strong {
    color: #0c1f32;
    font-weight: 700;
}

.hafe-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #52525B;
}

.hafe-sort-wrap label {
    font-weight: 600;
    color: #18181B;
}

.hafe-sort-select {
    padding: 7px 12px;
    border: 1px solid #D4D4D8;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0c1f32;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.hafe-sort-select:focus {
    border-color: #0c1f32;
}

/* Main Layout Grid */
.hafe-catalog-layout {
    display: flex;
    gap: 1.75rem;
    padding: 1.75rem 0 3.5rem 0;
    align-items: flex-start;
}

/* Left Sidebar */
.hafe-catalog-sidebar {
    width: 270px;
    flex-shrink: 0;
}

.hafe-sidebar-inner {
    background: #ffffff;
    border: 1px solid #E4E4E7;
    border-radius: 8px;
    padding: 1.25rem;
}

.hafe-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #E4E4E7;
    margin-bottom: 1rem;
}

.hafe-filter-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0c1f32;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hafe-sidebar-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hafe-clear-filters-btn {
    background: none;
    border: none;
    color: #cf0909;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.hafe-clear-filters-btn:hover {
    color: #990000;
}

.hafe-sidebar-close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #71717A;
    cursor: pointer;
}

/* Filter Groups */
.hafe-filter-group {
    padding: 1rem 0;
    border-bottom: 1px solid #F4F4F5;
}

.hafe-filter-group:last-of-type {
    border-bottom: none;
}

.hafe-filter-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0c1f32;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hafe-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* In Stock Switch */
.hafe-stock-toggle-group {
    background: #F8FAFC;
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid #E2E8F0;
}

.hafe-switch-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    margin: 0;
}

.hafe-switch-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0c1f32;
}

.hafe-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.hafe-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.hafe-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CBD5E1;
    transition: .3s;
    border-radius: 24px;
}

.hafe-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .hafe-slider {
    background-color: #15803D;
}

input:checked + .hafe-slider:before {
    transform: translateX(20px);
}

/* Checkboxes & Radios */
.hafe-checkbox-item, .hafe-radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #3F3F46;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
    margin: 0;
}

.hafe-checkbox-item:hover, .hafe-radio-item:hover {
    color: #0c1f32;
}

.hafe-checkbox-item input, .hafe-radio-item input {
    cursor: pointer;
    accent-color: #0c1f32;
    width: 16px;
    height: 16px;
}

/* Color Swatches */
.hafe-finish-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hafe-finish-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #D4D4D8;
    background: #ffffff;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3F3F46;
    cursor: pointer;
    transition: all 0.2s;
}

.hafe-finish-btn:hover {
    border-color: #0c1f32;
}

.hafe-finish-btn.active {
    border-color: #0c1f32;
    background: #0c1f32;
    color: #ffffff;
}

.hafe-swatch-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.hafe-swatch-ss {
    background: linear-gradient(135deg, #e0e0e0 0%, #9e9e9e 100%);
    border: 1px solid #999;
}

.hafe-swatch-blk {
    background: #222222;
}

.hafe-swatch-wht {
    background: #ffffff;
    border: 1px solid #ccc;
}

/* Sidebar Help Card */
.hafe-sidebar-help-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1.25rem;
    text-align: center;
}

.hafe-shc-icon {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.hafe-shc-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0c1f32;
    margin-bottom: 0.25rem;
}

.hafe-shc-desc {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.hafe-shc-phone {
    display: inline-block;
    background: #0c1f32;
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}

.hafe-shc-phone:hover {
    background: #cf0909;
    color: #ffffff;
}

/* Products Main Area */
.hafe-catalog-main {
    flex: 1;
    min-width: 0;
}

.hafe-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Product Card - Filco Superstore Exact */
.hafe-product-card {
    background: #ffffff;
    border: 1px solid #E4E4E7;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hafe-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border-color: #CBD5E1;
}

/* Card Badges Row */
.hafe-card-badges-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    min-height: 24px;
}

.hafe-card-badges-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hafe-badge-rebate {
    background-color: #cf0909;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.hafe-badge-stock {
    background-color: #E8F5E9;
    color: #15803D;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.hafe-card-wishlist-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: #94A3B8;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 0;
}

.hafe-card-wishlist-btn:hover {
    color: #cf0909;
    transform: scale(1.15);
}

/* Card Thumbnail */
.hafe-card-thumb-link {
    display: block;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    background: #F8FAFC;
    text-align: center;
}

.hafe-card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
    padding: 0.5rem;
}

.hafe-product-card:hover .hafe-card-thumb-img {
    transform: scale(1.05);
}

/* Card Brand & SKU */
.hafe-card-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
}

.hafe-card-brand-name {
    font-weight: 800;
    color: #0c1f32;
    letter-spacing: 0.5px;
}

.hafe-card-model-sku {
    color: #94A3B8;
    font-weight: 600;
}

/* Card Title */
.hafe-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.5rem 0;
    height: 2.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hafe-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.hafe-card-title a:hover {
    color: #cf0909;
}

/* Ratings */
.hafe-card-rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.hafe-stars {
    color: #F59E0B;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.hafe-rating-num {
    font-weight: 700;
    color: #18181B;
}

.hafe-rating-count {
    color: #71717A;
}

/* Price Box */
.hafe-card-price-box {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #F1F5F9;
}

.hafe-card-was-row {
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 2px;
}

.hafe-was-price {
    text-decoration: line-through;
    color: #94A3B8;
    font-weight: 600;
}

.hafe-card-sale-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0c1f32;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hafe-card-savings-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: #15803D;
    margin-top: 3px;
}

/* Card Action Buttons */
.hafe-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 0.85rem;
}

.hafe-btn-add-to-cart {
    flex: 1;
    background-color: #0c1f32;
    color: #ffffff !important;
    text-align: center;
    padding: 9px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color 0.2s;
    display: inline-block;
    border: none;
}

.hafe-btn-add-to-cart:hover {
    background-color: #cf0909;
    color: #ffffff !important;
}

.hafe-btn-details {
    background-color: #F1F5F9;
    color: #334155 !important;
    padding: 9px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
}

.hafe-btn-details:hover {
    background-color: #E2E8F0;
    color: #0c1f32 !important;
}

/* Card Perk */
.hafe-card-perk-row {
    margin-top: 0.65rem;
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 600;
}

/* Empty Catalog State */
.hafe-no-products-found {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px solid #E4E4E7;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
}

.hafe-no-products-found h3 {
    font-size: 1.5rem;
    color: #0c1f32;
    margin-bottom: 0.5rem;
}

.hafe-no-products-found p {
    color: #64748B;
    max-width: 500px;
    margin: 0 auto;
}

/* Bottom Consultation Banner */
.hafe-catalog-expert-banner {
    background: linear-gradient(135deg, #0c1f32 0%, #173654 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.hafe-ceb-left h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 0.35rem 0;
    color: #ffffff;
}

.hafe-ceb-left p {
    font-size: 0.95rem;
    color: #CBD5E1;
    margin: 0;
    max-width: 600px;
}

.hafe-ceb-right {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.hafe-btn-expert-call {
    background-color: #cf0909;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s;
}

.hafe-btn-expert-call:hover {
    background-color: #b00707;
    color: #ffffff;
}

.hafe-btn-expert-quote {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: background 0.2s;
}

.hafe-btn-expert-quote:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE CATALOG STYLES
   ========================================================================== */

@media (max-width: 1200px) {
    .hafe-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hafe-mobile-filter-trigger {
        display: inline-flex;
    }

    .hafe-catalog-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        z-index: 99999;
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 35px rgba(0, 0, 0, 0.35);
    }

    .hafe-catalog-sidebar.active {
        left: 0;
    }

    .hafe-sidebar-inner {
        border: none;
        border-radius: 0;
        min-height: 100vh;
        padding-top: 1.5rem;
    }

    .hafe-sidebar-close-btn {
        display: block;
    }

    .hafe-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 99998;
        backdrop-filter: blur(2px);
    }

    .hafe-sidebar-overlay.active {
        display: block;
    }

    .hafe-catalog-expert-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hafe-ceb-right {
        width: 100%;
        flex-direction: column;
    }

    .hafe-btn-expert-call, .hafe-btn-expert-quote {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .hafe-cat-main-title {
        font-size: 1.75rem;
    }

    .hafe-catalog-grid {
        grid-template-columns: 1fr;
    }

    .hafe-catalog-controls-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .hafe-controls-right {
        width: 100%;
    }

    .hafe-sort-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .hafe-sort-select {
        flex: 1;
    }
}


/* ==========================================================================
   HAFE MALL / FILCO-EXACT: REVIEW SHOPPING CART & CHECKOUT STYLES
   ========================================================================== */

/* Page Wrapper & Flatsome Reset */
.woocommerce-cart .page-wrapper,
.woocommerce-checkout .page-wrapper {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
    max-width: 100% !important;
}

.woocommerce-cart .checkout-breadcrumbs,
.woocommerce-checkout .checkout-breadcrumbs {
    display: none !important;
}

/* Hide default Flatsome cart title wrapper if present */
.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
    display: none !important;
}

/* Outer Container */
.Cart_cart-outer-box,
.Checkout_checkout-outer-box {
    max-width: 1380px !important;
    margin: 0 auto !important;
    padding: 20px 24px 60px !important;
    font-family: inherit;
    box-sizing: border-box;
}

/* Header Box */
.Cart_cart-header-box,
.Checkout_checkout-header-box {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 20px;
    border-bottom: 1px solid #d4d4d8;
    margin-bottom: 35px;
}

.Cart_cart-header,
.Checkout_checkout-header {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 !important;
    letter-spacing: -0.5px;
}

.Cart_header-item-count {
    font-size: 15px;
    color: #666;
    font-weight: 600;
}

/* Empty Cart State */
.Cart_cart-empty-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 100px;
    text-align: center;
}

.Cart_cart-empty {
    max-width: 580px;
    margin: 0 auto;
}

.Cart_empty-icon-wrap {
    margin-bottom: 24px;
}

.Cart_empty-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 12px !important;
}

.Cart_empty-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 28px;
}

.Cart_empty-actions .hafe-checkout-btn {
    display: inline-block;
    max-width: 260px;
    margin: 0 auto;
}

.Cart_empty-quick-categories {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.Cart_quick-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.75px;
    color: #888;
    margin-bottom: 12px;
}

.Cart_quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.Cart_quick-links a {
    background: #f3f4f6;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.Cart_quick-links a:hover {
    background: #000;
    color: #fff;
}

/* Cart Main 2-Column Layout */
.Cart_cart-main-box,
.Checkout_checkout-main-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.Cart_cart-content-box,
.Checkout_checkout-forms-box {
    flex: 1 1 64%;
    max-width: 64%;
    min-width: 0;
}

.Cart_cart-pricing-box,
.Checkout_checkout-pricing-box {
    flex: 0 0 33%;
    max-width: 33%;
    position: sticky;
    top: 90px;
    z-index: 10;
}

/* Cart Items List */
.Cart_items-container {
    border-top: 1px solid #e5e5e5;
}

.CartProduct_cart-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
    align-items: flex-start;
}

.CartProduct_cart-item-image-container {
    width: 120px;
    min-width: 120px;
    height: 120px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
}

.CartProduct_cart-item-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.CartProduct_cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.CartProduct_cart-name-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 6px;
}

.CartProduct_cart-title-wrap {
    flex: 1;
    min-width: 0;
}

.CartProduct_cart-item-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111 !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
    display: block;
    margin: 0 0 4px !important;
}

.CartProduct_cart-item-name:hover {
    text-decoration: underline !important;
    color: #2563eb !important;
}

.CartProduct_cart-item-model {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.Cart_model-sep {
    color: #d1d5db;
}

.CartProduct_cart-item-price-main-box {
    text-align: right;
    white-space: nowrap;
}

.CartProduct_cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #16a34a;
    display: block;
}

.CartProduct_cart-item-msrp {
    font-size: 13px;
    text-decoration: line-through;
    color: #888;
    display: block;
    margin-top: 2px;
}

.CartProduct_cart-item-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 3px 10px;
    border-radius: 4px;
    width: fit-content;
    margin: 8px 0 16px;
}

.Cart_stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
}

.CartProduct_cart-item-bottom-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Quantity Stepper */
.CartProduct_cart-item-quantity-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d4d4d8;
    border-radius: 24px;
    background: #fff;
    padding: 2px 4px;
}

.hafe-qty-minus,
.hafe-qty-plus {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
}

.hafe-qty-minus:hover,
.hafe-qty-plus:hover {
    background: #f3f4f6;
    color: #000;
}

.CartProduct_cart-item-quantity {
    width: 40px !important;
    text-align: center !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}

.CartProduct_cart-item-quantity::-webkit-outer-spin-button,
.CartProduct_cart-item-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.CartProduct_cart-item-item-subtotal {
    font-size: 14px;
    color: #666;
}

.Cart_subtotal-label {
    margin-right: 4px;
}

.Cart_subtotal-amount {
    font-weight: 700;
    color: #111;
    font-size: 16px;
}

.CartProduct_cart-item-remove-button {
    color: #888 !important;
    font-size: 13px !important;
    text-decoration: underline !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: color 0.15s;
}

.CartProduct_cart-item-remove-button:hover {
    color: #dc2626 !important;
}

/* Coupon Box */
.CartPricing_coupon-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 30px;
}

.CartPricing_coupon-code-header {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

.CartPricing_coupon-apply-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
}

.CartPricing_coupon-input {
    flex: 1;
    height: 42px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    background: #fff !important;
    margin: 0 !important;
}

.CartPricing_coupon-apply-button {
    height: 42px !important;
    padding: 0 22px !important;
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.CartPricing_coupon-apply-button:hover {
    background: #2563eb !important;
}

/* Assurance Box */
.Cart_delivery-assurance-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e5e5e5;
}

.Cart_assurance-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
}

.Cart_assurance-icon {
    font-size: 24px;
    line-height: 1;
}

.Cart_assurance-text strong {
    display: block;
    font-size: 14px;
    color: #111;
    margin-bottom: 4px;
}

.Cart_assurance-text span {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Order Summary Card (Cart & Checkout) */
.CartPricing_cart-price-lower-box,
.Checkout_checkout-pricing-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 26px 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    box-sizing: border-box;
}

/* Ensure payment methods never display in right Order Summary */
.Checkout_checkout-pricing-box #payment,
.Checkout_checkout-pricing-box .woocommerce-checkout-payment {
    display: none !important;
}

.CartPricingSummary_cart-summary-header,
.Checkout_summary-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 20px !important;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.CartPricingSummary_cart-summary-pricing-field,
.CheckoutSummary_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 14px;
}

.CartPricingSummary_cart-summary-pricing-field-value,
.CheckoutSummary_row-val {
    font-weight: 600;
    color: #111;
}

.CartPricing_delivery-zip-box {
    background: #f3f4f6;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    color: #4b5563;
    margin: -6px 0 16px;
    display: inline-block;
}

.CartPricingSummary_cart-summary-tax-na {
    color: #888;
    font-size: 13px;
    font-style: italic;
}

.CartPricingSummary_total-row,
.CheckoutSummary_total-row {
    border-top: 4px solid #666666 !important;
    padding-top: 16px !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
}

.CartPricingSummary_cart-summary-pricing-field-name-big,
.CheckoutSummary_row-label-big {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111 !important;
}

.CartPricingSummary_cart-summary-pricing-field-value-big,
.CheckoutSummary_row-val-big {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #111 !important;
}

/* Primary CTA Button */
.hafe-checkout-btn,
#place_order {
    display: block !important;
    width: 100% !important;
    background: #000 !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 16px 20px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18) !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
}

.hafe-checkout-btn:hover,
#place_order:hover {
    background: #2563eb !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37,99,235,0.25) !important;
}

.CartPricing_continue-shopping-link {
    display: block;
    text-align: center;
    color: #4b5563;
    font-size: 14px;
    margin-top: 16px;
    text-decoration: underline;
}

.CartPricing_continue-shopping-link:hover {
    color: #111;
}

/* Support & Security Card */
.CartPricing_expert-support {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    padding: 16px;
    margin-top: 24px;
    text-align: center;
}

.CartPricing_support-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin-bottom: 2px;
}

.CartPricing_support-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.CartPricing_support-phone {
    font-size: 17px;
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.CartPricing_support-phone:hover {
    text-decoration: underline;
}

.CartPricing_support-hours {
    font-size: 11px;
    color: #888;
}

.CartPricing_security-badges {
    margin-top: 22px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    text-align: center;
}

.CartPricing_security-ssl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 12px;
}

.CartPricing_payment-icons {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hafe-pay-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    padding: 3px 6px;
    color: #4b5563;
}

/* Checkout Form Layout */
.CheckoutForms_checkout-form-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.CheckoutForms_checkout-form-box-header {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 22px !important;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.CheckoutForms_step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.Checkout_delivery-perks-box {
    margin-top: 24px;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.Checkout_perk-item {
    font-size: 13px;
    line-height: 1.4;
    color: #4b5563;
}

.Checkout_perk-item strong {
    color: #111;
    display: block;
    margin-bottom: 2px;
}

.Checkout_guarantee-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 25px;
}

.Checkout_guarantee-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 6px;
}

.Checkout_guarantee-text {
    font-size: 13px;
    color: #1e3a8a;
    line-height: 1.5;
    margin: 0;
}

/* WooCommerce Form Elements Customization */
.woocommerce-checkout .form-row {
    margin-bottom: 18px;
    padding: 0;
}

.woocommerce-checkout label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100% !important;
    height: 44px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    background: #fff !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    color: #111 !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout textarea {
    height: 90px !important;
    padding: 12px 14px !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #2563eb !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12) !important;
}

/* Payment Gateways Styling */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

#payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

#payment ul.payment_methods li {
    padding: 16px 20px !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #fff !important;
    margin: 0 !important;
    font-weight: normal;
}

#payment ul.payment_methods li:last-child {
    border-bottom: none !important;
}

#payment ul.payment_methods li label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

#payment ul.payment_methods li input[type="radio"] {
    accent-color: #000;
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

#payment div.payment_box {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 4px !important;
    padding: 14px 16px !important;
    margin-top: 12px !important;
    font-size: 13px !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
}

#payment div.payment_box::before {
    display: none !important;
}

/* Review Order Mini-Cart */
.CheckoutSummary_items-list {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.CheckoutSummary_item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f9fafb;
}

.CheckoutSummary_item:last-child {
    border-bottom: none;
}

.CheckoutSummary_item-thumb {
    width: 56px;
    height: 56px;
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px;
}

.CheckoutSummary_item-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.CheckoutSummary_item-qty-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.CheckoutSummary_item-details {
    flex: 1;
    min-width: 0;
}

.CheckoutSummary_item-name {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.CheckoutSummary_item-meta {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.CheckoutSummary_meta-sep {
    color: #d1d5db;
    margin: 0 4px;
}

.CheckoutSummary_item-price {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

.CheckoutSummary_shipping-row {
    border-top: 1px dashed #e5e7eb;
    border-bottom: 1px dashed #e5e7eb;
    padding: 12px 0;
    margin: 12px 0;
}

.CheckoutSummary_shipping-row ul#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 6px 0 0 0 !important;
}

.CheckoutSummary_shipping-row ul#shipping_method li {
    margin-bottom: 6px;
    font-size: 13px;
}

.Checkout_summary-trust {
    margin-top: 24px;
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.Checkout_trust-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #4b5563;
}

.Checkout_trust-icon {
    font-size: 16px;
}

/* Order Complete / Thank You Page */
.OrderReceived_outer-box {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 40px 20px 80px !important;
}

.OrderReceived_status-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.OrderReceived_icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

.OrderReceived_icon-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 2px solid #bbf7d0;
}

.OrderReceived_icon-failed {
    background: #fef2f2;
    color: #dc2626;
    border: 2px solid #fecaca;
}

.OrderReceived_title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 12px !important;
}

.OrderReceived_desc {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

.OrderReceived_details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 20px;
    text-align: left;
    margin-bottom: 30px;
}

.OrderReceived_grid-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.OrderReceived_grid-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
}

.OrderReceived_grid-val {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.OrderReceived_total {
    color: #16a34a;
}

.OrderReceived_store-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 20px;
    text-align: left;
    margin-top: 25px;
}

.OrderReceived_store-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 8px;
}

.OrderReceived_store-body {
    font-size: 13px;
    color: #1e3a8a;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Responsive Media Queries */
@media (max-width: 960px) {
    .Cart_cart-main-box,
    .Checkout_checkout-main-box {
        flex-direction: column;
        gap: 30px;
    }

    .Cart_cart-content-box,
    .Cart_cart-pricing-box,
    .Checkout_checkout-forms-box,
    .Checkout_checkout-pricing-box {
        flex: 1 1 100%;
        max-width: 100%;
        position: static;
    }

    .Checkout_checkout-main-box {
        flex-direction: column-reverse;
    }

    .OrderReceived_details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .Cart_cart-header,
    .Checkout_checkout-header {
        font-size: 24px !important;
    }

    .CartProduct_cart-item {
        gap: 16px;
    }

    .CartProduct_cart-item-image-container {
        width: 85px;
        min-width: 85px;
        height: 85px;
    }

    .CartProduct_cart-name-box {
        flex-direction: column;
        gap: 8px;
    }

    .CartProduct_cart-item-price-main-box {
        text-align: left;
    }

    .Cart_delivery-assurance-box {
        grid-template-columns: 1fr;
    }

    .CartPricing_coupon-apply-form {
        flex-direction: column;
    }

    .CartPricing_cart-price-lower-box,
    .Checkout_checkout-pricing-box,
    .CheckoutForms_checkout-form-box {
        padding: 20px;
    }

    .OrderReceived_details-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HAFE MALL CATALOG PAGINATION STYLES (Filco Superstore style)
   ========================================================================== */
.hafe-catalog-pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 3rem 0 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #E2E8F0;
    gap: 1rem;
}

.hafe-pagination-info {
    font-size: 0.875rem;
    color: #64748B;
    font-weight: 500;
}

.hafe-pagination-info strong {
    color: #0F172A;
    font-weight: 700;
}

.hafe-pagination-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hafe-pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hafe-pagination-item .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
    gap: 6px;
}

.hafe-pagination-item .page-numbers:hover {
    color: #0046BE;
    border-color: #0046BE;
    background: #F0F7FF;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 70, 190, 0.12);
}

/* Active Page Number */
.hafe-pagination-item .page-numbers.current,
.hafe-pagination-item.active .page-numbers {
    background: #0046BE !important;
    color: #FFFFFF !important;
    border-color: #0046BE !important;
    font-weight: 700;
    cursor: default;
    box-shadow: 0 3px 10px rgba(0, 70, 190, 0.3);
}

.hafe-pagination-item .page-numbers.current:hover {
    transform: none;
}

/* Previous & Next Buttons */
.hafe-pagination-item.is-prev .page-numbers,
.hafe-pagination-item.is-next .page-numbers {
    padding: 0 18px;
    font-weight: 700;
    background: #FFFFFF;
    color: #0F172A;
}

.hafe-pagination-item.is-prev .page-numbers:hover,
.hafe-pagination-item.is-next .page-numbers:hover {
    background: #0046BE;
    color: #FFFFFF;
    border-color: #0046BE;
}

.hafe-pagination-item.is-prev .page-numbers svg,
.hafe-pagination-item.is-next .page-numbers svg {
    transition: transform 0.2s ease;
}

.hafe-pagination-item.is-prev .page-numbers:hover svg {
    transform: translateX(-3px);
}

.hafe-pagination-item.is-next .page-numbers:hover svg {
    transform: translateX(3px);
}

/* Dots */
.hafe-pagination-item.is-dots .page-numbers,
.hafe-pagination-item .page-numbers.dots {
    border: none;
    background: transparent;
    color: #94A3B8;
    min-width: 24px;
    cursor: default;
}

.hafe-pagination-item.is-dots .page-numbers:hover,
.hafe-pagination-item .page-numbers.dots:hover {
    background: transparent;
    border-color: transparent;
    color: #94A3B8;
    transform: none;
    box-shadow: none;
}

@media (max-width: 600px) {
    .hafe-pagination-item .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 8px;
        font-size: 0.875rem;
    }
    .hafe-pagination-item.is-prev .page-numbers,
    .hafe-pagination-item.is-next .page-numbers {
        padding: 0 12px;
    }
}

/* --- HAFE MALL CHECKOUT DECLINED / NOTICE STYLING --- */
.woocommerce-NoticeGroup-checkout {
    width: 100% !important;
    margin-bottom: 24px !important;
}

ul.woocommerce-error {
    background-color: #FEF2F2 !important;
    border: 1px solid #FCA5A5 !important;
    border-left: 5px solid #DC2626 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    color: #991B1B !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08) !important;
    list-style: none !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

ul.woocommerce-error::before {
    content: "⚠️" !important;
    font-size: 20px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

ul.woocommerce-error li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}


/* ==========================================================================
   HAFE MALL PDP - MOBILE ACCORDION & RESPONSIVE TABS SUITE
   Overview & Features | Specifications | Delivery | Reviews
   ========================================================================== */

/* Universal Visibility Helpers */
.hafe-mobile-only {
    display: none !important;
}
.hafe-desktop-only {
    display: block;
}
.hafe-pdp-tabs-nav.hafe-desktop-only {
    display: flex;
}

/* Specs Table Wrap */
.pdp-specs-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Breakpoint <= 768px */
@media (max-width: 768px) {
    .hafe-mobile-only {
        display: flex !important;
    }
    .hafe-desktop-only {
        display: none !important;
    }

    .hafe-pdp-tabs-container {
        margin-top: 24px !important;
        padding-top: 16px !important;
        border-top: 1px solid #e2e8f0;
    }

    /* Mobile Quick Chips Bar */
    .hafe-pdp-mobile-chips {
        display: flex !important;
        gap: 8px;
        overflow-x: auto;
        padding: 4px 2px 14px 2px;
        margin-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hafe-pdp-mobile-chips::-webkit-scrollbar {
        display: none;
    }
    .hafe-chip-btn {
        flex: 0 0 auto;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 24px;
        padding: 7px 14px;
        font-size: 13px;
        font-weight: 600;
        color: #334155;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
        user-select: none;
    }
    .hafe-chip-btn.active,
    .hafe-chip-btn:active {
        background: #0d6efd !important;
        border-color: #0d6efd !important;
        color: #ffffff !important;
        box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3) !important;
    }

    /* Accordion Card Container */
    .hafe-pdp-accordion-card {
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        transition: border-color 0.2s;
    }
    .hafe-pdp-accordion-card:has(.hafe-mobile-acc-header.active) {
        border-color: #cbd5e1;
    }

    /* Accordion Header Button */
    .hafe-mobile-acc-header {
        width: 100%;
        background: #ffffff;
        border: none;
        padding: 14px 16px;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 15px;
        font-weight: 700;
        color: #0f172a;
        transition: background 0.15s ease, color 0.15s ease;
        text-align: left;
        -webkit-tap-highlight-color: transparent;
    }
    .hafe-mobile-acc-header.active {
        background: #f8fafc;
        color: #0d6efd;
        border-bottom: 1px solid #f1f5f9;
    }
    .hafe-mobile-acc-header .acc-header-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .hafe-mobile-acc-header .acc-icon {
        font-size: 16px;
        line-height: 1;
    }
    .hafe-mobile-acc-header .acc-title {
        font-size: 15px;
        letter-spacing: -0.01em;
    }

    /* Accordion Chevron Icon */
    .acc-chevron {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        flex-shrink: 0;
    }
    .acc-chevron::after {
        content: '';
        display: block;
        width: 8px;
        height: 8px;
        border-right: 2px solid #64748b;
        border-bottom: 2px solid #64748b;
        transform: rotate(45deg);
        transition: transform 0.2s ease, border-color 0.2s ease;
        margin-top: -2px;
    }
    .hafe-mobile-acc-header.active .acc-chevron::after {
        transform: rotate(-135deg);
        border-color: #0d6efd;
        margin-top: 3px;
    }

    /* Tab Pane inside Accordion on Mobile */
    .pdp-tab-pane {
        display: none;
        padding: 16px;
        background: #ffffff;
    }
    .pdp-tab-pane.active {
        display: block !important;
        animation: pdpFadeIn 0.2s ease-out;
    }

    @keyframes pdpFadeIn {
        from { opacity: 0; transform: translateY(-4px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Specifications Table Mobile Optimization */
    .pdp-specs-table {
        width: 100% !important;
        table-layout: fixed;
        border-collapse: collapse;
    }
    .pdp-specs-table th {
        width: 40% !important;
        padding: 10px 10px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        background: #f8fafc !important;
        color: #334155 !important;
        vertical-align: top;
        word-break: break-word;
        hyphens: auto;
    }
    .pdp-specs-table td {
        width: 60% !important;
        padding: 10px 10px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        color: #0f172a !important;
        vertical-align: top;
        word-break: break-word;
    }

    /* Highlights & Content on Mobile */
    .pdp-grid-highlights {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 16px !important;
    }
    .highlight-card {
        padding: 14px !important;
    }
    .pdp-body-content {
        font-size: 14px;
        line-height: 1.6;
    }
    .pdp-body-content img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Reviews Mobile Layout */
    .pdp-reviews-summary {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        margin-bottom: 16px !important;
    }
    .pdp-review-card {
        padding: 14px 12px !important;
        margin-bottom: 12px !important;
    }
    .pdp-review-card .r-top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }
}
/* ==========================================================================
   HAFE MALL SUPERSTORE - HIGH-CONVERTING PDP CRO & LUXURY STYLING
   ========================================================================== */

/* 1. Top Badges & Meta */
.hafe-pdp-top-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.hafe-pill-hot {
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.hafe-pill-rebate {
    background: #fef08a;
    color: #854d0e;
    border: 1px solid #fde047;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.hafe-pill-auth {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.hafe-pdp-rating-anchor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    margin-left: 14px;
    font-size: 13px;
    color: #475569;
    transition: color 0.15s;
}

.hafe-pdp-rating-anchor:hover {
    color: #0046be;
}

.pdp-stars-gold {
    color: #f59e0b;
    font-size: 15px;
    letter-spacing: 1px;
}

.pdp-rating-val {
    font-weight: 800;
    color: #1e293b;
}

.pdp-rating-count {
    color: #64748b;
    text-decoration: underline;
}

/* 2. Gallery Badges & Highlights */
.hafe-gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0046be;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 70, 190, 0.25);
}

.hafe-pdp-highlights-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.hl-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hl-icon {
    font-size: 20px;
    line-height: 1;
}

.hl-item strong {
    display: block;
    font-size: 12.5px;
    color: #0f172a;
    font-weight: 700;
}

.hl-item p {
    margin: 2px 0 0 0;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.35;
}

/* 3. Buy Box Enhancements */
.hafe-buybox-urgency-banner {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-left: 3px solid #f97316;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #9a3412;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.urgency-pulse {
    width: 8px;
    height: 8px;
    background: #ea580c;
    border-radius: 50%;
    animation: pulseUrgency 1.5s infinite;
}

@keyframes pulseUrgency {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(234, 88, 12, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.price-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hafe-discount-badge {
    background: #dc2626;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

.hafe-financing-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    color: #334155;
    margin: 10px 0 14px;
}

.hafe-financing-box strong {
    color: #0046be;
}

.stock-indicator-pulse {
    width: 10px;
    height: 10px;
    background: #16a34a;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.stock-dispatch-badge {
    background: #f0fdf4;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    border: 1px solid #bbf7d0;
    margin-left: auto;
}

/* Fast Delivery Estimator */
.hafe-delivery-estimator {
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.de-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.de-icon {
    font-size: 20px;
    line-height: 1;
}

.de-info strong {
    font-size: 13px;
    color: #1e3a8a;
    display: block;
}

.de-highlight {
    color: #0046be;
    font-weight: 800;
}

.de-info p {
    margin: 3px 0 0 0;
    font-size: 12px;
    color: #475569;
}

.de-timer {
    font-weight: 700;
    color: #d97706;
}

/* Protection Plan Box */
.hafe-warranty-selector {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 16px;
    background: #fafbfc;
}

.warranty-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #1e293b;
    margin-bottom: 10px;
}

.warranty-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.warranty-option:hover {
    border-color: #0046be;
}

.warranty-option.active {
    border-color: #0046be;
    background: #f0f7ff;
}

.w-opt-content {
    flex: 1;
}

.w-opt-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}

.w-opt-desc {
    font-size: 11px;
    color: #64748b;
}

.w-opt-price {
    font-size: 11.5px;
    font-weight: 800;
    color: #0046be;
}

/* Dual Call-to-Action Buttons */
.hafe-pdp-btn-add-cart {
    background: #ffe000 !important;
    color: #001e73 !important;
    border: 1px solid #e6ca00 !important;
    border-radius: 6px !important;
    height: 48px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    transition: all 0.15s ease !important;
}

.hafe-pdp-btn-add-cart:hover {
    background: #ffd000 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255, 208, 0, 0.4) !important;
}

.hafe-pdp-btn-buy-now {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #0046be 0%, #002c77 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 14px rgba(0, 70, 190, 0.35);
    transition: all 0.18s ease;
}

.hafe-pdp-btn-buy-now:hover {
    background: linear-gradient(135deg, #003899 0%, #001e54 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 70, 190, 0.45);
}

/* Payment Badges & SSL */
.hafe-security-badges-box {
    margin: 16px 0;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
}

.ssl-lock-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.payment-card-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pay-badge {
    display: inline-block;
    padding: 2px 7px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    font-size: 10.5px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.3px;
}

.pay-badge.visa { color: #1a1f71; }
.pay-badge.mc { color: #eb001b; }
.pay-badge.amex { color: #006fcf; }
.pay-badge.disc { color: #f97316; }
.pay-badge.apple { color: #000000; }
.pay-badge.pp { color: #003087; }

/* 4-Pillar Trust Grid */
.hafe-pdp-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.trust-tile {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
}

.t-icon {
    font-size: 18px;
    line-height: 1;
}

.t-text strong {
    display: block;
    font-size: 12px;
    color: #0f172a;
    font-weight: 700;
}

.t-text span {
    font-size: 11px;
    color: #64748b;
    display: block;
    line-height: 1.3;
}

/* Floating Sticky Buy Bar */
.hafe-sticky-cart-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-top: 2px solid #0046be;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 10px 0;
}

.hafe-sticky-cart-bar.visible {
    bottom: 0;
}

.hafe-sticky-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.sticky-thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #ffffff;
}

.sticky-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sticky-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.sticky-sku {
    font-size: 11.5px;
    color: #64748b;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.sticky-pricing {
    text-align: right;
}

.sticky-price {
    font-size: 18px;
    font-weight: 800;
    color: #0046be;
    display: block;
}

.sticky-was {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
}

.sticky-btn-buy {
    background: linear-gradient(135deg, #0046be 0%, #002c77 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 70, 190, 0.3);
    transition: transform 0.15s;
    white-space: nowrap;
}

.sticky-btn-buy:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .sticky-details {
        display: none;
    }
    .hafe-pdp-trust-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   REFINED CRO PDP STYLING: SYMMETRICAL QUANTITY & ADD TO CART, BRAND & URGENCY
   ========================================================================== */

/* Brand Badge in Header */
.hafe-pdp-brand-name {
    display: inline-flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    color: #001e73 !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    letter-spacing: 0.3px !important;
}

/* Symmetrical Quantity Stepper & Add to Cart Row */
.pdp-qty-btn-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.pdp-qty-stepper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 124px !important;
    min-width: 124px !important;
    height: 50px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

.pdp-qty-stepper:hover,
.pdp-qty-stepper:focus-within {
    border-color: #0046be !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 70, 190, 0.12) !important;
}

.stepper-btn {
    background: transparent !important;
    border: none !important;
    width: 38px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

.stepper-btn svg {
    pointer-events: none;
}

.stepper-btn:hover {
    background: #e2e8f0 !important;
    color: #001e73 !important;
}

.stepper-btn:active {
    background: #cbd5e1 !important;
}

.stepper-val {
    flex: 1 !important;
    width: 44px !important;
    height: 100% !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    -moz-appearance: textfield !important;
}

.stepper-val::-webkit-outer-spin-button,
.stepper-val::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Add to Cart Button */
.hafe-pdp-btn-add-cart {
    flex: 1 !important;
    height: 50px !important;
    background: #ffe000 !important;
    color: #001e73 !important;
    border: 1.5px solid #e6ca00 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    padding: 0 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.hafe-pdp-btn-add-cart:hover {
    background: #ffd000 !important;
    border-color: #ffd000 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(255, 208, 0, 0.45) !important;
}

.hafe-pdp-btn-add-cart:active {
    transform: translateY(0) !important;
}

/* Buy Now Button Matching */
.hafe-pdp-btn-buy-now {
    width: 100% !important;
    height: 50px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
}

/* Hide Rebate Banner if any lingering element */
.hafe-pdp-feature-banner {
    display: none !important;
}


/* Left Column 4-Pillar Trust Grid (Perfect Balance with Buy Box) */
.hafe-product-left .hafe-pdp-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin-top: 24px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.hafe-product-left .trust-tile {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.hafe-product-left .trust-tile .t-icon {
    font-size: 24px !important;
    flex-shrink: 0 !important;
}

.hafe-product-left .trust-tile .t-text {
    display: flex !important;
    flex-direction: column !important;
}

.hafe-product-left .trust-tile .t-text strong {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
}

.hafe-product-left .trust-tile .t-text span {
    font-size: 11.5px !important;
    color: #64748b !important;
    line-height: 1.3 !important;
}

@media (max-width: 991px) {
    .hafe-product-left .hafe-pdp-trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .hafe-product-left .hafe-pdp-trust-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* Attribute Pills (Size, Heating Source, Capacity, etc.) */
.hafe-buybox-attr-group {
    margin-bottom: 16px;
}
.hafe-buybox-attr-group .attr-title {
    font-size: 13px;
    color: #374151;
    margin-bottom: 8px;
}
.hafe-attr-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hafe-attr-pill-btn {
    padding: 7px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
    transition: all 0.15s ease-in-out;
}
.hafe-attr-pill-btn:hover {
    border-color: #0046be;
    color: #0046be;
    background: #f8fafc;
}
.hafe-attr-pill-btn.active {
    border-color: #041e42;
    background: #041e42;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(4, 30, 66, 0.18);
}

/* --- GRID DROPDOWN & DROPDOWN POLISH (DESKTOP) --- */
@media (min-width: 769px) {
    .sub-menu.grid-dropdown {
        min-width: 480px;
        display: none;
        border-radius: 0 0 6px 6px;
    }

    .nav-item.has-dropdown:hover .sub-menu.grid-dropdown {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 2px 8px;
        padding: 10px 14px;
    }

    /* Align rightmost dropdowns to prevent horizontal overflow */
    .hafe-nav-menu > li:nth-last-child(-n+3) .sub-menu {
        left: auto;
        right: 0;
    }
}



/* ==========================================================================
   HAFE MALL - ULTIMATE MOBILE HEADER & NAVIGATION ACCORDION ENGINE
   ========================================================================== */
@media (max-width: 768px) {
    .hafe-preheader {
        display: none !important;
    }
    .hafe-main-header {
        padding: 10px 0 !important;
        background: #ffffff !important;
        position: relative !important;
        z-index: 1000 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    }
    .hafe-main-header-inner {
        position: relative !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
        padding: 0 14px !important;
        min-height: 44px !important;
    }

    /* Left: Mobile Toggle (Razor-sharp aligned) */
    .hafe-mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        order: 1 !important;
        width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        padding: 7px !important;
        margin: 0 !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 8px !important;
        background: #f8fafc !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        transition: all 0.2s ease !important;
        -webkit-tap-highlight-color: transparent !important;
        z-index: 3 !important;
        box-sizing: border-box !important;
    }
    .hafe-mobile-toggle:active {
        transform: scale(0.95) !important;
    }
    .hafe-mobile-toggle span {
        display: block !important;
        width: 22px !important;
        height: 2.2px !important;
        background: #0f2942 !important;
        border-radius: 2px !important;
        transition: all 0.25s ease-in-out !important;
        pointer-events: none !important;
        margin: 0 !important;
    }
    .hafe-mobile-toggle.is-active {
        background: #0f2942 !important;
        border-color: #0f2942 !important;
    }
    .hafe-mobile-toggle.is-active span {
        background: #ffffff !important;
    }
    .hafe-mobile-toggle.is-active span:nth-child(1) {
        transform: translateY(7.2px) rotate(45deg) !important;
    }
    .hafe-mobile-toggle.is-active span:nth-child(2) {
        opacity: 0 !important;
        transform: scale(0) !important;
    }
    .hafe-mobile-toggle.is-active span:nth-child(3) {
        transform: translateY(-7.2px) rotate(-45deg) !important;
    }

    /* Center: Logo (100% Mathematically Centered in Screen, perfectly vertically aligned) */
    .hafe-logo-container {
        order: 2 !important;
        position: absolute !important;
        left: 50% !important;
        top: 0 !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        z-index: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 40px !important;
        pointer-events: auto !important;
    }
    .hafe-logo-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 0 !important;
        height: 100% !important;
    }
    .hafe-logo-img {
        max-height: 38px !important;
        width: auto !important;
        display: block !important;
        object-fit: contain !important;
        margin: 0 !important;
    }

    /* Right: Actions Container */
    .hafe-actions-container {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
        margin-left: auto !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        z-index: 3 !important;
        height: 40px !important;
    }

    /* Clear any white background inside action-icon */
    .hafe-actions-container .hafe-action-item .hafe-action-icon {
        background: transparent !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: inherit !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Phone Button: Solid Dark Navy (No white background) */
    .hafe-action-item.hafe-phone-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        border-radius: 50% !important;
        background: #0f2942 !important;
        border: none !important;
        color: #ffffff !important;
        text-decoration: none !important;
        box-shadow: 0 2px 6px rgba(15, 41, 66, 0.25) !important;
        transition: all 0.2s ease !important;
        -webkit-tap-highlight-color: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .hafe-action-item.hafe-phone-item:active {
        transform: scale(0.95) !important;
        background: #041e42 !important;
    }
    .hafe-action-item.hafe-phone-item .hafe-action-icon svg {
        fill: #ffffff !important;
        width: 19px !important;
        height: 19px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Cart Button: Solid Hafe Blue (No white background) */
    .hafe-action-item.hafe-cart-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        border-radius: 50% !important;
        background: #0046be !important;
        border: none !important;
        color: #ffffff !important;
        position: relative !important;
        text-decoration: none !important;
        box-shadow: 0 2px 6px rgba(0, 70, 190, 0.3) !important;
        transition: all 0.2s ease !important;
        -webkit-tap-highlight-color: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .hafe-action-item.hafe-cart-item:active {
        transform: scale(0.95) !important;
        background: #041e42 !important;
    }
    .hafe-action-item.hafe-cart-item .hafe-action-icon svg {
        stroke: #ffffff !important;
        fill: none !important;
        width: 21px !important;
        height: 21px !important;
        display: block !important;
        margin: 0 auto !important;
    }
    .hafe-cart-count {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        background: #ef4444 !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        width: 19px !important;
        height: 19px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid #ffffff !important;
        line-height: 1 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
        margin: 0 !important;
    }

    /* Row 2: Full Width Search Input & Perfectly Centered Button */
    .hafe-search-container {
        order: 4 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 12px 0 0 0 !important;
        padding: 0 !important;
        z-index: 1 !important;
    }
    .hafe-search-form {
        position: relative !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .hafe-search-input {
        width: 100% !important;
        height: 44px !important;
        background: #f1f5f9 !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 24px !important;
        padding: 0 48px 0 16px !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
        font-size: 14px !important;
        color: #1e293b !important;
        outline: none !important;
        box-sizing: border-box !important;
        transition: border-color 0.2s, background 0.2s !important;
        line-height: normal !important;
    }
    .hafe-search-input:focus {
        background: #ffffff !important;
        border-color: #0046be !important;
        box-shadow: 0 0 0 3px rgba(0, 70, 190, 0.15) !important;
    }
    .hafe-search-btn {
        position: absolute !important;
        right: 4px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        border-radius: 50% !important;
        background: #0046be !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        color: #ffffff !important;
        box-shadow: 0 2px 4px rgba(0, 70, 190, 0.25) !important;
        transition: all 0.15s ease !important;
        line-height: 1 !important;
    }
    .hafe-search-btn:hover {
        background: #041e42 !important;
    }
    .hafe-search-btn svg {
        display: block !important;
        width: 18px !important;
        height: 18px !important;
        stroke: #ffffff !important;
        stroke-width: 2.2 !important;
        fill: none !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    /* Mobile Navbar Drawer */
    .hafe-navbar {
        display: none;
        width: 100% !important;
        background: #0f2942 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-bottom: 3px solid #0046be !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
    }
    .hafe-navbar.mobile-active {
        display: block !important;
        animation: hafeNavSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    @keyframes hafeNavSlide {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .hafe-navbar-inner {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .hafe-nav-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-height: 75vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        background: #0f2942 !important;
    }
    .hafe-nav-menu > li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin: 0 !important;
        list-style: none !important;
    }
    .hafe-nav-menu > li:last-child {
        border-bottom: none !important;
    }
    .hafe-nav-menu > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 13px 18px !important;
        color: #ffffff !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        transition: background 0.15s ease, color 0.15s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .hafe-nav-menu > li.mobile-open > a {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #38bdf8 !important;
    }
    .hafe-nav-menu > li > a .caret {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 15px !important;
        color: #94a3b8 !important;
        transition: transform 0.25s ease, color 0.2s ease !important;
        pointer-events: none !important;
    }
    .hafe-nav-menu > li.mobile-open > a .caret {
        transform: rotate(180deg) !important;
        color: #38bdf8 !important;
    }

    /* Submenus on Mobile */
    .sub-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        background: #081726 !important;
        padding: 8px 12px 14px !important;
        margin: 0 !important;
        box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.45) !important;
        border: none !important;
        list-style: none !important;
    }
    .nav-item.has-dropdown.mobile-open > .sub-menu {
        display: block !important;
    }
    /* Grid Submenu for Brands, Appliances, Video Games */
    .nav-item.has-dropdown.mobile-open > .sub-menu.grid-dropdown {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4px 6px !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .sub-menu li {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .sub-menu li a {
        display: flex !important;
        align-items: center !important;
        padding: 9px 10px !important;
        color: #cbd5e1 !important;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        background: transparent !important;
        transition: all 0.15s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .sub-menu li a:hover,
    .sub-menu li a:active {
        background: rgba(56, 189, 248, 0.16) !important;
        color: #38bdf8 !important;
        padding-left: 12px !important;
    }
    .sub-menu li.hafe-all-link {
        grid-column: span 2 !important;
    }
    .sub-menu li.hafe-all-link a {
        color: #38bdf8 !important;
        font-weight: 700 !important;
        background: rgba(56, 189, 248, 0.08) !important;
        border: 1px solid rgba(56, 189, 248, 0.25) !important;
        margin-bottom: 4px !important;
    }
    .hafe-nav-menu .nav-highlight {
        color: #fbbf24 !important;
        font-weight: 700 !important;
    }

    /* Prevent Horizontal Overflow on Mobile */
    html, body, #wrapper {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    .hafe-newsletter-section {
        overflow: hidden !important;
    }
    .hafe-newsletter-inner {
        padding: 0 16px !important;
    }
    .newsletter-form-wrap {
        width: 100% !important;
    }
    .hafe-newsletter-form {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    .hafe-newsletter-form input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .hafe-newsletter-form button {
        width: 100% !important;
        height: 42px !important;
    }
}

/* ==========================================================================
   TURBOTAX MALL - CONSUMER PSYCHOLOGY & HIGH-CONVERSION TRUST STYLING
   ========================================================================== */
.turbotax-badge-genuine {
    background: #10b981;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}
.turbotax-badge-instant {
    background: #0284c7;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}
.hafe-product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.hafe-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08) !important;
    border-color: #cbd5e1 !important;
}
.hafe-btn-buy-now:hover {
    background: #b91c1c !important;
    transform: translateY(-1px);
}
.hafe-btn-add-to-cart:hover {
    background: #0040a8 !important;
}
@media (max-width: 900px) {
    .hafe-product-layout {
        grid-template-columns: 1fr !important;
    }
    .hafe-buybox-card {
        position: static !important;
        margin-top: 20px;
    }
    #hafeStickyBuyBar {
        padding: 10px 15px !important;
    }
}

/* HIGH-CONVERTING PRODUCT SHORT DESCRIPTION */
.product-short-description {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 16px 18px !important;
    margin: 18px 0 !important;
    box-sizing: border-box !important;
}
.product-short-description .pdp-spec-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.product-short-description .pdp-spec-list li {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    margin-bottom: 9px !important;
    display: block !important;
    padding: 0 0 0 20px !important;
    text-indent: -20px !important;
    box-sizing: border-box !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}
.product-short-description .pdp-spec-list li:last-child {
    margin-bottom: 0 !important;
}
.product-short-description .pdp-spec-list li strong {
    color: #0f172a !important;
    font-weight: 700 !important;
    display: inline !important;
    min-width: 0 !important;
    margin-right: 4px !important;
}


/* ==========================================================================
   BULLETPROOF TURBOTAX MALL PDP FIXES (GRID & SPEC LIST FORMATTING)
   ========================================================================== */
.hafe-product-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(380px, 440px) !important;
    gap: 36px !important;
    margin-bottom: 50px !important;
    align-items: start !important;
}
.hafe-product-left, .hafe-product-right {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}
.hafe-buybox-card {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    position: sticky !important;
    top: 20px !important;
}
.hafe-pdp-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin-bottom: 30px !important;
}
.hafe-pdp-trust-grid .trust-tile {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-sizing: border-box !important;
}
.hafe-buybox-short-desc, .product-short-description {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 16px 18px !important;
    margin-bottom: 22px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow: hidden !important;
}
.pdp-spec-list, .hafe-buybox-short-desc ul, .product-short-description ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.pdp-spec-list li, .hafe-buybox-short-desc ul li, .product-short-description ul li {
    display: block !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    margin-bottom: 9px !important;
    padding: 0 0 0 20px !important;
    text-indent: -20px !important;
    box-sizing: border-box !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}
.pdp-spec-list li:last-child, .hafe-buybox-short-desc ul li:last-child, .product-short-description ul li:last-child {
    margin-bottom: 0 !important;
}
.pdp-spec-list li strong, .hafe-buybox-short-desc ul li strong, .product-short-description ul li strong {
    color: #0f172a !important;
    font-weight: 700 !important;
    display: inline !important;
    min-width: 0 !important;
    margin-right: 4px !important;
}
@media (max-width: 991px) {
    .hafe-product-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .hafe-buybox-card {
        position: static !important;
    }
}
@media (max-width: 600px) {
    .hafe-pdp-trust-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}


/* ==========================================================================
   AJAX ADD TO CART & BUTTON MORPHING FIX (PREVENTS SQUISHED BUTTONS)
   ========================================================================== */
.hafe-card-actions {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
}

.hafe-card-actions .hafe-btn-add-to-cart {
    flex: 1 !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* Hide original button once added */
.hafe-card-actions .add_to_cart_button.added {
    display: none !important;
}

/* The injected View Cart link replaces the button seamlessly in the exact same flex slot */
.hafe-card-actions a.added_to_cart.wc-forward {
    flex: 1 !important;
    min-width: 0 !important;
    background: #10b981 !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 10px 8px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35) !important;
    transition: background 0.15s ease !important;
    height: 38px !important;
}

.hafe-card-actions a.added_to_cart.wc-forward:hover {
    background: #059669 !important;
    color: #ffffff !important;
}

.hafe-card-actions .hafe-btn-details {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}
