/* ============================================
   PROFESSIONAL HD TEMPLATE STYLES
   Modern Typography & Design System
   ============================================ */

/* Global Styles & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fc5000;
    --secondary-color: #000;
    --accent-color: #000;
    --text-dark: #000000;
    --text-gray: #4a5568;
    --text-light: #718096;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.75rem; font-weight: 700; }
h3 { font-size: 2rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1.125rem; font-weight: 600; }

p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.25rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Top Bar */
.top-bar {
    font-size: 0.875rem;
    font-weight: 500;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 0.75rem 0;
}

.top-bar .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar .col-md-6 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar .col-md-6.text-right {
    text-align: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.top-bar-left span i {
    margin-right: 0.5rem;
}

.top-bar-left i,
.top-bar-right i {
    font-size: 0.875rem;
    margin-right: 0.5rem;
    opacity: 0.9;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Order Tracking Field */
.order-tracking-field {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
}

.order-tracking-field form {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 250px;
}

.order-tracking-field .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    width: 220px;
    min-width: 200px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.order-tracking-field .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.order-tracking-field .form-control:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--accent-color);
    color: white;
    outline: none;
    box-shadow: 0 0 0 2px rgba(3, 204, 252, 0.2);
}

.order-tracking-field .form-control:focus::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.order-tracking-field button {
    background: transparent;
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.order-tracking-field button:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.order-tracking-field button i {
    font-size: 0.875rem;
}

.top-bar-right a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    line-height: 1;
}

.top-bar-right a i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.top-bar-right a:hover {
    transform: translateY(-3px) scale(1.1);
    background: var(--accent-color);
    color: white !important;
    box-shadow: var(--shadow-md);
}

/* Navigation */
.navbar {
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* Navbar Toggler Alignment */
.navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    pointer-events: auto;
    z-index: 10000;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(252, 80, 0, 0.25);
}

.navbar-toggler:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    pointer-events: none;
}

/* Mobile Sidebar Menu - Left Side Drawer */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

.mobile-sidebar::-webkit-scrollbar {
    width: 6px;
}

.mobile-sidebar::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.mobile-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.mobile-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-gray);
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar-header .navbar-brand {
    font-size: 1.5rem;
    color: white !important;
    margin: 0;
    padding: 0;
}


.mobile-sidebar-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    z-index: 10000;
    position: relative;
    pointer-events: auto;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-sidebar-close:hover {
    transform: rotate(90deg);
}

.mobile-sidebar-close:active {
    opacity: 0.7;
}

.mobile-sidebar-close i {
    pointer-events: none;
}

.mobile-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-sidebar-menu .nav-item {
    border-bottom: 1px solid var(--border-color);
    position: relative;
    display: block !important;
    width: 100%;
    z-index: auto;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

.mobile-sidebar-menu .nav-item + .nav-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-sidebar-menu .nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-dark) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
}

.mobile-sidebar-menu .nav-link:hover,
.mobile-sidebar-menu .nav-link.active {
    background: var(--bg-light);
    color: var(--primary-color) !important;
    padding-left: 2rem;
}

.mobile-sidebar-menu .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    font-size: 1.125rem;
}

.mobile-sidebar-menu .dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: auto;
    transition: transform 0.3s ease;
    display: inline-block;
}

.mobile-sidebar-menu .dropdown-toggle.active::after,
.mobile-sidebar-menu .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.mobile-sidebar-menu .dropdown-toggle.active {
    background: var(--bg-light);
    color: var(--primary-color) !important;
}

.mobile-sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    position: relative;
    display: block;
    width: 100%;
    z-index: auto;
    clear: both;
}

.mobile-sidebar-submenu.active {
    max-height: 1000px;
    opacity: 1;
    overflow: visible;
    display: block !important;
    visibility: visible !important;
}

