﻿/**
 * SolarShop Main Stylesheet — Alladin-style redesign
 *
 * Design System (modeled on alladin.pk):
 * - Primary (Red): #E10600
 * - Secondary (Near-Black): #232323
 * - Accent (Orange): #FD6506
 * - Body font: DM Sans / Headings & prices: Rubik
 * - White + light-gray surfaces, flat cards, pill buttons
 */

/* ========================================
   CSS Variables & Design Tokens
   ======================================== */
:root {
    /* Colors */
    --ss-primary: #E10600;
    --ss-primary-dark: #B30500;
    --ss-primary-light: #FFE8E7;
    --ss-secondary: #232323;
    --ss-secondary-dark: #0B0335;
    --ss-secondary-light: #3C3C3C;
    --ss-accent: #FD6506;
    --ss-accent-dark: #D95300;
    --ss-dark: #202020;
    --ss-gray-900: #232323;
    --ss-gray-800: #3C3C3C;
    --ss-gray-700: #505050;
    --ss-gray-600: #686868;
    --ss-gray-500: #868686;
    --ss-gray-400: #C9C9C9;
    --ss-gray-300: #E4E4E4;
    --ss-gray-200: #F0F0F0;
    --ss-gray-100: #F5F5F5;
    --ss-white: #FFFFFF;
    --ss-danger: #E10600;
    --ss-success: #10B981;
    --ss-warning: #FD6506;
    --ss-info: #3B82F6;

    /* Typography */
    --ss-font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ss-font-heading: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ss-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --ss-text-xs: 0.75rem;
    --ss-text-sm: 0.875rem;
    --ss-text-base: 1rem;
    --ss-text-lg: 1.125rem;
    --ss-text-xl: 1.25rem;
    --ss-text-2xl: 1.5rem;
    --ss-text-3xl: 1.875rem;
    --ss-text-4xl: 2.25rem;
    --ss-text-5xl: 3rem;

    /* Spacing */
    --ss-space-1: 0.25rem;
    --ss-space-2: 0.5rem;
    --ss-space-3: 0.75rem;
    --ss-space-4: 1rem;
    --ss-space-5: 1.25rem;
    --ss-space-6: 1.5rem;
    --ss-space-8: 2rem;
    --ss-space-10: 2.5rem;
    --ss-space-12: 3rem;
    --ss-space-16: 4rem;
    --ss-space-20: 5rem;

    /* Layout */
    --ss-container: 1300px;
    --ss-container-wide: 1400px;
    --ss-radius-sm: 4px;
    --ss-radius: 6px;
    --ss-radius-lg: 10px;
    --ss-radius-xl: 14px;
    --ss-radius-pill: 25px;
    --ss-radius-full: 9999px;

    /* Shadows */
    --ss-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --ss-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --ss-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --ss-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --ss-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --ss-transition: 0.2s ease;
    --ss-transition-slow: 0.3s ease;

    /* Z-index layers */
    --ss-z-dropdown: 100;
    --ss-z-sticky: 200;
    --ss-z-modal: 1000;
    --ss-z-toast: 1100;
}

/* ========================================
   Google Fonts
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Rubik:wght@400;500;600;700;800&display=swap');

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ss-font-primary);
    font-size: var(--ss-text-base);
    line-height: 1.6;
    color: var(--ss-gray-800);
    background-color: var(--ss-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--ss-primary-dark);
    text-decoration: none;
    transition: color var(--ss-transition);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ss-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ss-dark);
    margin-bottom: var(--ss-space-4);
}

h1 { font-size: var(--ss-text-4xl); }
h2 { font-size: var(--ss-text-3xl); }
h3 { font-size: var(--ss-text-2xl); }
h4 { font-size: var(--ss-text-xl); }
h5 { font-size: var(--ss-text-lg); }
h6 { font-size: var(--ss-text-base); }

p { margin-bottom: var(--ss-space-4); }

ul, ol {
    padding-left: var(--ss-space-6);
    margin-bottom: var(--ss-space-4);
}

/* ========================================
   Layout
   ======================================== */
.container {
    width: 100%;
    max-width: var(--ss-container);
    margin: 0 auto;
    padding: 0 var(--ss-space-4);
}

.container-wide {
    max-width: var(--ss-container-wide);
    margin: 0 auto;
    padding: 0 var(--ss-space-4);
}

/* ========================================
   Buttons
   ======================================== */
.btn,
button.btn,
a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ss-space-2);
    padding: var(--ss-space-3) var(--ss-space-6);
    font-family: var(--ss-font-primary);
    font-size: var(--ss-text-sm);
    font-weight: 600;
    line-height: 1.5;
    border: 2px solid transparent;
    border-radius: var(--ss-radius-pill);
    cursor: pointer;
    transition: all var(--ss-transition);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--ss-primary-dark);
    border-color: var(--ss-primary-dark);
    color: var(--ss-white);
    transform: translateY(-1px);
    box-shadow: var(--ss-shadow-md);
}

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

.btn-secondary:hover {
    background: var(--ss-secondary-dark);
    border-color: var(--ss-secondary-dark);
    color: var(--ss-white);
}

.btn-outline {
    background: transparent;
    color: var(--ss-white);
    border-color: var(--ss-white);
}

.btn-outline:hover {
    background: var(--ss-white);
    color: var(--ss-secondary);
}

.btn-outline-dark {
    background: var(--ss-white);
    color: var(--ss-dark);
    border-color: var(--ss-dark);
}

.btn-outline-dark:hover {
    background: var(--ss-dark);
    color: var(--ss-white);
}

.btn-accent {
    background: var(--ss-accent);
    color: var(--ss-white);
    border-color: var(--ss-accent);
}

.btn-accent:hover {
    background: var(--ss-accent-dark);
    border-color: var(--ss-accent-dark);
    color: var(--ss-white);
}

.btn-lg {
    padding: var(--ss-space-4) var(--ss-space-8);
    font-size: var(--ss-text-base);
}

.btn-sm {
    padding: var(--ss-space-1) var(--ss-space-3);
    font-size: var(--ss-text-xs);
}

/* ========================================
   Top Bar
   ======================================== */
.solarshop-topbar {
    background: var(--ss-secondary);
    color: var(--ss-white);
    font-size: var(--ss-text-sm);
    padding: var(--ss-space-2) 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ss-space-4);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: var(--ss-space-4);
}

.topbar-left a,
.topbar-right a {
    color: var(--ss-white);
    display: flex;
    align-items: center;
    gap: var(--ss-space-1);
    font-size: var(--ss-text-xs);
}

.topbar-left a:hover,
.topbar-right a:hover {
    color: var(--ss-gray-400);
}

.topbar-center {
    color: var(--ss-white);
    font-weight: 500;
    flex: 1;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}

.topbar-center .topbar-marquee {
    display: inline-block;
    animation: ss-marquee 18s linear infinite;
    padding-left: 100%;
}

@keyframes ss-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: var(--ss-space-4);
}

.topbar-social {
    display: flex;
    gap: var(--ss-space-2);
}

.topbar-social a {
    color: var(--ss-gray-400);
    transition: color var(--ss-transition);
}

.topbar-social a:hover {
    color: var(--ss-primary);
}

/* ========================================
   Header
   ======================================== */
.solarshop-header {
    background: var(--ss-white);
    box-shadow: var(--ss-shadow);
    position: relative;
    z-index: var(--ss-z-sticky);
}

.solarshop-header.sticky-header {
    position: sticky;
    top: 0;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ss-space-4) 0;
    gap: var(--ss-space-6);
}

.header-logo img {
    max-height: 50px;
    width: auto;
}

.header-logo .site-title {
    font-size: var(--ss-text-xl);
    font-weight: 800;
    color: var(--ss-secondary);
    margin: 0;
}

.header-logo .site-title span {
    color: var(--ss-primary);
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-400);
    border-radius: var(--ss-radius-pill);
    overflow: hidden;
    transition: border-color var(--ss-transition);
}

.search-form:focus-within {
    border-color: var(--ss-dark);
}

.search-form input[type="search"] {
    flex: 1;
    padding: var(--ss-space-3) var(--ss-space-5);
    border: none;
    background: transparent;
    font-size: var(--ss-text-sm);
    outline: none;
    font-family: var(--ss-font-primary);
    color: var(--ss-dark);
}

.search-form button {
    padding: var(--ss-space-3) var(--ss-space-4);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--ss-dark);
    display: flex;
    align-items: center;
    transition: color var(--ss-transition);
}

.search-form button:hover {
    color: var(--ss-primary);
}

/* Live Search Results */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ss-white);
    border-radius: var(--ss-radius);
    box-shadow: var(--ss-shadow-xl);
    z-index: var(--ss-z-dropdown);
    max-height: 450px;
    overflow-y: auto;
    margin-top: var(--ss-space-2);
    display: none;
}

.search-results-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--ss-space-3);
    padding: var(--ss-space-3) var(--ss-space-4);
    border-bottom: 1px solid var(--ss-gray-200);
    transition: background var(--ss-transition);
}

.search-result-item:hover {
    background: var(--ss-gray-100);
}

.search-result-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--ss-radius-sm);
    overflow: hidden;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: var(--ss-text-sm);
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ss-dark);
}

