/* Custom CSS for Expert Diesel Service */
:root {
    --primary-color: #D70006; /* Red */
    --secondary-color: #030d25; /* Black */
    --third-color: #9199ad;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --medium-gray: #e4e7eb;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --primary: #030d25;
    --primary-light: #1a1f3c;
    --accent: #D70006;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --success: #10b981;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* latin */
@font-face {
  font-family: 'Mogra';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/mogra/v22/f0X40eSs8c95TCo_BPM.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baijamjuree/v13/LDIqapSCOBt_aeQQ7ftydoa0kePelJo0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baijamjuree/v13/LDIqapSCOBt_aeQQ7ftydoa09eDelJo0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baijamjuree/v13/LDI1apSCOBt_aeQQ7ftydoa8XsLL.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baijamjuree/v13/LDIqapSCOBt_aeQQ7ftydoa0reHelJo0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baijamjuree/v13/LDIqapSCOBt_aeQQ7ftydoa0gebelJo0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baijamjuree/v13/LDIqapSCOBt_aeQQ7ftydoa05efelJo0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* General Styles */
body {
    font-family: 'Bai Jamjuree', sans-serif;
    color: var(--secondary-color);
    line-height: 1.6;
    background-color: #fff;
    margin: 0;
    padding: 0;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: 'Mogra', sans-serif;
}
.primary-color {
    color: var(--primary-color);
}

#header-container {
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
}

/* Header Styles */
.header {
    position: relative;
    background-color: var(--secondary-color);
}
.section-logo {
    width: max-content;
    z-index: 9999;
    height: auto;
}
.section-logo a::after {
    content: '';    
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--primary-color);
    clip-path: polygon(0 0, 106% 0%, 90% 100%, 0% 100%);
    z-index: -1;
}
.main-menu {
    width: 100%;
}

/* Header Separator Bar */
.header-separator {
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(220, 53, 69, 0.8) 50%, var(--primary-color) 100%);
    height: 5px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    position: relative;
}

.header-separator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Promotional Banner */
.promo-banner {
    background: var(--primary-color);
    padding: 12px 0;
    /* box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5); */
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.08) 25%, 
        rgba(255, 255, 255, 0.08) 75%, 
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.promo-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
    z-index: 1;
}

.promo-wrapper {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    max-width: 100%;
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
    animation: scroll-left 15s linear infinite;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.promo-icon {
    font-size: 1.5rem;
    color: #fff;
    animation: bounce 1.5s ease-in-out infinite;
    flex-shrink: 0;
    margin-right: 10px;
}

.promo-text {
    color: #fff;
    letter-spacing: 0.5px;
}

.promo-close {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 1.1rem;
    padding: 8px 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.promo-close:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.15) rotate(90deg);
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.1);
    }
}

/* Contact Info Bar */
.contact-bar {
    background-color: var(--secondary-color);
    padding: 5px 0;
    border-bottom: 1px solid var(--primary-color);
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: var(--shadow);
    height: 35px;
    overflow: hidden;
}

.contact-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
    padding-left: 10%;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0 auto;
    font-size: 0.9rem;
    gap: 15px;
    position: relative;
}

.contact-bar-content a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.contact-bar-content a:hover {
    color: var(--primary-color);
    transform: translateX(-3px);
}

.contact-bar-content .divider {
    color: rgba(255, 255, 255, 0.3);
}

/* Search Container Styles */
#searchOffCanvas {
    z-index: 9999;
}

