/* ============================================
   🎨 COTTONBASE - Áo Thun Cotton Brand
   Style: Năng động, trẻ trung, hiện đại
   ============================================ */

/* === CSS VARIABLES === */
:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8F5E;
    --secondary: #0a0a0a;
    --secondary-light: #1a1a1a;
    --accent: #00F0FF;
    --success: #00B894;
    --warning: #FDCB6E;
    --info: #0984E3;
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --text: #EAEAEA;
    --text-light: #AAAAAA;
    --text-muted: #666666;
    --border: #222222;
    --shadow: 0 2px 30px rgba(0,0,0,0.4);
    --shadow-hover: 0 8px 40px rgba(255,107,53,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --header-height: 70px;
    --neon-glow: 0 0 20px rgba(255,107,53,0.3);
    --danger: #E51D37;
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height, 70px);
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* === GLITCH TEXT KEYFRAMES === */
@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 rgba(255,107,53,0.75), -0.05em -0.025em 0 rgba(0,240,255,0.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255,107,53,0.75), -0.05em -0.025em 0 rgba(0,240,255,0.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255,107,53,0.75), 0.025em 0.025em 0 rgba(0,240,255,0.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255,107,53,0.75), 0.025em 0.025em 0 rgba(0,240,255,0.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255,107,53,0.75), 0.05em 0 0 rgba(0,240,255,0.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(255,107,53,0.75), 0.05em 0 0 rgba(0,240,255,0.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255,107,53,0.75), -0.025em -0.025em 0 rgba(0,240,255,0.75); }
}

/* === REVEAL ANIMATIONS === */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.snap-section {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.snap-center {
    align-items: center;
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    transition: var(--transition);
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    transition: var(--transition);
    background: var(--bg-alt);
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* === HEADER / NAVBAR === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10,10,10,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: var(--header-height);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10,10,10,0.85);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-size: 0.95rem;
    font-weight: 900;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-actions button {
    background: none;
    padding: 6px;
    border-radius: 50%;
    position: relative;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    transition: 0.25s;
}

.nav-actions button:hover {
    color: #fff;
}

    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: #0a0a0a;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    background: none;
    padding: 8px;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.6);
}

.dropdown-menu {
    position: relative;
}

.dropdown-trigger {
    background: none;
    padding: 6px 10px;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    transition: 0.25s;
    border-radius: 4px;
}