.search-result-price {
    font-size: var(--ss-text-sm);
    font-weight: 700;
    color: var(--ss-primary-dark);
}

.search-result-category {
    font-size: var(--ss-text-xs);
    color: var(--ss-gray-500);
    display: block;
}

.search-view-all {
    display: block;
    padding: var(--ss-space-3) var(--ss-space-4);
    text-align: center;
    font-weight: 600;
    color: var(--ss-primary-dark);
    border-top: 2px solid var(--ss-gray-200);
}

.search-view-all:hover {
    background: var(--ss-gray-100);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--ss-space-4);
}

.header-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--ss-gray-700);
    font-size: var(--ss-text-xs);
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--ss-font-primary);
    position: relative;
    transition: color var(--ss-transition);
    padding: var(--ss-space-1);
}

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

.header-action-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--ss-primary);
    color: var(--ss-white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--ss-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    padding: var(--ss-space-2);
    cursor: pointer;
    color: var(--ss-secondary);
}

/* ========================================
   Navigation
   ======================================== */
.solarshop-nav {
    background: var(--ss-white);
    border-top: 1px solid var(--ss-gray-200);
    border-bottom: 1px solid var(--ss-gray-200);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: var(--ss-space-4);
}

.categories-dropdown {
    position: relative;
    background: var(--ss-gray-100);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-pill);
    margin: var(--ss-space-2) 0;
}

.categories-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--ss-space-2);
    padding: var(--ss-space-2) var(--ss-space-5);
    background: none;
    border: none;
    color: var(--ss-dark);
    font-weight: 700;
    font-size: var(--ss-text-sm);
    cursor: pointer;
    font-family: var(--ss-font-primary);
    white-space: nowrap;
}

.categories-dropdown-toggle .cat-grid-icon {
    display: inline-flex;
    color: var(--ss-primary);
}

.categories-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background: var(--ss-white);
    box-shadow: var(--ss-shadow-xl);
    border-radius: var(--ss-radius-lg);
    display: none;
    z-index: var(--ss-z-dropdown);
    padding: var(--ss-space-3) 0;
}

.categories-dropdown:hover .categories-dropdown-menu,
.categories-dropdown.active .categories-dropdown-menu {
    display: block;
}

.categories-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.categories-menu-item {
    list-style: none;
    position: relative;
}

.categories-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ss-space-3) var(--ss-space-5);
    color: var(--ss-dark);
    font-size: var(--ss-text-base);
    transition: all var(--ss-transition);
}

.categories-menu-link:hover {
    background: var(--ss-gray-100);
    color: var(--ss-primary);
}

.categories-menu-link .cat-arrow {
    display: inline-flex;
    color: var(--ss-gray-500);
}

/* Fly-out sub-menu */
.categories-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 240px;
    background: var(--ss-white);
    box-shadow: var(--ss-shadow-xl);
    border-radius: var(--ss-radius-lg);
    padding: var(--ss-space-3) 0;
    list-style: none;
    margin: 0;
    display: none;
    z-index: var(--ss-z-dropdown);
}

.categories-menu-item:hover > .categories-sub-menu {
    display: block;
}

.categories-sub-menu li {
    list-style: none;
}

.categories-sub-menu a {
    display: block;
    padding: var(--ss-space-2) var(--ss-space-5);
    color: var(--ss-gray-700);
    font-size: var(--ss-text-sm);
    transition: all var(--ss-transition);
}

.categories-sub-menu a:hover {
    background: var(--ss-gray-100);
    color: var(--ss-primary);
}

/* Promo banner inside dropdown */
.categories-promo {
    display: block;
    margin: var(--ss-space-3) var(--ss-space-4) var(--ss-space-2);
    border-radius: var(--ss-radius);
    overflow: hidden;
}

.categories-promo img {
    width: 100%;
    display: block;
    transition: transform var(--ss-transition-slow);
}

.categories-promo:hover img {
    transform: scale(1.03);
}

/* Primary Navigation */
.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu > li > a {
    display: flex;
    align-items: center;
    gap: var(--ss-space-1);
    padding: var(--ss-space-4) var(--ss-space-4);
    color: var(--ss-dark);
    font-size: var(--ss-text-base);
    font-weight: 500;
    transition: color var(--ss-transition);
    white-space: nowrap;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    color: var(--ss-primary);
}

/* Mega Menu Dropdown */
.mega-menu-parent {
    position: relative;
}

.mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 700px;
    background: var(--ss-white);
    box-shadow: var(--ss-shadow-xl);
    border-radius: 0 0 var(--ss-radius-lg) var(--ss-radius-lg);
    display: none;
    padding: var(--ss-space-6);
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ss-space-6);
    list-style: none;
    z-index: var(--ss-z-dropdown);
}

.mega-menu-parent:hover .mega-menu-dropdown {
    display: grid;
}

.mega-menu-column {
    list-style: none;
}

.mega-menu-column-title {
    display: block;
    font-weight: 700;
    color: var(--ss-secondary);
    font-size: var(--ss-text-sm);
    padding-bottom: var(--ss-space-2);
    border-bottom: 2px solid var(--ss-primary);
    margin-bottom: var(--ss-space-2);
}

.mega-menu-column-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column-list li a {
    display: block;
    padding: var(--ss-space-1) 0;
    color: var(--ss-gray-600);
    font-size: var(--ss-text-sm);
    transition: color var(--ss-transition);
}

.mega-menu-column-list li a:hover {
    color: var(--ss-primary-dark);
}

/* ========================================
   Breadcrumbs
   ======================================== */
.solarshop-breadcrumbs {
    background: var(--ss-gray-100);
    padding: var(--ss-space-3) 0;
    border-bottom: 1px solid var(--ss-gray-200);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--ss-space-1);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: var(--ss-space-1);
    font-size: var(--ss-text-sm);
    color: var(--ss-gray-500);
}

.breadcrumb-item a {
    color: var(--ss-gray-600);
    transition: color var(--ss-transition);
}

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

.breadcrumb-item.active {
    color: var(--ss-gray-800);
    font-weight: 500;
}

.breadcrumb-separator {
    display: flex;
    color: var(--ss-gray-400);
}

/* ========================================
   Hero Banner
   ======================================== */
.hero-banner {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--ss-secondary);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(32, 32, 32, 0.85);
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 680px;
    color: var(--ss-white);
}

.hero-subtitle {
    display: inline-block;
    background: rgba(225, 6, 0, 0.9);
    color: var(--ss-white);
    padding: var(--ss-space-2) var(--ss-space-4);
    border-radius: var(--ss-radius-full);
    font-size: var(--ss-text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--ss-space-4);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--ss-white);
    line-height: 1.1;
    margin-bottom: var(--ss-space-4);
}

.hero-description {
    font-size: var(--ss-text-lg);
    color: var(--ss-gray-300);
    line-height: 1.7;
    margin-bottom: var(--ss-space-8);
}

.hero-buttons {
    display: flex;
    gap: var(--ss-space-4);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--ss-space-8);
    margin-top: var(--ss-space-12);
    padding-top: var(--ss-space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--ss-text-3xl);
    font-weight: 800;
    color: var(--ss-primary);
}

.stat-label {
    font-size: var(--ss-text-sm);
    color: var(--ss-gray-400);
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--ss-space-3);
    text-align: left;
    margin-bottom: var(--ss-space-6);
    position: relative;
}

.section-header .view-all-link {
    display: inline-flex;
    align-items: center;
    gap: var(--ss-space-1);
    font-weight: 600;
    font-size: var(--ss-text-sm);
    color: var(--ss-dark);
    border: 1px solid var(--ss-dark);
    border-radius: var(--ss-radius-pill);
    padding: var(--ss-space-2) var(--ss-space-5);
    transition: all var(--ss-transition);
}

.section-header .view-all-link:hover {
    background: var(--ss-dark);
    color: var(--ss-white);
}

.section-title {
    font-family: var(--ss-font-heading);
    font-size: var(--ss-text-2xl);
    font-weight: 700;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
    margin-bottom: 0;
}

.section-subtitle {
    flex-basis: 100%;
    color: var(--ss-gray-600);
    font-size: var(--ss-text-base);
    margin: 0;
}

/* ========================================
   Product Grid & Cards
   ======================================== */
.products-grid,
ul.products {
    display: grid;
    gap: var(--ss-space-6);
    list-style: none;
    padding: 0;
    margin: 0;
}

.columns-2 { grid-template-columns: repeat(2, 1fr); }
.columns-3 { grid-template-columns: repeat(3, 1fr); }
.columns-4 { grid-template-columns: repeat(4, 1fr); }
.columns-5 { grid-template-columns: repeat(5, 1fr); }

ul.products {
    grid-template-columns: repeat(4, 1fr);
}

.product-card,
ul.products li.product {
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius);
    overflow: hidden;
    box-shadow: none;
    transition: all var(--ss-transition-slow);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* The link holds image/title/price/save-chip; letting it grow pins the
   actions (Add to cart + icons) to the card bottom so every card in a
   row lines up regardless of title length or Save chip presence. */
ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

ul.products li.product .product-actions {
    margin-top: auto;
}

.product-card:hover,
ul.products li.product:hover {
    box-shadow: var(--ss-shadow-md);
    border-color: var(--ss-gray-300);
}

