/* ============================================
   PEWEKA - Culture & The Future
   Custom CSS - Black, White, Yellow (#FFD700)
   Mobile-first responsive design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --yellow: #FFD700;
    --yellow-light: #FFE44D;
    --yellow-dark: #CCB000;
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-mid: #2a2a2a;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --red: #ef4444;
    --green: #22c55e;
    --blue: #3b82f6;

    --font-primary: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--yellow);
    padding: 0;
    height: 70px;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Increased gap */
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--yellow);
    letter-spacing: 1px;
}

.brand-logo {
    height: 25px;
    /* Adjust height directly */
    width: auto;
    object-fit: contain;
    /* Optional: shimmer effect on hover */
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
    transform: rotate(-5deg) scale(1.1);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.navbar-menu a {
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--yellow);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--yellow);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block !important;
        position: relative;
        z-index: 10001;
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #0a0a0a;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-110%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-bottom: 2px solid var(--yellow);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        z-index: 10000;
    }

    .navbar-menu.active {
        transform: translateY(0);
    }

    .navbar-menu a {
        font-size: 1.1rem;
        padding: 10px 0;
        width: 100%;
        /* Full width touch target */
        text-align: center;
        /* Center text */
    }

    .nav-ig-item {
        display: none !important;
    }
}

/* ---- SHOP PAGE ENHANCEMENTS ---- */

/* Filter Sidebar - Global Off-canvas */
.filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background: var(--black-light);
    z-index: 2000;
    /* High z-index to be on top of everything */
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px;
}

.filter-sidebar.show {
    transform: translateX(0);
}

.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    /* Just below the sidebar */
    display: none;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.sidebar-backdrop.show {
    display: block;
}

.filter-sidebar::-webkit-scrollbar {
    width: 4px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 4px;
}

.filter-label {
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    font-size: 0.85rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.custom-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Increased gap */
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray-400);
    transition: all 0.2s;
    padding: 4px 0;
    /* Add vertical padding */
}

.custom-radio:hover {
    color: var(--yellow);
    transform: translateX(5px);
    /* Micro-interaction */
}

.custom-radio input {
    accent-color: var(--yellow);
    width: 16px;
    height: 16px;
}

.custom-radio input:checked+span {
    color: var(--yellow);
    font-weight: 700;
}

/* Price Range Slider - Polished */
.price-slider-wrapper {
    padding: 15px 0;
}

.slider-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 15px;
    font-family: var(--font-primary);
    /* Use primary font for numbers */
}

.dual-range-slider {
    height: 6px;
    /* Slightly thicker */
    margin-top: 5px;
    margin-bottom: 20px;
}

.slider-track {
    background: var(--gray-700);
    /* Darker track */
    height: 6px;
    border-radius: 6px;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 3px var(--black);
    /* Thicker border */
    margin-top: -7px;
    transition: transform 0.1s;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Color Filter - Enhanced */
.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: inline-block;
    /* Ensure layout is correct */
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--yellow);
}

/* Product Card - Professional Redesign */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    /* Optimised grid */
    gap: 30px;
    /* Increased gap */
}

.product-card {
    background: var(--black-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    /* More subtle */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Ensure footer aligns */
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    /* Glow effect */
}

.product-card .card-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Square aspect ratio 1:1 */
    overflow: hidden;
    background: var(--black-mid);
}

.product-card .card-image img {
    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);
}

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

.product-card .card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--yellow);
    color: var(--black);
    padding: 5px 12px;
    border-radius: 4px;
    /* Slightly sharper styling */
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.product-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-card .card-body h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
    line-height: 1.2;
    transition: color 0.3s;
}

.product-card:hover .card-body h3 {
    color: var(--yellow);
}

.product-card .card-body .price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    /* White price by default */
    font-family: var(--font-primary);
    margin-top: auto;
    /* Push to bottom */
}

.product-card:hover .card-body .price {
    color: var(--yellow);
    /* Yellow on hover */
}

/* Pagination - Premium Style */
.pagination {
    margin-top: 40px;
    gap: 10px;
}

