/* ==========================================================================
   STYLE.CSS - Global OEM Solution UK Limited
   Main Stylesheet
   ========================================================================== */

/* 1. Imports & Variable Configuration */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #D32F2F;
    /* Professional Red */
    --primary-hover: #B71C1C;
    /* Dark Red */
    --secondary-color: #1A1A1A;
    /* Dark Charcoal/Black */
    --text-color: #3D3D3D;
    /* Dark Grey */
    --text-light: #6B6B6B;
    /* Light Grey for subtext */
    --bg-white: #FFFFFF;
    /* Pure White */
    --bg-light: #F4F5F7;
    /* Soft section wash */
    --bg-mist: #FAFBFC;
    /* Subtle page atmosphere */
    --border-color: #E4E4E7;
    /* Light Border Grey */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Manrope', sans-serif;
    --font-primary: 'Source Sans 3', sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --section-pad: 4.5rem;
    --max-width: 1200px;
    --header-height: 80px;
}

/* 2. Global Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-mist);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* 3. Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section {
    padding: var(--section-pad) 0;
}

.section-bg {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* 4. Sticky Header & Menu Navigation */
header {
    background-color: var(--bg-white);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.sticky {
    height: 70px;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--secondary-color);
    white-space: nowrap;
}

.logo span {
    color: var(--primary-color);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 900;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Products Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
    padding: 1rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.8rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-icon-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--secondary-color);
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.4rem;
    transition: var(--transition);
}

.header-icon-btn:hover {
    color: var(--primary-color);
}

.user-greeting {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--secondary-color);
    white-space: nowrap;
}