ul.products li.product a.woocommerce-LoopProduct-link {
    text-decoration: none;
    color: inherit;
}

ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px;
    font-weight: 500;
    color: var(--ss-gray-900);
    padding: 0 var(--ss-space-4);
    margin: var(--ss-space-3) 0 var(--ss-space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.45;
    min-height: calc(2 * 1.45 * 15px);
}

ul.products li.product .price {
    padding: 0 var(--ss-space-4);
    font-family: var(--ss-font-heading);
    font-size: var(--ss-text-sm);
    font-weight: 700;
    color: var(--ss-dark);
    margin-bottom: var(--ss-space-2);
    display: flex;
    align-items: center;
    gap: var(--ss-space-2);
    flex-wrap: wrap;
}

ul.products li.product .price del {
    color: var(--ss-gray-500);
    font-size: var(--ss-text-sm);
    font-weight: 400;
    opacity: 1;
}

ul.products li.product .price ins {
    text-decoration: none;
    color: var(--ss-dark);
    font-weight: 700;
}

/* Corner sale flash hidden on cards — the "Save Rs." chip replaces it */
ul.products li.product .onsale,
ul.products li.product .solarshop-sale-badge {
    display: none;
}

/* "Save Rs.X" chip (alladin-style) */
.loop-save-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--ss-primary);
    color: var(--ss-white);
    font-size: var(--ss-text-xs);
    font-weight: 600;
    line-height: 1.4;
    padding: 3px 10px;
    border-radius: 5px;
    margin: 0 var(--ss-space-4) var(--ss-space-3);
}

.loop-save-badge .woocommerce-Price-amount,
.loop-save-badge bdi {
    color: var(--ss-white);
}

ul.products li.product img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform var(--ss-transition-slow);
}

ul.products li.product:hover img {
    transform: scale(1.05);
}

ul.products li.product .attachment-woocommerce_thumbnail {
    border-bottom: 1px solid var(--ss-gray-200);
}

/* Sale Badge — alladin-style red "Save Rs." pill */
.solarshop-sale-badge,
.onsale {
    position: absolute;
    top: var(--ss-space-3);
    left: var(--ss-space-3);
    background: var(--ss-primary);
    color: var(--ss-white);
    font-size: var(--ss-text-xs);
    font-weight: 500;
    padding: var(--ss-space-1) var(--ss-space-3);
    border-radius: 5px;
    z-index: 2;
    line-height: 1.4;
}

/* Product Actions */
.product-actions {
    padding: 0 var(--ss-space-4) var(--ss-space-4);
}

.product-action-icons {
    display: flex;
    gap: var(--ss-space-2);
    margin-top: var(--ss-space-2);
}

.action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ss-gray-300);
    border-radius: var(--ss-radius-full);
    background: var(--ss-white);
    cursor: pointer;
    color: var(--ss-dark);
    transition: all var(--ss-transition);
}

.action-btn:hover {
    background: var(--ss-primary);
    border-color: var(--ss-primary);
    color: var(--ss-white);
}

.action-btn.active {
    background: var(--ss-danger);
    border-color: var(--ss-danger);
    color: var(--ss-white);
}

ul.products li.product .button,
.product-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--ss-space-2) var(--ss-space-4);
    background: var(--ss-white);
    color: var(--ss-dark);
    border: 1px solid var(--ss-dark);
    border-radius: var(--ss-radius-pill);
    font-weight: 600;
    font-size: var(--ss-text-sm);
    cursor: pointer;
    transition: all var(--ss-transition);
    text-align: center;
}

ul.products li.product .button:hover,
.product-actions .button:hover {
    background: var(--ss-primary);
    border-color: var(--ss-primary);
    color: var(--ss-white);
}

/* Star Rating */
.solarshop-star-rating {
    display: flex;
    align-items: center;
    gap: 1px;
    color: #FFB800;
}

.solarshop-star-rating .rating-count {
    color: var(--ss-gray-500);
    font-size: var(--ss-text-xs);
    margin-left: var(--ss-space-1);
}

.star-rating {
    color: #FFB800;
}

/* ========================================
   Categories Grid
   ======================================== */
.categories-grid {
    display: grid;
    gap: var(--ss-space-6);
}

.category-card {
    display: block;
    background: var(--ss-white);
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    box-shadow: var(--ss-shadow);
    transition: all var(--ss-transition-slow);
    text-decoration: none;
}

.category-card:hover {
    box-shadow: var(--ss-shadow-lg);
    transform: translateY(-4px);
}

.category-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ss-transition-slow);
}

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

.category-card-content {
    padding: var(--ss-space-4);
}

.category-card-title {
    font-size: var(--ss-text-lg);
    font-weight: 700;
    margin-bottom: var(--ss-space-1);
    color: var(--ss-dark);
}

.category-card-count {
    font-size: var(--ss-text-sm);
    color: var(--ss-gray-500);
    display: block;
    margin-bottom: var(--ss-space-2);
}

.category-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--ss-space-1);
    font-size: var(--ss-text-sm);
    font-weight: 600;
    color: var(--ss-primary-dark);
    transition: gap var(--ss-transition);
}

.category-card:hover .category-card-link {
    gap: var(--ss-space-2);
}

/* ========================================
   Home Showcase (categories panel + banner + subcategory tiles)
   ======================================== */
.home-showcase {
    padding: var(--ss-space-6) 0;
    background: var(--ss-gray-100);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 230px 1fr 380px;
    gap: var(--ss-space-4);
    align-items: stretch;
}

/* Categories panel */
.showcase-cats {
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--ss-white);
}

.showcase-cats-header {
    background: var(--ss-primary);
    color: var(--ss-white);
    font-weight: 700;
    font-size: var(--ss-text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--ss-space-3) var(--ss-space-4);
}

.showcase-cats-list {
    list-style: none;
    margin: 0;
    padding: var(--ss-space-2) 0;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
}

.showcase-cats-list li {
    border-bottom: 1px solid var(--ss-gray-200);
}

.showcase-cats-list li:nth-child(odd) {
    border-right: 1px solid var(--ss-gray-200);
}

.showcase-cats-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 52px;
    padding: var(--ss-space-2) var(--ss-space-3);
    font-size: var(--ss-text-sm);
    color: var(--ss-dark);
    line-height: 1.35;
    transition: color var(--ss-transition), background var(--ss-transition);
}

.showcase-cats-list a:hover {
    background: var(--ss-gray-100);
    color: var(--ss-primary);
}

.showcase-cats-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ss-space-1);
    padding: var(--ss-space-3);
    font-size: var(--ss-text-sm);
    font-weight: 600;
    color: var(--ss-primary);
    border-top: 1px solid var(--ss-gray-200);
}

/* Main banner */
.showcase-banner {
    display: block;
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    position: relative;
}

.showcase-banner {
    /* matches the banner artwork's edge colors so contain-letterboxing is invisible */
    background: linear-gradient(90deg, #1F70C7 0%, #0B1F3A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform var(--ss-transition-slow);
}

.showcase-banner:hover img {
    transform: scale(1.02);
}

/* Subcategory tiles 2x2 */
.showcase-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--ss-space-4);
}

.showcase-tile {
    position: relative;
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ss-gray-200);
    background: var(--ss-gray-100);
    display: block;
    min-height: 150px;
}

.showcase-tile {
    background: var(--ss-white);
}

.showcase-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px 14px 40px;
    display: block;
    transition: transform var(--ss-transition-slow);
    filter: drop-shadow(0 6px 10px rgba(30, 40, 60, 0.12));
}

.showcase-tile:hover img {
    transform: scale(1.06);
}

.showcase-tile-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--ss-space-3) var(--ss-space-4);
    background: linear-gradient(transparent, rgba(20, 20, 20, 0.85));
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.showcase-tile .tile-name {
    color: var(--ss-white);
    font-weight: 700;
    font-size: var(--ss-text-sm);
    line-height: 1.3;
}

.showcase-tile .tile-cta {
    color: var(--ss-primary-light);
    font-size: var(--ss-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.showcase-tile:hover .tile-cta {
    color: var(--ss-white);
}

/* ========================================
   Hero clickable product cards
   ======================================== */
.hero-banner .container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--ss-space-8);
}

.hero-products {
    display: flex;
    flex-direction: column;
    gap: var(--ss-space-3);
    min-width: 300px;
}

.hero-product-chip {
    display: flex;
    align-items: center;
    gap: var(--ss-space-3);
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--ss-radius-lg);
    padding: var(--ss-space-2) var(--ss-space-4) var(--ss-space-2) var(--ss-space-2);
    text-decoration: none;
    transition: transform var(--ss-transition), box-shadow var(--ss-transition);
    box-shadow: var(--ss-shadow-lg);
}

.hero-product-chip:hover {
    transform: translateX(6px);
    box-shadow: var(--ss-shadow-xl);
}

.hero-product-chip img {
    width: 56px;
    height: 56px;
    border-radius: var(--ss-radius);
    object-fit: cover;
    flex-shrink: 0;
}

.hero-product-chip .chip-info {
    min-width: 0;
}