.dropdown-trigger:hover {
    color: #fff;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    right: -8px;
    width: 340px;
    background: rgba(16,16,16,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    display: none;
    z-index: 1100;
    padding: 20px 24px;
}

.dropdown-menu.open .dropdown-content {
    display: block;
}

.dc-menu {
    display: flex;
    flex-direction: column;
}

.dc-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dc-item:last-child {
    border-bottom: none;
}

.dc-num {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
    width: 20px;
    flex-shrink: 0;
}

.dc-item a {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    flex: 1;
    transition: 0.2s;
}

.dc-item a:hover {
    color: var(--primary);
}

.dc-plus {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
    color: rgba(168,166,171,0.4);
}

.dc-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.dc-section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.dc-social {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dc-social a {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: 0.2s;
}

.dc-social a:hover {
    color: var(--primary);
}

.dc-contact {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}

@media (max-width: 500px) {
    .dropdown-content {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        width: 100%;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        border: none;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
}

/* === HERO SECTION === */
.hero {
    padding-top: var(--header-height);
    min-height: 100vh;
    background: var(--secondary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,240,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

/* Neon glow line */
.hero::before {
    box-shadow: 0 0 80px rgba(255,107,53,0.1);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(255,107,53,0.1);
}

.hero-text h1 span {
    color: var(--primary);
    position: relative;
    text-shadow: 0 0 30px rgba(255,107,53,0.3);
}

.hero-text p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: #0a0a0a;
    box-shadow: 0 0 25px rgba(255,107,53,0.25);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,107,53,0.35);
    color: #0a0a0a;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255,107,53,0.15);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: #fff;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-inner {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,107,53,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 20px 80px rgba(255,107,53,0.15), inset 0 0 60px rgba(255,107,53,0.05);
    animation: float 6s ease-in-out infinite;
    position: relative;
    border: 1px solid rgba(255,107,53,0.1);
}

.hero-badge {
    position: absolute;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    animation: float 5s ease-in-out infinite 1s;
}

.hero-badge-1 {
    top: 10%;
    right: -10%;
}

.hero-badge-2 {
    bottom: 15%;
    left: -10%;
    animation-delay: 2s;
}

/* === SECTION COMMON === */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(255,107,53,0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === FEATURES STRIP === */
.features-strip {
    background: var(--bg-alt);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-strip-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.02);
    transition: var(--transition);
}
.feature-item:hover {
    border-color: rgba(255,107,53,0.2);
    background: rgba(255,107,53,0.03);
    transform: translateY(-4px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,107,53,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(255,107,53,0.1);
}

.feature-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* === PRODUCT GRID (Degrey-inspired) === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.product-card-image {
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--bg-alt);
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 4px;
}

.product-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-badge.new { background: var(--success); color: white; }
.product-badge.sale { background: var(--accent); color: white; }
.product-badge.hot { background: var(--primary); color: white; }

.product-card-body {
    padding: 0 2px;
}

.product-card-title {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-price {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
}

.current-price {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.product-card-price {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.current-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.split-categories {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}
.split-category {
    position: relative;
    width: min(42vw, 320px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}
.split-category.custom {
    transform: translateX(80px);
}
.split-categories.in-view .split-category,
.split-categories.in-view .split-category.custom {
    opacity: 1;
    transform: translateX(0);
}
.split-categories.in-view .split-category.tshirt {
    transition-delay: 0.1s;
}
.split-categories.in-view .split-category.custom {
    transition-delay: 0.25s;
}
.split-category:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.split-category .split-category-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.split-category.tshirt .split-category-bg {
    background: linear-gradient(135deg, rgba(26,26,46,0.65) 0%, rgba(22,33,62,0.65) 100%), url('../imagecustom/ChatGPT Image 18_25_49 6 thg 6, 2026.png') center/cover no-repeat;
}
.split-category.custom .split-category-bg {
    background: linear-gradient(135deg, rgba(233,69,96,0.6) 0%, rgba(194,49,82,0.6) 100%), url('../imagecustom/ChatGPT Image 18_25_49 6 thg 6, 2026.png') center/cover no-repeat;
}
.split-category-content {
    position: relative;
    z-index: 1;
    padding: 40px 24px;
    color: #fff;
}
.split-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    margin-bottom: 12px;
}
.split-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}
.split-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 24px;
    color: #fff;
}
.split-category .btn {
    border-radius: 50px;
    font-size: 0.85rem;
    padding: 10px 28px;
}
.split-category .btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}
.split-category .btn-outline:hover {
    background: #fff;
    color: #e94560;
}
@media (max-width: 700px) {
    .split-categories {
        flex-direction: column;
        gap: 24px;
        padding: 20px 0;
    }
    .split-category {
        width: min(70vw, 260px);
    }
}

/* === TESTIMONIALS === */
.testimonials {
    background: var(--secondary);
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(10px);
}

.testimonial-stars {
    color: var(--warning);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-detail {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* === NEWSLETTER === */
.newsletter {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.newsletter-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 14px 20px;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

.newsletter-form .btn {
    background: var(--secondary);
    color: white;
    white-space: nowrap;
}

.newsletter-form .btn:hover {
    background: black;
}

/* === FOOTER === */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.5);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.payment-methods {
    display: flex;
    gap: 8px;
    font-size: 1.5rem;
}

/* === COLLECTION HEADER (Degrey-inspired) === */
.collection-header {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 16px;
}

.collection-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
}

.collection-count {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* Category strip (COS style) */
.category-strip {
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    margin-bottom: 24px;
}
.category-strip-inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.category-strip-inner::-webkit-scrollbar { display: none; }
.cat-link {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 20px;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}
.cat-link:hover {
    border-color: var(--border);
}
.cat-link.active {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sort-group label {
    font-size: 0.82rem;
    color: var(--text-light);
    white-space: nowrap;
}

.sort-group select {
    width: auto;
    padding: 8px 32px 8px 12px;
    font-size: 0.82rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 4px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23636E72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    color: var(--text);
    cursor: pointer;
}

.sort-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.btn-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-filter-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* === COLLECTION FILTERS & SIDEBAR === */
.collection-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.collection-controls-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.collection-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    position: relative;
    min-width: 180px;
}

.search-box i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.82rem;
}

.search-box input {
    padding: 6px 30px 6px 10px;
    font-size: 0.82rem;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    outline: none;
    transition: border-color 0.2s;
}
.search-box input:focus {
    border-color: var(--text);
}

/* === PRODUCTS LAYOUT === */
.products-layout {
    padding: 0 0 60px;
}

.filter-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-section h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.filter-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.2s ease;
    background: var(--bg-alt);
    user-select: none;
}

.filter-checkbox:has(input:checked) {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255,107,53,0.05);
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.price-range {
    display: flex;
    gap: 4px;
    align-items: center;
}

.price-range input {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    width: 0;
    -moz-appearance: textfield;
}

.price-range input::-webkit-outer-spin-button,
.price-range input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-range input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255,107,53,0.1);
}

.price-range .price-sep {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* === LOAD MORE BUTTON === */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 48px;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-load-more:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255,107,53,0.03);
}