.user-greeting i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.btn-header-dash {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    background-color: var(--secondary-color);
    color: #ffffff !important;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-header-dash:hover {
    background-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-header-outline {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border: 1px solid #CBD5E1;
    color: var(--secondary-color) !important;
    border-radius: 4px;
    background: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-header-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    background: var(--bg-light);
}

.btn-header-quote {
    font-size: 0.82rem;
    padding: 0.45rem 0.9rem;
    white-space: nowrap;
}

/* Mobile Hamburger Trigger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* 5. Hero Banner Slider Section */
.hero-slider {
    position: relative;
    height: 62vh;
    min-height: 420px;
    max-height: 640px;
    overflow: hidden;
    margin-top: 0;
    background-color: #1A1A1A;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Full-bleed atmosphere: charcoal wash + soft red edge */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(105deg, rgba(18, 18, 18, 0.88) 0%, rgba(26, 26, 26, 0.62) 42%, rgba(26, 26, 26, 0.28) 72%, rgba(26, 26, 26, 0.12) 100%),
        linear-gradient(180deg, rgba(211, 47, 47, 0.12) 0%, transparent 38%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    max-width: 640px;
    padding: 0 1.5rem;
    text-align: left;
}

.hero-brand {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #FFFFFF;
    margin: 0 0 0.85rem;
    transform: translateY(28px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

.slide.active .hero-brand {
    transform: translateY(0);
    opacity: 1;
}

.hero-brand span {
    color: var(--primary-color);
}

/* Slide active text entry animations */
.hero-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.85rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    border-left: 3px solid var(--primary-color);
    padding-left: 0.75rem;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.08s, opacity 0.8s ease 0.08s;
}

.slide.active .hero-tag {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.85rem;
    line-height: 1.3;
    text-align: left;
    letter-spacing: -0.015em;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.16s, opacity 0.8s ease 0.16s;
}

.slide.active .slide-content h2 {
    transform: translateY(0);
    opacity: 1;
}

.slide-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
    max-width: 34rem;
    text-align: left;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.28s, opacity 0.8s ease 0.28s;
}

.slide-content p.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #FFFFFF;
    margin: 0 0 0.85rem;
    max-width: none;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

.slide.active .slide-content p {
    transform: translateY(0);
    opacity: 1;
}

.slide-buttons {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s, opacity 0.8s ease 0.4s;
}

.slide.active .slide-buttons {
    transform: translateY(0);
    opacity: 1;
}

.slide-buttons .btn-primary {
    min-width: 10.5rem;
}

.slide-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    background: transparent;
}

.slide-buttons .btn-outline:hover {
    background: #fff;
    color: var(--secondary-color);
    border-color: #fff;
}

@media (max-width: 768px) {
    .hero-brand {
        font-size: 2.15rem;
    }

    .slide-content h2 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 0.98rem;
    }
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.slider-control:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.slider-prev {
    left: 1.5rem;
}

.slider-next {
    right: 1.5rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.55rem;
    z-index: 3;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 6px;
}

/* 6. Product Categories grid styling */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.category-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(211, 47, 47, 0.3);
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.category-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.category-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn i {
    transition: var(--transition);
}

.category-card:hover .category-btn i {
    transform: translateX(4px);
}

/* 7. About Section Homepage Layout */
.about-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h4 {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.about-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(211, 47, 47, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.benefit-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
    text-transform: none;
    letter-spacing: 0;
}

.benefit-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.about-visual img {
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* 8. Featured Products Grid Section */
.products-section-header {
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(33, 33, 33, 0.18);
}

.product-card-image {
    height: 270px;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.product-card-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    box-sizing: border-box;
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease, filter 0.25s ease, opacity 0.25s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.06);
}

.pcard-main-img.pcard-img-flash {
    animation: pcardImgFlash 0.35s ease;
}

@keyframes pcardImgFlash {
    0% { opacity: 0.55; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

.pcard-color-label {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 6;
    background: rgba(33, 33, 33, 0.82);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    border-radius: 3px;
    pointer-events: none;
}

.product-card-image .wishlist-toggle-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #E0E0E0;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9E9E9E;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-card-image .wishlist-toggle-btn:hover {
    color: var(--primary-color);
    border-color: rgba(211, 47, 47, 0.35);
}

.product-badge {
    display: none !important;
}

.product-card-info {
    padding: 0.65rem 0.85rem 0.85rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pcard-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.pcard-brand {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1565c0;
    border: 1px solid rgba(21, 101, 192, 0.35);
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    line-height: 1.2;
    background: #fff;
}

.pcard-title-link {
    text-decoration: none;
    color: inherit;
}

.product-card .product-name {
    font-size: 0.95rem;
    margin: 0;
    min-height: 2.6em;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pcard-actions {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.65rem 0.75rem;
    align-items: end;
    margin-top: auto;
    padding-top: 0.35rem;
}

.pcard-actions-left,
.pcard-actions-right {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.pcard-actions-right {
    align-items: flex-end;
    text-align: right;
}

.pcard-qty {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #cfd4dc;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
    width: 100%;
}

.pcard-qty-btn {
    width: 34px;
    border: none;
    background: #f3f4f6;
    color: #212121;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 0.45rem 0;
}

.pcard-qty-btn:hover {
    background: #e5e7eb;
}

.pcard-qty-input {
    flex: 1;
    min-width: 0;
    width: auto;
    border: none;
    border-left: 1px solid #cfd4dc;
    border-right: 1px solid #cfd4dc;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #212121;
    outline: none;
    -moz-appearance: textfield;
}

.pcard-qty-input::-webkit-outer-spin-button,
.pcard-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pcard-add-btn {
    width: 100%;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.6rem 0.65rem;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.pcard-add-btn:hover {
    background: var(--primary-hover);
}

.pcard-color-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
    width: 100%;
}

.pcard-color-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #757575;
}

.pcard-swatches {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
    min-height: 1.25rem;
}

.pcard-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: var(--swatch, #9e9e9e);
    padding: 0;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pcard-swatch:hover {
    transform: scale(1.12);
}

.pcard-swatch.is-selected {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--primary-color);
}

.pcard-price-stock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    line-height: 1.25;
}

.pcard-price-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 0.3rem;
}

.pcard-price-amount {
    font-size: 1rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.1;
}

.pcard-price-vat {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light);
}

.pcard-price-line--na {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-light);
}

.pcard-login-price {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.pcard-login-price:hover {
    text-decoration: underline;
}

.pcard-stock {
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.pcard-stock.is-in {
    color: #2E7D32;
}

.pcard-stock.is-low {
    color: #ED6C02;
}

.pcard-stock.is-out {
    color: var(--primary-color);
}

.product-cat {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-name {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.6em; /* Exactly 2 lines height */
}

.product-specs {
    font-size: 0.83rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.8em; /* Exactly 2 lines height */
}

.product-card .product-specs {
    margin-bottom: 0.15rem;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.product-actions .btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
}

/* Shop by Brand / Products */
.shop-by-section {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.home-section-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.home-section-intro h2 {
    margin: 0 0 0.5rem;
    text-align: center;
}

.home-section-intro p {
    margin: 0 auto;
    max-width: 34rem;
    color: var(--text-light);
    font-size: 1.02rem;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid var(--primary-color);
}

.home-section-header h2 {
    margin: 0;
    text-align: left;
    font-size: 1.75rem;
    font-weight: 800;
}

.home-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    border: 1px solid rgba(211, 47, 47, 0.35);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-view-all:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.home-section-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.home-section-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.shop-by-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.shop-by-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.75rem 1.6rem;
    background: transparent;
    border: none;
    border-left: 3px solid var(--primary-color);
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    box-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.shop-by-card:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--primary-color);
    box-shadow: none;
}

.shop-by-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(211, 47, 47, 0.08);
    color: var(--primary-color);
    font-size: 1.05rem;
}

.shop-by-card h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.shop-by-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

.shop-by-cta {
    margin-top: auto;
    padding-top: 0.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.shop-by-cta i {
    margin-left: 0.25rem;
}

@media (max-width: 768px) {
    .shop-by-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage category product slider — 4 visible, auto-advance */
.product-slider-section {
    overflow: visible;
    padding: 3rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.home-product-slider {
    position: relative;
    padding: 0 2.5rem 1.75rem;
}

.home-ps-viewport {
    overflow: hidden;
    width: 100%;
}

.home-ps-track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    transition: transform 0.45s ease;
    will-change: transform;
}

.home-ps-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-ps-btn:hover:not(:disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.home-ps-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.home-ps-prev { left: 0; }
.home-ps-next { right: 0; }

.home-ps-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1rem;
    min-height: 10px;
}

.home-ps-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #D0D0D0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-ps-dot.is-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.product-marquee-card {
    position: relative;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-marquee-card:hover {
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.product-marquee-card .product-card-image {
    height: 190px;
}

.product-marquee-card .product-card-info {
    padding: 0.85rem 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-marquee-card .product-name {
    font-size: 0.95rem;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-marquee-card .product-specs {
    font-size: 0.8rem;
    min-height: 2.3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-marquee-card .pcard-actions {
    margin-top: auto;
}

.product-marquee-card .wishlist-toggle-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #E0E0E0;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9E9E9E;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.home-brand-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(211, 47, 47, 0.08);
    color: var(--primary-color);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .home-product-slider {
        padding: 0 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .product-marquee-card .product-card-image {
        height: 170px;
    }

    .home-product-slider {
        padding: 0 1.75rem 1.25rem;
    }

    .home-ps-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}

/* Login-gated price CTA (detail page) */
.price-login-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    background: rgba(211, 47, 47, 0.08);
    border: 1px solid rgba(211, 47, 47, 0.22);
    border-radius: 6px;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
    transition: var(--transition);
    width: fit-content;
}

.price-login-cta i {
    font-size: 0.75rem;
    opacity: 0.9;
}

.price-login-cta:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

.price-login-cta--detail {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    gap: 0.6rem;
    margin: 0.25rem 0 0.5rem;
}

.price-login-cta--detail i {
    font-size: 0.9rem;
}

.price-login-gate-row td {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid var(--border-color);
}

.price-login-gate-row td.label {
    vertical-align: middle;
}

/* Stock availability indicator (detail page) */
.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}

.stock-pill i {
    font-size: 0.8rem;
}

.stock-pill--in {
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.25);
    color: #2E7D32;
}

.stock-pill--low {
    background: rgba(237, 108, 2, 0.1);
    border: 1px solid rgba(237, 108, 2, 0.28);
    color: #ED6C02;
}

.stock-pill--out {
    background: rgba(211, 47, 47, 0.09);
    border: 1px solid rgba(211, 47, 47, 0.25);
    color: var(--primary-color);
}

.price-vat {
    font-size: 0.78em;
    font-weight: 800;
    color: var(--secondary-color);
    margin-left: 0.35rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-price .price-vat,
.product-meta-table .price-vat {
    color: var(--primary-color);
}

.drawer-item-price .price-vat {
    color: #757575;
    font-weight: 700;
}

/* 9. Animated Stats Counters */
.stats-section {
    background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 55%, #1F1F1F 100%);
    color: var(--bg-white);
    padding: 3.75rem 0;
    border-top: 3px solid var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 0.5rem 0.75rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.25rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.45rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-title {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.68);
}

/* 10. Services Cards layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.services-grid--home {
    margin-top: 0;
}

.home-services-section .home-section-intro {
    margin-bottom: 2.25rem;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.4rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(211, 47, 47, 0.25);
}

.service-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
    color: var(--secondary-color);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.55;
    flex-grow: 1;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* 11. OEM Solutions process structure */
.oem-process-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
    margin-top: 3rem;
}

.home-oem-section {
    background: var(--bg-white);
}

.process-step {
    position: relative;
    padding: 1.5rem;
    background-color: var(--bg-mist);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    box-shadow: none;
}

.step-num {
    position: absolute;
    top: -15px;
    right: 15px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(211, 47, 47, 0.1);
    line-height: 1;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.oem-cta-block {
    text-align: center;
    margin-top: 3rem;
}

/* 12. Why Choose Us layout */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    display: flex;
    gap: 1.25rem;
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(211, 47, 47, 0.15);
}

.why-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(211, 47, 47, 0.06);
    border-radius: 6px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.why-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.why-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
}

/* 13. Industries We Serve layout */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.industry-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.25rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.industry-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.industry-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
}

/* 14. Brand Logos Carousel */
.brand-carousel-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.carousel-track-container {
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: infiniteScroll 25s linear infinite;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.brand-svg {
    height: 40px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.5;
    transition: var(--transition);
}

.brand-svg:hover {
    filter: grayscale(0);
    opacity: 0.95;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 15. Become a Partner CTA Section */
.partner-cta-section {
    background: linear-gradient(135deg, #1A1A1A 0%, #151515 55%, #201010 100%);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--primary-color);
}

.partner-cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.partner-cta-container h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.partner-cta-container p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.partner-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* 16. Latest News (Blog Cards) layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.blog-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(211, 47, 47, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.blog-meta span.cat {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.blog-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
}

.blog-info p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    flex-grow: 1;
}

.blog-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card:hover .blog-link i {
    transform: translateX(4px);
}

/* 17. Newsletter Section styling */
.newsletter-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
}

.newsletter-container {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-container h2 {
    margin-bottom: 0.5rem;
}

.newsletter-container p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-inputs {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.85rem 1.25rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    flex-grow: 1;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form .btn {
    white-space: nowrap;
    padding: 0 2rem;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.form-message.success {
    color: #2E7D32;
    display: block;
}

.form-message.error {
    color: var(--primary-color);
    display: block;
}

/* 18. Footer Configuration */
footer {
    background-color: var(--secondary-color);
    color: #B0BEC5;
    padding: 5rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.25fr 1.25fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
}

.footer-logo {
    color: var(--bg-white);
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
    font-size: 1rem;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.7);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* 19. Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-4px);
}

/* 20. Inner Page Banner */
.page-banner {
    background-color: var(--secondary-color);
    padding: 8rem 0 4rem;
    color: var(--bg-white);
    text-align: center;
    position: relative;
}

.page-banner h1 {
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* 21. Products Page Filter Layout */
.products-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
}

.filter-sidebar {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-widget {
    margin-bottom: 2rem;
}

.filter-widget h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.category-filter-list li {
    margin-bottom: 0.5rem;
}

.category-filter-btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-color);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: var(--transition);
}

.category-filter-btn:hover,
.category-filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-weight: 600;
}

.category-filter-btn span.count {
    font-size: 0.8rem;
    background-color: rgba(0, 0, 0, 0.06);
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
}

.category-filter-btn.active span.count {
    background-color: rgba(255, 255, 255, 0.25);
    color: var(--bg-white);
}

/* Products Result Count & Loading State */
.products-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.catalog-grid-wrapper {
    position: relative;
    min-height: 300px;
}

.catalog-grid-wrapper .products-grid {
    grid-template-columns: repeat(3, 1fr);
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.spinner {
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.no-results i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* 22. Product Details Layout */
.product-details-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-view {
    height: 480px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-image-view img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
}

.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumb {
    height: 100px;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-light);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.thumb.active,
.thumb:hover {
    border-color: var(--primary-color);
}

.product-info-block h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.product-info-block .cat-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.product-description-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.product-meta-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.product-meta-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.product-meta-table td.label {
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
    padding-right: 2rem;
}

.detail-actions {
    display: flex;
    gap: 1rem;
}

.detail-actions .btn {
    flex-grow: 1;
}

.tech-spec-section {
    margin-top: 4rem;
}

.tech-spec-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.specs-table th,
.specs-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    background-color: var(--bg-light);
    color: var(--secondary-color);
    font-weight: 700;
}

.specs-table tr:nth-child(even) td {
    background-color: #FAFAFA;
}

/* 23. FAQ Accordion Configuration */
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-header {
    width: 100%;
    padding: 1.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.faq-icon {
    font-size: 0.9rem;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-content {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-content p {
    padding: 0 0.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* 24. Standard Form Styles */
.form-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-grid.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-group label span.required {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.08);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-light);
}

.form-checkbox input {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

/* 25. Inline Quote Modal / Overlay Trigger Popup */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.quote-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
}

.quote-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    font-size: 1.75rem;
    text-align: left;
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Global loading and submit overlay overlays */
.submit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
    border-radius: 8px;
}

.submit-overlay.active {
    display: flex;
}

.submit-overlay-spinner {
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.submit-overlay-success-icon {
    font-size: 3.5rem;
    color: #2E7D32;
    margin-bottom: 1rem;
}

.submit-overlay-text {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.15rem;
}

.submit-overlay-subtext {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Top Contact Bar */
.top-bar {
    background-color: #1e2029;
    color: #d1d5db;
    font-size: 0.825rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-item i {
    color: var(--primary-color);
}

.top-bar-item a {
    color: inherit;
    transition: var(--transition);
}

.top-bar-item a:hover {
    color: var(--bg-white);
}

.top-bar-vat {
    background: rgba(211, 47, 47, 0.15);
    color: #ff8a80;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    border: 1px solid rgba(211, 47, 47, 0.3);
}

/* Responsive Logo Image */
.site-logo-img {
    height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.footer-logo-img {
    height: 90px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: block;
}

/* ==========================================================================
   iPhone LCD Wholesale Page Styles
   ========================================================================== */
.lcd-hero {
    background: linear-gradient(135deg, #181920 0%, #2b2d42 100%);
    color: var(--bg-white);
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.lcd-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.lcd-hero-content {
    max-width: 750px;
    position: relative;
    z-index: 2;
}

.lcd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(211, 47, 47, 0.2);
    color: #ff8a80;
    border: 1px solid rgba(211, 47, 47, 0.4);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.lcd-hero h1 {
    color: var(--bg-white);
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.lcd-hero p {
    color: #d1d5db;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.lcd-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lcd-feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lcd-feature-tag i {
    color: #4caf50;
}

/* Quality Comparison Grid */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.quality-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.quality-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.quality-badge-top {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
}

.quality-icon {
    width: 48px;
    height: 48px;
    background: rgba(211, 47, 47, 0.08);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.quality-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.quality-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.quality-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quality-specs-list li {
    font-size: 0.875rem;
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px dashed var(--border-color);
}

.quality-specs-list li:last-child {
    border-bottom: none;
}

.quality-specs-list i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Image Diagram Showcase */
.diagram-banner {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2.5rem 0;
}

.diagram-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin: 0 auto;
}

/* Catalog Filter & Controls */
.catalog-controls {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.catalog-search-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    min-width: 250px;
}

.search-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.catalog-counter {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.series-filter-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.series-filter-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.series-filter-btn:hover,
.series-filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* iPhone LCD Cards Grid */
.lcd-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.lcd-model-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.lcd-model-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.lcd-card-header {
    background: #181920;
    color: var(--bg-white);
    padding: 1.25rem 1rem;
    text-align: center;
    position: relative;
}

.lcd-card-series-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff8a80;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.lcd-card-header h4 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin: 0;
}

.lcd-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quality-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.quality-pill {
    font-size: 0.725rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.quality-pill.soft-oled {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.quality-pill.incell {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.quality-pill.oem-refurb {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.lcd-specs-mini {
    margin-bottom: 1.25rem;
    flex: 1;
}

.lcd-specs-mini-item {
    font-size: 0.825rem;
    color: var(--text-color);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lcd-specs-mini-item i {
    color: #2e7d32;
    font-size: 0.75rem;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.785rem;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
}

.lcd-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.lcd-card-footer .btn {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   Advanced Filters Sidebar Customizations
   ========================================================================== */
.brand-checkbox:checked+span {
    color: var(--primary-color);
    font-weight: 600;
}

.brand-quick-link:hover {
    color: var(--primary-color) !important;
    padding-left: 5px !important;
}

.brand-quick-link i {
    transition: transform 0.2s ease;
}

.brand-quick-link:hover i {
    transform: translateX(4px);
    color: var(--primary-color) !important;
}

#clearAllFilters:hover {
    color: var(--primary-hover) !important;
    text-decoration: underline !important;
}

/* Custom styling for price slider input range */
#priceRange {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    transition: background 0.3s;
}

#priceRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s, background-color 0.2s;
}

#priceRange::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--primary-hover);
}

#priceRange::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s, background-color 0.2s;
}

#priceRange::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: var(--primary-hover);
}

/* Brand Pill Card Styling */
.brand-pill-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.brand-pill-icon {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.brand-pill-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 0.03em;
    transition: all 0.4s ease;
}

.brand-pill-card:hover {
    transform: translateY(-4px) scale(1.05);
    background: var(--primary-color);
    border-color: var(--primary-hover);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.25);
}

.brand-pill-card:hover .brand-pill-icon {
    color: var(--bg-white);
    transform: rotate(360deg);
}

.brand-pill-card:hover .brand-pill-name {
    color: var(--bg-white);
}

/* ==========================================================================
   Category-Wise Authorized Supply Brands Grid (Reference Design)
   ========================================================================== */
.brand-showcase-section {
    padding: 3.75rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

.brand-section-header--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.brand-section-header--row h2 {
    margin: 0 0 0.4rem;
    text-align: left;
    font-size: 1.75rem;
}

.brand-section-header--row p {
    margin: 0;
    max-width: 36rem;
    color: var(--text-light);
    font-size: 0.98rem;
}

.brand-view-all-btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    white-space: nowrap;
}

.brand-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.brand-marquee-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: brandMarqueeRtl 40s linear infinite;
    padding: 0.35rem 0;
    will-change: transform;
    backface-visibility: hidden;
}

/* Pause only on real desktop hover — not sticky mobile tap */
@media (hover: hover) and (pointer: fine) {
    .brand-marquee:hover .brand-marquee-track {
        animation-play-state: paused;
    }
}

@keyframes brandMarqueeRtl {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

.brand-marquee-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 64px;
    padding: 0.65rem 1.25rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.brand-marquee-item:hover {
    border-color: rgba(211, 47, 47, 0.35);
    box-shadow: 0 8px 18px rgba(211, 47, 47, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .brand-marquee-track {
        gap: 0.75rem;
        animation-duration: 28s;
    }

    .brand-marquee-item {
        min-width: 130px;
        height: 56px;
        padding: 0.5rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-marquee-track {
        animation-duration: 80s;
    }
}

.brand-category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 3rem;
}

.brand-tab-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    background-color: #FFFFFF;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.brand-tab-btn:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.12);
}

.brand-tab-btn.active {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(211, 47, 47, 0.3);
}

/* Grid layout matching 5-column reference table with shadow elevation */
.brand-grid-table {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid #E2E8F0;
    border-left: 1px solid #E2E8F0;
    background-color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.brand-grid-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 1.25rem 1rem;
    border-right: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    background-color: #FFFFFF;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    position: relative;
}

.brand-grid-cell.animating {
    animation: brandFadeIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes brandFadeIn {
    0% {
        opacity: 0;
        transform: translateY(22px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.brand-grid-cell:hover {
    background-color: #FFFFFF;
    z-index: 5;
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
}

.brand-cell-link {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-cell-logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: #24292e;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    user-select: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-grid-cell:hover .brand-cell-logo {
    transform: scale(1.08);
}

/* Specific Brand Signature Typography & Badges */
.font-apple {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 1.45rem;
    color: #111111;
}

.font-samsung {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: #034EA2;
    letter-spacing: -0.03em;
}

.font-samsung-sub {
    font-weight: 800;
    font-size: 1.15rem;
    color: #034EA2;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.font-samsung-sub small {
    font-size: 0.65rem;
    font-weight: 600;
    color: #424242;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.font-huawei {
    font-weight: 800;
    font-size: 1.25rem;
    color: #222222;
    letter-spacing: 0.08em;
}

.font-google {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.font-oneplus {
    font-weight: 700;
    font-size: 1.15rem;
    color: #111111;
    letter-spacing: 0.05em;
}

.font-oneplus .op-box {
    background-color: #eb0029;
    color: #ffffff;
    font-weight: 800;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.85rem;
    margin-right: 0.3rem;
}

.font-nokia {
    font-family: sans-serif;
    font-weight: 900;
    font-size: 1.35rem;
    color: #124191;
    letter-spacing: 0.12em;
}

.font-sony {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 900;
    font-size: 1.55rem;
    color: #000000;
    letter-spacing: 0.15em;
}

.font-motorola {
    font-weight: 700;
    font-size: 1.2rem;
    color: #005697;
}

.font-oppo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #00805c;
    letter-spacing: -0.02em;
    font-family: sans-serif;
}

.font-mi {
    font-weight: 700;
    font-size: 1.2rem;
    color: #333333;
}

.font-mi .mi-box {
    background-color: #ff6700;
    color: #ffffff;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 0.35rem;
}

.font-htc {
    font-weight: 800;
    font-size: 1.6rem;
    color: #8cc63f;
    letter-spacing: -0.03em;
}

.font-lg {
    font-weight: 800;
    font-size: 1.35rem;
    color: #c4004f;
}

.font-lg .lg-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #a50034;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.85rem;
    margin-right: 0.3rem;
}

.font-macbook {
    font-weight: 600;
    font-size: 1.3rem;
    color: #222222;
}

.font-bb {
    font-weight: 700;
    font-size: 1.15rem;
    color: #000000;
}

.font-anker {
    font-weight: 900;
    font-size: 1.4rem;
    color: #00a0e9;
    letter-spacing: 0.05em;
}

.font-veger {
    font-weight: 900;
    font-size: 1.4rem;
    color: #e60012;
    letter-spacing: 0.08em;
}

.font-jbl {
    font-weight: 900;
    font-size: 1.5rem;
    color: #ff5000;
    letter-spacing: -0.02em;
}

.font-senn {
    font-weight: 800;
    font-size: 1.15rem;
    color: #000000;
    letter-spacing: 0.12em;
}

.brand-pill-card:hover .brand-pill-name {
    color: var(--bg-white);
}

.pcard-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.75rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    line-height: 1;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.pcard-brand-badge:hover {
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Genuine Corner Badge (Diagonal Top-Left Ribbon matching reference photo) */
.product-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.genuine-corner-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 82px;
    height: 82px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #FFFFFF;
    font-family: var(--font-primary);
    font-size: 0.54rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.45rem 0.3rem 0 0.5rem;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    border-top-left-radius: 6px;
    pointer-events: none;
    user-select: none;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.22);
}