.hero-product-chip .chip-name {
    display: block;
    font-size: var(--ss-text-sm);
    font-weight: 600;
    color: var(--ss-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px;
}

.hero-product-chip .chip-price {
    font-family: var(--ss-font-heading);
    font-size: var(--ss-text-sm);
    font-weight: 700;
    color: var(--ss-primary);
}

.hero-product-chip .chip-price del {
    color: var(--ss-gray-500);
    font-weight: 400;
    margin-right: 6px;
}

.hero-product-chip .chip-price ins {
    text-decoration: none;
}

.hero-products-label {
    font-size: var(--ss-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Hot Items Marquee
   ======================================== */
.hot-marquee-section {
    padding: var(--ss-space-4) 0;
    background: var(--ss-white);
    border-top: 1px solid var(--ss-gray-200);
    border-bottom: 1px solid var(--ss-gray-200);
    overflow: hidden;
}

.marquee-wrap {
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: var(--ss-space-4);
    width: max-content;
    animation: ss-marquee-scroll 35s linear infinite;
}

.marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes ss-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: var(--ss-space-3);
    padding: var(--ss-space-2) var(--ss-space-5) var(--ss-space-2) var(--ss-space-2);
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-pill);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color var(--ss-transition), box-shadow var(--ss-transition);
}

.marquee-item:hover {
    border-color: var(--ss-primary);
    box-shadow: var(--ss-shadow-md);
}

.marquee-item img {
    width: 44px;
    height: 44px;
    border-radius: var(--ss-radius-full);
    object-fit: cover;
    flex-shrink: 0;
}

.marquee-item .mq-name {
    font-size: var(--ss-text-sm);
    font-weight: 500;
    color: var(--ss-dark);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.marquee-item .mq-price {
    font-family: var(--ss-font-heading);
    font-size: var(--ss-text-sm);
    font-weight: 700;
    color: var(--ss-primary);
}

.marquee-item .mq-price del { color: var(--ss-gray-500); font-weight: 400; margin-right: 4px; }
.marquee-item .mq-price ins { text-decoration: none; }

.marquee-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ss-primary);
    color: var(--ss-white);
    font-size: var(--ss-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--ss-space-1) var(--ss-space-3);
    border-radius: 5px;
    flex-shrink: 0;
}

/* ========================================
   Promo Banners (clickable)
   ======================================== */
.promo-banners-section {
    padding: var(--ss-space-6) 0 0;
}

.promo-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ss-space-6);
}

.promo-banner-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ss-space-4);
    padding: var(--ss-space-8);
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    color: var(--ss-white);
    min-height: 190px;
    text-decoration: none;
    transition: transform var(--ss-transition-slow), box-shadow var(--ss-transition-slow);
}

.promo-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ss-shadow-xl);
}

.promo-red  { background: linear-gradient(120deg, #E10600 0%, #8F0400 100%); }
.promo-dark { background: linear-gradient(120deg, #232323 0%, #0B0335 100%); }

.promo-eyebrow {
    display: inline-block;
    font-size: var(--ss-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--ss-space-2);
}

.promo-title {
    font-family: var(--ss-font-heading);
    font-size: var(--ss-text-2xl);
    font-weight: 700;
    color: var(--ss-white);
    margin-bottom: var(--ss-space-4);
    line-height: 1.2;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--ss-space-2);
    background: var(--ss-white);
    color: var(--ss-dark);
    font-size: var(--ss-text-sm);
    font-weight: 700;
    padding: var(--ss-space-2) var(--ss-space-5);
    border-radius: var(--ss-radius-pill);
    transition: gap var(--ss-transition);
}

.promo-banner-card:hover .promo-cta {
    gap: var(--ss-space-3);
}

.promo-banner-card .promo-img {
    width: 150px;
    height: 150px;
    border-radius: var(--ss-radius-lg);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--ss-shadow-lg);
}

/* ========================================
   Category Circles Row (alladin-style, marquee flow)
   ======================================== */
.featured-categories-section {
    padding: var(--ss-space-10) 0 var(--ss-space-12);
    background: var(--ss-gray-100);
}

.category-marquee {
    overflow: hidden;
    padding: var(--ss-space-4) 0;
}

.category-marquee-track {
    display: flex;
    align-items: flex-start;
    gap: var(--ss-space-10);
    width: max-content;
    animation: ss-marquee-scroll 45s linear infinite;
}

.category-marquee:hover .category-marquee-track {
    animation-play-state: paused;
}

.category-circles {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: var(--ss-space-4);
}

.category-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ss-space-4);
    text-decoration: none;
    text-align: center;
    flex-shrink: 0;
}

.category-circle-image {
    width: 180px;
    height: 180px;
    border-radius: var(--ss-radius-full);
    overflow: hidden;
    background: var(--ss-gray-100);
    border: 1px solid var(--ss-gray-200);
    transition: border-color var(--ss-transition), transform var(--ss-transition);
    box-shadow: var(--ss-shadow-sm);
}

.category-circle:hover .category-circle-image {
    border-color: var(--ss-primary);
    transform: scale(1.05);
}

.category-circle-image {
    display: flex;
    align-items: center;
    justify-content: center;
    /* white disc on the gray section band — white-background photos blend in */
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    box-shadow: var(--ss-shadow-sm);
}

.category-circle-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 22px;
    background: var(--ss-white);
}

.category-circle-name {
    font-size: var(--ss-text-base);
    font-weight: 500;
    color: var(--ss-dark);
    line-height: 1.4;
    max-width: 190px;
}

.category-circle:hover .category-circle-name {
    color: var(--ss-primary);
}

/* ========================================
   USP Strip — "Why Shop With Us?"
   ======================================== */
.usp-section {
    background: var(--ss-gray-100);
    padding: var(--ss-space-12) 0;
}

.usp-section .usp-heading {
    text-align: center;
    font-family: var(--ss-font-heading);
    font-size: var(--ss-text-2xl);
    font-weight: 700;
    margin-bottom: var(--ss-space-8);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ss-space-6);
    text-align: center;
}

.usp-item .usp-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--ss-space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ss-radius-full);
    background: var(--ss-white);
    color: var(--ss-primary);
    border: 1px solid var(--ss-gray-200);
}

.usp-item .usp-title {
    font-size: var(--ss-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ss-dark);
    margin-bottom: var(--ss-space-2);
}

.usp-item .usp-text {
    font-size: var(--ss-text-sm);
    color: var(--ss-gray-600);
    margin: 0;
}

/* ========================================
   Services Grid
   ======================================== */
.services-grid-section,
.featured-categories-section,
.product-carousel-section,
.testimonials-section,
.project-gallery-section,
.stats-counter-section,
.brand-logos-section {
    padding: var(--ss-space-10) 0;
}

.services-grid {
    display: grid;
    gap: var(--ss-space-6);
}

.service-card {
    display: block;
    background: var(--ss-white);
    border-radius: var(--ss-radius-lg);
    padding: var(--ss-space-8);
    text-align: center;
    box-shadow: var(--ss-shadow);
    transition: all var(--ss-transition-slow);
    text-decoration: none;
    border: 1px solid var(--ss-gray-200);
}

.service-card:hover {
    box-shadow: var(--ss-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--ss-primary);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--ss-primary-light);
    border-radius: var(--ss-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--ss-space-4);
    font-size: 28px;
    color: var(--ss-primary);
}

.service-title {
    font-size: var(--ss-text-lg);
    font-weight: 700;
    color: var(--ss-dark);
    margin-bottom: var(--ss-space-2);
}

.service-description {
    color: var(--ss-gray-600);
    font-size: var(--ss-text-sm);
    line-height: 1.6;
}

.service-link-text {
    display: inline-flex;
    align-items: center;
    gap: var(--ss-space-1);
    color: var(--ss-primary-dark);
    font-weight: 600;
    font-size: var(--ss-text-sm);
    margin-top: var(--ss-space-4);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-grid {
    display: grid;
    gap: var(--ss-space-6);
}

.testimonial-card {
    background: var(--ss-white);
    border-radius: var(--ss-radius-lg);
    padding: var(--ss-space-6);
    box-shadow: var(--ss-shadow);
    border: 1px solid var(--ss-gray-200);
}

.testimonial-rating {
    margin-bottom: var(--ss-space-3);
}

.testimonial-content {
    color: var(--ss-gray-700);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--ss-space-4);
}

.testimonial-content p {
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--ss-space-3);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--ss-radius-full);
    object-fit: cover;
}

.testimonial-name {
    font-size: var(--ss-text-sm);
    color: var(--ss-dark);
    display: block;
}

.testimonial-role {
    font-size: var(--ss-text-xs);
    color: var(--ss-gray-500);
}

/* ========================================
   Projects Gallery
   ======================================== */
.projects-grid {
    display: grid;
    gap: var(--ss-space-6);
}

.project-card {
    display: block;
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    box-shadow: var(--ss-shadow);
    transition: all var(--ss-transition-slow);
    text-decoration: none;
    background: var(--ss-white);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ss-shadow-lg);
}

.project-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ss-transition-slow);
}

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

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--ss-transition-slow);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-view-btn {
    padding: var(--ss-space-2) var(--ss-space-4);
    background: var(--ss-primary);
    color: var(--ss-white);
    border-radius: var(--ss-radius);
    font-weight: 600;
    font-size: var(--ss-text-sm);
}

.project-card-content {
    padding: var(--ss-space-4);
}