.btn-load-more i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-load-more:hover i {
    transform: translateY(2px);
}

/* === CONTACT PAGE === */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255,107,53,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* === ADMIN === */
.admin-layout {
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--secondary);
    padding: 20px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 220px;
    z-index: 100;
    overflow-y: auto;
}

.admin-sidebar .logo {
    color: white;
    margin-bottom: 32px;
    font-size: 1.2rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 4px;
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.admin-nav-toggle {
    display: none;
    background: rgba(255,255,255,0.1);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.admin-nav-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.admin-main {
    margin-left: 220px;
    padding: 30px;
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.stat-icon.green { background: rgba(0,184,148,0.1); color: var(--success); }
.stat-icon.orange { background: rgba(255,107,53,0.1); color: var(--primary); }
.stat-icon.blue { background: rgba(9,132,227,0.1); color: var(--info); }
.stat-icon.red { background: rgba(231,29,54,0.1); color: var(--accent); }

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.admin-table {
    background: var(--bg-alt);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.admin-table th {
    background: var(--bg);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.admin-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(255,107,53,0.02);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.status-badge.pending { background: rgba(253,203,110,0.2); color: #D4A017; }
.status-badge.completed { background: rgba(0,184,148,0.15); color: var(--success); }
.status-badge.shipping { background: rgba(9,132,227,0.15); color: var(--info); }
.status-badge.cancelled { background: rgba(231,29,54,0.1); color: var(--accent); }

.action-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 4px;
}

.action-btn.edit {
    background: rgba(9,132,227,0.1);
    color: var(--info);
}

.action-btn.delete {
    background: rgba(231,29,54,0.1);
    color: var(--accent);
}

.action-btn.view {
    background: rgba(0,184,148,0.1);
    color: var(--success);
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}

.modal-close {
    background: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    padding: 4px;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-body {
    padding: 24px;
}

/* === ADMIN ORDER TABS (COD / BANK) === */
.admin-order-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 4px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.admin-order-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: calc(var(--radius) - 4px);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.admin-order-tab:hover {
    color: var(--text);
    background: rgba(0,0,0,0.02);
}

.admin-order-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(255,107,53,0.25);
}

.admin-order-tab .tab-icon {
    font-size: 1.1rem;
}

.admin-order-tab .tab-label {
    font-weight: 700;
}

.admin-order-tab .tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0,0,0,0.08);
    color: var(--text-light);
    transition: var(--transition);
}

.admin-order-tab.active .tab-badge {
    background: rgba(255,255,255,0.25);
    color: white;
}

.admin-order-tab:not(.active) .tab-badge {
    background: var(--bg);
    color: var(--text-light);
}

/* === OUT OF STOCK BADGE === */
.product-card.sold-out .product-card-image img {
    opacity: 0.4;
}
.product-card.sold-out::after {
    content: 'HẾT HÀNG';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--secondary);
    color: white;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 3;
    border-radius: 4px;
}

/* === FLOATING CHAT BUTTON === */
.floating-chat {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-chat-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
}

.floating-chat-btn.facebook {
    background: #0084FF;
    color: white;
}

.floating-chat-btn.zalo {
    background: #0068FF;
    color: white;
}

.floating-chat-btn.phone {
    background: var(--success);
    color: white;
}

/* === UPLOAD PREVIEW === */
.upload-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.upload-preview img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid var(--border);
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    color: var(--text-light);
}

.file-upload-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255,107,53,0.03);
}

/* === ORDER TIMELINE === */
.order-timeline {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 20px 0;
    padding: 0;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.timeline-step .step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 0.9rem;
    background: var(--bg);
    color: var(--text-muted);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.timeline-step .step-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-step.completed .step-icon {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.timeline-step.completed .step-label {
    color: var(--success);
}

.timeline-step.active .step-icon {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.timeline-step.active .step-label {
    color: var(--primary);
    font-weight: 700;
}

.timeline-step::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: -1;
}

.timeline-step:last-child::after {
    display: none;
}

.timeline-step.completed::after {
    background: var(--success);
}

/* === COMPLAINT / SUPPORT === */
.complaint-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* === RESPONSIVE CHAT === */
@media (max-width: 576px) {
    .floating-chat {
        bottom: 16px;
        left: 16px;
    }
    .floating-chat-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--secondary);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: toastIn 0.4s ease;
    transform-origin: bottom right;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toast.success { background: var(--success); }
.toast.error {     background: #E51D37;
}

/* ===========================================
   JANISSNE-STYLE HOMEPAGE
   =========================================== */

.j-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 60px;
    position: relative;
}

.j-hero-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 24px;
}

