/* CSS Reset & Variables */
:root {
    /* Colors */
    --primary-color: hsl(36, 100%, 50%);
    /* Amber/Orange */
    --primary-hover: hsl(36, 100%, 45%);
    --secondary-color: hsl(215, 28%, 17%);
    /* Dark Blue/Gray */
    --secondary-hover: hsl(215, 28%, 12%);
    --accent-color: hsl(4, 90%, 58%);
    /* Red for sales/alerts */
    --text-color: hsl(215, 20%, 30%);
    --text-light: hsl(215, 20%, 50%);
    --background-color: hsl(210, 20%, 98%);
    --white: #ffffff;
    --light-gray: hsl(210, 20%, 94%);
    --border-color: hsl(210, 20%, 90%);

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

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

ul {
    list-style: none;
}

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

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input,
button {
    outline: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Top Bar
   ========================================= */
.top-bar {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 20px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a:hover {
    color: var(--white);
}

/* =========================================
   Main Header
   ========================================= */
.main-header {
    background-color: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 100;
}

.header-grid {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 40px;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo-image {
    height: 88px;
    width: auto;
    max-width: min(320px, 100%);
    object-fit: contain;
    display: block;
}

.logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    color: var(--secondary-color);
    line-height: 1;
}

.tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Search Bar */
.search-wrapper {
    width: 100%;
}

.search-form {
    display: flex;
    width: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    overflow: hidden;
    height: 48px;
    transition: var(--transition);
}

.search-form:focus-within {
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.15);
}

.search-input {
    flex: 1;
    padding: 0 20px;
    border: none;
    font-size: 1rem;
    color: var(--text-color);
}

.search-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: var(--primary-hover);
}

/* Header Actions */
.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-item:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
}

.icon-box {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background-color: var(--light-gray);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.action-text .label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.action-text .sub {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* =========================================
   Navigation Bar
   ========================================= */
.main-nav {
    background-color: var(--secondary-color);
    position: relative;
    z-index: 90;
    border-bottom: 4px solid var(--primary-color);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 14px;
    /* Reduced padding */
    color: var(--white);
    font-size: 0.9rem;
    /* Slightly smaller font */
    font-weight: 500;
    transition: var(--transition);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    /* Prevent text wrapping */
}

.nav-item:first-child a {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.nav-item.special a {
    background-color: var(--primary-color);
    font-weight: 700;
}

.nav-item.special a:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.nav-item.dropdown .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.nav-item .dropdown-menu {
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 8px 8px;
    margin-top: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 220px;
}

.mobile-utility-links {
    display: none;
}

.nav-item .dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.nav-item .dropdown-item:last-child {
    border-bottom: none;
}

.nav-item .dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile Dropdown Adjustments */
@media (max-width: 992px) {
    .nav-item.dropdown .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: #f9f9f9;
        border: none;
        box-shadow: none;
        padding-left: 15px;
    }

    .nav-item .dropdown-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}

.mobile-header,
.mobile-menu-head {
    display: none;
}

/* =========================================
   Rest of the Site (Hero, Products, etc.)
   ========================================= */

/* Button Utilities from previous design */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

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

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

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.w-full {
    width: 100%;
}

/* Hero Section Updates */
.hero {
    position: relative;
    height: 500px;
    /* Reduced height for e-commerce look */
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    margin-bottom: 0;

}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(16, 24, 40, 0.9) 0%, rgba(16, 24, 40, 0.4) 100%);
}

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

.hero-subtitle {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Categories Section */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.section-title {
    font-size: 2rem;
    color: var(--secondary-color);
}

.section-subtitle {
    margin: 10px 0 0;
    color: var(--text-light);
    max-width: 600px;
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.category-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

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

.cat-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 152, 0, 0.1);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

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

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.catalog-load-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 72px;
    color: var(--text-light);
    font-weight: 600;
}

.catalog-load-trigger.is-loading span::after {
    content: ' ...';
}

.mobile-search-drawer {
    display: none;
}

.mobile-submenu-panel {
    display: none;
}

.mobile-nav-extra {
    display: none;
}

@media (min-width: 993px) {
    .mobile-search-drawer {
        display: none !important;
    }

    .mobile-submenu-panel {
        display: none !important;
    }
}

.category-sidebar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
}

.category-sidebar .sidebar-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-sidebar .sidebar-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary-color);
}

.sidebar-list,
.sidebar-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-link,
.sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    color: var(--secondary-color);
    border-bottom: 1px solid #eef2f7;
}

.sub-link {
    padding-left: 34px;
    font-size: 0.94rem;
    color: #4b5563;
}