.search, .horaires {
    color: #fff;
}
.search:hover, .horaires:hover {
    color: var(--primary-color);
}
.search svg, .horaires svg {
    color: #fff;
    width: 22px;
    height: 22px;
}
.input-btn {
  height: 50px;
  /* border-radius: 35px;
  background-color: #f1f1f1;
  margin-bottom: 0; */
}
.searchInput {
  height: 54px;
  max-width: 800px;
  margin-inline: auto;
}
.input-btn input {
  position: absolute;
  inset: 0;
  border: none;
  border-bottom: 3px solid #f0f0f0;
  background-color: #fff;
  border-radius: 0;
  padding-inline: 20px;
  color: #777;
  transition: linear .3s all;
  font-size: 17px;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
.searchInput .form-control:focus {
  box-shadow: none;
  border-color: var(--main-color);
}
.searchInput .form-control::-ms-input-placeholder { /* Edge 12-18 */
  color: #b6b6b6;
}
.searchInput .form-control::placeholder {
  color: #b6b6b6;
}
.input-btn svg {
  position: absolute;
  inset-block: 0;
  right: 10px;
  top: 6px;
  margin-block: auto;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--secondary-color);
  padding: 4px;
}
.input-btn .btn {
  position: absolute;
  inset-block: 0;
  right: 10px;
  margin-block: auto;
  z-index: 1;
  width: auto;
  height: 40px;
}
.searchInput .searchResult {
    z-index: 1;
    max-height: 280px;
    overflow-y: auto;
    /* box-shadow: 5px 7px 13px 0px #0000002e; */
    display: none;
    /* border-top-left-radius: 0 !important; */
    /* border-top-right-radius: 0 !important; */
    /* border: 1px solid rgba(0, 0, 0, .1); */
}
.searchResult p, .suggested_product p {
  color: var(--main-color);
  font-size: 14px;
}
.searchResult h6, .suggested_product h6 {
  font-size: 15px;
}
.searchResult li{
  list-style: none;
  padding: 8px 12px;
  display: none;
  cursor: pointer;
  transition: linear .3s all;
}
.searchResult li:hover{
  background: #efefef;
}
.searchInput.active {
  border: 0;
  border-radius: 18px;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  z-index: 1060;
}
.searchInput.active input{
  box-shadow: none;
}

.navbar {
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1031 !important;
    background-color: var(--secondary-color) !important;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: .8px;
    display: flex;
    align-items: center;
    color: #fff;
    justify-content: center;
    height: 100%;
    margin-right: 10px;
    transition: linear .2s all;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    transition: var(--transition);
    color: #fff;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background-color: rgba(220, 53, 69, 0.3); /* Red background for active */
    transform: translateY(-1px);
}

/* Navbar brand logo styling */
.navbar-brand img {
    transition: var(--transition);
    border-radius: 4px;
    background-color: white;
    padding: 3px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.navbar-brand:hover img {
    transform: scale(1.3) rotate(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.7);
}

.dropdown-menu {
    background-color: var(--secondary-color);
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 8px;
}

.dropdown-menu.show {
    display: block;
    animation: slideInDown 0.3s ease;
}

/* Dropdown animation */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    color: #f8f9fa;
    padding: 10px 20px;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: rgba(220, 53, 69, 0.3); /* More visible red background */
    color: #ffffff;
    padding-left: 25px; /* Indent on hover instead of transform */
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.dropdown-toggle::after {
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* Hero Section with Video Background */
.hero-section {
    position: relative;
    color: white;
    padding: 50px 15px;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(0 6 24 / 75%), rgb(69 0 0 / 19%));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); */
    animation: fadeInUp 1s ease;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.1rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
    margin-bottom: 2rem;
    max-width: 800px;
}

.hero-image {
    animation: float 3s ease-in-out infinite;
    text-align: center;
}

.hero-image i {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    font-size: 8rem;
}

/* Hero section features */
.hero-section .d-flex.align-items-center {
    margin-top: 0.5rem;
}

.hero-section .d-flex.align-items-center i {
    color: #28a745;
}