.j-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 28px;
}

.j-hero-title span {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 12vw, 7rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
    text-transform: uppercase;
}

.j-hero-title span:nth-child(2) {
    color: var(--primary);
}

.j-hero-desc {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 36px;
}

.j-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 32px;
    border-radius: 0;
    transition: 0.25s;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
}

.j-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.j-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    animation: j-scroll-pulse 2s ease-in-out infinite;
}

@keyframes j-scroll-pulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(4px); }
}

/* Projects */
.j-project {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.j-project-num {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(5rem, 20vw, 12rem);
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.j-project-body {
    position: relative;
    z-index: 1;
    max-width: 640px;
    text-align: center;
}

.j-project-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 16px;
}

.j-project-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.j-project-desc {
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 32px;
}

/* About */
.j-about {
    padding: 100px 24px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.j-about-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.j-about-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.j-about-desc {
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.j-about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.j-about-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}

.j-about-feat-icon {
    font-size: 1.5rem;
}

.j-about-feat-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-light);
}

/* Footer */
.j-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 60px 24px 24px;
}

.j-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 40px;
}

.j-footer-brand .logo {
    margin-bottom: 12px;
}

.j-footer-brand p {
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 360px;
}

.j-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.j-footer-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-light);
    text-decoration: none;
    transition: 0.2s;
}

.j-footer-links a:hover {
    color: var(--primary);
}

.j-footer-social {
    display: flex;
    gap: 12px;
    align-items: start;
}

.j-footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.85rem;
}

.j-footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.j-footer-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.04);
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 768px) {
    .j-project-num {
        position: static;
        transform: none;
        font-size: clamp(3rem, 15vw, 5rem);
        margin-bottom: 20px;
    }
    .j-project {
        min-height: 0;
        padding: 60px 20px;
    }
    .j-about-features {
        grid-template-columns: 1fr 1fr;
    }
    .j-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.toast.info { background: var(--info); }

/* === UTILITY === */
.hidden { display: none !important; }

/* ============================================
   🖼️ PRODUCT DETAIL PAGE (Degrey-inspired)
   ============================================ */

.product-main {
    padding-top: var(--header-height);
    min-height: 100vh;
}

/* Breadcrumb */
.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.product-breadcrumb a {
    color: var(--text-light);
}
.product-breadcrumb a:hover {
    color: var(--primary);
}
.product-breadcrumb .sep {
    color: var(--text-muted);
}
.product-breadcrumb span:last-child {
    color: var(--text);
    font-weight: 500;
}

/* Product Detail Grid */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 20px 0 40px;
}

/* === GALLERY === */
.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    align-self: start;
}

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-zoom-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--text);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-main:hover .gallery-zoom-btn {
    opacity: 1;
}

.gallery-zoom-btn:hover {
    background: var(--primary);
    color: white;
}

/* Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs .thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
    background: var(--bg);
}

.gallery-thumbs .thumb:hover {
    border-color: var(--primary-light);
}

.gallery-thumbs .thumb.active {
    border-color: var(--primary);
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === IMAGE ZOOM LENS === */
.gallery-main {
    cursor: crosshair;
}

.gallery-zoom-lens {
    display: none;
    position: absolute;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.2);
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.5), inset 0 0 0 1px rgba(255,255,255,0.3);
    animation: lensPulse 1.5s ease-in-out infinite;
}

@keyframes lensPulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.5), inset 0 0 0 1px rgba(255,255,255,0.3); }
    50% { box-shadow: 0 0 8px 2px rgba(255,107,53,0.3), inset 0 0 4px rgba(255,255,255,0.2); }
}

.gallery-zoom-result {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 16px);
    width: 400px;
    height: 400px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    z-index: 10;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}

.zoom-result-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.85rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 11;
    cursor: pointer;
}

.zoom-result-close:hover {
    background: var(--accent);
}

@media (max-width: 968px) {
    .gallery-zoom-result {
        position: fixed;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%);
        width: 320px;
        height: 320px;
        z-index: 5000;
        border-color: var(--primary);
    }
    
    .zoom-result-close {
        display: flex;
    }
    
    .gallery-zoom-lens {
        width: 80px;
        height: 80px;
    }
}

