/* 
=============================================
   JETTEL PREMIUM THEME
   v2.0 - Organized & Cleaned
=============================================
*/

/* 
   1. VARIABLES & THEME SETUP 
*/
:root {
    /* Colors */
    --primary: #111111;
    --secondary: #666666;
    --accent: #2563eb;
    /* Royal Blue */
    --accent-hover: #1d4ed8;

    --bg-light: #f8f9fa;
    --bg-white: #ffffff;

    --text-main: #1f2937;
    --text-dark: #111827;
    --text-light: #6b7280;

    --border: #e5e7eb;

    /* Branding */
    --premium-gold: #d4af37;
    --premium-dark: #0f172a;

    /* Shadows */
    --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);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --radius: 8px;
    --radius-lg: 12px;
}

/* 
   2. RESET & BASE STYLES 
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 
   3. UTILITIES & ANIMATIONS 
*/
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide {
    animation: slideUp 0.6s ease-out;
}

/* Helpers */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

/* 
   4. UI ELEMENTS (Buttons, Forms, Badges) 
*/
/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* 
   5. LAYOUT COMPONENTS 
*/

/* --- Header & Navbar --- */
header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
}

.brand {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -1px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-item:hover {
    color: var(--accent);
}

/* Icons Area */
.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: 40px;
}

.mobile-actions {
    display: none;
    gap: 15px;
    align-items: center;
}

.icon-link {
    position: relative;
    font-size: 1.2rem;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: 700;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%;
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-main);
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 500;
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    /* Desktop hidden */
    padding: 10px;
    cursor: pointer;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 4px;
    position: absolute;
    transition: transform 0.15s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/* Hamburger Active State */
.hamburger-btn.active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger-btn.active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.hamburger-btn.active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Navbar Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }

    .brand {
        font-size: 1.5rem;
    }

    .brand-wrapper {
        width: 100%;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;
        /* Logic handled by hover/js usually, but in mobile we rely on plain display */
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-item:hover .dropdown-menu {
        display: block;
    }

    .desktop-actions {
        display: none !important;
    }

    .mobile-actions {
        display: flex !important;
        margin-right: 15px;
    }

    .hamburger-btn {
        display: inline-block !important;
    }
}

/* --- Footer --- */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    footer {
        padding-bottom: 90px;
    }

    /* Space for sticky bar */
}

/* 
   6. COMPONENT: PRODUCT CARD 
   (Styles removed as per user request)
*/

/* 
   (Mobile Product Card styles removed)
*/

/* 
   7. PAGE: HOME 
*/
/* Hero Carousel */
.hero-wrapper {
    position: relative;
    background: black;
    color: white;
    overflow: hidden;
}

.hero-slide {
    display: none;
    padding: 0;
    width: 100%;
    animation: fadeEffect 1s;
}

.hero-slide.active {
    display: block;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 460px;
}

@media (max-width: 768px) {
    .hero-content {
        height: 220px;
    }
}

.hero-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--accent);
}

@keyframes fadeEffect {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    transition: transform 0.2s;
}

.feature-box:hover {
    transform: translateY(-2px);
    border-color: var(--premium-gold);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #fffbf0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--premium-gold);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* 
   8. PAGE: SHOP 
*/
.shop-container {
    margin-top: 40px;
    margin-bottom: 60px;
}

.shop-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.shop-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.shop-filter-box {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
}

.filter-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-link {
    color: var(--text-light);
    transition: color 0.2s;
}

.filter-link.active {
    font-weight: 700;
    color: var(--primary);
}

.filter-divider {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.price-inputs {
    display: flex;
    gap: 10px;
}

.filter-toggle-btn {
    display: none;
    width: 100%;
    margin-bottom: 12px;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary);
    color: white;
    border: none;
}

.filter-toggle-btn:hover {
    background-color: #000;
}

/* Shop Banner */
.shop-banner {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 300px;
    display: flex;
    align-items: center;
}

.shop-banner-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.shop-banner-tag {
    background: #dc2626;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.shop-banner h2 {
    font-size: 2.2rem;
    margin: 0 0 10px;
    line-height: 1.2;
    color: white;
}

.shop-banner p {
    color: #9ca3af;
    margin-bottom: 25px;
}

/* Deco Circles */
.shop-banner-deco-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.shop-banner-deco-icon {
    position: absolute;
    bottom: 20px;
    right: 40px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-15deg);
}

