/* ═══════════════════════════════════════════════════════════════
   PERFUMEBD - Light Theme Stylesheet
   Based on perfumeshop.com.bd design specification
   Font: Jost | Colors: Navy #0d1a2e | Body bg #f7f9fc
   ═══════════════════════════════════════════════════════════════ */

/* ─── Google Font Import ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ───────────────────────────────────────────── */
:root {
    --primary: #0d1a2e;
    --primary-dark: #07143c;
    --primary-light: #1a2a44;
    --bg-body: #f7f9fc;
    --bg-white: #ffffff;
    --bg-footer: #eef4ff;
    --text-primary: #2d2d2d;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-white: #ffffff;
    --border-light: rgba(0, 0, 0, 0.08);
    --border-medium: rgba(0, 0, 0, 0.14);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
    --gold: #c9a84c;
    --sale-red: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --error: #e74c3c;
    --info: #3498db;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50%;
    --font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 70px;
}

/* ─── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: var(--font-family);
    font-size: 16px;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

/* ─── Custom Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ─── Container ───────────────────────────────────────────────── */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Announcement Bar ────────────────────────────────────────── */
.announcement-bar {
    background: var(--primary);
    color: var(--text-white);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.announcement-bar a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.announcement-bar a:hover {
    color: #d4b85c;
}

/* ─── Header ──────────────────────────────────────────────────── */
.header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: var(--header-height);
    max-width: var(--container-width);
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 8px;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger-btn:hover span {
    background: var(--primary);
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 36px;
    width: auto;
}

.logo:hover {
    opacity: 0.85;
}

/* Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 4px 0;
}

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

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

/* Header Icons */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    transition: var(--transition);
    border: none;
    background: none;
    cursor: pointer;
}

.header-icon:hover {
    background: var(--bg-body);
    color: var(--primary);
}

.header-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: var(--radius-full);
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-count:empty {
    display: none;
}

/* ─── Search Overlay ──────────────────────────────────────────── */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2001;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}

.search-overlay.open {
    display: flex;
}

.search-overlay-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideDown 0.3s ease;
}

.search-overlay-box svg {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 12px;
}

.search-overlay-box input {
    flex: 1;
    border: none;
    padding: 14px 12px;
    font-size: 16px;
    font-family: var(--font-family);
    background: transparent;
    color: var(--text-primary);
}

.search-overlay-box input::placeholder {
    color: var(--text-muted);
}

.search-overlay-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-overlay-close:hover {
    background: var(--bg-body);
    color: var(--text-primary);
}

/* ─── Mobile Nav Drawer ───────────────────────────────────────── */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: var(--bg-white);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.nav-drawer.open {
    transform: translateX(0);
}

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.nav-drawer-header .logo {
    font-size: 1.3rem;
}

.nav-drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.nav-drawer-close:hover {
    background: var(--bg-body);
    color: var(--text-primary);
}

.nav-drawer-links {
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
}

.nav-drawer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.nav-drawer-links a:hover,
.nav-drawer-links a.active {
    background: var(--bg-body);
    color: var(--primary);
}

.nav-drawer-links a svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.nav-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-light);
}

.nav-drawer-footer .btn-primary {
    width: 100%;
    text-align: center;
}

/* ─── Cart Drawer ─────────────────────────────────────────────── */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--bg-white);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.cart-drawer-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.cart-drawer-close:hover {
    background: var(--bg-body);
    color: var(--text-primary);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
}

.cart-drawer-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.cart-drawer-empty p {
    font-size: 15px;
    margin-bottom: 20px;
}

.cart-drawer-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.cart-drawer-item:hover {
    background: var(--bg-body);
}

.cart-drawer-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-body);
}

.cart-drawer-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-drawer-item-info {
    flex: 1;
    min-width: 0;
}

.cart-drawer-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-drawer-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.cart-drawer-item-remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.cart-drawer-item-remove:hover {
    background: #fde8e8;
    color: var(--error);
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-white);
}

.cart-drawer-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.cart-drawer-subtotal .amount {
    color: var(--primary);
}

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-drawer-actions .btn-primary,
.cart-drawer-actions .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px;
}

/* ─── Hero Slider ─────────────────────────────────────────── */
.hero-slider {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--primary);
}

.hero-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,26,46,0.82) 0%, rgba(13,26,46,0.5) 50%, rgba(13,26,46,0.3) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    color: var(--text-white);
    padding: 0 20px;
}

.hero-slide-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
    opacity: 0.8;
    color: rgba(255,255,255,0.9);
}

.hero-slide-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 8px;
}

.hero-slide-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.5;
    max-width: 420px;
}

.hero-slide-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s;
}

.hero-slider-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.hero-slider-prev {
    left: 16px;
}

.hero-slider-next {
    right: 16px;
}