/* === ZOOM MODAL === */
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.zoom-overlay.active {
    display: flex;
}

.zoom-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius);
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.zoom-close:hover {
    background: var(--accent);
}

/* === PRODUCT INFO === */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-badges {
    margin-bottom: 8px;
}

.pd-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.pd-badge.sale { background: #FFE8E8; color: var(--accent); }
.pd-badge.hot { background: #FFF3E0; color: var(--primary); }
.pd-badge.new { background: #E8F5E9; color: var(--success); }

.product-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 12px;
}

/* Price */
.product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-current-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
}

/* Rating */
.product-rating {
    margin-bottom: 12px;
}

/* Short desc */
.product-short-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

/* Options */
.product-option {
    margin-bottom: 20px;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.option-header h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
}

.option-selected {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

.option-values {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Color swatches */
.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.active {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px var(--bg-alt), 0 0 0 4px var(--secondary);
}

/* Admin color picker swatches */
.admin-color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}
.admin-color-swatch:hover {
    transform: scale(1.2);
    border-color: var(--danger);
    box-shadow: 0 0 8px rgba(231,76,60,0.3);
}

/* Size buttons */
.size-btn {
    min-width: 48px;
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.size-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.size-btn.active {
    border-color: var(--secondary);
    background: var(--secondary);
    color: white;
}

.size-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: var(--border);
    background: var(--bg-alt);
    color: var(--text-muted);
    pointer-events: none;
}

/* Admin size chips */
.admin-size-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 6px 14px;
    border: 2px solid var(--success);
    border-radius: 20px;
    background: rgba(46,204,113,0.1);
    color: var(--success);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}
.admin-size-chip.dimmed {
    border-color: var(--border);
    background: var(--bg-alt);
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.55;
}

/* Purchase bar */
.product-purchase-bar {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 8px;
}

    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary);
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: var(--bg);
    color: var(--text);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
}

.qty-control input {
    width: 48px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 0;
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--bg-alt);
}

.purchase-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.purchase-buttons .btn {
    padding: 14px 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.purchase-buttons .btn-primary {
    background: var(--accent);
    box-shadow: 0 4px 15px rgba(231,29,54,0.3);
}

.purchase-buttons .btn-primary:hover {
    background: #C41A2F;
    box-shadow: 0 8px 25px rgba(231,29,54,0.4);
}

.purchase-buttons .btn-outline {
    border-color: var(--secondary);
    color: var(--secondary);
}

.purchase-buttons .btn-outline:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* Trust badges */
.product-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(0,184,148,0.05);
    border-radius: var(--radius-sm);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-light);
}

.trust-item i {
    width: 18px;
    color: var(--success);
    font-size: 0.9rem;
}

/* Share */
.product-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.product-share span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-share a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition);
}

.product-share a:hover {
    background: var(--primary);
    color: white;
}

/* === DESCRIPTION ENHANCEMENTS === */
.desc-features {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.desc-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.desc-features li:last-child {
    border-bottom: none;
}

.desc-features li i {
    color: var(--success);
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
}

/* Material Chart */
.material-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.material-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.material-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    min-width: 100px;
}

.material-fill {
    height: 24px;
    border-radius: 12px;
    transition: width 1s ease;
    position: relative;
}

.material-fill::after {
    content: attr(data-value);
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    font-weight: 700;
    color: white;
}

/* Size Guide Table */
.size-guide-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.size-guide-table {
    width: 100%;
    max-width: 550px;
    border-collapse: collapse;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.size-guide-table thead {
    background: var(--secondary);
    color: white;
}

.size-guide-table th {
    padding: 12px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: left;
    letter-spacing: 0.3px;
}

.size-guide-table td {
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.size-guide-table tbody tr:hover {
    background: rgba(255,107,53,0.04);
}

.size-guide-table tbody tr:last-child td {
    border-bottom: none;
}

/* === DETAIL TABS SECTION === */
.product-detail-section {
    padding: 40px 0;
    background: var(--bg-alt);
}

.detail-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--secondary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Description tab */
.product-full-description {
    max-width: 800px;
}

.desc-section {
    margin-bottom: 24px;
}

.desc-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.desc-section p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
}

.specs-table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table td {
    padding: 10px 12px;
    font-size: 0.88rem;
}

.specs-table td:first-child {
    color: var(--text-light);
    font-weight: 500;
    width: 120px;
}

.specs-table td:last-child {
    color: var(--text);
    font-weight: 600;
}

/* Care guide */
.care-guide {
    display: grid;
    gap: 12px;
    max-width: 500px;
}

.care-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text);
}