.page-item .page-link {
    background: transparent;
    border: 1px solid var(--gray-700);
    color: var(--gray-400);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-weight: 600;
    transition: all 0.3s;
}

.page-item .page-link:hover {
    background: var(--black-mid);
    color: var(--white);
    border-color: var(--gray-500);
}

.page-item.active .page-link {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Empty State */
.empty-state-icon {
    font-size: 5rem;
    color: var(--gray-700);
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Helper Classes */
.gap-2 {
    gap: 0.5rem !important;
}


/* ---- HERO (Keep existing hero styles just in case, or minimized here if unused on shop) ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 70px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
}

/* ... Retain other hero styles if needed ... */

/* Button overrides for professional feel */
.btn {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    /* Sharper corners */
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --yellow: #FFD700;
    --yellow-light: #FFE44D;
    --yellow-dark: #CCB000;
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-mid: #2a2a2a;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --red: #ef4444;
    --green: #22c55e;
    --blue: #3b82f6;

    --font-primary: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    padding: 0 20px;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--yellow);
    letter-spacing: 1px;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-weight: 900;
    font-size: 1.2rem;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.navbar-menu a {
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--yellow);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--yellow);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        /* top: 70px; */
        top: 0px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-110%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    }

    .navbar-menu.active {
        transform: translateY(0);
    }

    .navbar-menu a {
        font-size: 1.1rem;
        padding: 10px 0;
    }
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 70px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -200px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    bottom: -50px;
    left: -100px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text h1 span {
    color: var(--yellow);
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}

.hero-text .tagline {
    font-size: 1.2rem;
    color: var(--gray-400);
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-text .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--yellow);
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo-circle {
    width: 400px;
    height: 400px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 8rem;
    font-weight: 900;
    color: var(--black);
    box-shadow: var(--shadow-glow), 0 0 80px rgba(255, 215, 0, 0.2);
    animation: float 5s ease-in-out infinite;
    position: relative;
}

.hero-logo-circle::after {
    content: 'Culture & The Future';
    position: absolute;
    bottom: -40px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 3px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text .tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo-circle {
        width: 250px;
        height: 250px;
        font-size: 5rem;
    }

    .hero-btns {
        justify-content: center;
    }
}

.hero-btns {
    display: flex;
    gap: 25px;
    row-gap: 10px;
    flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: var(--yellow-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

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

.btn-outline:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--black-light);
    color: var(--white);
    border-color: var(--gray-700);
}

.btn-dark:hover {
    background: var(--black-mid);
    border-color: var(--yellow);
}

.btn-danger {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-success {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

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

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ---- SECTION ---- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header h2 span {
    color: var(--yellow);
}

.section-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.product-card {
    background: var(--black-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.1);
}

.product-card .card-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--black-mid);
}

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

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

.product-card .card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--yellow);
    color: var(--black);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.product-card .card-body {
    padding: 20px;
}

.product-card .card-body h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.product-card .card-body .price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--yellow);
    font-family: var(--font-primary);
}

.product-card .card-body .price small {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 400;
}