.project-category {
    display: inline-block;
    background: var(--ss-primary-light);
    color: var(--ss-primary-dark);
    font-size: var(--ss-text-xs);
    font-weight: 600;
    padding: var(--ss-space-1) var(--ss-space-2);
    border-radius: var(--ss-radius-sm);
    margin-bottom: var(--ss-space-2);
}

.project-title {
    font-size: var(--ss-text-base);
    font-weight: 700;
    color: var(--ss-dark);
    margin-bottom: var(--ss-space-2);
}

.project-meta {
    display: flex;
    gap: var(--ss-space-4);
    font-size: var(--ss-text-xs);
    color: var(--ss-gray-500);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: var(--ss-space-1);
}

/* ========================================
   Stats Counter
   ======================================== */
.stats-counter-section {
    background: var(--ss-secondary);
    color: var(--ss-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ss-space-8);
    text-align: center;
}

.stat-item .stat-icon {
    font-size: 32px;
    color: var(--ss-primary);
    margin-bottom: var(--ss-space-2);
}

.stat-item .stat-number {
    font-size: var(--ss-text-4xl);
    font-weight: 800;
    color: var(--ss-primary);
    margin-bottom: var(--ss-space-1);
}

.stat-item .stat-label {
    font-size: var(--ss-text-sm);
    color: var(--ss-gray-400);
}

/* ========================================
   Top Brands Marquee (alladin-style pills)
   ======================================== */
.brands-section {
    padding: var(--ss-space-10) 0;
    background: var(--ss-white);
    border-top: 1px solid var(--ss-gray-200);
    border-bottom: 1px solid var(--ss-gray-200);
}

.brand-marquee {
    overflow: hidden;
    padding: var(--ss-space-2) 0;
}

.brand-marquee-track {
    display: flex;
    align-items: center;
    gap: var(--ss-space-6);
    width: max-content;
    animation: ss-marquee-scroll 40s linear infinite;
}

.brand-marquee:hover .brand-marquee-track {
    animation-play-state: paused;
}

.brand-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 110px;
    background: var(--ss-white);
    border-radius: var(--ss-radius-full);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--ss-shadow-sm);
    border: 1px solid var(--ss-gray-200);
    transition: transform var(--ss-transition), box-shadow var(--ss-transition), border-color var(--ss-transition);
}

.brand-pill:hover {
    transform: translateY(-3px);
    box-shadow: var(--ss-shadow-md);
    border-color: var(--ss-primary);
}

.brand-pill img {
    max-width: 75%;
    max-height: 75%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brand-pill {
        width: 190px;
        height: 84px;
    }

    .brand-marquee-track {
        gap: var(--ss-space-4);
    }
}

/* ========================================
   Brand Logos
   ======================================== */
.brand-logos-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--ss-space-8);
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--ss-transition);
}

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

.brand-logo-item img {
    max-height: 50px;
    width: auto;
}

/* ========================================
   Newsletter
   ======================================== */
.newsletter-section {
    padding: var(--ss-space-16) 0;
}

.newsletter-gradient {
    background: var(--ss-secondary);
    color: var(--ss-white);
}

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

.newsletter-heading {
    color: var(--ss-white);
    font-size: var(--ss-text-3xl);
    margin-bottom: var(--ss-space-3);
}

.newsletter-description {
    color: var(--ss-gray-300);
    margin-bottom: var(--ss-space-6);
}

.newsletter-form-group {
    display: flex;
    gap: 0;
    background: var(--ss-white);
    border-radius: var(--ss-radius-full);
    padding: var(--ss-space-1);
    box-shadow: var(--ss-shadow-lg);
}

.newsletter-input {
    flex: 1;
    padding: var(--ss-space-3) var(--ss-space-4);
    border: none;
    background: transparent;
    font-size: var(--ss-text-base);
    outline: none;
    font-family: var(--ss-font-primary);
    color: var(--ss-dark);
    border-radius: var(--ss-radius-full);
}

.newsletter-submit {
    border-radius: var(--ss-radius-full) !important;
    padding: var(--ss-space-3) var(--ss-space-6) !important;
}

.newsletter-message {
    margin-top: var(--ss-space-3);
    font-size: var(--ss-text-sm);
}

.newsletter-message.success {
    color: var(--ss-accent);
}

.newsletter-message.error {
    color: var(--ss-danger);
}

.newsletter-privacy {
    font-size: var(--ss-text-xs);
    color: var(--ss-gray-400);
    margin-top: var(--ss-space-3);
}

.newsletter-privacy a {
    color: var(--ss-primary-light);
}

/* ========================================
   CTA Banner
   ======================================== */
.cta-banner {
    background: var(--ss-primary);
    padding: var(--ss-space-12) 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ss-space-8);
}

.cta-title {
    font-size: var(--ss-text-3xl);
    color: var(--ss-white);
    margin-bottom: var(--ss-space-2);
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--ss-text-lg);
    margin: 0;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ss-space-3);
    flex-shrink: 0;
}

.cta-actions .btn-primary {
    background: var(--ss-white);
    color: var(--ss-primary);
    border-color: var(--ss-white);
}

.cta-actions .btn-primary:hover {
    background: var(--ss-dark);
    border-color: var(--ss-dark);
    color: var(--ss-white);
}

.cta-phone {
    text-align: center;
    font-size: var(--ss-text-sm);
    color: rgba(255, 255, 255, 0.85);
}

.cta-phone a {
    display: flex;
    align-items: center;
    gap: var(--ss-space-1);
    color: var(--ss-white);
    font-weight: 700;
    font-size: var(--ss-text-lg);
}

/* ========================================
   Technical Specs Table
   ======================================== */
.tech-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-specs-table tr:nth-child(even) {
    background: var(--ss-gray-100);
}

.tech-specs-table th,
.tech-specs-table td {
    padding: var(--ss-space-3) var(--ss-space-4);
    text-align: left;
    border-bottom: 1px solid var(--ss-gray-200);
    font-size: var(--ss-text-sm);
}

.tech-specs-table th {
    font-weight: 600;
    color: var(--ss-secondary);
    width: 40%;
}

/* ========================================
   FAQ Accordion
   ======================================== */
.faq-accordion {
    max-width: 800px;
}

.faq-item {
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius);
    margin-bottom: var(--ss-space-2);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ss-space-4);
    background: var(--ss-white);
    border: none;
    cursor: pointer;
    font-family: var(--ss-font-primary);
    font-size: var(--ss-text-base);
    font-weight: 600;
    color: var(--ss-dark);
    text-align: left;
    transition: background var(--ss-transition);
}

.faq-question:hover {
    background: var(--ss-gray-100);
}

.faq-question[aria-expanded="true"] {
    background: var(--ss-gray-100);
    border-bottom: 1px solid var(--ss-gray-200);
}

.faq-icon {
    transition: transform var(--ss-transition);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: var(--ss-space-4);
    color: var(--ss-gray-700);
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

/* ========================================
   Product Meta Info
   ======================================== */
.solarshop-product-meta-info {
    display: flex;
    align-items: center;
    gap: var(--ss-space-4);
    margin-bottom: var(--ss-space-3);
    flex-wrap: wrap;
}

.product-sku {
    font-size: var(--ss-text-sm);
    color: var(--ss-gray-600);
}

.product-stock {
    display: flex;
    align-items: center;
    gap: var(--ss-space-1);
    font-size: var(--ss-text-sm);
    font-weight: 600;
}

.product-stock.in-stock {
    color: var(--ss-accent);
}

.product-stock.out-of-stock {
    color: var(--ss-danger);
}

/* ========================================
   WhatsApp & Buy Now Buttons
   ======================================== */
.solarshop-buy-now {
    background: var(--ss-accent) !important;
    color: var(--ss-white) !important;
    border: none !important;
    margin-left: var(--ss-space-2);
}

.solarshop-buy-now:hover {
    background: var(--ss-accent-dark) !important;
}

.solarshop-whatsapp-btn {
    background: #25D366 !important;
    color: var(--ss-white) !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: var(--ss-space-2);
    margin-left: var(--ss-space-2);
}

.solarshop-whatsapp-btn:hover {
    background: #128C7E !important;
    color: var(--ss-white) !important;
}

/* ========================================
   Modals
   ======================================== */
.solarshop-modal {
    position: fixed;
    inset: 0;
    z-index: var(--ss-z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ss-space-4);
}

.solarshop-modal[hidden] {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    background: var(--ss-white);
    border-radius: var(--ss-radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--ss-shadow-xl);
    animation: modalFadeIn 0.3s ease;
}

.solarshop-modal-large .modal-container {
    max-width: 1100px;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: var(--ss-space-3);
    right: var(--ss-space-3);
    background: var(--ss-gray-100);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--ss-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background var(--ss-transition);
}

.modal-close:hover {
    background: var(--ss-gray-300);
}

.modal-header {
    padding: var(--ss-space-4) var(--ss-space-6);
    border-bottom: 1px solid var(--ss-gray-200);
}

.modal-header h2 {
    margin: 0;
    font-size: var(--ss-text-xl);
}

.modal-content {
    padding: var(--ss-space-6);
}

.modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ss-space-12);
}

/* Quick View */
.quick-view-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ss-space-6);
}

.quick-view-main-image img {
    width: 100%;
    border-radius: var(--ss-radius);
}