/* Slider responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider { height: 220px; }
    .hero-slide-content h1 { font-size: 1.6rem; }
    .hero-slide-content p { font-size: 0.85rem; }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 200px;
    }
    .hero-slide-content h1 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    .hero-slide-content p {
        font-size: 0.78rem;
        margin-bottom: 12px;
        max-width: 260px;
    }
    .hero-slide-label {
        font-size: 9px;
        letter-spacing: 2px;
        margin-bottom: 6px;
    }
    .hero-slider-arrow {
        width: 30px;
        height: 30px;
    }
    .hero-slider-prev { left: 8px; }
    .hero-slider-next { right: 8px; }
    .hero-slider-dots { bottom: 10px; gap: 6px; }
    .hero-dot { width: 7px; height: 7px; }
    .hero-slide-buttons .btn-hero-primary {
        padding: 8px 18px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 170px;
    }
    .hero-slide-content h1 {
        font-size: 1.1rem;
    }
    .hero-slide-content p {
        font-size: 0.72rem;
        max-width: 200px;
        margin-bottom: 10px;
    }
    .hero-slider-arrow { display: none; }
}

/* ─── Hero Section ────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--text-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-content .hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn-hero-primary {
    background: var(--text-white);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.hero-buttons .btn-hero-primary:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-hero-outline {
    background: transparent;
    color: var(--text-white);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.hero-buttons .btn-hero-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Review Rotator */
.hero-reviews {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-reviews-avatars {
    display: flex;
}

.hero-reviews-avatars img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 3px solid var(--primary);
    margin-left: -12px;
    object-fit: cover;
}

.hero-reviews-avatars img:first-child {
    margin-left: 0;
}

.hero-reviews-text {
    font-size: 14px;
    opacity: 0.8;
}

.hero-reviews-text strong {
    color: var(--gold);
}

/* ─── Section Heading ─────────────────────────────────────────── */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto 40px;
    padding: 0 20px;
}

.section-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.section-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.section-link:hover {
    gap: 10px;
}

.section-link svg {
    width: 16px;
    height: 16px;
}

/* ─── Category Cards (For Him / For Her) ──────────────────────── */
.category-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 60px;
}

.category-card {
    min-height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: var(--transition);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-card.cat-him {
    background-color: #0d1a2e;
    background-image: linear-gradient(135deg, #0d1a2e, #1a1a3c);
}

.category-card.cat-her {
    background-color: #280744;
    background-image: linear-gradient(135deg, #280744, #1a1a2e);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,26,46,0.3) 0%, rgba(13,26,46,0.85) 100%);
    z-index: 1;
    transition: var(--transition);
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(180deg, rgba(13,26,46,0.2) 0%, rgba(13,26,46,0.9) 100%);
}

.category-card-watermark {
    position: absolute;
    font-size: 10rem;
    font-weight: 700;
    opacity: 0.1;
    color: var(--text-white);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    line-height: 1;
    pointer-events: none;
}

.category-card-content {
    padding: 28px;
    color: var(--text-white);
    position: relative;
    z-index: 2;
    width: 100%;
}

.category-card-content h2 {
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.category-card-content p {
    opacity: 0.8;
    font-size: 15px;
    margin-bottom: 20px;
}

.category-card-content .category-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-card-content .category-card-link:hover {
    gap: 12px;
}

.category-card-content .category-card-link svg {
    width: 18px;
    height: 18px;
}

/* ─── Quick Category Cards ────────────────────────────────────── */
.quick-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.quick-cat-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.quick-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quick-cat-card .cat-letter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1;
}

.quick-cat-card .cat-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.quick-cat-card .cat-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* ─── Budget Filters ──────────────────────────────────────────── */
.budget-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.budget-btn {
    padding: 10px 24px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
}

.budget-btn:hover,
.budget-btn.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* ─── Product Grid ────────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ─── Product Card ────────────────────────────────────────────── */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f5f5f5;
}

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

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

.sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--sale-red);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.new-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--success);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--bg-white);
    border-radius: var(--radius-full);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 2;
    cursor: pointer;
    border: none;
    color: var(--text-secondary);
}

.wishlist-btn:hover {
    color: var(--sale-red);
    background: #fff;
}

.wishlist-btn.active {
    color: var(--sale-red);
    opacity: 1;
}

.product-card:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.wishlist-btn svg {
    width: 18px;
    height: 18px;
}

.add-to-cart-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--text-white);
    padding: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    cursor: pointer;
    z-index: 2;
    font-family: var(--font-family);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-card:hover .add-to-cart-btn {
    transform: translateY(0);
}

.add-to-cart-btn:hover {
    background: var(--primary-light);
}

.add-to-cart-btn svg {
    width: 18px;
    height: 18px;
}

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