@media (max-width: 768px) {
    .shop-layout {
        gap: 0;
    }

    .shop-sidebar {
        width: 100%;
        margin-bottom: 0px;
    }

    .filter-toggle-btn {
        display: flex;
    }

    .shop-filter-box {
        padding: 0;
        border: none;
        background: transparent;
    }

    .shop-filters-content {
        display: none;
        background: white;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 20px;
        margin-top: 10px;
        animation: slideUp 0.3s ease-out;
    }

    .shop-filters-content.active {
        display: block;
    }

    /* Compact Banner */
    .shop-banner {
        padding: 20px;
        min-height: auto;
        height: auto;
        margin-bottom: 15px;
        align-items: flex-start;
    }

    .shop-banner-content {
        max-width: 100%;
    }

    .shop-banner h2 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .shop-banner p,
    .shop-banner .btn,
    .shop-banner-tag {
        display: none;
    }

    .shop-banner-deco-icon {
        font-size: 4rem;
        bottom: 10px;
        right: 10px;
    }

    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}

/* 
   9. PAGE: PRODUCT DETAIL 
   (Contains Scope for Large Prices)
*/
.product-breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-breadcrumbs a {
    color: var(--text-light);
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    position: relative;
}

.product-breadcrumbs a:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.breadcrumb-separator {
    font-size: 0.6rem;
    color: #d1d5db;
    /* Lighter gray for subtle separation */
}

.breadcrumb-active {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.product-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Gallery */
.gallery-container {
    position: sticky;
    top: 100px;
}

.main-image-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.main-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 10px;
}

.main-image-frame:hover img {
    transform: scale(1.05);
}

.thumbnail-strip {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    background: #fff;
    transition: all 0.2s;
    opacity: 0.7;
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--primary);
    opacity: 1;
    transform: translateY(-2px);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%);
    transition: filter 0.3s;
}

.thumb-item:hover img,
.thumb-item.active img {
    filter: grayscale(0%);
}

/* Info Col */
.product-info-col {
    padding-top: 10px;
}

.product-title-large {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

/* SCOPED PRICE STYLES: DETAIL VIEW */
.price-block {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-block .current-price {
    font-size: 2.5rem;
    /* ~40px */
    font-weight: 700;
    color: var(--text-dark);
}

.price-block .original-price {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
}

.discount-tag {
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.action-group {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    height: 56px;
}

.qty-btn {
    width: 40px;
    height: 100%;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #f9fafb;
}

.qty-input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

.btn-add-cart {
    flex: 1;
    height: 56px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    /* Premium Gradient */
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-wishlist {
    width: 56px;
    height: 56px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-dark);
    transition: all 0.2s;
}

.btn-wishlist:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff5f5;
}

/* Mobile Carousel (Detail) */
.mobile-carousel-wrapper {
    position: relative;
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    margin-bottom: 20px;
}

.mobile-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
}

.mobile-carousel::-webkit-scrollbar {
    display: none;
}

.mobile-carousel-item {
    scroll-snap-align: center;
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.mobile-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed to cover for full bleed, or contain if per user wish? */
    /* User asked for 100% exact width. If I use contain, width varies. If I use cover, width is 100%. */
    /* Let's use object-fit: cover to ensure it fills the width of the 1:1 box exactly. */
    object-fit: cover;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.carousel-dots .dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 100px;
}

/* Sticky Mobile Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    z-index: 1000;
    display: none;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-sticky-bar .btn {
    flex: 1;
    padding: 14px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .product-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-container {
        position: static;
    }

    .product-title-large {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex !important;
    }

    .action-group {
        display: none;
    }

    .main-image-frame {
        aspect-ratio: 1/1;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
        min-height: auto;
    }

    .product-wrapper {
        gap: 10px !important;
    }

    .product-info-col {
        padding-top: 0 !important;
    }

    .product-badge {
        margin-bottom: 8px !important;
    }

    .product-title-large {
        margin-bottom: 8px !important;
        font-size: 1.5rem !important;
    }

    .price-block {
        margin-bottom: 15px !important;
        padding-bottom: 15px !important;
        gap: 10px;
        flex-wrap: wrap;
    }

    .price-block .current-price {
        font-size: 2rem !important;
        letter-spacing: -1px;
    }

    .product-description {
        margin-bottom: 20px !important;
        font-size: 0.95rem !important;
        line-height: 1.5;
    }

    .features-grid {
        gap: 10px !important;
    }

    .feature-box {
        padding: 10px !important;
    }

    .product-breadcrumbs {
        margin-bottom: 5px !important;
    }

    .mobile-carousel-wrapper {
        margin-bottom: 5px !important;
        width: 100% !important;
        margin-left: 0 !important;
        left: 0 !important;
    }

    .mobile-carousel-item {
        height: auto !important;
        aspect-ratio: 1 / 1;
        width: 100% !important;
        /* Ensure full width applied */
    }
}

