/* ==========================================================================
   M.NAZ FABRICS — MAIN STYLESHEET (css/style.css)
   Built with pure HTML, CSS, Vanilla JS & Firebase
   ========================================================================== */

:root {
    --bg: #141416;
    --bg-elevated: #1A1A1E;
    --soft: #202025;
    --soft-hover: #28282F;
    --border: #32323A;
    --border-gold: rgba(212, 175, 55, 0.35);
    --text-main: #F7F5F0;
    --text-muted: #D0CEC7;
    --text-dim: #A5A299;
    --gold: #D4AF37;
    --gold-hover: #E5C148;
    --gold-soft: rgba(212, 175, 55, 0.12);
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5B;
    --danger: #EF5350;
    --success: #4CAF50;
    --header-height: 84px;
    --topbar-height: 36px;
    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: calc(var(--topbar-height) + var(--header-height) + 16px);
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 14px;
    padding-top: calc(var(--topbar-height) + var(--header-height));
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

button, input, select, textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- SUBTLE ANIMATIONS (Never hide text with opacity:0) --- */
@keyframes fadeIn {
    from { opacity: 0.85; }
    to { opacity: 1; }
}

@keyframes subtlePulseGlow {
    0% { box-shadow: 0 0 6px rgba(212, 175, 55, 0.25); }
    50% { box-shadow: 0 0 18px rgba(212, 175, 55, 0.55); }
    100% { box-shadow: 0 0 6px rgba(212, 175, 55, 0.25); }
}

@keyframes tickerScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes pulseLogo {
    0% { transform: scale(0.97); filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.25)); }
    100% { transform: scale(1.03); filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.65)); }
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* --- INITIAL LOADER --- */
#loader {
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    position: fixed;
    inset: 0;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-logo {
    height: 110px;
    width: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 2px solid var(--gold);
    animation: pulseLogo 1.2s ease-in-out infinite alternate;
    background: #000;
}

/* --- TOP ANNOUNCEMENT BAR --- */
.top-bar {
    background: var(--gold);
    color: #0D0D0D;
    height: var(--topbar-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.ticker-wrap {
    display: flex;
    width: max-content;
    animation: tickerScroll 30s linear infinite;
}
.ticker {
    display: flex;
    justify-content: space-around;
    white-space: nowrap;
}
.ticker span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0 28px;
    font-family: 'Poppins', sans-serif;
}

/* --- MAIN HEADER --- */
.main-header {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(20, 20, 22, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.header-logo {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    animation: subtlePulseGlow 3s infinite ease-in-out;
    background: #000;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.brand-link:hover .header-logo {
    transform: scale(1.06);
}
.brand-text-wrap {
    display: flex;
    flex-direction: column;
}
.brand-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    line-height: 1.1;
    white-space: nowrap;
}
.brand-subtitle {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
.desktop-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 0;
    position: relative;
    white-space: nowrap;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.25s ease;
}
.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--gold);
}
.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

/* Header Right Actions */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-btn {
    color: var(--text-main);
    font-size: 18px;
    background: var(--soft);
    border: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
}
.header-btn:hover {
    background: var(--border);
    color: var(--gold);
    border-color: var(--gold);
}
.header-wa-btn {
    background: var(--whatsapp);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.header-wa-btn:hover {
    background: var(--whatsapp-hover);
    color: #fff;
    transform: translateY(-2px);
}
.header-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}
.mobile-menu-trigger {
    display: none;
}