.product-card-brand {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.product-card-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a {
    color: var(--text-primary);
}

.product-card-title a:hover {
    color: var(--primary);
}

.product-card-volume {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-card-price {
    display: flex;
    gap: 8px;
    align-items: center;
}

.price-current {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.price-original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ─── Breadcrumbs ─────────────────────────────────────────────── */
.breadcrumbs {
    font-size: 14px;
    color: var(--text-muted);
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-muted);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs span {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumbs .separator {
    color: var(--text-muted);
    opacity: 0.5;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-family);
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 26, 46, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    color: var(--primary);
    background: var(--bg-body);
}

.btn-danger {
    background: var(--error);
    color: var(--text-white);
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ─── Form Elements ───────────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-label .required {
    color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 26, 46, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' 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 14px center;
    padding-right: 40px;
}

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

.form-error {
    font-size: 13px;
    color: var(--error);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-input {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.input-group .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    white-space: nowrap;
}

/* ─── Product Detail Page ─────────────────────────────────────── */
.product-detail {
    padding: 40px 0 60px;
}

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

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-gallery-main {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 16px;
}

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

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-gallery-thumbs .thumb {
    width: 80px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
    background: #f5f5f5;
}

.product-gallery-thumbs .thumb.active,
.product-gallery-thumbs .thumb:hover {
    border-color: var(--primary);
}

.product-gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-info .product-brand {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-info .product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-info .product-price-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.product-info .product-price-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.product-info .product-price-old {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-info .product-price-save {
    background: #fde8e8;
    color: var(--sale-red);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

.product-info .product-short-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-info .product-volume-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.product-info .product-volume-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-info .product-volume-info svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.product-actions .btn {
    flex: 1;
    padding: 16px;
    font-size: 15px;
}

.product-actions .btn-wishlist {
    width: 52px;
    height: 52px;
    flex: none;
    padding: 0;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    background: var(--bg-white);
    cursor: pointer;
}

.product-actions .btn-wishlist:hover,
.product-actions .btn-wishlist.active {
    border-color: var(--sale-red);
    color: var(--sale-red);
    background: #fff5f5;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-stars .star {
    color: var(--gold);
    font-size: 16px;
}

.rating-stars .star.empty {
    color: #ddd;
}

.rating-stars .star.half {
    position: relative;
}

.rating-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 8px;
}

/* Product Tabs */
.product-tabs {
    margin-top: 40px;
}

.product-tabs-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    gap: 0;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--font-family);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.tab-content h3 {
    margin-bottom: 12px;
}

/* Review Form */
.review-form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.review-form h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.star-rating-input {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-rating-input .star-input {
    font-size: 28px;
    cursor: pointer;
    color: #ddd;
    transition: color 0.15s;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.star-rating-input .star-input.active,
.star-rating-input .star-input:hover {
    color: var(--gold);
}

/* ─── Shop Page ───────────────────────────────────────────────── */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 20px 0 60px;
}

.shop-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.shop-sidebar-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.shop-sidebar-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.filter-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.filter-list label:hover {
    color: var(--primary);
}

.filter-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.filter-list .filter-count {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-body);
    padding: 2px 8px;
    border-radius: 10px;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.shop-toolbar .product-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.shop-toolbar .product-count strong {
    color: var(--text-primary);
}

.shop-toolbar .sort-select {
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--bg-white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--text-primary);
    cursor: pointer;
}

/* Filter Drawer (Mobile) */
.filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-white);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.filter-drawer.open {
    transform: translateX(0);
}

.filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.filter-drawer-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.filter-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
}

/* ─── Cart Page ───────────────────────────────────────────────── */
.cart-page {
    padding: 20px 0 60px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-table thead {
    background: var(--bg-body);
}

.cart-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.cart-table td {
    padding: 20px;
    border-top: 1px solid var(--border-light);
    vertical-align: middle;
}

.cart-table .cart-product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-table .cart-product-img {
    width: 80px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-body);
}

.cart-table .cart-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-table .cart-product-name {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 4px;
}

.cart-table .cart-product-name a {
    color: var(--text-primary);
}

.cart-table .cart-product-name a:hover {
    color: var(--primary);
}

.cart-table .cart-product-brand {
    font-size: 13px;
    color: var(--text-muted);
}

.cart-table .cart-product-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
}

.cart-table .cart-product-price .old-price {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-control button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    border: none;
}

.qty-control button:hover {
    background: var(--primary);
    color: var(--text-white);
}

.qty-control input {
    width: 44px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-remove-btn {
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-remove-btn:hover {
    color: var(--error);
}

.cart-remove-btn svg {
    width: 20px;
    height: 20px;
}

/* Cart Summary */
.cart-summary {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.coupon-group {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.coupon-group .form-input {
    flex: 1;
    font-size: 14px;
    padding: 10px 14px;
}

.coupon-message {
    font-size: 13px;
    margin-bottom: 12px;
}

.coupon-message.success {
    color: var(--success);
}

.coupon-message.error {
    color: var(--error);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}

.cart-summary-row .label {
    color: var(--text-secondary);
}

.cart-summary-row.total {
    border-top: 2px solid var(--border-light);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
}

.cart-summary-row.total .label,
.cart-summary-row.total .value {
    color: var(--primary);
    font-weight: 700;
}

.cart-summary .btn-primary {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    font-size: 16px;
}

.cart-summary .btn-outline {
    width: 100%;
    margin-top: 10px;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart svg {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-cart h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ─── Checkout Page ───────────────────────────────────────────── */
.checkout-page {
    padding: 20px 0 60px;
}

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

.checkout-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.checkout-form h2 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.payment-methods {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.payment-method:hover {
    border-color: var(--border-medium);
}

.payment-method.selected {
    border-color: var(--primary);
    background: rgba(13, 26, 46, 0.02);
}

.payment-method input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.payment-method-info {
    flex: 1;
}

.payment-method-info .method-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.payment-method-info .method-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Checkout Summary */
.checkout-summary {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.checkout-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.checkout-item-img {
    width: 56px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-body);
}

.checkout-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-name {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.checkout-item-qty {
    font-size: 13px;
    color: var(--text-muted);
}

.checkout-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

/* Order Success */
.order-success {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.order-success .success-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: #e8f8f0;
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
}

.order-success h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.order-success p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.order-success .order-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0;
}

/* ─── Newsletter Section ──────────────────────────────────────── */
.newsletter-section {
    background: var(--bg-footer);
    padding: 60px 0;
}

.newsletter-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto;
}

.newsletter-form .form-input {
    flex: 1;
    border-radius: var(--radius-md);
    padding: 14px 18px;
}

.newsletter-form .btn {
    border-radius: var(--radius-md);
    padding: 14px 28px;
    white-space: nowrap;
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer {
    background: var(--bg-footer);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-about .footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.footer-about p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    display: block;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-link:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* ─── Pagination ──────────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination ul {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination li a,
.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-family);
}

.pagination li a:hover,
.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination li a.active,
.page-btn.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.pagination li a.disabled,
.page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pagination li.dots {
    padding: 0 4px;
    color: var(--text-muted);
}

/* ─── Toast Notifications ─────────────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--primary);
    color: var(--text-white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 400px;
    animation: toastSlideIn 0.35s ease;
    position: relative;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--error);
}

.toast.warning {
    background: var(--warning);
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 2px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: #fff;
}

.toast-close svg {
    width: 16px;
    height: 16px;
}

.toast.removing {
    animation: toastSlideOut 0.3s ease forwards;
}

/* ─── CMS Page ────────────────────────────────────────────────── */
.page-content {
    padding: 20px 0 60px;
}

.page-content-inner {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    max-width: 800px;
}

.page-content-inner h1 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.page-content-inner h2 {
    font-size: 1.5rem;
    margin: 24px 0 12px;
}

.page-content-inner h3 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.page-content-inner p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.page-content-inner ul,
.page-content-inner ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.page-content-inner li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
    list-style: disc;
}

.page-content-inner ol li {
    list-style: decimal;
}

.page-content-inner a {
    color: var(--primary);
    text-decoration: underline;
}

.page-content-inner img {
    border-radius: var(--radius-md);
    margin: 20px 0;
}

/* ─── Search Results ──────────────────────────────────────────── */
.search-results-header {
    margin-bottom: 24px;
}

.search-results-header h1 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.search-results-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.search-results-header .search-query {
    font-weight: 600;
    color: var(--primary);
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results svg {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 16px;
}

.no-results h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ─── Category/Brand Page ─────────────────────────────────────── */
.category-header {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 30px;
}

.category-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.category-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
}

/* ─── Flash Messages ──────────────────────────────────────────── */
.flash-message {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-message.success {
    background: #e8f8f0;
    color: #1e8449;
    border: 1px solid #b7e4c7;
}

.flash-message.error {
    background: #fde8e8;
    color: #c0392b;
    border: 1px solid #f5c6c6;
}

.flash-message.warning {
    background: #fef9e7;
    color: #b7950b;
    border: 1px solid #f9e79f;
}

.flash-message.info {
    background: #e8f4fd;
    color: #2471a3;
    border: 1px solid #aed6f1;
}

.flash-message .close-flash {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.7;
    background: none;
    border: none;
    font-size: 18px;
    color: inherit;
}

.flash-message .close-flash:hover {
    opacity: 1;
}

/* ─── Animations ──────────────────────────────────────────────── */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastSlideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

.spinner-dark {
    border-color: rgba(13, 26, 46, 0.15);
    border-top-color: var(--primary);
}

/* ─── Responsive ──────────────────────────────────────────────── */

/* Tablet: 1024px */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .category-cards {
        gap: 16px;
    }

    .category-card {
        min-height: 320px;
    }

    .category-card-content h2 {
        font-size: 1.6rem;
    }

    .category-card-content {
        padding: 28px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .shop-layout {
        grid-template-columns: 220px 1fr;
        gap: 24px;
    }

    .checkout-layout {
        grid-template-columns: 1fr 360px;
        gap: 24px;
    }

    .cart-layout {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }

    .quick-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 768px */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .category-cards {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 160px;
    }

    .hero {
        min-height: 400px;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-hero-primary,
    .hero-buttons .btn-hero-outline {
        text-align: center;
        justify-content: center;
    }

    .hero-reviews {
        display: none;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2000;
        background: var(--bg-white);
        overflow-y: auto;
        padding: 20px;
    }

    .shop-sidebar.open {
        display: block;
    }

    .mobile-filter-btn {
        display: inline-flex;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery {
        position: static;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-table {
        display: block;
        overflow-x: auto;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn-wishlist {
        width: 100%;
        height: 52px;
    }

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

    .quick-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .quick-cat-card {
        padding: 20px 16px;
    }

    /* Trust badges responsive */
    section > .container > div[style*="grid-template-columns:repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .cart-drawer {
        width: 100%;
        max-width: 100vw;
    }

    .nav-drawer {
        width: 100%;
        max-width: 85vw;
    }

    .toast {
        min-width: 260px;
        max-width: calc(100vw - 48px);
    }

    /* Product card mobile improvements */
    .product-card-body {
        padding: 10px;
    }

    .product-card-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .product-card-brand {
        font-size: 10px;
    }

    .product-card-attributes {
        gap: 3px;
    }

    .product-card-attr-pill {
        font-size: 9px;
        padding: 1px 6px;
    }

    .product-card-actions {
        flex-direction: column;
        gap: 6px;
    }

    .product-card-actions .add-to-cart-btn,
    .product-card-actions .buy-now-btn {
        width: 100%;
        padding: 8px;
        font-size: 11px;
    }

    .product-card-actions .add-to-cart-btn svg,
    .product-card-actions .buy-now-btn svg {
        width: 14px;
        height: 14px;
    }

    /* Announcement bar mobile */
    .announcement-bar {
        font-size: 11px;
        padding: 8px 12px;
    }

    /* Section spacing mobile */
    .newsletter-section {
        padding: 40px 0;
    }

    .newsletter-content h3 {
        font-size: 1.3rem;
    }

    /* Budget filters mobile */
    .budget-filters {
        flex-wrap: wrap;
        gap: 8px;
    }

    .budget-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    /* Product detail mobile */
    .product-attribute-options {
        gap: 6px;
    }

    .attribute-pill {
        padding: 6px 12px;
        font-size: 11px;
        min-width: 48px;
    }
}

/* Small Mobile: 480px */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 340px;
        padding: 50px 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

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

    .product-card-title {
        font-size: 13px;
    }

    .price-current {
        font-size: 14px;
    }

    .sale-badge {
        font-size: 11px;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
    }

    .wishlist-btn {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
    }

    .add-to-cart-btn {
        padding: 10px;
        font-size: 13px;
    }

    .budget-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .category-card {
        min-height: 160px;
    }

    .category-card-content {
        padding: 18px;
    }

    .category-card-content h2 {
        font-size: 1.2rem;
    }

    .category-card-watermark {
        font-size: 8rem;
    }

    .product-card-actions .add-to-cart-btn,
    .product-card-actions .buy-now-btn {
        padding: 7px 6px;
        font-size: 10px;
    }

    .product-card-price .price-label {
        font-size: 10px;
        min-width: 38px;
    }

    .product-card-price.product-card-price--sale .price-current {
        font-size: 14px;
    }

    .checkout-form {
        padding: 20px;
    }

    .cart-summary {
        padding: 20px;
    }

    .page-content-inner {
        padding: 24px;
    }

    .quick-categories {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .quick-cat-card .cat-letter {
        font-size: 2rem;
    }

    .product-info .product-title {
        font-size: 1.4rem;
    }
}
/* ============================================================
   PUNAM-MOD-PRO ADDITIONS (v2)
   - Payment instructions panel + numbered step list
   - Merchant number highlight box
   - Transaction fields styling
   ============================================================ */

/* ─── Payment step-by-step instructions panel ───────────────── */
.payment-instructions {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f7f9fc 0%, #eef2f8 100%);
    border: 1px solid #d0deff;
    border-radius: 12px;
    animation: paymentPanelIn 0.25s ease-out;
}

@keyframes paymentPanelIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.payment-instructions h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-instructions h3::before {
    content: "💳";
    font-size: 1.1rem;
}

/* Numbered step list */
.payment-steps {
    margin-bottom: 18px;
}

.step-list {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
}

.step-list li {
    counter-increment: step;
    position: relative;
    padding: 8px 8px 8px 44px;
    font-size: 14px;
    line-height: 1.55;
    color: #2d3a4f;
    border-bottom: 1px dashed rgba(13, 26, 46, 0.08);
}

.step-list li:last-child {
    border-bottom: none;
}

.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 8px;
    width: 28px;
    height: 28px;
    background: var(--primary, #0d1a2e);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.step-list li code {
    background: rgba(13, 26, 46, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary, #0d1a2e);
}

.step-list li strong.merchant-num {
    background: #fff;
    border: 2px solid #e2136e;
    color: #e2136e;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.step-list li strong.merchant-amount {
    background: #fff;
    border: 2px solid var(--primary, #0d1a2e);
    color: var(--primary, #0d1a2e);
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 14px;
}

/* Transaction ID + Sender number fields */
.txn-fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(13, 26, 46, 0.12);
}

.txn-fields .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.txn-fields .form-input {
    background: #fff;
}

/* Responsive: stack txn fields on mobile */
@media (max-width: 600px) {
    .txn-fields .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .payment-instructions {
        padding: 16px;
    }

    .step-list li {
        font-size: 13px;
        padding-left: 38px;
    }

    .step-list li::before {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}

/* ─── Payment method radio label small improvements ─────────── */
.payment-methods .payment-method {
    cursor: pointer;
}

.payment-methods .payment-method-info .method-desc strong {
    color: var(--primary, #0d1a2e);
}

/* ============================================================
   PUNAM-MOD-PRO-V2 ADDITIONS
   - Dual price labels (Regular + Sale) on product cards & cart
   - Buy Now button on every product card
   - Auto-popup cart drawer styling
   - Cart page +/- quantity controls (no reload)
   - Checkout +/- quantity controls
   - Mobile responsive cart drawer
   ============================================================ */

/* ─── Product Card: labelled price (Regular / Sale) ─────────── */
.product-card-price {
    flex-direction: column;
    align-items: stretch !important;
    gap: 2px !important;
}

.product-card-price .price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.2;
}

.product-card-price .price-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    min-width: 42px;
}

.product-card-price .price-label--sale {
    color: var(--sale-red, #e5484d);
}

.product-card-price.product-card-price--sale .price-original {
    font-size: 12px;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
}

.product-card-price.product-card-price--sale .price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.product-card-price.product-card-price--single .price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

/* ─── Product Card Action Buttons (Add to Cart + Buy Now) ───── */
.product-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.product-card-actions .add-to-cart-btn,
.product-card-actions .buy-now-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm, 6px);
    cursor: pointer;
    transition: var(--transition, all 0.2s ease);
    font-family: inherit;
    line-height: 1.2;
}

/* Add to Cart = solid filled button (primary dark) */
.product-card-actions .add-to-cart-btn {
    background: var(--primary, #0d1a2e);
    color: var(--text-white, #fff);
    border: 1px solid var(--primary, #0d1a2e);
}

.product-card-actions .add-to-cart-btn:hover:not(:disabled) {
    background: var(--primary-light, #1a2d4a);
    border-color: var(--primary-light, #1a2d4a);
    transform: translateY(-1px);
}

/* Buy Now = solid filled button (emerald green) — clearly a button, */
/* distinct from the dark Add to Cart button next to it. */
.product-card-actions .buy-now-btn {
    background: #10b981;
    color: #fff;
    border: 1px solid #10b981;
}

.product-card-actions .buy-now-btn:hover:not(:disabled) {
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.product-card-actions .add-to-cart-btn:disabled,
.product-card-actions .buy-now-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* The old overlay add-to-cart-btn is hidden now (we use the body button) */
.product-card-image .add-to-cart-btn {
    display: none;
}

/* ─── Product Detail: labelled price box ────────────────────── */
.product-price-box--labelled {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 16px 18px;
    background: var(--bg-body, #f7f8fa);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md, 10px);
    margin-bottom: 20px;
}

.product-price-box--labelled .price-block {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.product-price-box--labelled .price-block-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.product-price-box--labelled .price-block--sale .price-block-label {
    color: var(--sale-red, #e5484d);
}

.product-price-box--labelled .product-price-old {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.product-price-box--labelled .price-block--sale .product-price-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sale-red, #e5484d);
    line-height: 1;
}

.product-price-box--labelled .product-price-save {
    align-self: flex-start;
    background: #fde8e8;
    color: var(--sale-red, #e5484d);
    padding: 4px 12px;
    border-radius: var(--radius-sm, 6px);
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

/* ─── Buy Now button (product detail page) ──────────────────── */
/* Solid filled emerald-green button — clearly a button, */
/* sits below the dark Add to Cart button so the two are distinct. */
.btn-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md, 10px);
    transition: var(--transition, all 0.2s ease);
    cursor: pointer;
    background: #10b981;
    color: #fff;
    border: 2px solid #10b981;
    font-family: inherit;
}

.btn-buy-now:hover:not(:disabled) {
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-buy-now:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-info .product-actions {
    margin-bottom: 12px;
}

/* ─── Cart Page: labelled price in price column ─────────────── */
.cart-product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-product-price .cart-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.2;
}

.cart-product-price .cart-price-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    min-width: 48px;
}

.cart-product-price .cart-price-label--sale {
    color: var(--sale-red, #e5484d);
}

.cart-product-price .cart-price-current {
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
}

.cart-product-price .old-price {
    display: inline;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

/* ─── Cart Drawer: +/- quantity controls ───────────────────── */
.cart-drawer-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.qty-control--drawer button {
    width: 26px;
    height: 26px;
    font-size: 13px;
}

.qty-control--drawer input {
    width: 36px;
    height: 26px;
    font-size: 13px;
}

.cart-drawer-item-info {
    min-width: 0;
}

.cart-drawer-item .cart-drawer-item-name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* ─── Checkout: +/- quantity controls ──────────────────────── */
.qty-control--checkout button {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.qty-control--checkout input {
    width: 36px;
    height: 28px;
    font-size: 13px;
}

.checkout-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ─── Improved mobile responsiveness for cart drawer ────────── */
@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
        max-width: 100vw;
    }

    .cart-drawer-item {
        padding: 12px 16px;
        gap: 12px;
    }

    .cart-drawer-item-img {
        width: 56px;
        height: 56px;
    }

    .cart-drawer-item-name {
        font-size: 13px;
    }

    .cart-drawer-footer {
        padding: 16px;
    }

    /* On mobile, cart table becomes card-stacked for better UX */
    .cart-table thead {
        display: none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table tr {
        background: var(--bg-white);
        border-radius: var(--radius-lg, 14px);
        box-shadow: var(--shadow-sm);
        margin-bottom: 16px;
        padding: 12px 16px;
        border: 1px solid var(--border-light);
    }

    .cart-table td {
        padding: 6px 0;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .cart-table td:first-child {
        display: block;
    }

    .cart-table td:nth-child(2)::before {
        content: "Price:";
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 600;
    }

    .cart-table td:nth-child(3)::before {
        content: "Qty:";
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 600;
    }

    .cart-table td:nth-child(4)::before {
        content: "Total:";
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 600;
    }

    .cart-product-price {
        align-items: flex-end;
        text-align: right;
    }

    .cart-product-price .cart-price-row {
        justify-content: flex-end;
    }
}

/* ─── Cart Drawer: dual price + volume display ─────────────── */
.cart-drawer-item-volume {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.cart-drawer-item-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
    margin-bottom: 4px;
}

.cart-drawer-item-price .cart-drawer-orig {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.cart-drawer-item-price .cart-drawer-cur {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

/* Override old single-price styling for drawer items */
.cart-drawer-item-info .cart-drawer-item-price {
    font-size: 13px;
}

/* ─── Mobile Bottom Navigation Bar ──────────────────────────── */
.mobile-bottom-nav {
    display: none; /* hidden on desktop */
    pointer-events: auto;
}

.mobile-bottom-nav-spacer {
    display: none; /* hidden on desktop */
}

.mobile-bottom-nav .bottom-nav-item,
.mobile-bottom-nav button,
.mobile-bottom-nav a {
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(13, 26, 46, 0.1);
    touch-action: manipulation;
}

@media (max-width: 768px) {
    /* Hide hamburger — bottom nav replaces it */
    .header-left .hamburger-btn {
        display: none !important;
    }

    /* Hide the center navigation links */
    .header .nav-links {
        display: none !important;
    }

    /* Header right: hide search, wishlist, cart icons on mobile.
       Keep ONLY the sign in / sign up icon. */
    .header-right .header-icon[data-search-toggle],
    .header-right .header-icon[data-cart-toggle],
    .header-right a[href*="wishlist"] {
        display: none !important;
    }

    .header-inner {
        justify-content: space-between;
    }

    .header-left {
        flex: 1;
        justify-content: flex-start;
    }

    .header-right {
        flex: none;
    }

    .header-right .header-icon {
        width: 40px;
        height: 40px;
    }

    /* ── Show the mobile bottom navigation bar ── */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1500;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
        height: 60px;
        align-items: stretch;
        justify-content: space-around;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .mobile-bottom-nav-spacer {
        display: block;
        height: 60px;
        width: 100%;
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 6px 2px;
        color: #6b7280;
        text-decoration: none;
        font-size: 10px;
        font-weight: 500;
        transition: color 0.2s ease;
        background: none;
        border: none;
        cursor: pointer;
        font-family: inherit;
        line-height: 1;
        position: relative;
    }

    .bottom-nav-item svg {
        width: 22px;
        height: 22px;
    }

    .bottom-nav-item:active,
    .bottom-nav-item:hover {
        color: #0d1a2e;
    }

    .bottom-nav-badge {
        position: absolute;
        top: 2px;
        right: 50%;
        transform: translateX(14px);
        background: #ef4444;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        line-height: 1;
    }

    .bottom-nav-badge:empty {
        display: none;
    }

    .cart-drawer {
        z-index: 2000;
    }

    .cart-overlay {
        z-index: 1900;
    }

    /* Checkout page: mobile responsive fix (no overflow) */
    .checkout-page,
    .checkout-page .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .checkout-layout {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100%;
        max-width: 100%;
    }

    .checkout-form {
        padding: 16px !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .checkout-form h2 {
        font-size: 1.1rem !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }

    .form-row {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .form-row .form-group {
        margin-bottom: 12px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        font-size: 16px; /* 16px prevents iOS zoom-on-focus */
    }

    .payment-methods {
        gap: 8px !important;
    }

    .payment-method {
        padding: 12px !important;
        gap: 10px !important;
    }

    .payment-method .method-name {
        font-size: 14px !important;
    }

    .payment-method .method-desc {
        font-size: 12px !important;
    }

    .payment-instructions {
        padding: 14px !important;
        margin-top: 14px !important;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }

    .payment-instructions h3 {
        font-size: 0.95rem !important;
    }

    .step-list li {
        font-size: 13px !important;
        padding-left: 38px !important;
    }

    .step-list li::before {
        width: 24px !important;
        height: 24px !important;
        font-size: 11px !important;
    }

    .txn-fields .form-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .checkout-summary {
        padding: 16px !important;
        position: static !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .checkout-item {
        gap: 10px !important;
        padding: 10px 0 !important;
    }

    .checkout-item-img {
        width: 48px !important;
        height: 60px !important;
        flex-shrink: 0;
    }

    .checkout-item-name {
        font-size: 13px !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: break-word;
    }

    .checkout-item-price {
        font-size: 13px !important;
        white-space: normal !important;
    }

    .checkout-form .btn-block,
    .checkout-form button[type="submit"] {
        width: 100%;
        padding: 14px 16px !important;
        font-size: 15px !important;
        box-sizing: border-box;
    }

    .breadcrumbs {
        flex-wrap: wrap;
        font-size: 12px !important;
        padding: 12px 0 !important;
    }

    .checkout-form div[style*="background:#f0f4ff"] {
        padding: 12px !important;
        margin: 12px 0 !important;
    }

    /* Prevent any element from causing horizontal scroll */
    img,
    video,
    iframe,
    table {
        max-width: 100%;
    }

    .container {
        max-width: 100% !important;
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 480px) {
    .mobile-bottom-nav {
        height: 56px;
    }

    .mobile-bottom-nav-spacer {
        height: 56px;
    }

    .bottom-nav-item {
        font-size: 9px;
        padding: 4px 2px;
    }

    .bottom-nav-item svg {
        width: 20px;
        height: 20px;
    }

    /* Checkout even tighter on small mobile */
    .checkout-page,
    .checkout-page .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .checkout-form {
        padding: 12px !important;
    }

    .checkout-summary {
        padding: 14px !important;
    }

    .checkout-item-img {
        width: 44px !important;
        height: 54px !important;
    }

    .checkout-item-name {
        font-size: 12px !important;
    }

    .payment-method {
        padding: 10px !important;
    }

    .qty-control--checkout {
        max-width: 100%;
    }
}

/* ─── Product Attributes (Pill Selector) ──────────────────── */
.product-attributes {
    margin: 20px 0;
}

.product-attribute-group {
    margin-bottom: 20px;
}

.product-attribute-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.product-attribute-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.attribute-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    min-width: 60px;
    border: 2px solid var(--border-medium);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    line-height: 1.3;
}

.attribute-pill:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}

.attribute-pill.active {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--text-white);
}

.attribute-pill.active .attr-price-add {
    color: rgba(255, 255, 255, 0.85);
}

.attribute-pill .attr-price-add {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}

.attribute-color-swatch {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border-radius: 50%;
    border: 3px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.attribute-color-swatch:hover {
    border-color: var(--gold);
    transform: scale(1.1);
}

.attribute-color-swatch.active {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.3);
}

/* Attribute pills on product cards (smaller) */
.product-card-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.product-card-attr-pill {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
}

/* Responsive attribute pills */
@media (max-width: 480px) {
    .attribute-pill {
        padding: 6px 12px;
        font-size: 11px;
        min-width: 48px;
    }
    
    .attribute-color-swatch {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }
}

/* ============================================================
   PUNAM-FIX-V10: Wishlist Active State + Admin Danger Button
   ============================================================ */

/* Wishlist button active state (filled red heart) */
.wishlist-btn.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    color: #e74c3c;
}

.wishlist-btn.active svg {
    fill: #e74c3c;
    stroke: #e74c3c;
}

/* Product detail page wishlist button active state */
.btn-wishlist.active {
    color: #e74c3c;
    background: #fef2f2;
    border-color: #e74c3c;
}

.btn-wishlist.active svg {
    fill: #e74c3c;
    stroke: #e74c3c;
}

/* Admin danger button */
.btn-danger {
    background: #dc3545;
    color: #fff;
    border: 1px solid #dc3545;
}
.btn-danger:hover {
    background: #c82333;
    border-color: #bd2130;
}

.btn-icon.btn-danger {
    color: #dc3545;
    background: transparent;
    border: none;
}
.btn-icon.btn-danger:hover {
    color: #fff;
    background: #dc3545;
}