/* 
   10. PAGE: REVIEWS 
*/
.reviews-section {
    max-width: 800px;
}

.review-form-card {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.review-login-prompt {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.review-login-prompt a {
    color: var(--primary);
    text-decoration: underline;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #d1d5db;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover~label,
.star-rating input:checked~label {
    color: #fbbf24;
}

.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-label {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.file-label:hover {
    background: #f9fafb;
    border-color: var(--text-light);
}

.review-card {
    border-bottom: 1px solid var(--border);
    padding: 25px 0;
}

.review-card:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
}

.review-meta {
    flex-grow: 1;
}

.reviewer-name {
    font-weight: 600;
    display: block;
    color: var(--text-dark);
}

.review-stars {
    font-size: 0.8rem;
    color: #e5e7eb;
}

.review-stars .filled {
    color: #fbbf24;
}

.review-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.review-content p {
    color: var(--text-main);
    line-height: 1.6;
}

.review-image {
    margin-top: 15px;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.review-image:hover img {
    transform: scale(1.1);
}

/* 
   11. PAGE: CART 
*/
.cart-items-list {
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1.5fr 1fr 0.5fr;
    padding: 15px 0;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    color: var(--text-dark);
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1.5fr 1fr 0.5fr;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.col-product {
    grid-column: 1;
}

.col-price {
    grid-column: 2;
}

.col-qty {
    grid-column: 3;
}

.col-total {
    grid-column: 4;
    text-align: right;
}

.col-action {
    grid-column: 5;
    text-align: right;
}

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-image-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background: #f9fafb;
    flex-shrink: 0;
}

.cart-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-product-title {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.cart-product-category {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.mobile-cart-price {
    display: none;
}

.cart-price {
    font-weight: 500;
}

.cart-quantity form {
    display: flex;
    align-items: center;
}

.qty-control {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-update {
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}

.cart-total {
    font-weight: 700;
    text-align: right;
}

.mobile-label {
    display: none;
}

.btn-remove {
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.btn-remove:hover {
    color: #dc2626;
}

@media (max-width: 768px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }

    .cart-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .cart-header {
        display: none;
    }

    .cart-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 12px;
        margin-bottom: 15px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
        position: relative;
    }

    .cart-product-info {
        width: 100%;
        margin-bottom: 15px;
    }

    .cart-image-wrapper {
        width: 80px;
        height: 80px;
    }

    .mobile-cart-price {
        display: block;
        font-weight: 700;
        margin-top: 5px;
        color: var(--text-dark);
    }

    .cart-quantity {
        width: 100%;
        margin-bottom: 15px;
        padding-top: 15px;
        border-top: 1px dashed var(--border);
    }

    .cart-quantity form {
        width: 100%;
    }

    .qty-control {
        width: 100%;
        justify-content: space-between;
    }

    .qty-input {
        width: 80px;
    }

    .cart-total {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 15px;
        border-top: 1px dashed var(--border);
        font-size: 1.1rem;
    }

    .mobile-label {
        display: inline;
        font-weight: 500;
        color: var(--text-light);
        font-size: 1rem;
    }

    .cart-action {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .col-product,
    .col-price,
    .col-qty,
    .col-total,
    .col-action {
        grid-column: auto;
    }
}

/* 
   12. PAGE: AUTH 
*/
.auth-container {
    max-width: 450px;
    margin: 80px auto;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* 
   13. PAGE: CHECKOUT 
*/
.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}



.order-amount {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.order-body {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Status Badges */
.status-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge.pending {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #ffedd5;
}

.status-badge.processing {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.status-badge.shipped {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #e0f2fe;
}

.status-badge.delivered {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

.status-badge.cancelled {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    background: #f9fafb;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}

.payment-badge i {
    margin-right: 8px;
    color: var(--text-light);
}

/* Empty State */
.empty-state-box {
    background: #f9fafb;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px dashed #e5e7eb;
}

.empty-state-icon {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 20px;
    display: block;
}

/* Scrollable List */
.scrollable-order-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
    /* Space for scrollbar */
    margin-bottom: 50px;
}

/* Custom Scrollbar */
.scrollable-order-list::-webkit-scrollbar {
    width: 6px;
}

.scrollable-order-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-order-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.scrollable-order-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Response Fixes */
@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile-sidebar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        flex-wrap: wrap;
    }

    .profile-avatar-container {
        width: 60px;
        height: 60px;
        margin: 0;
        margin-right: 15px;
    }

    .profile-avatar {
        font-size: 1.5rem;
        border-width: 2px;
    }

    .profile-info {
        text-align: left;
        margin-bottom: 0 !important;
    }

    .profile-name {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .profile-email {
        margin-bottom: 0;
    }

    .profile-stat-box {
        display: none;
    }

    .btn-logout {
        width: auto;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .profile-container {
        margin-top: 30px;
        margin-bottom: 60px;
    }

    .profile-sidebar {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .profile-avatar-container {
        margin: 0 auto;
    }

    .profile-info {
        text-align: center;
        width: 100%;
    }

    .btn-logout {
        width: 100%;
    }

    .order-header,
    .order-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-header {
        background: white;
        padding-bottom: 0;
        border-bottom: none;
    }

    .order-body {
        padding-top: 10px;
    }

    .order-header span:last-child {
        align-self: flex-start;
        font-size: 1.3rem;
        color: var(--primary);
    }

    .order-body>div {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .status-badge,
    .payment-badge {
        justify-content: center;
        width: 100%;
    }
}

/* Shop Product Grid Default (Desktop) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.checkout-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

.summary-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .summary-card {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .form-row-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-card,
    .summary-card {
        padding: 20px;
    }
}

/* =========================================
   14. MOBILE RESPONSIVE UPDATES
   ========================================= */

/* Force 2-Column Grid on Mobile for Shop/Home */
@media (max-width: 768px) {
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    #products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

/* Product Detail Page Mobile Fixes */
/* =========================================
   14. MOBILE RESPONSIVE UPDATES
   ========================================= */

/* Force 2-Column Grid on Mobile for Shop/Home */
@media (max-width: 768px) {
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    #products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 768px) {

    /* Product Detail Page Mobile Fixes */
    .product-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .gallery-container {
        width: 100%;
    }

    .product-info-col {
        width: 100%;
        padding: 0 15px;
    }

    .product-title-large {
        font-size: 1.5rem;
        margin-top: 10px;
    }

    .price-block {
        margin-bottom: 20px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 10px;
    }

    .mobile-carousel-item {
        min-width: 100%;
        scroll-snap-align: center;
    }

    .mobile-carousel-item img {
        width: 100%;
        border-radius: 12px;
        object-fit: cover;
    }

    .mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        padding: 15px;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        gap: 10px;
        z-index: 1000;
    }

    .mobile-sticky-bar .btn {
        flex: 1;
        padding: 12px;
        border-radius: 8px;
        font-weight: 600;
        text-align: center;
    }

    .action-group {
        display: none;
        /* Hide desktop actions on mobile */
    }
}

@media (min-width: 769px) {
    .product-wrapper {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
    }

    .mobile-sticky-bar {
        display: none;
    }
}

/* =========================================
   15. CHECKOUT PAGE STYLES (UPDATED)
   ========================================= */
.payment-option-label {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option-label:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.payment-option-label input[type="radio"] {
    margin-right: 12px;
    accent-color: #3b82f6;
    width: 18px;
    height: 18px;
}

.payment-option-label span {
    font-size: 1rem;
    color: #1f2937;
}

.payment-option-label small {
    color: #10b981;
    font-weight: 600;
    margin-left: 5px;
}

/* Highlight selected option */
.payment-option-label:has(input:checked) {
    border-color: #3b82f6;
    background-color: #eff6ff;
    box-shadow: 0 0 0 1px #3b82f6;
}

@media (max-width: 480px) {
    .payment-option-label {
        padding: 12px;
    }

    .payment-option-label span {
        font-size: 0.9rem;
    }

    .payment-option-label input[type="radio"] {
        margin-right: 8px;
        width: 16px;
        height: 16px;
    }
}

/* 
   16. PRODUCT CARD REINFORCEMENT
   (Removed as per user request)
*/




/* =============================================
   PRODUCT GRID SYSTEM
============================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 20px;
}

/* =============================================
   PRODUCT CARD COMPONENT
============================================= */

.product-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100%;
    /* Ensure equal height in grid */
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.05);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Force 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f9fafb;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 2;
}


.product-details {
    padding: 10px;
    /* Reduced from 16px */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid #f3f4f6;
}

.product-title {
    font-size: 0.95rem;
    /* Reduced from 1rem */
    font-weight: 600;
    margin-bottom: 2px;
    /* Reduced from 8px */
    line-height: 1.3;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    /* Adjusted roughly for 2 lines */
}

.product-category {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    /* Tightened */
}

.product-footer {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-price-container {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
}

.product-price-container .current-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.product-price-container .original-price {
    text-decoration: line-through;
    color: #c0c0c0;
    /* Even dimmer */
    font-size: 0.9rem;
    margin-left: 5px;
}

.product-actions {
    display: flex;
    gap: 6px;
    width: 100%;
}

.product-actions .btn {
    flex: 1;
    padding: 8px;
    /* Reduced from 10px */
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
}

/* =============================================
   MOBILE RESPONSIVE
============================================= */

@media (max-width: 768px) {
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding-bottom: 0;
        overflow: visible;
        /* Disable scroll */
    }

    .product-details {
        padding: 10px;
    }

    .product-title {
        font-size: 0.85rem;
        min-height: 1.2em;
    }

    .product-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
    }

    .product-actions .btn {
        padding: 8px;
        font-size: 0.75rem;
    }

    .product-wrapper {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   PRODUCT DETAIL & OTHER
============================================= */
.main-image-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    /* Ensure aspect ratio consistency if needed */
}

.main-image-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    padding: 12px;
    display: flex;
    gap: 10px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

@media (min-width: 769px) {
    .mobile-sticky-bar {
        display: none;
    }
}




/* =============================================
   TRENDING SECTION MOBILE SCROLL
   ============================================= */
.hidden-item {
    display: none;
}

@media (max-width: 768px) {
    #trending-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px !important;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    #trending-grid::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    #trending-grid .product-card {
        min-width: unset;
        flex: 0 0 auto;
        scroll-snap-align: start;
        width: calc((100% - 15px) / 2);
    }

    /* Reveal hidden items in the scroll view */
    #trending-grid .hidden-item {
        display: block !important;
    }

    /* Hide the load more button on mobile for scrolling section */
    #trending-load-more {
        display: none !important;
    }
}



/* =============================================
   SECTION HEADERS & VIEW ALL
   ============================================= */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
    position: relative;
    flex-wrap: nowrap;
    flex-direction: row;
}

.section-header h2 {
    margin: 0;
    font-size: 1.8rem;
    position: relative;
    width: auto;
    /* Ensure it doesn't take full width */
    line-height: 1;
    /* Tighter line height to prevent vertical misalignment */
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

.view-all-link {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-all-link i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    color: var(--accent);
}

.view-all-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .section-header {
        align-items: center;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .view-all-link {
        font-size: 0.85rem;
    }
}