.mobile-sidebar-submenu li {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-sidebar-submenu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem 0.875rem 3.5rem;
    color: var(--text-gray) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.mobile-sidebar-submenu .dropdown-item:hover {
    background: white;
    color: var(--primary-color) !important;
    padding-left: 4rem;
}

.mobile-sidebar-submenu .dropdown-item i {
    margin-right: 0.75rem;
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

/* Hide mobile sidebar on desktop */
@media (min-width: 992px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay,
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Show mobile sidebar only on mobile */
@media (max-width: 991px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay {
        display: block;
    }

    /* Hide desktop navbar on mobile */
    .navbar {
        display: none !important;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-menu-toggle .container {
    display: flex;
    justify-content: center;
}

.mobile-menu-toggle .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(252, 80, 0, 0.2);
}

.mobile-menu-toggle .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 80, 0, 0.3);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.9375rem;
    margin: 0 0.75rem;
    padding: 0.5rem 1rem !important;
    color: var(--text-dark) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    position: relative;
    animation: fadeInDown 0.6s ease-out;
    white-space: nowrap;
    display: flex !important;
    align-items: center !important;
    line-height: 1.5;
    vertical-align: middle;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.navbar-nav .nav-link.dropdown-toggle::after {
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-top: 0.3em solid transparent !important;
    border-right: 0 !important;
    border-bottom: 0.3em solid transparent !important;
    border-left: 0.3em solid !important;
    margin-left: 0.5rem !important;
    display: inline-block !important;
    align-self: center !important;
    vertical-align: middle !important;
    left: auto !important;
    bottom: auto !important;
    content: "" !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link i {
    font-size: 1.125rem;
    margin-right: 0.5rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Promotional Marquee */
.promotional-marquee {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
    align-items: center;
}

.marquee-text {
    display: inline-flex;
    align-items: center;
    padding: 0 60px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

@media (max-width: 768px) {
    .marquee-text {
        font-size: 0.875rem;
        padding: 0 40px;
    }
    
    .marquee-content {
        animation-duration: 20s;
    }
}

.hero-slide {
    min-height: 700px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    background-color: #000;
    animation: fadeIn 1s ease-out;
}

.hero-slide .container {
    animation: fadeInUp 1.2s ease-out;
}

.hero-slide h1 {
    animation: fadeInDown 1s ease-out 0.3s both;
}

.hero-slide .lead {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-slide .btn {
    animation: scaleIn 0.8s ease-out 0.7s both;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-slide h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide .lead {
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-control-prev i,
.carousel-control-next i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-control-prev {
    left: 2rem;
}

.carousel-control-next {
    right: 2rem;
}

.carousel-indicators {
    bottom: 2rem;
}

.carousel-indicators li {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.carousel-indicators li.active {
    background: white;
    border-color: var(--primary-color);
    width: 32px;
    border-radius: 7px;
    box-shadow: var(--shadow-md);
}

/* Section Titles - Standardized Vue-style */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(252, 80, 0, 0.3);
}

/* Standardize all page headings */
h1, .h1, .display-1, .display-2, .display-3, .display-4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2, .h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h3, .h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h4, .h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

h5, .h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

h6, .h6 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Page Title Standardization */
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Categories */
.categories-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.category-card {
    padding: 0;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* Category Images - Professional with Zoom - Full Width, No Border */
.category-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: var(--bg-light);
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
}

.category-card:hover .category-image {
    transform: scale(1.15);
}

.category-card:hover .category-image-wrapper {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: none;
    border-radius: 0;
    z-index: 2;
}

.category-card:hover .category-overlay {
    opacity: 1;
    background: transparent;
}

.category-overlay .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.category-overlay .btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.category-overlay .btn:hover {
    transform: scale(1.15) rotate(90deg);
}

/* Legacy category-icon support */
.category-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
}

.category-icon i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Category Card Content - Professional Styling */
.category-card-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.category-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.category-card p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 280px;
}

.category-card .btn {
    font-size: 0.9375rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 2px;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
}

.category-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-width: 2px;
}

.category-card .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.category-card .btn-outline-danger:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.category-card .btn-outline-warning:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.category-card p {
    font-size: 0.9375rem;
    color: var(--text-gray);
    margin-bottom: 1.25rem;
}

/* Products Section - Professional Vue-style */
.products-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.products-section .section-title {
    margin-bottom: 1.5rem;
}

.products-section > .container > .row:first-child {
    margin-bottom: 3rem;
}

.products-section > .container > .row:first-child p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

.product-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.product-image {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 20px 20px 0 0;
    display: block;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
    cursor: pointer;
    display: block;
    visibility: visible;
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: none;
}

/* Product Image Zoom Effect */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover .product-image::before {
    opacity: 0;
    background: transparent;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 3;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-badge.badge-danger {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
}

.product-badge.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.product-badge.badge-warning {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d97706 100%) !important;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: none;
    border-radius: 20px 20px 0 0;
    z-index: 2;
}

.product-card:hover .product-overlay {
    opacity: 1;
    background: transparent;
}

.product-overlay .btn {
    margin: 0 0.75rem;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    line-height: 1;
    padding: 0;
}

.product-overlay .btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.product-overlay .btn {
    color: var(--primary-color);
}

.product-overlay .btn:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    background: white;
    border-color: white;
}

.product-overlay .btn-danger {
    color: var(--secondary-color);
}

.product-overlay .btn-danger:hover {
    color: var(--secondary-color);
    transform: scale(1.2) rotate(-10deg);
}

.card-body {
    padding: 1.75rem;
    position: relative;
    z-index: 1;
}

.product-card .card-body {
    background: white;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card:hover .card-title {
    color: var(--primary-color);
}

.card-title + p {
    font-size: 0.9375rem;
    color: var(--text-gray);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    min-height: 2.5rem;
}

/* Product Price Styling */
.product-card .text-primary {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.product-card .text-muted del {
    font-size: 1rem;
    opacity: 0.7;
}

.product-card .btn-primary.btn-sm,
.btn-primary.btn-sm.btn-animated,
.btn-primary.btn-sm.hover-lift {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    line-height: 1;
}

.product-card .btn-primary.btn-sm i,
.btn-primary.btn-sm.btn-animated i,
.btn-primary.btn-sm.hover-lift i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.product-card .btn-primary.btn-sm:hover,
.btn-primary.btn-sm.btn-animated:hover,
.btn-primary.btn-sm.hover-lift:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

/* Special Offer */
.special-offer {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.special-offer img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.4s ease;
}

.special-offer img:hover {
    transform: scale(1.02);
}

.special-offer h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.special-offer .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-light);
}

.testimonial-card {
    border: none;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: var(--shadow-md);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card .fa-star {
    font-size: 1.125rem;
    margin-right: 0.25rem;
}

/* Footer */
.footer {
    padding: 4rem 0 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer h5,
.footer h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9375rem;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 0;
    padding-right: 1rem;
}

.footer .row {
    display: flex;
    align-items: flex-start;
}

.footer .col-lg-4,
.footer .col-lg-2 {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer .col-lg-4:first-child {
    padding-left: 0;
}

.footer .col-lg-4:last-child {
    padding-right: 0;
}

.footer ul.list-unstyled {
    margin: 0;
    padding: 0;
    padding-right: 1rem;
}

.footer ul.list-unstyled li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.footer ul.list-unstyled li i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9375rem;
    display: inline-block;
}

.footer .text-center {
    text-align: center !important;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.95) !important;
}

.footer ul.list-unstyled li {
    color: rgba(255, 255, 255, 0.95) !important;
}

.footer .text-center p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.footer a:hover {
    color: var(--accent-color) !important;
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 0.75rem;
    font-size: 1.125rem;
    backdrop-filter: blur(10px);
    line-height: 1;
}

.social-links a i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    border-radius: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(252, 80, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 20px rgba(252, 80, 0, 0.4);
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 1rem 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--text-gray);
    font-weight: 500;
}

/* Product Details - Professional Vue-style */
.product-details {
    padding: 4rem 0;
    background: var(--bg-light);
}

.product-details > .container > .row {
    display: flex;
    align-items: flex-start;
    margin: 0;
}

.product-details > .container > .row > .col-lg-6 {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

.product-details > .container > .row > .col-lg-6:first-child {
    padding-right: 2rem;
}

.product-details > .container > .row > .col-lg-6:last-child {
    padding-left: 2rem;
}

.product-image-main {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    padding: 0;
    border: none;
    transition: all 0.3s ease;
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: auto;
    height: auto;
}

.product-badge-new {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(239, 68, 68, 0.6);
    }
}

.product-image-main:hover {
    box-shadow: none;
    transform: none;
}

.product-image-main img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-in;
}

.product-image-main:hover img {
    transform: scale(1.05);
}

/* Product Thumbnails - Removed duplicate, using slider styles below */

/* Product Image Container - Unified Component */
.product-image-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-details > .container > .row > .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.product-image-container .product-image-main {
    width: 100%;
    margin-bottom: 0;
}

.product-image-container .product-thumbnails {
    width: 100%;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .product-image-container .product-thumbnails {
        margin-top: 0 !important;
    }
}

/* Ensure both columns have equal height on desktop */
@media (min-width: 992px) {
    .product-details > .container > .row {
        align-items: stretch;
        display: flex;
    }
    
    .product-details > .container > .row > .col-lg-4,
    .product-details > .container > .row > .col-lg-8 {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .product-image-main {
        flex: 1;
        display: flex;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .product-details > .container > .row > .col-lg-4,
    .product-details > .container > .row > .col-lg-6,
    .product-details > .container > .row > .col-lg-8 {
        padding: 0 15px;
        margin-bottom: 2rem;
    }
    
    .product-details > .container > .row > .col-lg-6.mb-4 {
        margin-bottom: 0 !important;
    }
    
    .product-details > .container > .row > .col-lg-6:last-child {
        margin-top: 1.5rem;
    }
    
    .product-info {
        margin-top: 1.5rem;
    }
    
    .product-header {
        margin-top: 1.5rem;
    }
    
    .product-image-main {
        min-height: 400px;
        margin: 0 !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .product-image-main img {
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .product-image-container {
        gap: 0 !important;
        row-gap: 0 !important;
    }
    
    .product-image-container .product-thumbnails,
    .product-thumbnails {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
    }
    
    .product-image-main {
        min-height: 275px;
        margin: 0 !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .product-image-main img {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
        display: block;
    }
    
    .product-image-container .product-image-main + .product-thumbnails {
        margin-top: 0 !important;
    }
    
    .product-info {
        min-height: auto;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .old-price {
        font-size: 1.25rem;
    }
    
    .product-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-add-to-cart {
        width: 100%;
        padding: 0.75rem 1rem !important;
        font-size: 0.9375rem !important;
        min-height: 46px !important;
    }
    
    .product-actions .btn {
        margin-bottom: 0.75rem;
    }
    
    .product-actions .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Category Page - Tablet */
    .category-products .product-card {
        margin-bottom: 1.5rem;
    }
    
    .category-products .card-img-top {
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Dashboard - Tablet */
    .dashboard .order-item img {
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .dashboard .order-item .col-md-2 {
        padding: 0 15px 0 0 !important;
    }
}

/* Product Thumbnail Slider */
.product-thumbnails {
    margin-top: 0.75rem;
    width: 100%;
}

@media (max-width: 768px) {
    .product-thumbnails {
        margin-top: 0 !important;
    }
}

.thumbnail-slider {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
    width: 100%;
}

.thumbnail-slider::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-slider::-webkit-scrollbar-track {
    background: transparent;
}

.thumbnail-slider::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.thumbnail-item:hover {
    transform: scale(1.05);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease;
    display: block;
    opacity: 0.6;
}

.thumbnail-img.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(3, 204, 252, 0.2);
}

.thumbnail-item:hover .thumbnail-img {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Responsive Thumbnail Slider */
@media (max-width: 768px) {
    .thumbnail-item {
        width: 70px;
        height: 70px;
    }
    
    .thumbnail-slider {
        gap: 0.5rem;
    }
    
    .product-details > .container > .row > .col-lg-6.mb-4 {
        margin-bottom: 0 !important;
    }
    
    .product-details > .container > .row > .col-lg-6:last-child {
        margin-top: 1.5rem !important;
    }
    
    .product-info {
        margin-top: 1.5rem !important;
    }
    
    .product-header {
        margin-top: 1.5rem !important;
    }
    
    .product-image-container {
        gap: 0 !important;
    }
    
    .product-image-container .product-thumbnails,
    .product-thumbnails {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
    }
    
    .product-image-main {
        min-height: 275px;
        margin: 0 !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .product-image-main img {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
        display: block;
    }
    
    .product-image-container .product-image-main + .product-thumbnails {
        margin-top: 0 !important;
    }
}

/* Product Title and Price - Parallel Layout */
.product-title-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.product-title {
    margin: 0;
    flex: 1;
}

.product-price-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.current-price-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
}

.old-price-small {
    font-size: 0.9375rem;
    color: var(--text-gray);
    text-decoration: line-through;
    font-weight: 500;
}

/* Product Tags */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0;
}

.product-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--bg-light);
    color: var(--text-gray);
    font-size: 0.875rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Size and Quantity Section - Inline */
.size-quantity-section {
    padding: 0.5rem 0;
    border-top: none;
    border-bottom: none;
    margin-top: 0;
}

.size-quantity-section .row {
    display: flex;
    align-items: flex-start;
    margin: 0;
}

.size-quantity-section .col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.size-quantity-section .col-md-6:first-child {
    padding-right: 10px;
}

.size-quantity-section .col-md-6:last-child {
    padding-left: 10px;
}

/* Size Dropdown */
.size-dropdown {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-dark);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 10px;
    padding-right: 2rem;
    height: 38px;
}

.size-dropdown:hover {
    border-color: var(--primary-color);
}

.size-dropdown:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 204, 252, 0.1);
}

.size-dropdown option {
    padding: 0.375rem;
    font-size: 0.8125rem;
}

/* Legacy size-options-inline - kept for compatibility */
.size-options-inline {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

.size-option-inline {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
}

.size-option-inline i {
    font-size: 0.5rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.size-option-inline:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.size-option-inline.active {
    border-color: var(--primary-color);
    background: rgba(252, 80, 0, 0.1);
}

.size-option-inline.active i {
    color: var(--primary-color);
}

.size-option-inline .size-price {
    font-size: 0.6875rem;
    color: var(--text-gray);
    margin-left: 0.25rem;
}

/* Product Description Section */
.product-description {
    padding: 0.75rem 0;
    border-top: none;
    border-bottom: none;
    margin-bottom: 0.5rem;
}

.product-description h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-description p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Add to List Button - Removed */

/* Related Products Section */
.related-products-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

/* Related Products Slider */
.related-products-slider-wrapper {
    position: relative;
    padding: 0 3rem;
}

.related-products-slider {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
    will-change: transform;
}

.slider-item {
    flex: 0 0 33.333%;
    padding: 0 0.75rem;
    min-width: 0;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.slider-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-nav-btn i {
    font-size: 1rem;
}

.related-products-section .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.related-products-section .product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Override general product-card styles for related products */
.related-products-section .product-card::before {
    display: none;
}

.related-products-section .product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.related-products-section .product-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    border-radius: 12px 12px 0 0;
    background: var(--bg-light);
}

.related-products-section .product-image::before {
    display: none;
}

.related-products-section .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.related-products-section .product-card:hover .product-image img {
    transform: none;
}

.related-products-section .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    border-radius: 12px 12px 0 0;
}

.related-products-section .product-card:hover .product-overlay {
    opacity: 1;
}

.related-products-section .product-overlay .btn-view-details {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow-md);
}

.related-products-section .product-overlay .btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
}

.related-products-section .product-info-card {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    position: relative;
    z-index: 1;
}

.related-products-section .product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-products-section .product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    margin-top: auto;
}

/* Related Products Slider Responsive */
@media (max-width: 991px) {
    .slider-item {
        flex: 0 0 50% !important;
        min-width: 0;
    }
    
    .related-products-slider-wrapper {
        padding: 0 2.5rem;
    }
    
    .slider-track {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 100% !important;
        min-width: 0;
        padding: 0 0.5rem;
    }
    
    .related-products-slider-wrapper {
        padding: 0 2rem;
    }
    
    .slider-track {
        gap: 0;
    }
    
    .slider-nav-btn {
        width: 35px;
        height: 35px;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-title-price-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .product-price-inline {
        width: 100%;
    }
    
    .size-quantity-section {
        margin-top: 1rem;
    }
    
    .size-quantity-section .row {
        flex-direction: column;
    }
    
    .size-quantity-section .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    .size-options-inline {
        justify-content: flex-start;
    }
    
    .product-actions {
        flex-wrap: wrap;
    }
    
}

.product-info {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    min-height: auto;
    flex: 1 1 auto;
    align-items: flex-start;
}

.product-info > *:not(.product-meta) {
    flex-shrink: 0;
}

.product-info .product-meta {
    margin-top: auto;
    padding-top: 2rem;
    border-top: none;
}

.product-info .product-meta .row {
    margin: 0;
}

.product-info .product-meta p {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.product-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-info .rating {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.product-info .rating .fa-star {
    color: #fbbf24;
    margin-right: 0.25rem;
}

/* Product Info Enhanced Styling - Modern E-commerce Design */
.product-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
}

.product-header .rating {
    font-size: 1rem;
}

.product-header .rating .fa-star {
    font-size: 1.125rem;
    margin-right: 0.25rem;
}

/* Price Section - Modern Design */
.price-section {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.old-price {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
}

.discount-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #10b981;
    color: white;
       font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
}

/* Short Description */
.product-short-description {
    margin-bottom: 0;
}

.product-short-description p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin: 0;
}

/* Product Options - Modern Style */
.product-options {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
}

.option-group {
    margin-bottom: 2rem;
}

.option-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.size-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.size-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.size-option.active,
.size-option:hover {
    border-color: var(--primary-color);
    background: rgba(252, 80, 0, 0.05);
    color: var(--primary-color);
}

.size-price {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
    font-weight: 400;
}

.quantity-wrapper {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    max-width: 120px;
    width: 100%;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.qty-input {
    width: 45px;
    height: 32px;
    border: none;
    border-left: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0;
    background: white;
}

/* Add to Cart Buttons - Modern Style */
.product-actions {
    margin-bottom: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-add-to-cart {
    flex: 1;
    min-width: 150px;
    padding: 0.625rem 1.25rem;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-to-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-add-to-cart i {
    font-size: 0.875rem;
}


/* Product Features */
.product-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.feature-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

/* Product Meta - Clean Style */
.product-meta {
    padding-top: 2rem;
}

.meta-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.meta-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 100px;
}

.meta-value {
    font-size: 0.9375rem;
    color: var(--text-gray);
}

.meta-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.meta-value a:hover {
    color: var(--secondary-color);
}

.meta-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meta-tags .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--text-gray);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.meta-tags .tag:hover {
    background: var(--primary-color);
    color: white;
}

.product-actions .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.product-actions .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: none;
    opacity: 0.9;
}

.product-options .form-group {
    margin-bottom: 1.5rem;
}

.product-options .form-group:last-child {
    margin-bottom: 0;
}

.product-actions .btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.product-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Quantity Input Group - Equal Plus/Minus Buttons */
.quantity-input-group {
    display: flex;
    align-items: stretch;
}

.quantity-input-group .input-group-prepend,
.quantity-input-group .input-group-append {
    display: flex;
    align-items: stretch;
}

.quantity-input-group .qty-btn {
    width: 40px;
    padding: 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.quantity-input-group .input-group-prepend .qty-btn {
    border-right: none;
}

.quantity-input-group .input-group-append .qty-btn {
    border-left: none;
}

.quantity-input-group .qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-input-group .form-control {
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem;
}

/* Cart & Checkout */
.cart-section {
    padding: 3rem 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.cart-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.cart-section .cart-item {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    background: white;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.cart-section .cart-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.cart-section .cart-item img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cart-section .cart-item h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cart-section .cart-item .text-muted {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.cart-section .input-group {
    width: 100%;
}

.cart-section .input-group .btn {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
}

.cart-section .input-group .form-control {
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    border-left: none;
    border-right: none;
}

/* Cart Quantity Buttons - Fixed Formatting */
.cart-quantity-group {
    display: flex !important;
    align-items: stretch !important;
    width: 100%;
    max-width: 120px;
    height: 32px !important;
    min-height: 32px !important;
    flex-wrap: nowrap !important;
}

.cart-quantity-group .input-group-prepend,
.cart-quantity-group .input-group-append {
    display: flex !important;
    align-items: stretch !important;
    margin: 0 !important;
    flex-shrink: 0;
    height: 32px !important;
    min-height: 32px !important;
}

.cart-quantity-group .input-group-prepend {
    margin-right: 0 !important;
}

.cart-quantity-group .input-group-append {
    margin-left: 0 !important;
}

.cart-quantity-group .input-group-prepend.d-flex,
.cart-quantity-group .input-group-append.d-flex {
    display: flex !important;
    align-items: stretch !important;
}

.qty-btn-cart {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid var(--border-color) !important;
    background: white !important;
    color: var(--text-dark) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    border-radius: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    flex-shrink: 0;
}

.cart-quantity-group .input-group-prepend .qty-btn-cart {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-right: none !important;
}

.cart-quantity-group .input-group-append .qty-btn-cart {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
    border-left: none !important;
}

.qty-btn-cart:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.qty-input-cart {
    width: 50px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border: 2px solid var(--border-color) !important;
    border-left: none !important;
    border-right: none !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    line-height: 32px !important;
    margin: 0 !important;
    flex: 0 0 50px !important;
    display: block !important;
}

.qty-input-cart:focus {
    border-color: var(--primary-color) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Sticky Checkout Button */
.sticky-checkout {
    position: sticky;
    top: 100px;
}

.checkout-btn-sticky {
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.checkout-btn-sticky:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cart-section .input-group-prepend .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cart-section .input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.cart-section .btn-link {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.cart-section .btn-link:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.cart-summary {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    background: white;
    border: none;
    position: sticky;
    top: 100px;
}

.cart-summary .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px 16px 0 0;
    padding: 1.25rem 1.5rem;
    border: none;
}

.cart-summary .card-header h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.cart-summary .card-body {
    padding: 1.5rem;
}

.cart-summary .d-flex {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-summary .d-flex:last-of-type {
    border-bottom: none;
}

.cart-summary hr {
    margin: 1rem 0;
    border-color: var(--border-color);
}

.cart-summary .h5 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-summary .btn-block {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 12px;
}

.checkout-section .card {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.checkout-section .card:hover {
    box-shadow: var(--shadow-lg);
}

/* Cart Page Responsive Fixes */
@media (max-width: 992px) {
    .cart-summary {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
    
    .cart-section .cart-item .row > div {
        margin-bottom: 1rem;
    }
    
    .cart-section .cart-item .text-right {
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .cart-section h2 {
        font-size: 2rem;
    }

    .cart-section .cart-item img {
        margin-bottom: 1rem;
    }

    .cart-section .input-group {
        max-width: 150px;
    }

    /* Improve cart item layout on mobile */
    .cart-section .cart-item .card-body {
        padding: 0.75rem;
    }

    .cart-section .cart-item .row {
        margin: 0;
    }

    .cart-section .cart-item .col-12,
    .cart-section .cart-item .col-6 {
        padding: 0.25rem 0;
    }

    .cart-section .cart-item img {
        max-width: 80px;
        height: auto;
    }

    .cart-section .cart-item h5 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .cart-section .cart-item .text-muted {
        font-size: 0.8rem;
    }

    /* Make quantity buttons more touch-friendly */
    .cart-section .qty-btn-cart {
        min-width: 36px;
        min-height: 36px;
        font-size: 0.9rem;
        padding: 0;
    }

    .cart-section .qty-input-cart {
        min-height: 36px;
        font-size: 0.9rem;
        padding: 0.25rem;
    }

    /* Improve remove button */
    .cart-section .btn-link {
        padding: 0.25rem;
        min-width: 36px;
        min-height: 36px;
        font-size: 0.9rem;
    }

    /* Center align price and total on mobile */
    .cart-section .cart-item .text-primary {
        font-size: 1rem;
        white-space: nowrap;
        display: block;
        margin-bottom: 0.25rem;
    }

    .cart-section .cart-item .col-6.text-center .text-primary,
    .cart-section .cart-item .col-12 .text-primary {
        text-align: center;
    }

    /* Align cart item columns on desktop */
    @media (min-width: 768px) {
        .cart-section .cart-item .row {
            align-items: center;
        }

        .cart-section .cart-item .col-md-2 {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .cart-section .cart-item .col-md-2.text-md-right {
            align-items: flex-end;
            text-align: right;
        }

        .cart-section .cart-item .col-md-2 .text-primary {
            margin-bottom: 0;
        }

        .cart-section .cart-item .col-md-2 .btn-link {
            margin-top: 0.5rem;
        }
    }

    /* Adjust cart summary */
    .cart-summary {
        margin-top: 1.5rem;
    }

    .cart-summary .card-body {
        padding: 1rem;
    }

    .cart-summary h5 {
        font-size: 1.1rem;
    }

    .cart-summary .d-flex span,
    .cart-summary .d-flex strong {
        font-size: 0.95rem;
    }

    .checkout-btn-sticky {
        padding: 0.75rem;
        font-size: 1rem;
        min-height: 44px;
    }

    /* Reduce section title size on mobile */
    .cart-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

/* Fix for cart item alignment */
.cart-section .cart-item .row {
    align-items: center;
}

.cart-section .cart-item .col-md-2 {
    padding: 0.75rem;
}

.cart-section .cart-item .col-md-4 h5 {
    margin-bottom: 0.25rem;
}

.cart-section .cart-item .col-md-2.text-center strong {
    font-size: 1.125rem;
    font-weight: 700;
}

.cart-section .cart-item .col-md-2.text-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

/* Fix for badge positioning */
.badge.position-absolute {
    top: 0 !important;
    right: 0 !important;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    min-width: 20px;
    text-align: center;
}

/* Fix for form controls in cart */
.cart-section .form-control-sm {
    height: calc(1.8125rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.cart-section .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

/* Fix for input group in cart */
.cart-section .input-group-prepend,
.cart-section .input-group-append {
    display: flex;
}

.cart-section .input-group-prepend .btn,
.cart-section .input-group-append .btn {
    position: relative;
    z-index: 2;
}

.cart-section .input-group > .form-control:not(:first-child):not(:last-child) {
    border-radius: 0;
}

/* Fix for coupon section */
.cart-section .card.mt-3 {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.cart-section .card.mt-3 .card-body {
    padding: 1.5rem;
}

.cart-section .input-group .form-control {
    border-right: none;
}

.cart-section .input-group-append .btn {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Ensure proper spacing */
.cart-section .mt-3 {
    margin-top: 1rem !important;
}

.cart-section .mb-2 {
    margin-bottom: 0.5rem !important;
}

.cart-section .mb-3 {
    margin-bottom: 1rem !important;
}

.cart-section .mb-4 {
    margin-bottom: 1.5rem !important;
}

/* Login & Password Reset Sections - Vue-style */
.login-section,
.password-reset-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.login-section .card,
.password-reset-section .card {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: none;
    overflow: hidden;
    background: white;
}

.login-section .card-body,
.password-reset-section .card-body {
    padding: 3rem;
}

.login-section .page-title,
.password-reset-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1.2;
}

.login-section p.text-muted,
.password-reset-section p.text-muted {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.password-reset-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(3, 204, 252, 0.1), rgba(252, 80, 0, 0.1));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.password-reset-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Vue-style Card Enhancements */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

/* Vue-style Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-gray);
    font-size: 0.875rem;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

/* Vue-style Social Login Buttons */
.social-login .btn {
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.social-login .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.social-login .btn-outline-danger {
    border-color: #dc2626;
    color: #dc2626;
}

.social-login .btn-outline-danger:hover {
    background: #dc2626;
    color: white;
}

.social-login .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.social-login .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Form Fixes */
@media (max-width: 768px) {
    .input-group-text {
        min-width: 44px;
        padding: 0.75rem 0.875rem;
    }
    
    .input-group .form-control {
        min-height: 44px;
    }
    
    .input-group-append .btn {
        min-height: 44px;
    }
    
    .login-section .card-body,
    .password-reset-section .card-body {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
}

/* User Dropdown Menu - Vue-style Professional Design */
.nav-item.dropdown {
    position: relative;
}

.nav-link.dropdown-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-link.dropdown-toggle:hover {
    color: var(--primary-color) !important;
}


.nav-item.dropdown.show .nav-link.dropdown-toggle::after {
    transform: rotate(90deg) !important;
}

.user-dropdown {
    min-width: 220px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: white;
    animation: slideDown 0.3s ease-out;
    z-index: 1050;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown .dropdown-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0.5rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.user-dropdown .dropdown-header strong {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.user-dropdown .dropdown-header small {
    font-size: 0.8125rem;
    color: var(--text-gray);
}

.user-dropdown .dropdown-item {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border: none;
    background: transparent;
    text-decoration: none;
}

.user-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--text-gray);
    transition: color 0.3s ease;
    margin-right: 0.75rem;
    font-size: 0.9375rem;
}

.user-dropdown .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(3, 204, 252, 0.1), rgba(252, 80, 0, 0.1));
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.user-dropdown .dropdown-item:hover i {
    color: var(--primary-color);
}

.user-dropdown .dropdown-item.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.user-dropdown .dropdown-item.active i {
    color: white;
}

.user-dropdown .dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--border-color);
    height: 1px;
    border-top: 1px solid var(--border-color);
}

.user-dropdown .dropdown-item:last-child {
    color: var(--secondary-color);
}

.user-dropdown .dropdown-item:last-child:hover {
    background: rgba(3, 204, 252, 0.1);
    color: var(--secondary-color);
}

.user-dropdown .dropdown-item:last-child i {
    color: var(--secondary-color);
}

/* Fix dropdown positioning */
.dropdown-menu-right {
    right: 0;
    left: auto;
}

/* Categories Dropdown Menu */
.categories-dropdown {
    min-width: 800px;
    max-width: 90vw;
    width: auto;
    padding: 0;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    margin-top: 0.5rem;
    overflow: hidden;
}

.menu-dropdown {
    width: 800px;
    max-width: calc(100vw - 40px);
    min-width: 300px;
    padding: 0;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    margin-top: 0.5rem;
    overflow: visible;
    box-sizing: border-box;
    z-index: 1050;
}

.categories-dropdown .row {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.menu-dropdown .row {
    margin: 0;
    overflow: visible;
}

.categories-dropdown .col-md-3 {
    border-right: 1px solid var(--border-color);
    padding: 1.5rem !important;
}

.categories-dropdown .col-md-3:last-child {
    border-right: none;
}

.categories-dropdown .dropdown-header {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0.5rem 0;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.categories-dropdown .dropdown-item {
    padding: 0.5rem 0;
    color: var(--text-gray);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
}

.categories-dropdown .dropdown-item:hover {
    color: var(--primary-color);
    background: transparent;
    padding-left: 0.5rem;
}

/* Ensure dropdown works on mobile */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: var(--bg-light);
        border: 1px solid var(--border-color);
        box-shadow: none;
    }
    
    .categories-dropdown,
    .menu-dropdown {
        min-width: 100%;
    }
    
    .categories-dropdown .row,
    .menu-dropdown .row {
        flex-direction: column;
    }
    
    .categories-dropdown .col-md-3,
    .menu-dropdown .col-md-3,
    .menu-dropdown .col-md-4,
    .menu-dropdown .col-md-8 {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .categories-dropdown .col-md-3:last-child,
    .menu-dropdown .col-md-3:last-child,
    .menu-dropdown .col-md-4:last-child,
    .menu-dropdown .col-md-8:last-child {
        border-bottom: none;
    }
    
    .user-dropdown {
        min-width: 100%;
    }
    
    .nav-link.dropdown-toggle span {
        display: none;
    }
    
    .category-image-wrapper {
        padding-top: 70%; /* Width-based responsive */
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-card h5 {
        font-size: 1.25rem;
    }
    
    /* Products Section */
    .product-card {
        margin-bottom: 1.5rem !important;
    }
    
    .product-card .card-body {
        padding: 1.25rem !important;
    }
    
    .product-card .card-title {
        font-size: 1.125rem !important;
    }
    
    /* Product Images - Mobile - Ensure Visibility */
    .product-card .product-image,
    .product-image {
        padding-top: 75% !important;
        width: 100% !important;
        position: relative !important;
        overflow: hidden !important;
        display: block !important;
        min-height: 200px !important;
    }
    
    .product-card .product-image img,
    .product-card .card-img-top,
    .product-image img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    /* Product Card Buttons - Mobile */
    .product-card .btn-primary.btn-sm,
    .product-card .btn-danger.btn-sm,
    .btn-primary.btn-sm.btn-animated,
    .btn-primary.btn-sm.hover-lift {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        padding: 0 !important;
        font-size: 1.25rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
    }
    
    .product-card .btn-primary.btn-sm i,
    .product-card .btn-danger.btn-sm i,
    .btn-primary.btn-sm.btn-animated i,
    .btn-primary.btn-sm.hover-lift i {
        font-size: 1.25rem !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Product Details Buttons */
    .product-details .btn-add-to-cart {
        width: 100% !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        min-height: 48px !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Category Page Buttons */
    .category-products .btn-primary,
    .category-products .btn-danger,
    .category-products .btn-sm {
        min-height: 44px !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Dashboard Buttons */
    .dashboard .btn {
        width: 100% !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Dashboard Card Header Button - Extra Small (Style like badge) */
    .dashboard .card-header .btn-sm.btn-primary,
    .dashboard .card-header .btn-sm.btn-primary.btn-animated,
    .dashboard .card-header .btn-sm.btn-primary.hover-lift {
        border-radius: 0.25rem !important;
        padding: 0.375rem 0.75rem !important;
        font-size: 0.8125rem !important;
        font-weight: 500 !important;
        min-height: auto !important;
        height: auto !important;
        width: auto !important;
        min-width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        border: none !important;
    }
    
    .dashboard .card-header .btn-sm.btn-primary i,
    .dashboard .card-header .btn-sm.btn-primary.btn-animated i,
    .dashboard .card-header .btn-sm.btn-primary.hover-lift i {
        margin-right: 0.375rem !important;
        font-size: 0.8125rem !important;
        margin-left: 0 !important;
    }
    
    /* Dashboard Order Items - Extra Small */
    .dashboard .order-item {
        border-bottom: 1px solid var(--border-color) !important;
        padding-bottom: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .dashboard .order-item .row {
        flex-direction: column !important;
        margin: 0 !important;
    }
    
    .dashboard .order-item .col-md-2 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1rem !important;
        padding: 0 !important;
    }
    
    .dashboard .order-item img {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .dashboard .order-item .col-md-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1rem !important;
        padding: 0 !important;
    }
    
    .dashboard .order-item .col-md-3 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1rem !important;
        padding: 0 !important;
        text-align: left !important;
    }
    
    .dashboard .order-item .col-md-3.text-right {
        text-align: left !important;
    }
    
    .dashboard .order-item .btn {
        width: 100% !important;
        margin-top: 0.5rem !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.9375rem !important;
        min-height: 44px !important;
    }
    
    /* Dashboard Wishlist - Extra Small */
    .dashboard #wishlist .row {
        display: flex !important;
        flex-wrap: wrap !important;
        margin: 0 -15px !important;
    }
    
    .dashboard #wishlist .col-lg-4,
    .dashboard #wishlist .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1.5rem !important;
        padding: 0 15px !important;
    }
    
    .dashboard #wishlist .product-card {
        margin-bottom: 0 !important;
    }
    
    .dashboard #wishlist .product-image {
        padding-top: 75% !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .dashboard #wishlist .product-image img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .dashboard #wishlist .product-overlay {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    
    .dashboard #wishlist .card-body {
        padding: 1rem !important;
    }
    
    .dashboard #wishlist .card-title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .dashboard #wishlist .d-flex.justify-content-between {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        margin-top: 0.75rem !important;
    }
    
    .dashboard #wishlist .btn-primary.btn-sm.btn-animated.hover-lift {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        font-size: 1.125rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
    }
    
    /* Ensure sidebar is above everything */
    .mobile-sidebar {
        z-index: 9999;
    }
    
    .mobile-sidebar-overlay {
        z-index: 9998;
    }
    
    /* Cart Icon Extra Small Mobile Fix */
    .nav-link.position-relative {
        padding: 0.5rem !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .nav-link.position-relative .fa-shopping-cart {
        font-size: 1rem !important;
    }

    .cart-badge {
        top: 0 !important;
        right: 0 !important;
        font-size: 0.5625rem !important;
        padding: 0.2rem 0.35rem !important;
        min-width: 16px !important;
        height: 16px !important;
    }

    /* Mobile Sidebar Cart Badge Fix */
    .mobile-sidebar-menu .nav-link.position-relative {
        position: relative !important;
        padding-right: 3rem !important; /* Make space for badge */
    }

    .mobile-sidebar-menu .cart-badge {
        position: absolute !important;
        top: 50% !important;
        right: 1rem !important;
        transform: translateY(-50%) !important;
        font-size: 0.7rem !important;
        padding: 0.2rem 0.4rem !important;
        min-width: 18px !important;
        height: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
    }
    
    /* Dropdowns */

        
    
    /* Sliders */
    .other-blogs-slider {
        padding: 0 30px !important;
    }
    
    .other-blogs-prev,
    .other-blogs-next {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.75rem !important;
    }
    
    /* Category Banner */
    .category-banner {
        height: 200px !important;
    }
    
    .category-banner-title {
        font-size: 1.5rem !important;
    }
    
    .category-banner-title i {
        font-size: 1.25rem !important;
    }
    
    /* Product Details */
    .product-details .row {
        margin: 0 !important;
    }
    
    .product-details .col-lg-4,
    .product-details .col-lg-6,
    .product-details .col-lg-8 {
        padding: 0 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .product-details > .container > .row > .col-lg-6:last-child {
        margin-top: 1.25rem !important;
    }
    
    .product-info {
        margin-top: 1.25rem !important;
    }
    
    .product-header {
        margin-top: 1.25rem !important;
    }
    
    /* Related Products */
    .related-products-section {
        padding: 2rem 0 !important;
    }
    
    /* Footer */
    .footer .col-lg-4,
    .footer .col-lg-2 {
        margin-bottom: 2rem !important;
    }
    
    /* Product Thumbnails */
    .product-image-container {
        gap: 0 !important;
        row-gap: 0 !important;
    }
    
    .product-image-container .product-thumbnails,
    .product-thumbnails {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        gap: 0.5rem !important;
    }
    
    .product-image-main {
        min-height: 275px;
        margin: 0 !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .product-image-main img {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
        display: block;
    }
    
    .product-image-container .product-image-main + .product-thumbnails {
        margin-top: 0 !important;
    }
    
    .thumbnail-item {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* Quantity Inputs */
    .quantity-group {
        width: 100% !important;
    }
    
    /* Checkout Forms */
    .checkout-form .row {
        margin: 0 !important;
    }
    
    .checkout-form .col-md-6 {
        padding: 0 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Blog Image Wrapper */
    .blog-image-wrapper {
        height: 200px !important;
    }
    
    /* Category Cards */
    .category-image-wrapper {
        height: 200px !important;
    }
    
    /* Product Images */
    .product-image {
        padding-top: 100% !important;
    }
    
    /* Sticky Elements */
    .sticky-checkout {
        position: relative !important;
        top: auto !important;
    }
    
    /* Text Alignment */
    .text-right {
        text-align: left !important;
    }
    
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Fix double menu issue */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .navbar {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: block !important;
    }
}
/* Reduce button size only on small screens */
@media (max-width: 768px) {
    .btn-mobile {
        padding: 0.25rem 0.5rem;   /* smaller padding */
        font-size: 0.8rem;         /* smaller text */
    }
}
.hero-slide h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Tablets */
@media (max-width: 992px) {
    .hero-slide h1 {
        font-size: 3rem;
        line-height: 1.25;
        margin-bottom: 1.2rem;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    .hero-slide h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-slide h1 {
        font-size: 1.8rem;
        line-height: 1.35;
        margin-bottom: 0.8rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    }
}