.sidebar-item.active > .sidebar-link,
.sub-item.active > .sub-link {
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(255, 152, 0, 0.06);
}

.sidebar-sublist {
    display: none;
}

.sidebar-sublist.open {
    display: block;
}

.mobile-filter-toggle,
.mobile-filter-close {
    border: 0;
    background: none;
    color: var(--secondary-color);
}

.mobile-filter-toggle {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 700;
    background: #fff;
    border: 1px solid var(--border-color);
}

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

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}


.product-image {
    position: relative;
    height: 240px;
    background-color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--light-gray);
    overflow: hidden;
}

.product-image img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
    transform: translateX(0);
}

.btn-icon {
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
}

.tag.new {
    background-color: var(--secondary-color);
    color: var(--white);
}

.tag.sale {
    background-color: var(--accent-color);
    color: var(--white);
}

.tag.out-of-stock {
    background-color: #b91c1c;
    color: var(--white);
}

.projects-showcase {
    background: linear-gradient(180deg, #fff 0%, #fff8ef 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.project-card-image {
    aspect-ratio: 16 / 10;
    background: #f8fafc;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.project-card-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9a5b14;
    background: #fff1df;
    border-radius: 999px;
    padding: 8px 12px;
}

.project-card-body h3,
.project-list-content h2 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--secondary-color);
}

.project-card-body p,
.project-list-content p,
.project-detail-summary,
.project-detail-body {
    margin: 0;
    color: #4b5563;
    line-height: 1.8;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 700;
}

.project-hero {
    background:
        linear-gradient(rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.72)),
        url('/assets/images/hero.png');
    background-position: center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 84px 0;
}

.project-hero h1 {
    color: #fff;
    font-size: 3rem;
    margin: 18px 0 14px;
}

.project-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
}

.projects-empty-state {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 56px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.projects-empty-icon {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #fff1df;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 22px;
}

.projects-empty-state h2 {
    margin-bottom: 14px;
}

.projects-empty-state p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.8;
}

.projects-empty-actions,
.project-list-actions,
.project-detail-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.projects-empty-actions {
    justify-content: center;
    margin-top: 24px;
}

.projects-list-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.project-list-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.project-list-media {
    min-height: 320px;
    background: #f8fafc;
}

.project-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-list-content {
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.project-detail-section {
    padding-top: 44px;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 34px;
    align-items: start;
}

.project-detail-gallery,
.project-detail-content {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.project-detail-gallery {
    padding: 20px;
}

.project-detail-main {
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
}

.project-detail-main img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.project-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    transition: var(--transition);
}

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

.project-thumb img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    display: block;
}

.project-detail-content {
    padding: 32px;
}

.project-detail-content h1 {
    font-size: 2.4rem;
    margin: 18px 0;
}