.quick-view-thumbnails {
    display: flex;
    gap: var(--ss-space-2);
    margin-top: var(--ss-space-3);
}

.qv-thumb {
    width: 60px;
    height: 60px;
    border: 2px solid var(--ss-gray-300);
    border-radius: var(--ss-radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color var(--ss-transition);
}

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

.qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-title {
    font-size: var(--ss-text-xl);
    margin-bottom: var(--ss-space-2);
}

.quick-view-price {
    font-size: var(--ss-text-2xl);
    font-weight: 700;
    color: var(--ss-primary-dark);
    margin-bottom: var(--ss-space-3);
}

.quick-view-description {
    color: var(--ss-gray-600);
    margin-bottom: var(--ss-space-4);
    font-size: var(--ss-text-sm);
}

.quick-view-sku {
    font-size: var(--ss-text-sm);
    color: var(--ss-gray-500);
}

.quick-view-actions {
    display: flex;
    gap: var(--ss-space-2);
    margin-top: var(--ss-space-4);
}

.quick-view-actions .button-outline {
    background: transparent;
    border: 2px solid var(--ss-secondary);
    color: var(--ss-secondary);
}

/* ========================================
   Compare Bar
   ======================================== */
.solarshop-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ss-secondary);
    color: var(--ss-white);
    padding: var(--ss-space-3) 0;
    z-index: var(--ss-z-sticky);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.solarshop-compare-bar[hidden] {
    display: none;
}

.solarshop-compare-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ss-space-4);
}

.compare-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--ss-space-2);
}

.compare-bar-clear {
    background: none;
    border: none;
    color: var(--ss-gray-400);
    cursor: pointer;
    font-size: var(--ss-text-sm);
}

/* Compare Table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: var(--ss-space-3) var(--ss-space-4);
    border: 1px solid var(--ss-gray-200);
    text-align: center;
    vertical-align: top;
    font-size: var(--ss-text-sm);
}

.compare-table th {
    background: var(--ss-gray-100);
    font-weight: 600;
    text-align: left;
    min-width: 120px;
}

.compare-table thead td {
    padding: var(--ss-space-4);
    position: relative;
}

.compare-table thead td img {
    max-width: 150px;
    margin: 0 auto var(--ss-space-2);
    border-radius: var(--ss-radius);
}

.compare-table thead td h4 {
    font-size: var(--ss-text-sm);
    margin: 0;
}

.compare-remove {
    position: absolute;
    top: var(--ss-space-2);
    right: var(--ss-space-2);
    background: var(--ss-danger);
    color: var(--ss-white);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: var(--ss-radius-full);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

/* ========================================
   Mini Cart
   ======================================== */
.solarshop-mini-cart-dropdown {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100vh;
    background: var(--ss-white);
    box-shadow: var(--ss-shadow-xl);
    z-index: var(--ss-z-modal);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--ss-transition-slow);
}

.solarshop-mini-cart-dropdown.active {
    transform: translateX(0);
}

.solarshop-mini-cart-dropdown[hidden] {
    display: none;
}

.mini-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ss-space-4) var(--ss-space-4);
    border-bottom: 1px solid var(--ss-gray-200);
}

.mini-cart-header h3 {
    margin: 0;
    font-size: var(--ss-text-lg);
}

.mini-cart-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ss-gray-600);
    padding: var(--ss-space-1);
}

.mini-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: var(--ss-space-4);
}

/* ========================================
   Footer
   ======================================== */
.solarshop-footer {
    background: var(--ss-white);
    color: var(--ss-gray-700);
    border-top: 1px solid var(--ss-gray-200);
}

.footer-main {
    padding: var(--ss-space-16) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--ss-space-8);
}

.footer-about .footer-logo {
    max-height: 40px;
    margin-bottom: var(--ss-space-4);
}

.footer-about p {
    font-size: var(--ss-text-sm);
    line-height: 1.7;
    color: var(--ss-gray-600);
}

.footer-social {
    display: flex;
    gap: var(--ss-space-3);
    margin-top: var(--ss-space-4);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--ss-radius-full);
    background: var(--ss-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ss-white);
    transition: transform var(--ss-transition);
}

.footer-social a:hover {
    transform: translateY(-3px);
}

/* Brand-colored social circles (alladin-style) */
.footer-social a.social-facebook,
.topbar-social a.social-facebook  { background: #1877F2; }
.footer-social a.social-instagram,
.topbar-social a.social-instagram { background: radial-gradient(circle at 30% 110%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.footer-social a.social-tiktok,
.topbar-social a.social-tiktok    { background: #000000; }
.footer-social a.social-youtube,
.topbar-social a.social-youtube   { background: #FF0000; }
.footer-social a.social-linkedin,
.topbar-social a.social-linkedin  { background: #0A66C2; }
.footer-social a.social-twitter,
.topbar-social a.social-twitter   { background: #000000; }

.footer-widget .widget-title,
.footer-column h4 {
    color: var(--ss-dark);
    font-family: var(--ss-font-heading);
    font-size: var(--ss-text-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--ss-space-4);
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--ss-space-2);
}

.footer-links a {
    color: var(--ss-gray-700);
    font-size: var(--ss-text-sm);
    transition: color var(--ss-transition);
    display: flex;
    align-items: center;
    gap: var(--ss-space-1);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--ss-space-3);
    margin-bottom: var(--ss-space-3);
    font-size: var(--ss-text-sm);
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: var(--ss-primary);
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--ss-gray-200);
    padding: var(--ss-space-4) 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--ss-text-sm);
}

.footer-bottom a {
    color: var(--ss-gray-700);
}

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

.footer-payments {
    display: flex;
    align-items: center;
    gap: var(--ss-space-2);
}

/* Footer WhatsApp button — white pill, green icon */
a.btn.footer-whatsapp-btn {
    background: var(--ss-white);
    color: var(--ss-dark);
    border-color: var(--ss-gray-300);
    gap: 6px;
    padding: var(--ss-space-2) var(--ss-space-4);
}

a.btn.footer-whatsapp-btn:hover {
    border-color: #25D366;
    color: var(--ss-dark);
    background: var(--ss-white);
}

.footer-whatsapp-icon {
    display: inline-flex;
    color: #25D366;
}

/* ========================================
   Comment / Review Forms
   ======================================== */
.comment-respond,
#respond {
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-lg);
    padding: var(--ss-space-8);
    margin: var(--ss-space-8) 0;
    max-width: 720px;
}

.comment-reply-title,
.comment-respond .comment-reply-title {
    font-family: var(--ss-font-heading);
    font-size: var(--ss-text-xl);
    font-weight: 700;
    color: var(--ss-dark);
    margin-bottom: var(--ss-space-4);
    display: block;
}

.comment-form p {
    margin-bottom: var(--ss-space-4);
}

.comment-form label {
    display: block;
    font-size: var(--ss-text-sm);
    font-weight: 600;
    color: var(--ss-dark);
    margin-bottom: var(--ss-space-2);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: var(--ss-space-3) var(--ss-space-4);
    border: 1px solid var(--ss-gray-300);
    border-radius: var(--ss-radius);
    font-family: var(--ss-font-primary);
    font-size: var(--ss-text-sm);
    color: var(--ss-dark);
    background: var(--ss-white);
    outline: none;
    transition: border-color var(--ss-transition);
    box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--ss-dark);
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: var(--ss-space-2);
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--ss-primary);
    flex-shrink: 0;
}

.comment-form-cookies-consent label {
    display: inline;
    font-weight: 400;
    color: var(--ss-gray-700);
    margin-bottom: 0;
}

.comment-form .form-submit {
    margin-bottom: 0;
}

.comment-form .form-submit input[type="submit"],
.comment-form input#submit {
    background: var(--ss-primary);
    color: var(--ss-white);
    border: 1px solid var(--ss-primary);
    border-radius: var(--ss-radius-pill);
    padding: var(--ss-space-3) var(--ss-space-8);
    font-family: var(--ss-font-primary);
    font-size: var(--ss-text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--ss-transition);
}

.comment-form .form-submit input[type="submit"]:hover,
.comment-form input#submit:hover {
    background: var(--ss-primary-dark);
    border-color: var(--ss-primary-dark);
}

/* Star rating picker in product reviews */
.comment-form-rating .stars a {
    color: #FFB800;
}

/* ========================================
   Toast Notifications
   ======================================== */
.solarshop-toast {
    position: fixed;
    top: var(--ss-space-4);
    right: var(--ss-space-4);
    z-index: var(--ss-z-toast);
    background: var(--ss-dark);
    color: var(--ss-white);
    padding: var(--ss-space-3) var(--ss-space-6);
    border-radius: var(--ss-radius);
    font-size: var(--ss-text-sm);
    font-weight: 500;
    box-shadow: var(--ss-shadow-xl);
    transform: translateX(120%);
    transition: transform var(--ss-transition-slow);
    max-width: 350px;
}

.solarshop-toast.show {
    transform: translateX(0);
}

.solarshop-toast.success {
    background: var(--ss-accent);
}

.solarshop-toast.error {
    background: var(--ss-danger);
}