.product-card .card-body .card-desc {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin: 8px 0 15px;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- PRODUCT DETAIL ---- */
.product-detail {
    padding-top: 100px;
    min-height: 100vh;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-image-main {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--black-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.product-info {
    padding: 20px 0;
}

.product-info h1 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.product-info .price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--yellow);
    font-family: var(--font-primary);
    margin-bottom: 20px;
}

.product-info .product-desc {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Size & Color Selectors */
.variant-selector {
    margin-bottom: 25px;
}

.variant-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-300);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.size-options,
.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn {
    padding: 10px 20px;
    background: var(--black-mid);
    border: 2px solid var(--gray-700);
    border-radius: var(--radius-sm);
    color: var(--white);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.size-btn:hover {
    border-color: var(--yellow);
}

.size-btn.active {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.size-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.color-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-btn:hover {
    border-color: var(--yellow);
    transform: scale(1.1);
}

.color-btn.active {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px var(--yellow);
}

.color-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Quantity */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-selector label {
    font-weight: 600;
    color: var(--gray-300);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-700);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 45px;
    height: 45px;
    background: var(--black-mid);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--yellow);
    color: var(--black);
}

.qty-input {
    width: 60px;
    height: 45px;
    text-align: center;
    border: none;
    background: var(--black-light);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

.stock-info {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 5px;
}

.stock-info span {
    color: var(--green);
    font-weight: 600;
}

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

    .product-image-main img {
        height: 350px;
    }

    .product-info h1 {
        font-size: 1.6rem;
    }
}

/* ---- CHECKOUT ---- */
.checkout-page {
    padding-top: 100px;
    min-height: 100vh;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.checkout-form-card,
.order-summary-card {
    background: var(--black-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {

    .checkout-form-card,
    .order-summary-card {
        padding: 15px;
        /* Reduced further for tight screens */
    }
}

.order-summary-card {
    position: sticky;
    top: 90px;
}

.order-summary-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--yellow);
}

.summary-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.summary-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.summary-item-info p {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 2px solid var(--yellow);
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--yellow);
    font-family: var(--font-primary);
}

.summary-row .discount {
    color: var(--green);
}

/* Voucher Input */
.voucher-section {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(255, 215, 0, 0.3);
}

.voucher-input-group {
    display: flex;
    gap: 10px;
}

.voucher-input-group input {
    flex: 1;
    padding: 10px 15px;
    background: var(--black);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.voucher-input-group input:focus {
    border-color: var(--yellow);
    outline: none;
}

.voucher-msg {
    font-size: 0.8rem;
    margin-top: 8px;
}

.voucher-msg.success {
    color: var(--green);
}

.voucher-msg.error {
    color: var(--red);
}

/* Fix for total row alignment */
.summary-total {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid var(--yellow);
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--yellow);
    font-family: var(--font-primary);
}

@media (max-width: 480px) {
    .voucher-input-group {
        flex-direction: column;
    }

    .voucher-input-group button {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .checkout-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .order-summary-card {
        position: relative;
        top: 0;
        order: -1;
        /* Summary becomes first on mobile */
    }

    .mobile-summary-block {
        display: block !important;
    }
}

/* Mobile Summary Block - Aesthetics matching screenshot */
.mobile-summary-block {
    display: none;
    /* Hidden by default on desktop */
    background: var(--black-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
}

.m-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.m-label {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

.m-value {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

.m-summary-divider {
    height: 1.5px;
    background: var(--yellow);
    margin: 15px 0;
    opacity: 0.8;
}

.m-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.m-total-label {
    color: var(--yellow);
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-primary);
}

.m-total-value {
    color: var(--yellow);
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-primary);
}

.text-green {
    color: var(--green) !important;
}

/* Utilities */
.responsive-row {
    display: flex;
    gap: 15px;
}

@media (max-width: 576px) {
    .responsive-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ---- FORMS ---- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-300);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--black-mid);
    border: 2px solid var(--gray-700);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--yellow);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-control::placeholder {
    color: var(--gray-600);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* File Upload */
.upload-area {
    border: 2px dashed var(--gray-700);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--black-mid);
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--yellow);
    background: rgba(255, 215, 0, 0.05);
}

.upload-area .upload-icon {
    font-size: 2.5rem;
    color: var(--yellow);
    margin-bottom: 10px;
}

.upload-area p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.upload-area .file-name {
    color: var(--yellow);
    font-weight: 600;
    margin-top: 8px;
}

.upload-preview {
    margin-top: 15px;
}

.upload-preview img {
    max-width: 200px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--yellow);
}

/* ---- ORDER SUCCESS ---- */
.success-page {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card {
    text-align: center;
    background: var(--black-light);
    border-radius: var(--radius-xl);
    padding: 50px;
    max-width: 550px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: var(--shadow-glow);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--green);
    border: 3px solid var(--green);
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.success-card h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.success-card .order-code {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--yellow);
    font-family: var(--font-primary);
    background: rgba(255, 215, 0, 0.1);
    padding: 10px 25px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 15px 0;
    letter-spacing: 2px;
}