.project-detail-summary {
    font-size: 1.05rem;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.project-detail-body {
    padding-top: 22px;
}

.project-detail-body h2,
.project-detail-body h3,
.project-detail-body h4 {
    color: var(--secondary-color);
    margin: 0 0 16px;
}

.project-detail-body p,
.project-detail-body ul,
.project-detail-body ol {
    margin-bottom: 18px;
}

.project-detail-body img,
.project-detail-body iframe,
.project-detail-body table {
    max-width: 100%;
}

.project-related-block {
    margin-top: 52px;
}

@media (max-width: 1199px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-list-card {
        grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    }

    .project-list-content {
        padding: 28px;
    }
}

@media (max-width: 991px) {
    .project-hero {
        padding: 64px 0;
    }

    .project-hero h1 {
        font-size: 2.35rem;
    }

    .project-list-card,
    .project-detail-grid {
        grid-template-columns: 1fr;
    }

    .project-list-media {
        min-height: 260px;
    }

    .project-detail-content h1 {
        font-size: 2rem;
    }

    .project-detail-content,
    .project-detail-gallery {
        border-radius: 18px;
    }
}

@media (max-width: 767px) {
    .project-hero {
        padding: 52px 0;
        margin-bottom: 0;
    }

    .project-hero .hero-subtitle {
        margin-bottom: 12px;
    }

    .project-hero h1 {
        font-size: 1.9rem;
        line-height: 1.18;
        margin: 10px 0 12px;
    }

    .project-hero p {
        font-size: 0.98rem;
        line-height: 1.7;
        padding: 0 8px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .projects-empty-state {
        padding: 36px 20px;
        border-radius: 18px;
    }

    .projects-empty-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 18px;
    }

    .projects-empty-state h2 {
        font-size: 1.35rem;
        line-height: 1.35;
    }

    .projects-empty-state p {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .project-list-card {
        border-radius: 18px;
    }

    .project-list-media {
        min-height: 220px;
    }

    .project-list-content,
    .project-detail-content {
        padding: 22px 18px;
        gap: 14px;
    }

    .project-card-body {
        padding: 20px 18px;
        gap: 12px;
    }

    .project-card-body h3,
    .project-list-content h2 {
        font-size: 1.15rem;
        line-height: 1.4;
    }

    .projects-empty-actions,
    .project-list-actions,
    .project-detail-cta {
        flex-direction: column;
    }

    .projects-empty-actions .btn,
    .project-list-actions .btn,
    .project-detail-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .project-detail-section {
        padding-top: 28px;
    }

    .project-detail-grid {
        gap: 20px;
    }

    .project-detail-gallery {
        padding: 14px;
        border-radius: 18px;
    }

    .project-detail-main {
        border-radius: 14px;
    }

    .project-detail-main img {
        aspect-ratio: 4 / 3;
    }

    .project-detail-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 12px;
    }

    .project-thumb {
        border-radius: 10px;
    }

    .project-thumb img {
        height: 72px;
    }

    .project-detail-content h1 {
        font-size: 1.55rem;
        line-height: 1.28;
        margin: 10px 0 4px;
    }

    .project-detail-summary,
    .project-detail-body {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .project-detail-body {
        padding-top: 16px;
    }

    .project-related-block {
        margin-top: 36px;
    }

    .project-related-block .section-header {
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .project-hero {
        padding: 46px 0;
    }

    .project-hero h1 {
        font-size: 1.7rem;
    }

    .project-card-badge {
        font-size: 0.68rem;
        padding: 7px 10px;
    }

    .project-list-media {
        min-height: 190px;
    }

    .project-list-content,
    .project-card-body,
    .project-detail-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .project-detail-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .breadcrumb-area {
        padding: 12px 0;
    }

    .breadcrumb {
        gap: 6px;
        flex-wrap: wrap;
    }
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rating {
    margin-bottom: 8px;
    color: #ffc107;
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

.product-card .product-title {
    font-size: 1.1rem !important;
    /* Force override */
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    /* Force exactly 2 lines height */
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.price-box {
    margin-top: auto;
    margin-bottom: 15px;
    min-height: 50px;
    /* Reserve space for potentially 2 lines of price */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.price {
    font-size: 1.2rem;
    /* Slightly reduced from 1.3rem to fit better */
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.2;
}

.old-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 8px;
    font-weight: 400;
}

/* CTA & Footer */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2a44 100%);
    color: var(--white);
    text-align: center;
    border-radius: 20px;
    margin: 40px auto 60px;
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
}

/* Footer remains similar but adjusting spacing */
/* Footer */
/* Footer */
.footer {
    background-color: #111827;
    color: #9CA3AF;
    padding: 70px 0 0;
    font-size: 0.95rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.footer-logo-image {
    height: 92px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.footer-logo i {
    color: var(--primary-color);
    font-size: 2rem;
}

.footer-col p {
    color: #9CA3AF;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-col ul {
    padding-left: 0;
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9CA3AF;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #9CA3AF;
    font-size: 1.4rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    font-size: 0.9rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal a {
    color: #6B7280;
}

.footer-legal a:hover {
    color: var(--white);
}

.payment-badges {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
}

.payment-badges-footer {
    margin-top: 18px;
    width: 130px;
    min-width: 130px;
}

.payment-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    flex: 0 0 60px;
    line-height: 0;
}

.payment-badge img {
    display: block;
    width: 100%;
    height: auto;
}

/* Legal Pages Styles */
.legal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 50px;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.legal-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content .text-muted {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 30px;
    display: block;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

/* =========================================
   Responsive Breakpoints
   ========================================= */
/* =========================================
   Responsive Breakpoints
   ========================================= */

/* Tablet & Smaller Desktop (max-width: 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    /* Hide Desktop Header Elements */
    .top-bar,
    .main-header {
        display: none;
    }

    /* Mobile Header */
    .mobile-header {
        display: block;
        background-color: var(--white);
        padding: 12px 0;
        box-shadow: var(--shadow-sm);
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

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

    .mobile-logo {
        display: inline-flex;
        align-items: center;
    }

    .mobile-logo-image {
        height: 42px;
        width: auto;
        max-width: min(210px, 52vw);
        object-fit: contain;
        display: block;
    }

    .mobile-actions {
        display: flex;
        gap: 18px;
        align-items: center;
    }

    .mobile-actions a {
        font-size: 1.35rem;
        color: var(--secondary-color);
    }

    #mobile-toggle {
        font-size: 1.5rem;
        color: var(--secondary-color);
        padding: 5px;
        display: flex;
    }

    /* Mobile Side Navigation (Drawer) */
    .main-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: auto;
        background-color: var(--white);
        border: none;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(0);
        /* State managed by left prop or transform */
        z-index: 2000;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
        padding: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        display: flex;
        flex-direction: column;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav .container {
        padding: 0;
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    .mobile-menu-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background-color: var(--secondary-color);
        color: var(--white);
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 1.1rem;
    }

    #mobile-close {
        color: var(--white);
        font-size: 1.4rem;
        padding: 5px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px 0 16px;
        flex: 0 0 auto;
        min-height: auto;
        max-height: none;
        overflow: visible;
    }

    .mobile-utility-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 16px 16px 10px;
        border-top: 1px solid var(--light-gray);
        background: #f8fafc;
        margin-top: 12px;
    }

    .mobile-utility-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 8px;
        border-radius: 999px;
        background: #fff;
        color: var(--secondary-color);
        font-weight: 600;
        font-size: 0.78rem;
        border: 1px solid #e5e7eb;
        min-height: 42px;
        line-height: 1.1;
        text-align: center;
        white-space: nowrap;
    }

    .mobile-utility-link i {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .mobile-utility-link-wide {
        grid-column: span 2;
    }

    .mobile-nav-section-label {
        display: block;
        padding: 14px 20px 8px;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #94a3b8;
    }

    .mobile-nav-extra {
        display: list-item;
    }

    .nav-item {
        margin: 0;
    }

    .nav-item a {
        display: flex;
        color: var(--text-color);
        border: none;
        border-bottom: 1px solid var(--light-gray);
        padding: 16px 20px;
        font-size: 1rem;
        white-space: normal;
        word-break: break-word;
        /* Allow wrapping */
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
    }

    .nav-item a:hover {
        background-color: var(--light-gray);
        color: var(--primary-color);
        padding-left: 25px;
        /* Subtle slide effect */
    }

    .nav-item.special a {
        background-color: rgba(255, 152, 0, 0.1);
        color: var(--primary-color);
        font-weight: 700;
        border-bottom: 1px solid rgba(255, 152, 0, 0.2);
    }

    .nav-item .dropdown-menu {
        position: static !important;
        display: none;
        width: 100%;
        min-width: 0;
        border: 0;
        border-top: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .nav-item.submenu-open .dropdown-menu {
        display: block;
    }

    .nav-item .dropdown-item {
        padding: 12px 32px;
        background: #f8fafc;
    }

    .nav-item a i.small {
        margin-left: auto;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .nav-item .dropdown-item:hover {
        padding-left: 36px;
    }

    .mobile-submenu-panel {
        position: absolute;
        inset: 0;
        background: #fff;
        z-index: 5;
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        pointer-events: none;
    }

    .mobile-submenu-panel.active {
        transform: translateX(0);
        pointer-events: auto;
    }

    .mobile-submenu-head {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 20px;
        border-bottom: 1px solid var(--light-gray);
        min-height: 76px;
    }

    .mobile-submenu-head strong {
        font-size: 1rem;
        color: var(--secondary-color);
    }

    .mobile-submenu-back {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--secondary-color);
        font-weight: 700;
    }

    .mobile-submenu-body {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 18px;
    }

    .mobile-submenu-link {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 14px 20px;
        border-bottom: 1px solid var(--light-gray);
        color: var(--text-color);
        font-weight: 600;
    }

    .mobile-submenu-link-parent {
        color: var(--primary-color);
        font-weight: 700;
        background: #fff7ed;
    }

    .mobile-submenu-footer {
        margin-top: auto;
        background: #f8fafc;
        border-top: 1px solid var(--light-gray);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .mobile-submenu-footer .mobile-utility-links {
        margin-top: 0;
        border-top: 0;
    }

    .mobile-search-drawer {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 2100;
        pointer-events: none;
    }

    .mobile-search-drawer.active {
        pointer-events: auto;
    }

    .mobile-search-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.46);
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    .mobile-search-panel {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        background: #fff;
        border-radius: 0 0 18px 18px;
        padding: 18px 16px 16px;
        box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
        transform: translateY(-110%);
        transition: transform 0.25s ease;
    }

    .mobile-search-drawer.active .mobile-search-backdrop {
        opacity: 1;
    }

    .mobile-search-drawer.active .mobile-search-panel {
        transform: translateY(0);
    }

    .mobile-search-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .mobile-search-head strong {
        font-size: 1rem;
        color: var(--secondary-color);
    }

    .mobile-search-head button {
        font-size: 1.4rem;
        color: var(--secondary-color);
    }

    .mobile-search-form {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 1px solid #d1d5db;
        border-radius: 12px;
        padding: 10px 12px;
    }

    .mobile-search-input {
        flex: 1;
        border: 0;
        font-size: 0.95rem;
        min-width: 0;
    }

    .mobile-search-submit {
        font-size: 1.2rem;
        color: var(--primary-color);
        background: none;
        border: 0;
    }

    .mobile-search-results {
        margin-top: 12px;
        max-height: 58vh;
        overflow-y: auto;
        display: grid;
        gap: 10px;
    }

    .mobile-search-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px;
        border-radius: 12px;
        border: 1px solid #eef2f7;
        color: inherit;
        background: #fff;
    }

    .mobile-search-item img {
        width: 56px;
        height: 56px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .mobile-search-item-info {
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .mobile-search-item-info strong {
        font-size: 0.92rem;
        color: var(--secondary-color);
        line-height: 1.3;
    }

    .mobile-search-item-info span {
        font-size: 0.85rem;
        color: var(--primary-color);
        font-weight: 700;
    }

    .mobile-search-empty {
        padding: 16px 8px;
        text-align: center;
        color: var(--text-light);
    }

    .category-sidebar {
        position: fixed;
        inset: 0;
        z-index: 2100;
        background: rgba(15, 23, 42, 0.42);
        display: none;
        border: 0;
        border-radius: 0;
        padding: 0;
    }

    .category-sidebar.mobile-open {
        display: block;
    }

    .category-sidebar .sidebar-header,
    .category-sidebar .sidebar-list {
        background: #fff;
    }

    .category-sidebar .sidebar-header {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .category-sidebar .sidebar-list {
        height: calc(100vh - 67px);
        overflow-y: auto;
    }

    .mobile-filter-close {
        font-size: 1.35rem;
        padding: 4px;
    }

    /* Layout Adjustments */
    .hero {
        height: 400px;
        margin-top: 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Tablet / Landscape Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 columns stacked */
        gap: 30px 20px;
    }

    /* Center text on smaller screens if desired, but left logic is safer */
    .hero-bg img {
        object-position: center;
    }
}

/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 400px;
        padding: 60px 0;
        text-align: center;
    }

    .hero-overlay {
        background: rgba(16, 24, 40, 0.75);
        /* Darker overlay for readability */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

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

    /* Section Headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Products Grid: 2 Columns for Mobile E-commerce standard */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        border-radius: 8px;
        /* Slightly less rounded */
    }

    .product-image {
        height: 160px;
        padding: 10px;
    }

    .tag {
        font-size: 0.65rem;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
    }

    .product-overlay {
        display: none;
        /* No hover on mobile, removing overlay buttons */
    }

    .product-info {
        padding: 12px;
    }

    .product-title {
        font-size: 0.9rem;
        margin-bottom: 5px;
        -webkit-line-clamp: 2;
        /* Ensure ellipsis logic works */
    }

    .rating {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .price {
        font-size: 1.1rem;
    }

    .old-price {
        font-size: 0.8rem;
    }

    .btn-sm {
        padding: 8px;
        font-size: 0.85rem;
    }

    /* Footer: Single Column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-logo,
    .footer-col p {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-legal a {
        margin: 0 10px;
    }

    .payment-badges {
        justify-content: center;
        width: 100%;
    }
}

/* Features Section (Why Us) */
.features {
    background-color: var(--white);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.feature-content h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Solutions Section (Image Cards) */
.solutions {
    padding: 60px 0 10px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.solution-card {
    position: relative;
    height: 380px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.solution-card:hover .solution-img {
    transform: scale(1.1);
}

.solution-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.solution-overlay h3 {
    color: var(--white);
    font-size: 1.2rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-circle {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(10px);
    opacity: 0;
}

.solution-card:hover .btn-circle {
    opacity: 1;
    transform: translateX(0);
}

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

/* Responsive for New Sections */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols on tablet */
    }
}

@media (max-width: 576px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        /* 1 col on mobile or maybe scrollable */
        display: grid;
        gap: 20px;
    }

    .solution-card {
        height: 250px;
        /* Shorter on mobile */
    }

    .solution-overlay .btn-circle {
        opacity: 1;
        /* Always show button on mobile */
        transform: translateX(0);
    }
}

/* =========================================
   Product Detail Page Styles
   ========================================= */

/* Breadcrumb */
.breadcrumb-area {
    background-color: var(--light-gray);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: #ccc;
}

.breadcrumb a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.breadcrumb li.active {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    position: relative;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    overflow: hidden;
}

.main-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.main-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.1);
}

.image-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumb {
    width: 80px;
    height: 80px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    background-color: var(--white);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.thumb.active,
.thumb:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}

.thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Product image lightbox */
.glightbox-container .gslide-image {
    max-width: min(900px, 78vw);
}

.glightbox-container .gslide-image img {
    max-width: min(900px, 78vw);
    max-height: 78vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .glightbox-container .gslide-image,
    .glightbox-container .gslide-image img {
        max-width: 90vw;
        max-height: 72vh;
    }
}

/* Product Info */
.product-info-detail {
    display: flex;
    flex-direction: column;
}

.product-category {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
    display: block;
}

.product-title-large {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.stock-status.in-stock {
    color: #10b981;
}

.stock-status i {
    font-size: 1.1rem;
}

.product-price-box {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 25px;
}

.price-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-inline-label {
    color: #475569;
    font-size: 1rem;
    font-weight: 700;
}

.price-inline-meta {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--success-color);
    /* Note: Define this or use primary */
    color: var(--secondary-color);
}

.old-price-large {
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 8px;
}

.discount-badge {
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.short-description {
    color: var(--text-color);
    margin-bottom: 25px;
}

.short-description p {
    margin-bottom: 15px;
}

.short-description ul {
    list-style: none;
    padding: 0;
}

.short-description li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
}

.short-description li i {
    color: var(--primary-color);
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    height: 50px;
}

.qty-btn {
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    color: var(--secondary-color);
    font-size: 1rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: #ddd;
}

.qty-input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    -moz-appearance: textfield;
}

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

.add-to-cart-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    height: 50px;
}

.fav-btn {
    border: none;
    background: transparent;
    padding: 0;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.fav-btn:hover {
    transform: scale(1.1);
    background-color: transparent;
    color: var(--accent-color);
}

.product-policies {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.installment-table-card {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.installment-table-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.installment-table-head h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.installment-table-head p {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
}

.installment-table-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff7ed;
    color: var(--primary-color);
    font-weight: 800;
    white-space: nowrap;
}

.installment-table-wrap {
    overflow-x: auto;
}

.installment-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.installment-brand-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.installment-brand-header {
    min-height: 78px;
    padding: 18px 18px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.installment-brand-logo {
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.installment-brand-name {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 800;
}

.installment-brand-table-wrap {
    overflow-x: auto;
}

.installment-brand-table {
    width: 100%;
    border-collapse: collapse;
}

.installment-brand-table th,
.installment-brand-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #edf2f7;
    text-align: center;
    vertical-align: middle;
    background: #fff;
}

.installment-brand-table thead th {
    background: #ffffff;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.installment-brand-table tbody td {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.installment-brand-table tbody tr:last-child td {
    border-bottom: 0;
}

.installment-brand-table tbody td:first-child {
    width: 64px;
    color: #111827;
    font-weight: 700;
}

.installment-amount-cell {
    color: #111827;
    font-weight: 800;
    white-space: nowrap;
}

.installment-total-cell {
    color: #8b949e;
    font-weight: 700;
    white-space: nowrap;
}

.installment-table-note {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .installment-table-card {
        padding: 18px 14px;
    }

    .installment-table-head {
        flex-direction: column;
    }

    .installment-table-price {
        width: 100%;
    }

    .installment-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .installment-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.policy-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.policy-text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    line-height: 1.2;
}

.policy-text strong {
    color: var(--secondary-color);
    margin-bottom: 2px;
}

/* Tabs */
.product-tabs-wrapper .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    display: flex;
    gap: 30px;
}

.product-tabs-wrapper .nav-link {
    border: none;
    background: none;
    padding: 15px 0;
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.1rem;
    position: relative;
    cursor: pointer;
}

.product-tabs-wrapper .nav-link.active {
    color: var(--secondary-color);
}

.product-tabs-wrapper .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    padding: 30px 0;
}

.tab-inner-content {
    max-width: 1000px;
    min-width: 0;
}

.tab-inner-content-full {
    max-width: 100%;
    width: 100%;
}

.product-description-content,
.product-description-content * {
    max-width: 100%;
}

.product-description-content {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-description-content img,
.product-description-content iframe,
.product-description-content video,
.product-description-content embed,
.product-description-content object {
    max-width: 100%;
    height: auto;
}

.product-description-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-description-content pre,
.product-description-content code,
.product-description-content a,
.specs-table-wrapper th,
.specs-table-wrapper td {
    overflow-wrap: anywhere;
    word-break: break-word;
}

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

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

.specs-table-wrapper th {
    width: 30%;
    color: var(--secondary-color);
    font-weight: 600;
    background-color: var(--light-gray);
}

@media (max-width: 768px) {
    .product-tabs-wrapper .nav-tabs {
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .product-tabs-wrapper .nav-link {
        white-space: nowrap;
        font-size: 1rem;
        flex: 0 0 auto;
    }

    .tab-content {
        padding: 20px 0;
        overflow-x: hidden;
    }

    .tab-inner-content,
    .specs-table-wrapper {
        min-width: 0;
        overflow-x: hidden;
    }

    .specs-table-wrapper th,
    .specs-table-wrapper td {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .specs-table-wrapper th {
        width: 38%;
    }
}

.review-item {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 700;
    color: var(--secondary-color);
}

.rating-small {
    display: flex;
    color: #ffc107;
    font-size: 0.85rem;
}

.review-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-left: auto;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

/* Animations for WhatsApp */
@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

/* Override Bootstrap Colors */
.list-group-item.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.list-group-item.active i {
    color: var(--white) !important;
}

.list-group-item-action:hover,
.list-group-item-action:focus {
    color: var(--primary-color);
    background-color: rgba(255, 152, 0, 0.05);
    /* Light orange background */
}

.page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

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

.avatar-circle.bg-primary {
    background-color: var(--primary-color) !important;
}

h4.text-primary,
h3.text-primary,
i.text-primary {
    color: var(--primary-color) !important;
}


/* Solutions Slider */
.solutions-slider-wrapper {
    position: relative;
    padding: 0;
}

.solutions-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    padding: 10px 0;
}

.solutions-track::-webkit-scrollbar {
    display: none;
}

.solution-card {
    flex: 0 0 calc(20% - 20px);
    /* 5 items visible on desktop roughly */
    min-width: 260px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    transition: var(--transition);
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.solution-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: rgba(255, 255, 255, 0.94);
    transition: transform 0.6s ease;
}

.solution-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(145deg, rgba(10, 21, 40, 0.92), rgba(18, 80, 92, 0.9));
}

.solution-fallback i {
    position: relative;
    z-index: 1;
    font-size: 4.5rem;
}

.solution-fallback.solar-panels::before {
    background:
        radial-gradient(circle at top right, rgba(255, 202, 40, 0.35), transparent 36%),
        linear-gradient(145deg, #17324d, #f59e0b);
}

.solution-fallback.inverters::before {
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.3), transparent 36%),
        linear-gradient(145deg, #1e293b, #2563eb);
}

.solution-fallback.storage::before {
    background:
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.35), transparent 36%),
        linear-gradient(145deg, #152238, #0f766e);
}

.solution-fallback.components::before {
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.3), transparent 36%),
        linear-gradient(145deg, #2f1f4d, #4f46e5);
}

.solution-fallback.mounting::before {
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, 0.32), transparent 36%),
        linear-gradient(145deg, #1f2937, #b45309);
}

.solution-fallback.packages::before {
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, 0.3), transparent 36%),
        linear-gradient(145deg, #3f2b2d, #be123c);
}

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

.solution-card:hover .solution-fallback {
    transform: scale(1.05);
}

.solution-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
}

.solution-overlay h3 {
    color: white;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0;
    font-weight: 700;
}

.btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    /* Always visible based on request context imply aesthetic match, but CSS had it hidden on hover previous turn. 
       User said "animation was better", maybe referring to the hover effect I added? 
       Actually, I will keep the hover effect as is, unless requested otherwise. 
       The user said "animation was better" implying my previous change might have worsened it or they liked the original static one?
       Re-reading: "bu tasarım daha güzeldi" (referring to the image they uploaded which is static grid).
       "kendi kaysın" (let it slide itself).
       So I keep the hover effects which are nice.
    */
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.solution-card:hover .btn-circle {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .solution-card {
        flex: 0 0 40%;
    }
}

@media (max-width: 768px) {
    .solution-card {
        flex: 0 0 80%;
    }
}

/* Live Search Styles */
.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    /* Adjust as needed */
}