/* ========================================
   Spinner
   ======================================== */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--ss-gray-300);
    border-top-color: var(--ss-primary);
    border-radius: var(--ss-radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--ss-z-modal) - 1);
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.solarshop-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: var(--ss-white);
    z-index: var(--ss-z-modal);
    transform: translateX(-100%);
    transition: transform var(--ss-transition-slow);
    overflow-y: auto;
}

.solarshop-mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ss-space-4);
    border-bottom: 1px solid var(--ss-gray-200);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ss-gray-600);
    padding: var(--ss-space-1);
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ss-space-3) var(--ss-space-4);
    color: var(--ss-gray-800);
    font-weight: 500;
    border-bottom: 1px solid var(--ss-gray-200);
}

.mobile-menu-toggle {
    cursor: pointer;
    transition: transform var(--ss-transition);
}

.mobile-menu-toggle.open {
    transform: rotate(180deg);
}

.mobile-sub-menu {
    list-style: none;
    padding: 0;
    background: var(--ss-gray-100);
}

.mobile-sub-menu .mobile-menu-link {
    padding-left: var(--ss-space-8);
    font-weight: 400;
    font-size: var(--ss-text-sm);
}

/* ========================================
   WooCommerce Notices (added to cart, errors, info)
   ======================================== */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ss-space-3);
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-left: 4px solid var(--ss-success);
    border-radius: var(--ss-radius-lg);
    box-shadow: var(--ss-shadow-md);
    padding: var(--ss-space-4) var(--ss-space-5) var(--ss-space-4) 56px;
    margin: 0 0 var(--ss-space-5);
    position: relative;
    color: var(--ss-gray-800);
    font-size: var(--ss-text-sm);
    font-weight: 500;
    line-height: 1.5;
    list-style: none;
    animation: ss-notice-in 0.35s ease both;
}

@keyframes ss-notice-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Icon badge */
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ss-success);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position: center;
    font-family: inherit;
    margin: 0;
}

.woocommerce-error {
    border-left-color: var(--ss-danger);
}

.woocommerce-error::before {
    background-color: var(--ss-danger);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='7' x2='12' y2='13'/%3E%3Ccircle cx='12' cy='17' r='0.5' fill='white'/%3E%3C/svg%3E");
}

.woocommerce-info {
    border-left-color: var(--ss-info);
}

.woocommerce-info::before {
    background-color: var(--ss-info);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='11' x2='12' y2='17'/%3E%3Ccircle cx='12' cy='7' r='0.5' fill='white'/%3E%3C/svg%3E");
}

/* Error lists render as <ul class="woocommerce-error"><li>…</li></ul> */
ul.woocommerce-error li {
    list-style: none;
    margin: 0;
}

/* Action button inside the notice (View cart, etc.) */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
    order: 2;
    margin-left: auto;
    background: var(--ss-secondary);
    color: var(--ss-white);
    border: none;
    border-radius: var(--ss-radius-full);
    padding: 8px 20px;
    font-size: var(--ss-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.woocommerce-message .button:hover,
.woocommerce-error .button:hover,
.woocommerce-info .button:hover {
    background: var(--ss-primary);
    color: var(--ss-white);
}

/* Auto-hide (applied by JS to success/info notices) */
.woocommerce-message.ss-notice-hide,
.woocommerce-info.ss-notice-hide {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.4s ease, transform 0.4s ease, margin 0.4s ease 0.2s, max-height 0.4s ease 0.2s, padding 0.4s ease 0.2s;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    overflow: hidden;
    border-width: 0;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats {
        gap: var(--ss-space-4);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

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

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

    .category-circles {
        grid-template-columns: repeat(5, 1fr);
    }

    .category-circle-image {
        width: 140px;
        height: 140px;
    }

    .showcase-grid {
        grid-template-columns: 220px 1fr;
    }

    .showcase-tiles {
        grid-column: 1 / -1;
        grid-template-rows: none;
        grid-template-columns: repeat(4, 1fr);
    }

    .quick-view-content {
        grid-template-columns: 1fr;
    }

    .section-header .view-all-link {
        position: static;
        transform: none;
        display: block;
        margin-top: var(--ss-space-3);
    }

    .mega-menu-dropdown {
        min-width: 500px;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --ss-text-4xl: 1.875rem;
        --ss-text-3xl: 1.5rem;
        --ss-text-2xl: 1.25rem;
    }

    .solarshop-topbar {
        display: none;
    }

    .mobile-menu-toggle-btn {
        display: flex;
    }

    .solarshop-nav {
        display: none;
    }

    .header-main {
        padding: var(--ss-space-3) 0;
        gap: var(--ss-space-3);
    }

    .header-search {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-width: none;
        background: var(--ss-white);
        padding: var(--ss-space-3) var(--ss-space-4);
        box-shadow: var(--ss-shadow);
        display: none;
    }

    .header-search.active {
        display: block;
    }

    .header-action-btn span:not(.badge) {
        display: none;
    }

    ul.products,
    .columns-3,
    .columns-4,
    .columns-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-circles {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-circle-image {
        width: 110px;
        height: 110px;
    }

    .category-marquee-track {
        gap: var(--ss-space-6);
    }

    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-banner .container {
        grid-template-columns: 1fr;
    }

    .hero-products {
        min-width: 0;
    }

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

    .showcase-cats {
        order: 3;
    }

    .showcase-banner {
        order: 1;
    }

    .showcase-tiles {
        order: 2;
    }

    .showcase-tile {
        min-height: 130px;
    }

    .promo-banners {
        grid-template-columns: 1fr;
    }

    .promo-banner-card .promo-img {
        width: 100px;
        height: 100px;
    }

    .services-grid,
    .testimonials-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        min-height: 70vh;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--ss-space-4);
    }

    .hero-stat-item {
        flex: 1 1 45%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        gap: var(--ss-space-3);
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ss-space-4);
    }

    .newsletter-form-group {
        flex-direction: column;
        border-radius: var(--ss-radius);
    }

    .newsletter-submit {
        border-radius: var(--ss-radius) !important;
    }

    .solarshop-mini-cart-dropdown {
        width: 100%;
    }

    .compare-table-wrapper {
        overflow-x: auto;
    }

    .modal-container {
        margin: var(--ss-space-2);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    ul.products,
    .columns-2 {
        grid-template-columns: 1fr;
    }

    .brand-logos-grid {
        gap: var(--ss-space-4);
    }

    .brand-logo-item img {
        max-height: 35px;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .solarshop-topbar,
    .solarshop-header,
    .solarshop-nav,
    .solarshop-footer,
    .solarshop-compare-bar,
    .solarshop-modal,
    .product-action-icons,
    .solarshop-whatsapp-btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ========================================
   Accessibility
   ======================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

:focus-visible {
    outline: 2px solid var(--ss-primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}


/* ========================================
   Category Promo Banners (image cards)
   ======================================== */
.category-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ss-space-6);
}

.category-banner {
    display: block;
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    box-shadow: var(--ss-shadow-sm);
    transition: transform var(--ss-transition-slow), box-shadow var(--ss-transition-slow);
}

.category-banner:hover {
    transform: translateY(-4px);
    box-shadow: var(--ss-shadow-lg);
}

.category-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--ss-transition-slow);
}

.category-banner:hover img {
    transform: scale(1.02);
}

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

/* ========================================
   Contact Us page
   ======================================== */
.contact-hero {
    background: var(--ss-secondary);
    color: var(--ss-white);
    padding: var(--ss-space-12) 0;
    text-align: center;
}

.contact-hero h1 {
    color: var(--ss-white);
    font-size: var(--ss-text-4xl);
    margin-bottom: var(--ss-space-2);
}

.contact-hero p {
    color: var(--ss-gray-400);
    max-width: 640px;
    margin: 0 auto;
}

.contact-cards-section {
    padding: var(--ss-space-8) 0 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ss-space-4);
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--ss-space-1);
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-lg);
    padding: var(--ss-space-6);
    transition: border-color var(--ss-transition), box-shadow var(--ss-transition);
}

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

.contact-card .cc-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--ss-radius-full);
    background: var(--ss-primary-light);
    color: var(--ss-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--ss-space-2);
}

.contact-card .cc-icon-wa {
    background: #E7F9EE;
    color: #25D366;
}

.contact-card .cc-title {
    font-family: var(--ss-font-heading);
    font-weight: 700;
    color: var(--ss-dark);
}

.contact-card .cc-text {
    font-size: var(--ss-text-sm);
    color: var(--ss-gray-600);
}

.contact-main-section {
    padding: var(--ss-space-10) 0 var(--ss-space-12);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--ss-space-8);
    align-items: start;
}

.contact-form-col h2 {
    font-size: var(--ss-text-2xl);
    margin-bottom: var(--ss-space-1);
}

.contact-form-sub {
    color: var(--ss-gray-600);
    margin-bottom: var(--ss-space-5);
}

.contact-form {
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-lg);
    padding: var(--ss-space-8);
}

.contact-form .cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ss-space-4);
}

.contact-form .cf-field {
    margin-bottom: var(--ss-space-4);
}

.contact-form label {
    display: block;
    font-size: var(--ss-text-sm);
    font-weight: 600;
    color: var(--ss-dark);
    margin-bottom: var(--ss-space-2);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: var(--ss-space-3) var(--ss-space-4);
    border: 1px solid var(--ss-gray-300);
    border-radius: var(--ss-radius);
    font-family: var(--ss-font-primary);
    font-size: var(--ss-text-sm);
    color: var(--ss-dark);
    background: var(--ss-white);
    outline: none;
    transition: border-color var(--ss-transition);
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--ss-dark);
}