/* --- SIDE DRAWER MENU (Mobile & Quick Access) --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10004;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(4px);
}
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.side-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 310px;
    max-width: 86vw;
    height: 100vh;
    background: var(--soft);
    border-right: 1px solid var(--border);
    z-index: 10005;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 28px 22px;
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
}
.side-menu.open {
    transform: translateX(320px);
}
.side-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}
.menu-logo {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    background: #000;
}
.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-size: 18px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}
.close-menu-btn:hover {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}
.menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: 0.25s ease;
}
.menu-link i {
    color: var(--gold);
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.menu-link:hover {
    padding-left: 8px;
    color: var(--gold);
}
.side-menu-contact {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.side-menu-contact p {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.side-menu-contact a.phone-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 8px;
}
.side-menu-contact a.phone-pill:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* --- BUTTONS --- */
.btn-action {
    background: var(--gold);
    color: #0D0D0D;
    border: 1px solid var(--gold);
    padding: 13px 26px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}
.btn-action:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-action-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 13px 26px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}
.btn-action-outline:hover {
    background: var(--gold);
    color: #0D0D0D;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #ffffff;
    border: 1px solid var(--whatsapp);
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}
.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* --- SECTION HEADINGS --- */
.section-block {
    padding: 72px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.section-block.alt-bg {
    background: var(--bg-elevated);
}
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 44px;
    padding: 0 16px;
}
.section-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 8px;
}
.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.section-header p {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 400;
    line-height: 1.7;
}

/* --- 2. HERO BANNER --- */
.hero-banner {
    position: relative;
    min-height: 580px;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.12), transparent 55%),
                linear-gradient(180deg, #141416 0%, #1B1B20 100%);
    border-bottom: 1px solid var(--border);
    padding: 56px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-trust-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 16px;
}
.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 54px;
    line-height: 1.08;
    margin-bottom: 18px;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: 0.5px;
}
.hero-content h1 span {
    color: var(--gold);
}
.hero-content p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 540px;
    line-height: 1.75;
}
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}
.hero-highlights-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.hero-mini-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.hero-mini-stat i {
    color: var(--gold);
    font-size: 16px;
}

/* Hero Visual Showcase */
.hero-visual {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
    align-items: stretch;
}
.hero-main-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    background: var(--soft);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    aspect-ratio: 3 / 4;
}
.hero-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.hero-main-card:hover img {
    transform: scale(1.04);
}
.hero-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 16px;
    background: linear-gradient(to top, rgba(14, 14, 16, 0.95) 0%, rgba(14, 14, 16, 0.65) 65%, transparent 100%);
}
.hero-card-caption span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    display: block;
}
.hero-card-caption strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--text-main);
    font-weight: 600;
}
.hero-side-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hero-sub-card {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--soft);
    min-height: 170px;
}
.hero-sub-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-sub-card:hover img {
    transform: scale(1.05);
}

/* --- 3. CATEGORIES SECTION --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.category-card {
    position: relative;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--soft);
    cursor: pointer;
    transition: all 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card:hover img {
    transform: scale(1.07);
}
.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 12, 14, 0.92) 0%, rgba(12, 12, 14, 0.35) 60%, rgba(12, 12, 14, 0.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}
.category-card-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}
.category-card-overlay span {
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- 4 & 5. FEATURED & PRODUCT COLLECTION --- */
.collection-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    background: var(--soft);
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
}
.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 14px;
}
.search-box input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 13px;
    transition: border-color 0.2s ease;
}
.search-box input:focus {
    border-color: var(--gold);
}
.sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sort-box label {
    font-size: 12px;
    color: var(--text-dim);
    white-space: nowrap;
}
.sort-box select {
    padding: 11px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 13px;
    cursor: pointer;
}
.sort-box select:focus {
    border-color: var(--gold);
}

.chip-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 20px;
    scrollbar-width: thin;
}
.chip {
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-muted);
    text-transform: uppercase;
    cursor: pointer;
    background: var(--soft);
    transition: all 0.25s ease;
    letter-spacing: 0.8px;
    flex-shrink: 0;
}
.chip.active,
.chip:hover {
    background: var(--gold);
    color: #0D0D0D;
    border-color: var(--gold);
    font-weight: 600;
}