.search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 80px;
    /* Space for icons */
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    background-color: #f5f5f5;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.search-icons {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-clear {
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
    /* Hidden by default */
}

.search-clear:hover {
    color: #333;
}

.search-submit {
    color: #555;
    font-size: 1.4rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.search-submit:hover {
    color: var(--primary-color);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 10px;
    padding: 20px;
    display: none;
    /* Hidden by default */
    border: 1px solid #eee;
}

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

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns */
    gap: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:hover {
    background-color: #f9f9f9;
}

.search-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-item-info {
    display: flex;
    flex-direction: column;
}

.search-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 4px;
    line-height: 1.3;
}

/* Highlight matched text */
.highlight {
    text-decoration: underline;
    font-weight: 800;
}

.search-item-sku {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 4px;
}

.search-item-price {
    font-weight: 700;
    color: #28a745;
    /* Green like in the image */
    font-size: 0.95rem;
}

/* Scrollbar for results */
.search-results-grid::-webkit-scrollbar {
    width: 6px;
}

.search-results-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.search-results-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .search-results-grid {
        grid-template-columns: 1fr;
        /* 1 Column on mobile */
    }
}

/* Off-Canvas Cart Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: #fff;
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--secondary-color);
}

.cart-close {
    background: none;
    border: none;
    font-size: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-close:hover {
    color: var(--accent-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
    position: relative;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 5px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-sku {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 8px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.qty-btn-sm {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    color: #555;
    transition: background 0.2s;
}

.qty-btn-sm:hover {
    background-color: #f5f5f5;
}

.qty-input-sm {
    width: 30px;
    height: 24px;
    border: none;
    text-align: center;
    font-size: 0.85rem;
    -moz-appearance: textfield;
    padding: 0;
}

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

.cart-item-price {
    font-weight: 700;
    color: #28a745;
    font-size: 0.95rem;
}

.cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: #bbb;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cart-item-remove:hover {
    color: var(--accent-color);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: #fff;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.subtotal-amount {
    color: #28a745;
    font-size: 1.25rem;
}

.btn-success {
    background-color: #28a745;
    color: white;
    border: none;
}

.btn-success:hover {
    background-color: #218838;
}

/* Empty State */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    text-align: center;
}