.hero-section .d-flex.align-items-center span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, #dc3545, #c82333); /* Red gradient */
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3); /* Red shadow */
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Card Styles */
.card {
    border-radius: 12px;
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Footer Styles */
footer {
    background: linear-gradient(to right, #000000, #dc3545); /* Black to Red */
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 3.2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .hero-section .d-flex.align-items-center {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .navbar-collapse {
        background-color: rgba(33, 37, 41, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
    
    .d-flex.ms-3 {
        margin-top: 1rem;
        justify-content: center;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.rounded-lg {
    border-radius: 12px;
}

/* Sidebar Menu Styles */
.sidebar-menu {
    /* height: 100%;
    min-height: 600px; */
    margin-top: 25px;
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #e4e7eb;
    overflow: hidden;
    max-height: max-content;
    min-height: max-content;
}

/* .sidebar-menu:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
} */
.widget-title {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    display: block;
    padding-bottom: 10px;
    padding-left: 68px;
    padding-block: 12px;
    position: relative;
    border-bottom: 1px solid #e7e7e7;
    margin: 0 -18px 0;
    font-size: 22px;
    font-family: 'Bai Jamjuree';
    background-color: var(--secondary-color);
}
.widget-title::before {
    position: absolute;
    top: 22px;
    left: 24px;
    width: 38px;
    height: 10px;
    content: "";
    background-color: var(--primary-color);
    display: block;
    mask-image: url(../images/line-title.png);
    mask-repeat: no-repeat;
    overflow: hidden;
}
.widget-center {
    text-align: center;
}

.widget-center .widget-title {
    padding-left: 0;
}
.widget-center .widget-title::before {
    left: calc(50% - 19px);
    top: -5px;
}
.menu-item {
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.menu-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-title {
    display: flex;
    align-items: center;
    padding: 16px 22px;
    background-color: #fff;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: var(--transition);
    border-left: 4px solid transparent;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.menu-title:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    text-decoration: none;
    padding-left: 26px;
}

.menu-title i:first-child {
    width: 24px;
    text-align: center;
}

.menu-title i:last-child {
    margin-left: auto;
    font-size: 0.85rem;
    transition: var(--transition);
}

.menu-title[aria-expanded="true"] i:last-child {
    transform: rotate(180deg);
}

.submenu {
    background: linear-gradient(180deg, #f8f9fa 0%, #f0f2f5 100%);
    padding: 8px 0;
    border-top: 1px solid #e8e8e8;
}

.submenu a {
    display: block;
    padding: 14px 30px;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
    position: relative;
}

.submenu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submenu a:hover {
    background-color: #e8e8e8;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 35px;
}

.submenu a:hover::before {
    opacity: 1;
}

/* Content Section */
.content-section {
    position: relative;
    padding: 25px;
    /* background: linear-gradient(135deg, #ffffff 0%, #f7f8fa 100%); */
    border-radius: 0;
    /* border: 1px solid #e8e8e8;
    border-left: none; */
    /* box-shadow: -2px 0 15px rgba(0, 0, 0, 0.06); */
    /* transition: var(--transition); */
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

/* .content-section:hover {
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.08);
} */

/* .content-section::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(220,53,69,0.2));
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    opacity: 0.95;
} */

.content-section h2 {
    font-size: 28px;
    border-bottom: 0;
    color: var(--secondary-color);
    background-color: transparent;
}


.content-section .lead {
    color: var(--third-color);
    font-size: 1.05rem;
    margin-bottom: 22px;
    font-weight: 500;
}

/* Content hero horizontal image */
.content-hero {
    width: 100%;
    overflow: hidden;
}

.content-hero-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    border: 1px solid #e9e9e9;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Subcategories (chips) - Extra Small & Tightly Packed - Final Design */
.subcategories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24px, 1fr));
    gap: 2px;
    align-items: stretch;
    justify-items: stretch;
}

.subcategory {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 70px;
    cursor: pointer;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    min-width: 24px;
    max-width: calc(100% - 40px);
    filter: opacity(0.3) saturate(0.5) grayscale(1);
    transition: all 0.3s ease-in-out;
}
.subcategory:hover,
.subcategory[aria-selected="true"] {
    filter: opacity(1) saturate(1) grayscale(0);
    transform: scale(1.1);
}

/* .subcategory {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.55rem;
    height: auto;
    cursor: pointer;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    border: none;
    position: relative;
    min-width: 24px;
    max-width: calc(100% - 40px);
    text-align: center;
    aspect-ratio: 1 / 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.subcategory:hover,
.subcategory[aria-selected="true"] {
    background: linear-gradient(90deg, var(--primary-color), rgba(200,60,60,0.9));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(220,53,69,0.18);
}

.subcategory.bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
    border-radius: 50%;
    z-index: 0;
    transition: opacity 0.3s ease;
}
.subcategory.bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
} 

.subcategory.bg > * {
    position: relative;
    z-index: 1;
    padding: 3px 3px;
}

.subcategory.bg:hover,
.subcategory.bg[aria-selected="true"] {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 5;
}

.subcategory.bg {
    background-repeat: no-repeat;
    transition: linear .3s all, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                background-size 0.5s ease;
}

.subcategory.bg:hover::before {
    opacity: 0.15;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.3));
}

.subcategory.bg:hover::after {
    opacity: 1;
}

.subcategory.bg:hover {
    background-size: 110% 110%;
} */

.subcategory .tile-label {
    display: none; /* hidden by default for compact look */
    font-size: 0.7rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2px 5px;
    opacity: 0;
    letter-spacing: 0.5px;
    background: rgba(0,0,0,0.4);
    border-radius: 8px; /* more rounded to match circular subcategories */
    backdrop-filter: blur(2px);
}

/* Perfect hover reveal for label */
/* .subcategory:focus .tile-label,
.subcategory:hover .tile-label,
.subcategory.active .tile-label,
.subcategory[aria-selected="true"] .tile-label {
    display: inline-block;
    opacity: 1;
    transform: translateY(-4px);
    font-size: 0.8rem;
    letter-spacing: 0.6px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.6);
    padding: 3px 8px;
    border-radius: 10px;
} */

/* Smooth focus ring */
.subcategory:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220,53,69,0.3), 0 8px 20px rgba(0,0,0,0.2);
}

/* Add a subtle pulse animation on active */
@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220,53,69,0.4); }
    50% { box-shadow: 0 0 0 4px rgba(220,53,69,0); }
}

.subcategory.active {
    animation: subtlePulse 2s infinite;
}

@media (max-width: 768px) {
    .content-hero-image { height: 160px; }
    .subcategory { font-size: 0.65rem; }
    .subcategories { grid-template-columns: repeat(auto-fit, minmax(32px, 1fr)); gap: 4px; }
    .hero-items {
        justify-content: center;
    }
    .subcategory {
        width: 80%;
        margin: auto;
    }
    .navbar-brand {
        font-weight: 500;
        font-size: 1.2rem;
        letter-spacing: .5px; 
    }
    .navbar-brand img {
        height: 35px;
    }
    .navbar-toggler {
        margin-left: auto;
    }
    .contact-bar {
        display: none;
    }
    .section-logo {
        padding: 15px 20px 15px 0;
    }
    .section-logo a::after {
        clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
    }
    .navbar {
        padding-block: 12px;
    }
    .subcategories {
        grid-template-columns: repeat(auto-fit, minmax(49%, 1fr)) !important;
    }
    .content-section {
        padding-inline: 10px;
    }
}
.navbar-dark .offcanvas.offcanvas-end {
    background-color: var(--secondary-color) !important;
}
/* Subtoolbar (sort + product count + items per page) */
.subtoolbar {
    /* padding: 16px 20px;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px; */
}

.subtoolbar .sort-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.subtoolbar .sort-left > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.subtoolbar label {
    color: var(--third-color);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.subtoolbar .sort-select,
.subtoolbar .per-page-select {
    min-width: 140px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #d1d9e6;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.subtoolbar .sort-select:hover,
.subtoolbar .per-page-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.1);
}

.subtoolbar .sort-select:focus,
.subtoolbar .per-page-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.subtoolbar .view-controls .btn {
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid #d1d9e6;
    color: var(--third-color);
    transition: var(--transition);
}

.view-controls.btn-group .btn {
    border: none;
    background-color: transparent;
    outline: none;
}
.subtoolbar .view-controls .btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: inherit;
}

.subtoolbar .view-controls .btn.active {
    background: linear-gradient(135deg, var(--primary-color), #c82333);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
    border-radius: 6px;
}

.subtoolbar .count-right #product-count {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    
    .subtoolbar .sort-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .subtoolbar .sort-left > div {
        width: 100%;
        justify-content: space-between;
    }
    
    .subtoolbar .sort-select,
    .subtoolbar .per-page-select {
        width: 100%;
        min-width: auto;
    }
    
    .subtoolbar .count-right {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .subtoolbar {
        padding: 12px 15px;
    }
    
    .subtoolbar .count-right {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .subtoolbar .view-controls {
        align-self: center;
    }
    .subcategories {
        grid-template-columns: repeat(auto-fit, minmax(48%, 1fr)) !important;
    }
    .subcategory {
        max-width: 100%;
    }
    .hero-items {
        flex-direction: column;
        gap: 0 !important;
    }
    .hero-section {
        padding: 70px 0 0px;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1rem !important;
    }
    .hero-section .d-flex.align-items-center {
        margin-bottom: 0.5rem;
    }
    .navbar-brand {
        font-size: 1.1rem;
        padding-inline: 10px !important;
    }
}

/* View toggle buttons */
.view-controls .btn {
    border-radius: 8px;
    padding: 6px 8px;
}

.view-controls .btn.active {
    background: linear-gradient(90deg, var(--primary-color), #c82333);
    color: #fff;
    border-color: rgba(0,0,0,0.06);
}
div#home_sidebar {
    overflow-y: auto;
}

/* List view styles: make each card full-width and horizontal */

/* List view — target our product grid columns and make each card full width */
.content-section.list-view .product-grid > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.content-section.list-view .card {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* .content-section.list-view .card img {
    flex: 0 0 140px;
    width: 140px;
    height: 110px;
    object-fit: cover;
    margin: 16px;
    border-radius: 6px;
} */

.content-section.list-view .card-body {
    text-align: left !important;
    padding: 18px !important;
}

/* Ensure card content stacks vertically to the right of the image in list view */
.content-section.list-view .card {
    flex-direction: row;
}

.content-section.list-view .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.content-section.list-view .card-body .d-grid {
    width: auto; /* don't force full width in list layout */
}

.content-section.list-view .card-body .details-btn {
    align-self: flex-start; /* keep the button left-aligned under the description */
}

@media (max-width: 768px) {
    .content-section.list-view .card { flex-direction: column; }
    .content-section.list-view .card img { width: 80px; height: 80px; margin: 12px auto; }
}

/* Card Enhancement */
.card {
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    overflow: hidden;
    transition: var(--transition);
    background: #fff;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(220, 53, 69, 0.15) !important;
    border-color: var(--primary-color) !important;
}

.card-body {
    padding: 25px;
}

/* Product card body flex layout for button positioning */
.product-grid .card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-grid .card .card-body .d-grid {
    margin-top: auto;
}

/* Adjust for list view to ensure button stays at bottom */
.content-section.list-view .product-grid .card .card-body {
    justify-content: flex-start;
}

.card-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Product Details Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.35s cubic-bezier(.2,.9,.2,1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(220, 53, 69, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(220, 53, 69, 0.25);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.product-meta {
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
    padding: 15px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.meta-label {
    color: #666;
    font-weight: 500;
    min-width: 70px;
}

.meta-value {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .modal-body { padding: 20px; }
    .modal-body .row { flex-direction: column-reverse; }
    .modal-body .col-md-5,
    .modal-body .col-md-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .modal-actions { flex-direction: column; }
}

/* Pagination Styles */
.pagination-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e8e8;
}

.pagination {
    margin-bottom: 0.5rem;
}

.page-item .page-link {
    color: #666;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    padding: 0.5rem 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 6px;
    margin: 0 3px;
}

.page-item .page-link:hover {
    color: var(--primary-color);
    background-color: rgba(220, 53, 69, 0.05);
    border-color: rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.1);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), #c82333);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

.page-item.disabled .page-link {
    color: #aaa;
    background-color: #f8f9fa;
    border-color: #e0e0e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination-info {
    font-size: 0.9rem;
    color: #666;
}

.pagination-current-range {
    font-weight: 600;
    color: var(--primary-color);
}

.pagination-total {
    font-weight: 600;
    color: #333;
}

/* Responsive pagination */
@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-item .page-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.9rem;
        margin: 2px;
    }
    
    .pagination-info {
        font-size: 0.85rem;
    }
}

/* Enhanced Product Card Styles */
.product-card-enhanced {
    --card-height: 380px;
    --image-height: 180px;
    --badge-new: var(--primary-color);
    --badge-sale: #ef4444;
    --badge-digital: #3b82f6;
    --badge-physical: #8b5cf6;
    
    height: var(--card-height);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    box-shadow: 2px 2px 10px #0000001c !important;
}

.product-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: var(--primary-color) !important;
}

.product-image-container {
    position: relative;
    height: var(--image-height);
    overflow: hidden;
    background: #f8fafc;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-enhanced:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0px;
    z-index: 1;
    color: rgb(255, 255, 255);
    text-align: center;
    background-color: var(--primary-color);
    line-height: 40px;
    padding-top: 10px;
    padding-bottom: 22px;
    padding-left: 0px;
    padding-right: 0px;
    clip-path: polygon(0px 0px, 100% 0%, 100% 80%, 0% 100%);
    writing-mode: vertical-rl;
    transform-origin: left center;
    left: 15px;
    margin: 0px;
}

.badge-new {
    background-color: var(--badge-new);
}

.badge-sale {
    background-color: var(--badge-sale);
}

.badge-digital {
    background-color: var(--badge-digital);
}

.badge-physical {
    background-color: var(--badge-physical);
}

.product-category {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
}

.product-description {
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-size: 0.875rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.details-button {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    height: 100%;
    width: 100%;
    padding: 0.75rem;
    background: #030d258a;
    color: white;
    border: none;
    font-size: 1.1rem;
    text-shadow: 0 0 20px #00000099;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgb(45 47 75 / 30%);
    text-decoration: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    /* transition: linear .3s ease; */
}
.product-card-enhanced:hover .details-button {
    opacity: 1;
    visibility: visible;
    
    transform: translateY(0);
}

.details-button:active {
    transform: translateY(0);
}

@media (min-width: 1200px) {
    .btn-toggle-home {
        display: none;
    }
    
}
@media (max-width: 1200px) {
    .product-card-enhanced {
        --card-height: 360px;
        --image-height: 160px;
    }
    .content-section .lead {
        font-weight: 400;
    }
    .sidebar-menu {
        margin: 0;
    }
}

@media (max-width: 1024px) {
    .content-section h2 {
        font-size: 24px;
        padding-block: 5px;
    }
    .content-section .lead {
        font-size: 1rem;
    }
    .content-section .widget-title::before {
        background-size: contain;
        background-image: url(../images/line-title.png);
        background-repeat: no-repeat;
        width: 32px;
        height: 20px;
        mask-image: none;
        background-color: transparent;
        top: 16px;
    }
    .widget-center .widget-title::before {
        top: -10px;
    }
    
}

@media (max-width: 992px) {
    .product-card-enhanced {
        --card-height: 340px;
        --image-height: 150px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .product-card-enhanced {
        --card-height: 320px;
        --image-height: 140px;
    }
}

@media (max-width: 576px) {
    .product-card-enhanced {
        --card-height: 300px;
        --image-height: 130px;
    }
}

/* Footer Base */
.modern-footer {
    background: var(--secondary-color);
    color: var(--gray-300);
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Footer Main Section */
.footer-main {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid var(--gray-800);
}

/* Footer Column */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.brand-logo {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.brand-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.01em;
    font-family: 'Bai Jamjuree', sans-serif;
}

/* About Text */
.about-text {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin: 0;
}

/* Contact Items */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: var(--gray-800);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.125rem;
}

.contact-value {
    font-size: 0.875rem;
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.contact-value:hover {
    color: var(--accent);
}

/* Column Titles */
.column-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    margin: 0 0 1rem 0;
    position: relative;
    padding-bottom: 0.75rem;
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    transition: var(--transition);
    border-radius: 4px;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-links a:hover i {
    color: var(--accent);
    transform: translateX(3px);
}

/* Newsletter */
.newsletter-text {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.input-group {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--gray-700);
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(215, 0, 6, 0.1);
}

.form-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.875rem 1rem;
    color: var(--secondary-color);
    font-size: 0.875rem;
    outline: none;
}

.form-input::placeholder {
    color: var(--gray-500);
}

.form-btn {
    background: var(--accent);
    border: none;
    color: white;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-btn:hover {
    background: #ff4d4d;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.form-hint i {
    font-size: 0.7rem;
}

/* Social Media */
.footer-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0 0;
    border-top: 1px solid var(--gray-800);
}

.social-title h5 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.25rem 0;
}

.social-title p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-3px);
    color: white;
}

.social-icon.twitter:hover {
    background: #1da1f2;
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.linkedin:hover {
    background: #0a66c2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-icon.youtube:hover {
    background: #ff0000;
}

.social-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-800);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: var(--gray-800) transparent transparent transparent;
}

.social-icon:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    background: var(--secondary-color);
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0 0 0.5rem 0;
}

.copyright .highlight {
    color: white;
    font-weight: 600;
}

/* Back to Top */

.back-btn {
    background: var(--primary-light);
    border: 1px solid var(--gray-700);
    border-radius: 50px;
    padding: 0.625rem 1.25rem;
    color: var(--gray-400);
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--accent);
}

.back-btn i {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-card-enhanced {
        --card-height: 360px;
        --image-height: 160px;
    }
}
@media (max-width: 1024px) {
    
    .footer-social {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .social-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-container {
        padding: 0 1rem;
    }
    
    .app-buttons {
        flex-direction: column;
    }
}