/* Product Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.card {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
    border-color: var(--gold);
}
.card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #1A1A1E;
    overflow: hidden;
    cursor: pointer;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card-img-wrap img {
    transform: scale(1.06);
}
.card-body {
    padding: 18px 16px;
    background: var(--soft);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-meta {
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
    font-weight: 500;
}
.card-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    line-height: 1.35;
    cursor: pointer;
}
.card-body h3:hover {
    color: var(--gold);
}
.card-desc {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.55;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    font-variant-numeric: tabular-nums;
}
.price-new {
    color: var(--gold);
    font-weight: 700;
    font-size: 17px;
}
.price-old {
    color: var(--text-dim);
    text-decoration: line-through;
    font-size: 12px;
    font-weight: 400;
}
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 8px;
}
.btn-card-detail {
    background: var(--bg);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 10px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}
.btn-card-detail:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.btn-card-wa {
    background: var(--whatsapp);
    color: #fff;
    border: 1px solid var(--whatsapp);
    padding: 10px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}
.btn-card-wa:hover {
    background: var(--whatsapp-hover);
    color: #fff;
}

/* --- 6. ABOUT M.NAZ FABRICS SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}
.about-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-img-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 3 / 4;
    background: var(--soft);
}
.about-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-brand-seal {
    grid-column: 1 / -1;
    background: var(--soft);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.about-brand-seal img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}
.about-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.15;
}
.about-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0 28px;
}
.about-point-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-main);
}
.about-point-item i {
    color: var(--gold);
    margin-top: 4px;
}

/* --- 7. WHY CHOOSE US --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-box {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--gold-soft);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 18px;
}
.feature-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}
.feature-box p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.65;
}

/* --- 8. PROMOTIONAL BANNER --- */
.promo-banner-box {
    background: linear-gradient(135deg, #1E1E24 0%, #151518 100%);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.promo-text-col {
    padding: 48px 44px;
}
.promo-text-col h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    line-height: 1.15;
    color: var(--gold);
    margin-bottom: 14px;
}
.promo-text-col p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 26px;
    line-height: 1.75;
}
.promo-img-col {
    height: 100%;
    min-height: 320px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.25);
}
.promo-img-col img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* --- 9. CUSTOMER / STORE HIGHLIGHTS --- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: var(--soft);
    padding: 28px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}
.review-stars {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    gap: 4px;
}
.review-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}
.review-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
.review-author strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--text-main);
}
.review-author span {
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 10. SOCIAL MEDIA SECTION --- */
.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.social-channel-card {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.social-channel-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}
.social-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 16px;
}
.social-channel-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 8px;
}
.social-channel-card p {
    font-size: 12.5px;
    color: var(--text-dim);
    margin-bottom: 18px;
    line-height: 1.6;
}

/* --- 11. FAQ ACCORDION --- */
.faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.faq-item.active {
    border-color: var(--gold);
}
.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.faq-question:hover {
    color: var(--gold);
}
.faq-question i {
    color: var(--gold);
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    background: var(--bg-elevated);
}
.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.75;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

/* --- 12. CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    align-items: stretch;
}
.contact-info-box,
.contact-form-box {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 34px 30px;
}
.contact-info-box h3,
.contact-form-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 12px;
}
.contact-method-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}
.contact-method-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.25s ease;
}
.contact-method-card:hover {
    border-color: var(--gold);
}
.contact-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-method-card span {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}
.contact-method-card strong {
    font-size: 16px;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
}

/* --- FORMS & INPUTS --- */
.input-group {
    margin-bottom: 16px;
}
.input-group label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.8px;
}
.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* --- 13. SITE FOOTER --- */
.site-footer {
    background: #101012;
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
    gap: 36px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}
.footer-brand-logo {
    height: 74px;
    width: 74px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    margin-bottom: 14px;
    background: #000;
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: var(--gold);
    letter-spacing: 1.2px;
}
.footer-col p,
.footer-col a {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 10px;
    display: block;
    line-height: 1.65;
    cursor: pointer;
}
.footer-col a:hover {
    color: var(--gold);
    padding-left: 5px;
}
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--soft);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transition: all 0.25s ease;
}
.social-icons a:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    padding-left: 0;
    transform: translateY(-3px);
}
.footer-bottom {
    max-width: var(--container-width);
    margin: 44px auto 0;
    padding: 24px 24px 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-dim);
}

