/* ===== VARIABLES ===== */
:root {
    --gold: #C9A96E;
    --gold-light: #E8D5A3;
    --gold-dark: #8B734B;
    --gold-rgb: 201, 169, 110;
    --dark: #0F0F0F;
    --darker: #080808;
    --surface: #1A1A1A;
    --surface-2: #252525;
    --surface-3: #333333;
    --border: rgba(255,255,255,0.06);
    --text: #F0F0F0;
    --text-muted: #888888;
    --text-dim: #555555;
    --danger: #E74C3C;
    --success: #00C853;
    --whatsapp: #25D366;
    --radius: 20px;
    --shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    z-index: 1000;
    transition: top 0.3s ease;
}
.skip-link:focus { top: 0; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ===== HEADER ===== */
.cat-header {
    text-align: center;
    padding: 50px 20px 40px;
    position: relative;
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
    border-bottom: 1px solid var(--border);
}
.cat-header-inner { max-width: 1200px; margin: 0 auto; }
.brand h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}
.brand h1 span {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--gold);
    margin-top: 6px;
    font-style: italic;
}
.tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 12px;
    letter-spacing: 2px;
}
.header-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s ease;
}
.header-btn:hover {
    background: rgba(201,169,110,0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}
.header-btn.whatsapp-btn {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.3);
    color: var(--whatsapp);
}
.header-btn.whatsapp-btn:hover { background: rgba(37, 211, 102, 0.25); }

/* ===== ACTION BAR ===== */
.action-bar {
    background: linear-gradient(90deg, rgba(201,169,110,0.1), rgba(201,169,110,0.05), rgba(201,169,110,0.1));
    border-top: 1px solid rgba(201,169,110,0.15);
    border-bottom: 1px solid rgba(201,169,110,0.15);
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}
.action-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.action-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.action-text strong { color: var(--gold); }
.action-buttons { display: flex; gap: 10px; }
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.action-btn.whatsapp-btn {
    background: var(--whatsapp);
    color: white;
}
.action-btn.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.action-btn.download-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
}
.action-btn.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    max-width: 1200px;
    margin: 50px auto 30px;
    padding: 0 20px;
}
.how-it-works h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
}
.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.step {
    text-align: center;
    padding: 24px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
}
.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.step-icon {
    font-size: 2rem;
    color: var(--gold);
    margin: 8px 0 12px;
    display: block;
}
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CATEGORY FILTER ===== */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px;
}
.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 30px;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    border-color: rgba(201,169,110,0.3);
    color: var(--text);
}
.filter-btn.active {
    border-color: var(--gold);
    background: rgba(201,169,110,0.1);
    color: var(--gold);
}

/* ===== PRODUCT SECTIONS ===== */
.product-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}
.section-header { margin-bottom: 30px; }
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text);
}
.section-header h2 i {
    color: var(--gold);
    margin-right: 10px;
}

/* ===== PRODUCT LIST ===== */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ===== UNIFIED PRODUCT ROW - Image on LEFT, Details on RIGHT ===== */
.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(201,169,110,0.15);
}

/* ===== IMAGE COLUMN (LEFT) ===== */
.product-image-col {
    position: relative;
    min-height: 300px;
    background: var(--surface-2);
    overflow: hidden;
    order: 1; /* Image on left */
}
.product-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
}
.product-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.6s ease;
}
.product-row:hover .product-image-wrap img {
    transform: scale(1.03);
}

/* ===== UNIFIED IMAGE FALLBACK ===== */
.image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--surface-2);
}
.image-fallback i {
    font-size: 3rem;
    margin-bottom: 12px;
    color: var(--text-dim);
}
.image-fallback p {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0 20px;
}

/* ===== UNIFIED BADGE ===== */
.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--danger), #c0392b);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* ===== DETAILS COLUMN (RIGHT) ===== */
.product-detail-col {
    padding: 30px 30px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2; /* Details on right */
}

/* ===== PRODUCT DETAILS STYLES ===== */
.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}
.product-best-for {
    font-size: 0.85rem;
    color: var(--gold);
    margin: 4px 0 12px;
    padding: 6px 12px;
    background: rgba(201,169,110,0.06);
    border-radius: 6px;
    border-left: 3px solid var(--gold);
}
.product-best-for i {
    color: var(--success);
    margin-right: 6px;
}
.size-selector { margin-bottom: 16px; }
.size-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.size-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.size-tab {
    padding: 8px 18px;
    background: var(--surface-2);
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}
.size-tab:hover {
    background: rgba(201,169,110,0.08);
    border-color: rgba(201,169,110,0.2);
    color: var(--text);
}
.size-tab:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.size-tab.active {
    background: rgba(201,169,110,0.12);
    border-color: var(--gold);
    color: var(--gold);
}
.product-turnaround {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.product-turnaround i { color: var(--gold); }

/* ===== UNIFIED PRICE ROW ===== */
.price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.price-from-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}
.price-currency {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.price-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}
.price-size-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-right: auto;
}
.order-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