.care-icon {
    font-size: 1.2rem;
    width: 32px;
    text-align: center;
}

/* Policy */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.policy-card {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.policy-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.policy-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.policy-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* === RESPONSIVE PRODUCT DETAIL === */
@media (max-width: 968px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery {
        position: static;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .product-current-price {
        font-size: 1.4rem;
    }

    .gallery-thumbs .thumb {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 576px) {
    .detail-tabs {
        overflow-x: auto;
        gap: 0;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .product-purchase-bar {
        padding: 16px;
    }

    .purchase-buttons .btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
}

/* === PAGE LOADER === */
.loader {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
    gap: 16px;
}

.loading-overlay p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.pagination button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

.pagination button:hover,
.pagination button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-inner {
        width: 250px;
        height: 250px;
        font-size: 5rem;
    }

    .hero-badge {
        display: none;
    }

    .features-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-title { font-size: 2.2rem; }
    .category-strip { padding: 10px 0; margin-bottom: 16px; }

    .admin-header h1 {
        font-size: 1.2rem;
    }

    .sidebar-filters {
        position: static;
        display: none;
    }

    .sidebar-filters.active {
        display: block;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        display: none;
        z-index: 999;
        padding: 40px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: #fff;
    }

    .nav-links a:hover {
        color: var(--primary);
    }

    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        position: sticky;
        top: 0;
        width: 100%;
        height: auto;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 100;
    }

    .admin-sidebar .logo {
        margin-bottom: 0;
        font-size: 1rem;
    }

    .admin-nav-toggle {
        display: flex !important;
    }

    .admin-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary);
        padding: 8px 16px 16px;
        flex-direction: column;
        gap: 2px;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        transition: all 0.3s ease;
    }

    .admin-nav.open {
        display: flex;
    }

    .admin-main {
        margin-left: 0;
        padding: 20px 16px;
    }

    .admin-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .admin-header h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sidebar-filters.active {
        background: var(--bg-alt);
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 8px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .collection-title { font-size: 2rem; }
    .cat-link { font-size: 0.75rem; padding: 5px 10px; }
    .collection-controls { flex-direction: column; align-items: stretch; }
    .collection-controls-left { flex-wrap: wrap; }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-image-inner {
        width: 180px;
        height: 180px;
        font-size: 3.5rem;
    }

    .features-strip-inner {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .btn-load-more {
        width: 100%;
        justify-content: center;
    }
}

/* === QUICK VIEW MODAL (small popup) === */
.qv-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 20px;
}
.qv-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.qv-modal {
    background: var(--bg);
    border-radius: 12px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transform: scale(0.92) translateY(12px);
    transition: transform 0.3s ease;
    position: relative;
}
.qv-overlay.active .qv-modal {
    transform: scale(1) translateY(0);
}
.qv-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: 0.2s;
}
.qv-modal-close:hover {
    background: var(--border);
    transform: rotate(90deg);
}
.qv-modal-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}
.qv-modal-gallery {
    position: relative;
    background: var(--bg-alt);
    min-height: 260px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}