/* --- FLOATING WHATSAPP BUTTON --- */
.wa-float {
    position: fixed;
    bottom: 26px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
}
.wa-float:hover {
    transform: scale(1.1);
    background: var(--whatsapp-hover);
    color: #FFF;
}

/* --- INTERACTIVE OVERLAY MODALS (Product Detail, Cart, Admin, Checkout, Lightbox) --- */
.view-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.88);
    z-index: 10002;
    overflow-y: auto;
    backdrop-filter: blur(6px);
    padding: 24px 16px;
}
.view-modal-overlay.active {
    display: block;
}
.view-modal-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 1120px;
    margin: 20px auto 40px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
    position: relative;
}
.view-modal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--soft);
    border-bottom: 1px solid var(--border);
}
.view-modal-topbar h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--gold);
    font-weight: 700;
}
.modal-close-btn {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.modal-close-btn:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}

/* Product Detail Modal Layout */
.product-desktop-flex {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    padding: 28px;
}
.img-slider-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #141416;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 3 / 4;
    max-height: 540px;
}
.detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 22, 0.85);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    color: var(--text-main);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.slider-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
.slider-btn.left { left: 14px; }
.slider-btn.right { right: 14px; }

.thumb-row {
    display: flex;
    gap: 10px;
    padding: 14px 0 0;
    overflow-x: auto;
}
.thumb-box {
    width: 68px;
    height: 86px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--border);
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.65;
    transition: 0.25s ease;
}
.thumb-box.active,
.thumb-box:hover {
    opacity: 1;
    border-color: var(--gold);
}
.views-tag {
    background: var(--soft);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
}

/* Lightbox Modal */
#lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.96);
    z-index: 10008;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}
#lightbox-modal.active {
    opacity: 1;
}
.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 720px;
    text-align: center;
    padding: 20px;
}
.lightbox-content img {
    max-width: 92%;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    margin: 0 auto;
    background: #141416;
}
.lightbox-content img.zoomed {
    transform: scale(1.85);
    cursor: zoom-out;
}
.lb-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-btn:hover {
    background: var(--gold);
    color: #000;
}
.lb-btn.left { left: 16px; }
.lb-btn.right { right: 16px; }
.lightbox-tools {
    position: absolute;
    top: -36px;
    right: 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    z-index: 100;
}
.lb-tool {
    color: var(--text-main);
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
}
.lb-tool:hover {
    color: var(--gold);
}

/* Checkout Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 10006;
    justify-content: center;
    align-items: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(5px);
}
.modal-overlay.active {
    opacity: 1;
}
.modal-content {
    background: var(--soft);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
}

/* Admin UI */
.admin-box {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}
.btn-mini {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}
.btn-mini:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
#edit-img-display,
#cat-img-display {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}
.edit-img-card {
    position: relative;
    flex-shrink: 0;
    width: 74px;
}
.edit-img-card img {
    width: 74px;
    height: 94px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border);
}
.img-btns {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.btn-img-action {
    width: 22px;
    height: 22px;
    font-size: 10px;
    border: none;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Supporting Subpage Banner */
.subpage-hero {
    background: linear-gradient(180deg, #1A1A1F 0%, #141416 100%);
    padding: 56px 0 44px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.subpage-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px;
    color: var(--gold);
    margin-bottom: 10px;
}
.subpage-hero p {
    font-size: 14.5px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
}
.prose-card {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px 32px;
    max-width: 920px;
    margin: 0 auto;
}
.prose-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--gold);
    margin: 24px 0 10px;
}
.prose-card h2:first-child {
    margin-top: 0;
}
.prose-card p,
.prose-card li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}
.prose-card ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