/* ===== UNIFIED ORDER BUTTONS ===== */
.order-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.order-btn.upload-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
}
.order-btn.upload-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}
.order-btn.whatsapp-order-btn {
    background: var(--whatsapp);
    color: white;
}
.order-btn.whatsapp-order-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.order-btn i { font-size: 0.8rem; }

/* ===== TURNAROUND NOTE ===== */
.turnaround-note {
    text-align: center;
    margin-top: 24px;
    padding: 12px 20px;
    background: rgba(201,169,110,0.06);
    border: 1px solid rgba(201,169,110,0.1);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.turnaround-note i { margin-right: 8px; }
.turnaround-note strong { color: var(--gold); }

/* ===== WHY US ===== */
.why-us {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.why-us h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.why-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}
.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.why-item i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}
.why-item h3 { font-size: 1rem; margin-bottom: 4px; }
.why-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.cat-footer {
    border-top: 1px solid var(--border);
    margin-top: 60px;
    padding: 40px 20px 20px;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}
.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold);
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links h4, .footer-contact h4, .footer-address h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text);
}
.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 3px 0;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 3px 0;
    transition: color 0.3s ease;
}
.footer-contact a:hover { color: var(--gold); }
.footer-address p { color: var(--text-muted); font-size: 0.85rem; }
.payment-methods {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.payment-methods span {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
}
.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.75rem; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.footer-social a:hover { color: var(--gold); }

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.fab-label { display: none; }

/* ============================================
   RESPONSIVE - Image on LEFT, Details on RIGHT
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .brand h1 { font-size: 2.2rem; }
    .brand h1 span { font-size: 1.2rem; }
    .tagline { font-size: 1rem; }
    .header-actions { gap: 10px; }
    .header-btn { padding: 6px 14px; font-size: 0.8rem; }

    /* UNIFIED MOBILE STACK - Image on top, Details below */
    .product-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .product-image-col {
        min-height: 200px;
        order: 1; /* Image on top */
    }
    .product-image-wrap { min-height: 200px; }
    .product-image-wrap img {
        min-height: 200px;
        padding: 12px;
    }
    .image-fallback { min-height: 200px; }
    .product-detail-col {
        padding: 20px;
        order: 2; /* Details below image */
    }
    .product-name { font-size: 1.3rem; }
    .price-amount { font-size: 1.2rem; }
    .order-btn { padding: 10px 20px; font-size: 0.8rem; }
    .size-tab { padding: 6px 14px; font-size: 0.75rem; }
    .filter-btn { padding: 6px 14px; font-size: 0.75rem; }
    .section-header h2 { font-size: 1.5rem; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .action-bar-inner { flex-direction: column; gap: 8px; }
    .action-text { font-size: 0.8rem; text-align: center; }
    .action-btn { padding: 6px 14px; font-size: 0.75rem; }
    .whatsapp-fab { width: 50px; height: 50px; font-size: 1.6rem; bottom: 16px; right: 16px; }
    .price-row { flex-wrap: wrap; }
    .price-size-label { margin-right: 0; width: 100%; font-size: 0.7rem; }
    .order-actions { margin-left: 0; width: 100%; gap: 8px; }
    .order-btn { flex: 1; justify-content: center; padding: 8px 12px; font-size: 0.75rem; }
    .product-best-for { font-size: 0.8rem; padding: 4px 10px; }
}

@media (max-width: 480px) {
    .cat-header { padding: 30px 16px 24px; }
    .brand h1 { font-size: 1.8rem; }
    .product-detail-col { padding: 16px; }
    .product-name { font-size: 1.1rem; }
    .product-desc { font-size: 0.8rem; }
    .price-amount { font-size: 1rem; }
    .order-btn { font-size: 0.7rem; padding: 6px 10px; }
    .size-tab { padding: 4px 10px; font-size: 0.65rem; }
    .category-filter { gap: 6px; padding: 0 12px 20px; }
    .filter-btn { padding: 6px 14px; font-size: 0.7rem; }
    .how-it-works h2, .why-us h2 { font-size: 1.6rem; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step { padding: 16px 12px; }
    .step-icon { font-size: 1.5rem; }
    .why-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.4rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .product-best-for { font-size: 0.7rem; padding: 4px 8px; }
}

/* ===== PRINT STYLES ===== */
@media print {
    .action-bar, .whatsapp-fab, .order-btn, .header-actions, .section-anchor { display: none !important; }
    body { background: white; color: black; }
    .product-row { break-inside: avoid; border: 1px solid #ccc; background: white; }
    .product-detail-col { color: black; }
    .product-name, .section-header h2, .brand h1 { color: black; }
    .size-tab { border: 1px solid #ccc; color: #333; }
    .size-tab.active { background: #eee; border-color: #999; }
    .price-amount { color: #c0392b; }
    .cat-footer { border-top: 1px solid #ccc; }
}