.contact-form textarea {
    resize: vertical;
}

.cf-status {
    margin-top: var(--ss-space-4);
    padding: var(--ss-space-3) var(--ss-space-4);
    border-radius: var(--ss-radius);
    font-size: var(--ss-text-sm);
}

.cf-status.success {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.cf-status.error {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.contact-address-card {
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-lg);
    padding: var(--ss-space-6);
    margin-bottom: var(--ss-space-4);
}

.contact-address-card h3 {
    display: flex;
    align-items: center;
    gap: var(--ss-space-2);
    font-size: var(--ss-text-lg);
    margin-bottom: var(--ss-space-2);
}

.contact-address-card h3 svg {
    color: var(--ss-primary);
}

.contact-address-card p {
    color: var(--ss-gray-600);
    margin: 0;
}

.contact-map {
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ss-gray-200);
    margin-bottom: var(--ss-space-4);
}

.contact-map iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

.contact-socials h3 {
    font-size: var(--ss-text-lg);
    margin-bottom: var(--ss-space-2);
}

@media (max-width: 1024px) {
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-main-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .contact-cards { grid-template-columns: 1fr; }
    .contact-form .cf-row { grid-template-columns: 1fr; }
}

/* ========================================
   Blog cards — aligned grid
   ======================================== */
.blog-card {
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--ss-transition), transform var(--ss-transition);
}

.blog-card:hover {
    box-shadow: var(--ss-shadow-md);
    transform: translateY(-2px);
}

.blog-card .blog-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--ss-gray-100);
    overflow: hidden;
}

.blog-card .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--ss-space-4);
    transition: transform var(--ss-transition-slow);
}

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

.blog-card .blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.blog-card h2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: calc(2 * 1.35 * var(--ss-text-lg));
}

.blog-card .blog-card-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--ss-space-3);
}

.blog-card .blog-card-content .btn {
    margin-top: auto !important;
    align-self: flex-start;
}

@media (max-width: 1024px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 640px) {
    .posts-grid { grid-template-columns: 1fr !important; }
}

/* ========================================
   Single blog post — editorial design
   ======================================== */
.single-post-wrap {
    padding: var(--ss-space-8) 0 var(--ss-space-12);
}

.single-post-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
    gap: var(--ss-space-10);
    align-items: start;
}

.post-header {
    margin-bottom: var(--ss-space-6);
}

.post-cats a {
    display: inline-block;
    background: var(--ss-primary-light);
    color: var(--ss-primary);
    font-size: var(--ss-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: var(--ss-radius-pill);
    margin: 0 var(--ss-space-2) var(--ss-space-3) 0;
}

.post-title {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.25;
    margin-bottom: var(--ss-space-3);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: var(--ss-space-2);
    font-size: var(--ss-text-sm);
    color: var(--ss-gray-500);
}

.post-hero {
    aspect-ratio: 16 / 8;
    background: var(--ss-gray-100);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    margin-bottom: var(--ss-space-8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--ss-space-6);
}

/* Article typography */
.single-post-article .entry-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--ss-gray-800);
}

.single-post-article .entry-content h2 {
    position: relative;
    font-size: var(--ss-text-xl);
    margin: var(--ss-space-8) 0 var(--ss-space-3);
    padding-left: var(--ss-space-4);
}

.single-post-article .entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    border-radius: 2px;
    background: var(--ss-primary);
}

.single-post-article .entry-content h3 {
    font-size: var(--ss-text-lg);
    margin: var(--ss-space-6) 0 var(--ss-space-2);
}

.single-post-article .entry-content ul,
.single-post-article .entry-content ol {
    margin: 0 0 var(--ss-space-4);
    padding-left: var(--ss-space-6);
}

.single-post-article .entry-content li {
    margin-bottom: var(--ss-space-2);
}

.single-post-article .entry-content li::marker {
    color: var(--ss-primary);
    font-weight: 700;
}

/* Tags as chips */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ss-space-2);
    margin-top: var(--ss-space-8);
    padding-top: var(--ss-space-5);
    border-top: 1px solid var(--ss-gray-200);
}

.post-tags a {
    display: inline-block;
    background: var(--ss-gray-100);
    border: 1px solid var(--ss-gray-200);
    color: var(--ss-gray-700);
    font-size: var(--ss-text-xs);
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--ss-radius-pill);
    transition: all var(--ss-transition);
}

.post-tags a:hover {
    background: var(--ss-primary);
    border-color: var(--ss-primary);
    color: var(--ss-white);
}

/* Prev / next cards */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ss-space-4);
    margin-top: var(--ss-space-8);
}

.post-nav-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-lg);
    padding: var(--ss-space-4) var(--ss-space-5);
    transition: border-color var(--ss-transition), box-shadow var(--ss-transition);
}

.post-nav-card:hover {
    border-color: var(--ss-primary);
    box-shadow: var(--ss-shadow-sm);
}

.post-nav-card.next {
    text-align: right;
}

.post-nav-card .pn-label {
    font-size: var(--ss-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ss-primary);
}

.post-nav-card .pn-title {
    font-size: var(--ss-text-sm);
    font-weight: 600;
    color: var(--ss-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog sidebar widgets */
.blog-sidebar .widget {
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-lg);
    padding: var(--ss-space-5);
    margin-bottom: var(--ss-space-5);
}

.blog-sidebar .widget h2,
.blog-sidebar .widget .widget-title,
.blog-sidebar .widget .wp-block-heading {
    font-family: var(--ss-font-heading);
    font-size: var(--ss-text-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ss-dark);
    margin: 0 0 var(--ss-space-3);
    padding-bottom: var(--ss-space-2);
    border-bottom: 2px solid var(--ss-primary);
    display: block;
}

.blog-sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-sidebar .widget ul li {
    border-bottom: 1px solid var(--ss-gray-200);
}

.blog-sidebar .widget ul li:last-child {
    border-bottom: none;
}

.blog-sidebar .widget ul li a {
    display: block;
    padding: var(--ss-space-2) 0;
    color: var(--ss-gray-700);
    font-size: var(--ss-text-sm);
    transition: color var(--ss-transition), padding-left var(--ss-transition);
}

.blog-sidebar .widget ul li a:hover {
    color: var(--ss-primary);
    padding-left: var(--ss-space-2);
}

/* Recent posts widget */
.sidebar-recent-posts .srp-item {
    display: flex;
    gap: var(--ss-space-3);
    align-items: center;
    padding: var(--ss-space-2) 0;
    border-bottom: 1px solid var(--ss-gray-200);
}

.sidebar-recent-posts .srp-item:last-child {
    border-bottom: none;
}

.sidebar-recent-posts .srp-thumb img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: var(--ss-gray-100);
    border-radius: var(--ss-radius);
    display: block;
}

.sidebar-recent-posts .srp-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: var(--ss-text-sm);
    font-weight: 600;
    color: var(--ss-dark);
    line-height: 1.35;
}

.sidebar-recent-posts .srp-date {
    display: block;
    font-size: var(--ss-text-xs);
    color: var(--ss-gray-500);
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .single-post-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ Section (Contact page)
   ======================================== */
.faq-section {
    padding: var(--ss-space-16) 0;
    background: var(--ss-gray-100);
}

.faq-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--ss-space-10);
}

.faq-header h2 {
    font-size: var(--ss-text-3xl);
    font-weight: 700;
    color: var(--ss-secondary);
    margin-bottom: var(--ss-space-3);
    position: relative;
    display: inline-block;
    padding-bottom: var(--ss-space-3);
}

.faq-header h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: var(--ss-primary);
}

.faq-header p {
    color: var(--ss-gray-500);
    font-size: var(--ss-text-base);
}

.faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--ss-space-3);
}

.faq-item {
    background: var(--ss-white);
    border: 1px solid var(--ss-gray-200);
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--ss-primary);
    box-shadow: var(--ss-shadow-md);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ss-space-4);
    padding: var(--ss-space-4) var(--ss-space-5);
    font-weight: 600;
    font-size: var(--ss-text-base);
    color: var(--ss-secondary);
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover,
.faq-item[open] summary {
    color: var(--ss-primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ss-gray-100);
    position: relative;
    transition: background 0.2s ease, transform 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 1px;
    background: var(--ss-gray-600);
    transform: translate(-50%, -50%);
    transition: background 0.2s ease, transform 0.25s ease;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
    background: var(--ss-primary);
    transform: rotate(45deg);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
    background: var(--ss-white);
}

.faq-answer {
    padding: 0 var(--ss-space-5) var(--ss-space-5);
}

.faq-answer p {
    margin: 0;
    color: var(--ss-gray-600);
    font-size: var(--ss-text-sm);
    line-height: 1.75;
    border-top: 1px solid var(--ss-gray-100);
    padding-top: var(--ss-space-4);
}

@media (max-width: 640px) {
    .faq-section {
        padding: var(--ss-space-10) 0;
    }

    .faq-item summary {
        font-size: var(--ss-text-sm);
        padding: var(--ss-space-4);
    }
}