.qv-modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
}
.qv-modal-gallery .qv-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    z-index: 2;
    border-radius: 2px;
    background: var(--secondary);
    color: #fff;
}
.qv-modal-gallery .qv-badge.sale { background: var(--secondary); }
.qv-modal-gallery .qv-badge.hot { background: var(--warning); color: var(--text); }
.qv-modal-gallery .qv-badge.new { background: var(--success); }
.qv-modal-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.qv-modal-info h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.qv-modal-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.qv-modal-price .current {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
}
.qv-modal-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qv-modal-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.qv-modal-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.qv-modal-options .color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
    outline: none;
    padding: 0;
}
.qv-modal-options .color-swatch.active {
    border-color: var(--text);
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--text);
}
.qv-modal-options .size-btn {
    min-width: 30px;
    height: 26px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 500;
    transition: 0.2s;
    color: var(--text);
}
.qv-modal-options .size-btn.active {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
}
.qv-modal-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}
.qv-modal-qty .qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 6px;
}
.qv-modal-qty .qty-control button {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--bg-alt);
    cursor: pointer;
    font-size: 1.05rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.qv-modal-qty .qty-control button:hover {
    background: var(--border);
}
.qv-modal-qty .qty-control input {
    width: 42px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--bg);
    color: var(--text);
    padding: 0;
    line-height: 32px;
}
.qv-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qv-modal-buttons .btn {
    font-family: 'Space Mono', monospace;
    width: 100%;
    justify-content: center;
    font-size: 0.72rem;
    padding: 7px;
    letter-spacing: 1px;
}
.qv-modal-buttons .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.qv-modal-soldout {
    text-align: center;
    padding: 8px;
    background: rgba(220,53,69,0.08);
    border-radius: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--secondary);
}
.qv-modal-footer {
    display: flex;
    justify-content: center;
    padding: 6px 16px 10px;
    border-top: 1px solid var(--border);
    margin-top: -4px;
}
.qv-modal-footer a {
    font-size: 0.82rem;
    color: var(--text-light);
    text-decoration: none;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.qv-modal-footer a:hover {
    color: var(--text);
}
@media (max-width: 640px) {
    .qv-modal-body { grid-template-columns: 1fr; }
    .qv-modal-gallery { min-height: 200px; border-radius: 12px 12px 0 0; }
    .qv-modal-info { padding: 16px; }
    .qv-overlay { padding: 10px; }
}

/* === FULL-SCREEN PRODUCT DETAIL === */
.pd-overlay {
    position: fixed;
    inset: 0;
    z-index: 11000;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.pd-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.pd-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    z-index: 2;
    flex-shrink: 0;
}
.pd-topbar-back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 1px;
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.2s;
}
.pd-topbar-back:hover { background: rgba(255,255,255,0.05); color: #fff; }
.pd-topbar-right {
    display: flex;
    align-items: center;
    gap: 4px;
}
.pd-topbar-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--bg-alt);
    cursor: pointer;
    font-size: 1.15rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.pd-topbar-close:hover {
    background: var(--border);
    transform: rotate(90deg);
}
.pd-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.pd-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.pd-gallery {
    display: flex;
    flex-direction: row;
    gap: 12px;
    position: sticky;
    top: 0;
    height: fit-content;
    padding: 24px 12px 24px 24px;
}
.pd-gallery-main {
    flex: 1;
    min-width: 0;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    user-select: none;
}
.pd-slider-snap {
    width: 100%;
    height: min(70vh, 600px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-snap-type: y mandatory;
    scroll-snap-stop: always;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.pd-slider-snap::-webkit-scrollbar {
    width: 6px;
}
.pd-slider-snap::-webkit-scrollbar-track {
    background: transparent;
}
.pd-slider-snap::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}
.pd-slider-snap::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}
.pd-slider-snap:active {
    cursor: grabbing;
}
.pd-slider-snap img {
    display: block;
    width: 100%;
    flex: 0 0 100%;
    object-fit: contain;
    scroll-snap-align: start;
    user-select: none;
    -webkit-user-drag: none;
    background: transparent;
}
.pd-slider-snap .slide-img {
    will-change: transform;
}
.pd-gallery-main .pd-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    border-radius: 2px;
    background: var(--secondary);
    color: #fff;
}
.pd-gallery-main .pd-badge.sale { background: var(--secondary); }
.pd-gallery-main .pd-badge.hot { background: var(--warning); color: var(--text); }
.pd-gallery-main .pd-badge.new { background: var(--success); }
.pd-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 80px;
    max-height: min(70vh, 600px);
    overflow-y: auto;
    flex-shrink: 0;
    order: -1;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.1) transparent;
}
.pd-gallery-thumbs::-webkit-scrollbar {
    width: 4px;
}
.pd-gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}
.pd-gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
}
.pd-gallery-thumbs .pd-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    flex-shrink: 0;
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: 0.2s;
    padding-left: 6px;
}
.pd-gallery-thumbs .pd-thumb.active {
    border-left-color: #000;
}
.pd-gallery-thumbs .pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1px;
}
.pd-info {
    padding: 32px 32px 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-header-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-detail-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-variant-box {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-variant-box .pd-section-title {
    font-size: 0.68rem;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.pd-selected-color,
.qv-selected-color {
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0;
    text-transform: none;
}

.pd-variant-box .pd-options {
    gap: 4px;
}

.pd-variant-box .pd-options .color-swatch {
    width: 22px;
    height: 22px;
    border-width: 2px;
}

.pd-variant-box .pd-options .size-btn {
    min-width: 30px;
    height: 26px;
    font-size: 0.72rem;
    padding: 2px 8px;
}

.pd-info h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.pd-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pd-price {
    font-family: 'Space Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
}
.pd-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-light);
}
.pd-rating .stars { color: #f59e0b; letter-spacing: 1px; }
.pd-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}
.pd-section-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.pd-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pd-options .color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
    outline: none;
    padding: 0;
}
.pd-options .color-swatch.active {
    border-color: var(--text);
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text);
}
.pd-options .size-btn {
    min-width: 36px;
    height: 32px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: 0.2s;
    color: var(--text);
}
.pd-options .size-btn.active {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
}
.pd-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pd-qty .qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 6px;
}
.pd-qty .qty-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-alt);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.pd-qty .qty-control button:hover {
    background: var(--border);
}
.pd-qty .qty-control input {
    width: 48px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 1rem;
    font-weight: 700;
    background: var(--bg);
    color: var(--text);
    padding: 0;
    line-height: 36px;
}
.pd-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pd-buttons .btn {
    font-family: 'Space Mono', monospace;
    width: 100%;
    justify-content: center;
    letter-spacing: 1px;
}
.pd-buttons .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.pd-soldout {
    text-align: center;
    padding: 10px;
    background: rgba(220,53,69,0.08);
    border-radius: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--secondary);
}
.pd-accordion {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 40px;
    width: 100%;
    border-top: 1px solid var(--border);
}
.pd-accordion-item {
    border-bottom: 1px solid var(--border);
}
.pd-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    letter-spacing: 0.5px;
    transition: 0.2s;
}
.pd-accordion-header i {
    transition: transform 0.2s;
    font-size: 0.8rem;
    color: var(--text-light);
}
.pd-accordion-header.active i {
    transform: rotate(180deg);
}
.pd-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.pd-accordion-body p {
    line-height: 1.7;
    font-size: 0.9rem;
    color: var(--text-light);
    padding-bottom: 16px;
}
.pd-accordion-body .care-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-bottom: 16px;
}
.pd-accordion-body .care-item {
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.5;
}
.pd-accordion-body .policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-bottom: 16px;
}
.pd-accordion-body .policy-card {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}
.pd-accordion-body .policy-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.pd-accordion-body .policy-card h4 {
    margin: 0 0 4px;
    font-size: 0.9rem;
}
.pd-accordion-body .policy-card p {
    margin: 0;
    font-size: 0.8rem;
}
.pd-tab-headers {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}
.pd-tab-headers button {
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: 0.2s;
}
.pd-tab-headers button.active {
    color: var(--text);
    border-bottom-color: var(--text);
}
.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; }
.pd-tab-panel p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--text-light);
}
.pd-tab-panel .care-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.pd-tab-panel .care-item {
    padding: 12px 16px;
    background: var(--bg-alt);
    border-radius: 6px;
    font-size: 0.85rem;
}
.pd-tab-panel .policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.pd-tab-panel .policy-card {
    padding: 16px;
    background: var(--bg-alt);
    border-radius: 6px;
    text-align: center;
}
.pd-tab-panel .policy-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.pd-related {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 40px;
    width: 100%;
}
.pd-recent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 40px;
    width: 100%;
}
.pd-recent h3 {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.pd-recent .product-card,
.pd-recent .product-card:not(.visible) {
    opacity: 1 !important;
    transform: none !important;
}
.pd-recent .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 900px) {
    .pd-recent .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .pd-recent .products-grid { grid-template-columns: 1fr; }
}
.pd-related h3 {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.pd-related .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 900px) {
    .pd-body { grid-template-columns: 1fr; }
    .pd-gallery { display: block; position: static; padding: 16px; }
    .pd-gallery-main { max-height: none; }
    .pd-gallery-thumbs { flex-direction: row; gap: 6px; width: 100%; max-height: none; overflow-x: auto; overflow-y: hidden; margin-top: 12px; }
    .pd-gallery-thumbs .pd-thumb { width: 60px; height: 60px; padding-left: 0; border-left: none; border-bottom: 2px solid transparent; padding-bottom: 6px; }
    .pd-gallery-thumbs .pd-thumb.active { border-left-color: transparent; border-bottom-color: #000; }
    .pd-info { padding: 0 16px 24px; }
    .pd-accordion-body .care-guide { grid-template-columns: 1fr; }
    .pd-accordion-body .policy-grid { grid-template-columns: 1fr; }
    .pd-related .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .pd-gallery { padding: 8px; }
    .pd-gallery-thumbs .pd-thumb { width: 52px; height: 52px; }
    .pd-related .products-grid { grid-template-columns: 1fr; }
}

/* === IMAGE LIST (Admin product form) === */
#product-image-list .img-item {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--bg-alt);
}
#product-image-list .img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#product-image-list .img-item button {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}
#product-image-list .img-item button:hover {
    background: var(--accent);
}

/* === RESPONSIVE IMAGES === */
img {
    max-width: 100%;
    height: auto;
}
.product-card-image img,
.qv-modal-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
-NoNewline