.success-card p {
    color: var(--gray-400);
    margin-bottom: 25px;
    line-height: 1.8;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- ORDER TRACKING ---- */
.track-page {
    padding-top: 100px;
    min-height: 100vh;
}

.track-card {
    background: var(--black-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.track-header {
    text-align: center;
    margin-bottom: 40px;
}

.track-header h2 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.track-header .order-code {
    color: var(--yellow);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gray-700);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-700);
    border: 3px solid var(--black-light);
    z-index: 1;
}

.timeline-item.active .timeline-dot {
    background: var(--yellow);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.timeline-item.completed .timeline-dot {
    background: var(--green);
}

.timeline-item .timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.timeline-item .timeline-content p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.timeline-item.active .timeline-content h4 {
    color: var(--yellow);
}

/* Track info */
.track-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.track-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.track-info-row .label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.track-info-row .value {
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(255, 215, 0, 0.15);
    color: var(--yellow);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.status-confirmed {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-shipped {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.status-delivered {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ---- PAYMENT INFO ---- */
.payment-info-box {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 25px;
}

.payment-info-box h4 {
    color: var(--yellow);
    font-family: var(--font-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.bank-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bank-info .bank-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.bank-info .bank-row .bank-label {
    color: var(--gray-400);
}

.bank-info .bank-row .bank-value {
    font-weight: 700;
    color: var(--white);
}

/* ---- FOOTER ---- */
.footer {
    background: var(--black-light);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding: 60px 0 30px;
    margin-top: 10px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--yellow);
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--gray-500);
    line-height: 1.8;
    max-width: 350px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
}

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

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

.social-link {
    width: 42px;
    height: 42px;
    background: var(--black-mid);
    border: 1px solid var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--gray-600);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

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

    .footer-links ul {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-links li {
        margin-bottom: 0;
    }
}

/* ---- ALERTS ---- */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.alert-warning {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--yellow-light);
}

/* ---- ABOUT SECTION ---- */
.about-section {
    background: linear-gradient(135deg, var(--black-light) 0%, var(--black) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: rgba(255, 215, 0, 0.05);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.feature-card .feature-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.feature-card h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 5px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

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

    .section-header h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }
}

/* ---- LOADING SPINNER ---- */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-700);
    border-top-color: var(--yellow);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ---- PAGE TITLE ---- */
.page-title {
    padding-top: 100px;
    padding-bottom: 40px;
    text-align: center;
}

.page-title h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
}

.page-title p {
    color: var(--gray-400);
    margin-top: 10px;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-dark);
}

/* ---- UTILITY ---- */
.text-yellow {
    color: var(--yellow);
}

.text-green {
    color: var(--green);
}

.text-red {
    color: var(--red);
}

.text-gray {
    color: var(--gray-400);
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.fw-bold {
    font-weight: 700;
}

.d-flex {
    display: flex;
}

.gap-2 {
    gap: 10px;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* ==================================
   SHOPEE STYLE REDESIGN
   ================================== */

/* Sort Bar */
.shopee-sort-bar {
    background: var(--black-mid);
    padding: 10px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-700);
}

.sort-label {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-right: 15px;
}

.sort-options {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.sort-btn {
    background: var(--black-light);
    border: 1px solid var(--gray-700);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 2px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none !important;
    display: inline-block;
}

.sort-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--yellow);
}

.sort-btn.active {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
    font-weight: 600;
}

/* Price Dropdown in Sort Bar */
.price-dropdown {
    position: relative;
    display: inline-block;
}

.price-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--black-light);
    border: 1px solid var(--yellow);
    z-index: 100;
    margin-top: 5px;
    border-radius: 2px;
}

.price-dropdown:hover .dropdown-menu {
    display: block;
}

.price-dropdown .dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.85rem;
}

.price-dropdown .dropdown-menu a:hover,
.price-dropdown .dropdown-menu a.active {
    background: var(--black-mid);
    color: var(--yellow);
}