@media (max-width: 768px) {
    .cart-drawer {
        right: -100%;
        max-width: 100%;
        width: 100%;
    }

    .cart-header {
        padding: 16px 14px;
        gap: 12px;
    }

    .cart-header h3 {
        font-size: 1.05rem;
        line-height: 1.2;
    }

    .cart-close {
        font-size: 0.92rem;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .cart-items {
        padding: 14px;
    }

    .cart-item {
        gap: 12px;
        padding-right: 24px;
    }

    .cart-item-img {
        width: 72px;
        height: 72px;
    }

    .cart-item-title {
        font-size: 0.88rem;
        padding-right: 8px;
    }

    .cart-item-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cart-item-price {
        font-size: 0.9rem;
    }

    .cart-footer {
        padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .cart-subtotal {
        margin-bottom: 14px;
        font-size: 1rem;
        gap: 10px;
    }

    .cart-subtotal > div {
        width: 100%;
        gap: 12px;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .cart-subtotal > div span:first-child {
        min-width: 0;
        flex: 1 1 auto;
        font-size: 0.9rem;
        line-height: 1.35;
        padding-right: 8px;
    }

    .cart-subtotal > div span:last-child {
        flex: 0 0 auto;
        font-size: 0.92rem;
        text-align: right;
        white-space: nowrap;
    }

    .subtotal-amount {
        font-size: 1.05rem;
        text-align: right;
    }

    .cart-buttons .btn,
    .cart-buttons button {
        min-height: 46px;
        font-size: 0.95rem;
    }
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.catalog-empty-state {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 44px 36px;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    box-shadow: var(--shadow-sm);
}

.catalog-empty-icon {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 2rem;
    margin-bottom: 22px;
}

.catalog-empty-state h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.catalog-empty-state p {
    max-width: 720px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.catalog-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.catalog-empty-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-empty-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.catalog-empty-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.showcase-empty-state {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
    padding: 34px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 26%),
        linear-gradient(135deg, #fff 0%, #f8fbff 100%);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.showcase-empty-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.showcase-empty-copy h3 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--secondary-color);
}

.showcase-empty-copy p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.showcase-empty-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.showcase-empty-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.showcase-empty-tile {
    min-height: 120px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(145deg, #17324d, #1f5c7a);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.showcase-empty-tile:nth-child(2n) {
    background: linear-gradient(145deg, #3b2f16, #c47a11);
}

.showcase-empty-tile:nth-child(3n) {
    background: linear-gradient(145deg, #16392e, #0f8b6d);
}

.showcase-empty-tile strong {
    font-size: 1.05rem;
    line-height: 1.35;
}

.showcase-empty-tile span {
    font-size: 0.9rem;
    opacity: 0.86;
}

.showcase-empty-tile:hover {
    transform: translateY(-4px);
    color: #fff;
    box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
    .showcase-empty-state {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .catalog-empty-state {
        padding: 30px 22px;
    }

    .catalog-empty-state h2,
    .showcase-empty-copy h3 {
        font-size: 1.6rem;
    }

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