/*
Theme Name: Fanaz Fashion
Description: Fanaz Fashion BD Bilingual E-Commerce Theme
Author: Fanaz Fashion BD
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Noto+Serif+Bengali:wght@400;600&family=Raleway:wght@300;400;500;600&display=swap');

:root {
  --purple-950: #1a0a2e;
  --purple-900: #2d1457;
  --purple-800: #4a1a7a;
  --purple-700: #6b2fa0;
  --purple-600: #8b3fc5;
  --gold-400: #c9a227;
  --gold-300: #d4b84a;
  --gold-200: #e8d48a;
  --cream: #fdf8f0;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Raleway', sans-serif; background: var(--cream); color: var(--purple-950); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* TOPBAR */
.fanaz-topbar { background: var(--purple-950); color: var(--gold-300); text-align: center; font-size: 12px; letter-spacing: 1.5px; padding: 8px 16px; }

/* HEADER */
.fanaz-header { background: var(--purple-900); position: sticky; top: 0; z-index: 9999; box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.fanaz-header-inner { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fanaz-logo { display: flex; align-items: center; }
.fanaz-logo img { height: 60px; width: auto; }
.fanaz-logo-text { font-family: 'Playfair Display', serif; color: var(--gold-300); font-size: 22px; font-weight: 700; line-height: 1.1; }
.fanaz-logo-text span { display: block; font-family: 'Raleway', sans-serif; font-size: 10px; letter-spacing: 3px; color: var(--gold-200); font-weight: 400; }
.fanaz-nav { display: flex; gap: 2px; align-items: center; }
.fanaz-nav a { color: var(--gold-200); font-size: 13px; font-weight: 500; letter-spacing: 0.8px; padding: 8px 11px; border-radius: 4px; transition: all 0.2s; white-space: nowrap; }
.fanaz-nav a:hover { background: rgba(201,162,39,0.12); color: var(--gold-400); }
.fanaz-header-icons { display: flex; gap: 18px; align-items: center; }
.fanaz-header-icons a { color: var(--gold-200); font-size: 18px; transition: color 0.2s; position: relative; }
.fanaz-header-icons a:hover { color: var(--gold-400); }
.fanaz-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.fanaz-hamburger span { display: block; width: 22px; height: 2px; background: var(--gold-200); border-radius: 2px; }
.fanaz-mobile-menu { display: none; flex-direction: column; background: var(--purple-950); padding: 8px 24px 16px; }
.fanaz-mobile-menu.open { display: flex; }
.fanaz-mobile-menu a { color: var(--gold-200); font-size: 14px; padding: 12px 0; border-bottom: 1px solid rgba(201,162,39,0.1); }
.fanaz-mobile-menu a:hover { color: var(--gold-400); }
.fanaz-search-bar { background: var(--purple-800); padding: 10px 24px; display: flex; justify-content: center; }
.fanaz-search-form { display: flex; max-width: 600px; width: 100%; background: rgba(255,255,255,0.08); border: 1px solid rgba(201,162,39,0.3); border-radius: 30px; overflow: hidden; }
.fanaz-search-form input { flex: 1; background: transparent; border: none; outline: none; color: #fff; padding: 10px 20px; font-size: 13px; font-family: 'Raleway', sans-serif; }
.fanaz-search-form input::placeholder { color: rgba(255,255,255,0.4); }
.fanaz-search-form button { background: var(--gold-400); border: none; cursor: pointer; padding: 10px 20px; color: var(--purple-950); font-size: 15px; }

/* MARQUEE */
.fanaz-marquee { background: var(--gold-400); padding: 10px 0; overflow: hidden; white-space: nowrap; }
.fanaz-marquee-inner { display: inline-flex; animation: fanazScroll 28s linear infinite; }
.fanaz-marquee-inner span { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--purple-950); padding: 0 28px; text-transform: uppercase; }
@keyframes fanazScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* HERO */
.fanaz-hero { background: linear-gradient(135deg, var(--purple-950) 0%, var(--purple-800) 60%, #3d1060 100%); padding: 80px 24px; text-align: center; position: relative; overflow: hidden; }
.fanaz-hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.fanaz-hero-badge { display: inline-block; background: rgba(201,162,39,0.15); border: 1px solid rgba(201,162,39,0.4); color: var(--gold-300); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; padding: 6px 16px; border-radius: 30px; margin-bottom: 20px; }
.fanaz-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 5vw, 54px); color: #fff; line-height: 1.15; margin-bottom: 14px; }
.fanaz-hero h1 .gold { color: var(--gold-300); }
.fanaz-hero .hero-bn { font-family: 'Noto Serif Bengali', serif; color: rgba(255,255,255,0.65); font-size: 15px; margin-bottom: 8px; }
.fanaz-hero .hero-en { color: rgba(255,255,255,0.45); font-size: 13px; margin-bottom: 30px; }
.fanaz-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-gold { background: var(--gold-400); color: var(--purple-950); padding: 13px 28px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; transition: all 0.2s; display: inline-block; border: none; cursor: pointer; font-family: 'Raleway', sans-serif; }
.btn-gold:hover { background: var(--gold-300); color: var(--purple-950); }
.btn-outline { background: transparent; color: var(--gold-200); border: 1.5px solid rgba(201,162,39,0.5); padding: 13px 28px; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; transition: all 0.2s; display: inline-block; font-family: 'Raleway', sans-serif; }
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* SECTIONS */
.fanaz-section { padding: 60px 0; }
.fanaz-section.bg-white { background: #fff; }
.fanaz-section.bg-cream { background: var(--cream); }
.fanaz-section.bg-dark { background: var(--purple-950); }
.fanaz-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.fanaz-section-title { text-align: center; margin-bottom: 40px; }
.fanaz-section-title h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 3vw, 36px); color: var(--purple-900); margin-bottom: 6px; }
.fanaz-section-title .bn { font-family: 'Noto Serif Bengali', serif; color: var(--purple-600); font-size: 15px; display: block; margin-bottom: 12px; }
.fanaz-title-bar { width: 60px; height: 3px; background: var(--gold-400); margin: 0 auto; border-radius: 2px; }

/* CATEGORIES */
.fanaz-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.fanaz-cat-card { background: var(--cream); border: 1.5px solid rgba(106,47,160,0.1); border-radius: 12px; padding: 24px 12px; text-align: center; cursor: pointer; transition: all 0.25s; display: block; color: var(--purple-900); }
.fanaz-cat-card:hover { border-color: var(--gold-400); box-shadow: 0 6px 24px rgba(201,162,39,0.15); transform: translateY(-3px); color: var(--purple-900); }
.fanaz-cat-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--purple-900), var(--purple-700)); border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.fanaz-cat-card h3 { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.fanaz-cat-card .cat-bn { font-family: 'Noto Serif Bengali', serif; font-size: 11px; color: var(--purple-600); }

/* PRODUCTS */
.fanaz-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.fanaz-product-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid rgba(106,47,160,0.08); transition: all 0.25s; position: relative; }
.fanaz-product-card:hover { box-shadow: 0 8px 40px rgba(42,20,87,0.18); transform: translateY(-4px); }
.fanaz-product-img { background: linear-gradient(160deg, var(--purple-950), var(--purple-800)); aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; font-size: 72px; position: relative; overflow: hidden; }
.fanaz-product-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.fanaz-badge { position: absolute; top: 12px; left: 12px; background: var(--gold-400); color: var(--purple-950); font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 3px; }
.fanaz-badge.sale { background: #c0392b; color: #fff; }
.fanaz-product-info { padding: 16px; }
.fanaz-product-name { font-size: 14px; font-weight: 600; color: var(--purple-900); margin-bottom: 3px; }
.fanaz-product-name-bn { font-family: 'Noto Serif Bengali', serif; font-size: 12px; color: var(--purple-600); margin-bottom: 10px; }
.fanaz-price { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fanaz-price-now { font-size: 16px; font-weight: 700; color: var(--gold-400); }
.fanaz-price-old { font-size: 13px; color: #999; text-decoration: line-through; }
.fanaz-add-cart { width: 100%; background: var(--purple-900); color: var(--gold-200); border: none; padding: 11px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; border-radius: 6px; transition: all 0.2s; font-family: 'Raleway', sans-serif; display: block; text-align: center; }
.fanaz-add-cart:hover { background: var(--gold-400); color: var(--purple-950); }

/* PROMO */
.fanaz-promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fanaz-promo-card { border-radius: 12px; padding: 40px 32px; position: relative; overflow: hidden; min-height: 190px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(201,162,39,0.2); }
.fanaz-promo-card.p1 { background: linear-gradient(135deg, #4a1a7a, #8b3fc5); }
.fanaz-promo-card.p2 { background: linear-gradient(135deg, #1a0a2e, #3d1060); }
.fanaz-promo-tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-300); margin-bottom: 10px; font-weight: 600; }
.fanaz-promo-card h3 { font-family: 'Playfair Display', serif; color: #fff; font-size: clamp(18px, 2.5vw, 26px); margin-bottom: 6px; }
.fanaz-promo-card .promo-bn { font-family: 'Noto Serif Bengali', serif; color: var(--gold-200); font-size: 13px; margin-bottom: 18px; }

/* FEATURES */
.fanaz-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.fanaz-feature { text-align: center; padding: 26px 16px; border: 1px solid rgba(106,47,160,0.1); border-radius: 12px; transition: all 0.2s; }
.fanaz-feature:hover { border-color: var(--gold-400); box-shadow: 0 4px 24px rgba(201,162,39,0.15); }
.fanaz-feature-icon { font-size: 32px; margin-bottom: 12px; }
.fanaz-feature h4 { font-size: 14px; font-weight: 600; color: var(--purple-900); margin-bottom: 3px; }
.fanaz-feature .feat-bn { font-family: 'Noto Serif Bengali', serif; font-size: 12px; color: var(--purple-600); margin-bottom: 6px; }
.fanaz-feature p { font-size: 12px; color: #777; line-height: 1.6; }

/* REVIEWS */
.fanaz-reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.fanaz-review { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid rgba(106,47,160,0.08); }
.fanaz-stars { color: var(--gold-400); font-size: 16px; margin-bottom: 12px; }
.fanaz-review p { font-size: 13px; color: #555; line-height: 1.8; margin-bottom: 16px; font-style: italic; }
.fanaz-reviewer { display: flex; align-items: center; gap: 12px; }
.fanaz-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--purple-800), var(--purple-600)); display: flex; align-items: center; justify-content: center; color: var(--gold-200); font-weight: 700; font-size: 13px; }
.fanaz-reviewer-name { font-size: 13px; font-weight: 600; color: var(--purple-900); }
.fanaz-reviewer-loc { font-size: 11px; color: #999; font-family: 'Noto Serif Bengali', serif; }

/* NEWSLETTER */
.fanaz-newsletter { background: linear-gradient(135deg, var(--purple-950), var(--purple-800)); padding: 60px 24px; text-align: center; }
.fanaz-newsletter h2 { font-family: 'Playfair Display', serif; color: #fff; font-size: clamp(22px, 3vw, 32px); margin-bottom: 8px; }
.fanaz-newsletter .nl-bn { font-family: 'Noto Serif Bengali', serif; color: var(--gold-200); font-size: 14px; margin-bottom: 8px; display: block; }
.fanaz-newsletter p { color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 26px; }
.fanaz-nl-form { display: flex; max-width: 480px; margin: 0 auto; border-radius: 6px; overflow: hidden; }
.fanaz-nl-form input { flex: 1; border: none; outline: none; padding: 14px 18px; font-size: 13px; font-family: 'Raleway', sans-serif; background: rgba(255,255,255,0.95); }
.fanaz-nl-form button { background: var(--gold-400); color: var(--purple-950); border: none; padding: 14px 22px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; white-space: nowrap; font-family: 'Raleway', sans-serif; }

/* FOOTER */
.fanaz-footer { background: var(--purple-950); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.fanaz-footer-grid { max-width: 1280px; margin: 0 auto; padding: 0 24px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.fanaz-footer-brand p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.fanaz-social { display: flex; gap: 10px; margin-top: 4px; }
.fanaz-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(201,162,39,0.1); border: 1px solid rgba(201,162,39,0.25); display: flex; align-items: center; justify-content: center; color: var(--gold-300); font-size: 14px; transition: all 0.2s; }
.fanaz-social a:hover { background: var(--gold-400); color: var(--purple-950); }
.fanaz-footer-col h4 { color: var(--gold-300); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.fanaz-footer-col ul { list-style: none; }
.fanaz-footer-col ul li { margin-bottom: 9px; }
.fanaz-footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 13px; transition: color 0.2s; }
.fanaz-footer-col ul li a:hover { color: var(--gold-300); }
.fanaz-footer-contact p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 8px; line-height: 1.7; }
.fanaz-footer-contact a { color: var(--gold-300); }
.fanaz-pay-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.fanaz-pay-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; padding: 4px 11px; font-size: 11px; color: rgba(255,255,255,0.65); font-weight: 600; }
.fanaz-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.fanaz-footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.fanaz-footer-bottom a { color: var(--gold-400); }

/* WOOCOMMERCE */
.woocommerce ul.products li.product { background: #fff !important; border-radius: 12px !important; border: 1px solid rgba(106,47,160,0.08) !important; overflow: hidden !important; transition: all 0.25s !important; padding: 0 !important; }
.woocommerce ul.products li.product:hover { box-shadow: 0 8px 40px rgba(42,20,87,0.18) !important; transform: translateY(-4px) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: 'Raleway', sans-serif !important; font-weight: 600 !important; color: #2d1457 !important; font-size: 14px !important; padding: 12px 16px 4px !important; }
.woocommerce ul.products li.product .price { color: #c9a227 !important; font-weight: 700 !important; padding: 0 16px 8px !important; }
.woocommerce ul.products li.product .price del { color: #999 !important; font-size: 12px !important; }
.woocommerce ul.products li.product a.button { background: #2d1457 !important; color: #e8d48a !important; border-radius: 0 !important; font-family: 'Raleway', sans-serif !important; font-weight: 600 !important; letter-spacing: 1px !important; text-transform: uppercase !important; font-size: 12px !important; width: 100% !important; margin: 0 !important; padding: 12px !important; }
.woocommerce ul.products li.product a.button:hover { background: #c9a227 !important; color: #1a0a2e !important; }
.woocommerce span.onsale { background: #c0392b !important; border-radius: 3px !important; }
.woocommerce div.product .product_title { font-family: 'Playfair Display', serif !important; color: #2d1457 !important; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #c9a227 !important; font-size: 22px !important; font-weight: 700 !important; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: #2d1457 !important; color: #e8d48a !important; border-radius: 6px !important; font-family: 'Raleway', sans-serif !important; font-weight: 600 !important; }
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: #c9a227 !important; color: #1a0a2e !important; }
.woocommerce-page .fanaz-container { padding-top: 40px; padding-bottom: 40px; }

/* RESPONSIVE */
@media (max-width: 1024px) { .fanaz-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .fanaz-nav { display: none; } .fanaz-hamburger { display: flex; } .fanaz-promo-grid { grid-template-columns: 1fr; } .fanaz-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .fanaz-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .fanaz-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .fanaz-footer-grid { grid-template-columns: 1fr; } .fanaz-footer-bottom { flex-direction: column; text-align: center; } .fanaz-nl-form { flex-direction: column; } .fanaz-promo-card { padding: 28px 20px; } }