/* Product Grid - Shopee Style */
.products-grid.shopee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.product-card.shopee-card {
    background: var(--black-light);
    border: 1px solid transparent;
    border-radius: 2px;
    /* Sharper corners */
    transition: all 0.2s ease;
    display: block;
    text-decoration: none;
    position: relative;
}

.product-card.shopee-card:hover {
    border-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.product-card.shopee-card .card-image {
    padding-top: 100%;
    /* Square aspect ratio */
    position: relative;
    overflow: hidden;
}

.product-card.shopee-card .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlays */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card.shopee-card:hover .card-overlay {
    opacity: 1;
}

.btn-check {
    color: var(--yellow);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Badges */
.card-badge.badge-new {
    background: var(--yellow);
    color: var(--black);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 2px 6px;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 2px;
}

/* Body Content */
.product-card.shopee-card .card-body {
    padding: 10px;
}

.product-title {
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.4;
    height: 2.8em;
    /* 2 lines max */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 400;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.product-card.shopee-card .price {
    color: var(--yellow);
    font-size: 1rem;
    font-weight: 700;
}

.sold-count {
    font-size: 0.7rem;
    color: var(--gray-500);
}

.location-badge {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 576px) {
    .shopee-sort-bar {
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px;
    }

    .sort-label {
        display: none;
    }

    .products-grid.shopee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ==================================
   PREMIUM CATEGORY FILTER (GLASS-MORPHISM)
   ================================== */
.category-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0 30px;
    margin-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 70px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.category-container::-webkit-scrollbar {
    display: none;
}

.category-pills {
    display: flex;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
}

.category-pill {
    padding: 10px 24px;
    background: transparent;
    color: var(--gray-400);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}

.category-pill i {
    font-size: 0.8rem;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.category-pill:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.category-pill:hover i {
    opacity: 1;
    transform: scale(1.2);
}

.category-pill.active {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.25);
}

.category-pill.active i {
    opacity: 1;
    color: var(--black);
}

@media (max-width: 768px) {
    .category-container {
        display: block;
        /* Change from flex to block to allow container padding to work with child */
        overflow-x: auto;
        padding: 10px 20px;
        margin: 0 -20px 20px;
        justify-content: flex-start;
        top: 70px;
        scrollbar-width: none;
    }

    .category-container::-webkit-scrollbar {
        display: none;
    }

    .category-pills {
        display: inline-flex;
        /* Use inline-flex to allow pills to exceed container width */
        border: none;
        background: transparent;
        padding: 0;
        gap: 10px;
    }

    .category-pill {
        flex: 0 0 auto;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}

/* ==================================
   PREMIUM SHOP HEADER UI
   ================================== */
.shop-header-premium {
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-title-area h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1.5px;
    line-height: 1;
}

.shop-title-area h2 span {
    color: var(--yellow);
}

.shop-meta-info {
    font-size: 0.95rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-meta-info i {
    color: var(--yellow);
    font-size: 0.35rem;
}

.shop-actions-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-dropdown-wrapper {
    position: relative;
    min-width: 220px;
}

.sort-select-premium,
.btn-filter-premium {
    height: 48px;
    /* Strict uniform height */
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sort-select-premium {
    appearance: none;
    -webkit-appearance: none;
    padding: 0 45px 0 20px;
    width: 100%;
    cursor: pointer;
}

.btn-filter-premium {
    padding: 0 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    white-space: nowrap;
}

.sort-select-premium:hover,
.btn-filter-premium:hover {
    background: #1a1a1a;
    border-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sort-select-premium:focus {
    outline: none;
    border-color: var(--yellow);
}

.sort-dropdown-wrapper::after {
    content: '\f0dc';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--yellow);
    pointer-events: none;
    font-size: 0.85rem;
    z-index: 2;
}

.btn-filter-premium i {
    font-size: 0.85rem;
    color: var(--yellow);
}


@media (max-width: 768px) {
    .shop-header-premium {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .shop-title-area h2 {
        font-size: 2rem;
    }

    .shop-actions-area {
        width: 100%;
        justify-content: space-between;
    }

    .sort-dropdown-wrapper {
        flex: 1;
    }
}