/**
 * ============================================================================
 * FASHION THEME
 * Loaded after style.css. Changes colors, fonts and the product card shape for
 * a lingerie / innerwear store. To change the brand color, edit --brand-accent.
 * ============================================================================
 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand-accent: #c2416b;        /* main brand color (rose pink) */
    --brand-accent-dark: #8e2549;
    --brand-accent-soft: #fcecf1;
    --brand-ink: #2b1d24;           /* deep plum-black for buttons and headings */
    --brand-gold: #d4a5a5;
    --brand-green: var(--brand-accent);
    --primary-color: var(--brand-accent);
    --primary-hover: var(--brand-accent-dark);
    --secondary-color: var(--brand-ink);
    --bg-light: #fdf8f9;
    --font-display: 'Playfair Display', 'Hind Siliguri', serif;
    --font-body: 'Inter', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
}

body { font-family: var(--font-body); background-color: var(--bg-light); color: #2a2a2a; }

h1, h2, .section-header h2, .category-section-banner h2,
.forced-banner-content h1, .footer-logo h2 { font-family: var(--font-display); letter-spacing: 0.2px; }

/* --- Top bar & header --- */
.frontend-top-bar { background: var(--brand-ink); font-size: 12.5px; letter-spacing: 0.3px; }
.top-links a:hover { color: var(--brand-gold); }
.top-promo { color: var(--brand-gold); font-weight: 600; }

.frontend-header { background: #fff; border-bottom: 1px solid #eee5e0; box-shadow: none; }
.site-logo a { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--brand-ink); letter-spacing: 1px; text-decoration: none; }
.global-search-form, .search-input { border-radius: 999px !important; }
.search-input { background: #faf8f6; }
.search-submit-btn { border-radius: 0 999px 999px 0 !important; }
.cart-btn { background: var(--brand-ink) !important; color: #fff !important; border-radius: 999px !important; gap: 6px; text-decoration: none; }
.cart-btn:hover { background: var(--brand-accent) !important; }
.cart-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Desktop category nav under the header */
.fashion-nav { background: #fff; border-bottom: 1px solid #eee5e0; }
.fashion-nav ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 10px 15px; }
.fashion-nav a { color: var(--brand-ink); text-decoration: none; font-size: 13.5px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; padding: 4px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.fashion-nav a:hover { color: var(--brand-accent); border-bottom-color: var(--brand-accent); }
.fashion-nav .nav-sale a { color: var(--brand-accent); }
@media (max-width: 768px) { .fashion-nav { display: none; } }

/* --- Hero banner --- */
.forced-sidebar { border-radius: 4px; border-color: #eee5e0; }
.forced-sidebar-header { background: var(--brand-ink) !important; }
.forced-banner { border-radius: 4px; border: none; min-height: 420px; }
.forced-banner.fashion-default-hero { background: linear-gradient(120deg, #fdf0f3 0%, #f9dfe7 50%, #f3cbd8 100%) !important; }
.forced-banner.fashion-default-hero::after {
    content: ''; position: absolute; right: -60px; top: -60px; width: 380px; height: 380px; border-radius: 50%;
    border: 1px solid rgba(194, 65, 107, 0.2); box-shadow: 0 0 0 40px rgba(194, 65, 107, 0.05), 0 0 0 90px rgba(194, 65, 107, 0.04);
}
.forced-banner-overlay { background: transparent; }
.forced-banner-badge { background: transparent; color: var(--brand-accent); border: 1px solid var(--brand-accent); border-radius: 0; letter-spacing: 2px; font-size: 11px; }
.forced-banner-content h1 { font-size: 46px; font-weight: 700; color: var(--brand-ink); }
.forced-banner-content p { color: #5a4a4f; }
.forced-banner-btn { background: var(--brand-ink); border-radius: 0; box-shadow: none; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; padding: 14px 34px; }
.forced-banner-btn:hover { background: var(--brand-accent); }
@media (max-width: 768px) {
    .forced-banner { min-height: 300px; }
    .forced-banner-content h1 { font-size: 30px; }
}

/* --- Trust strip --- */
.fashion-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #eee5e0; border: 1px solid #eee5e0; margin: -20px 0 40px; }
.fashion-usp div { background: #fff; padding: 16px 14px; display: flex; align-items: center; gap: 12px; }
.fashion-usp .usp-icon { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--brand-accent-soft); color: var(--brand-accent); display: grid; place-items: center; font-size: 17px; }
.fashion-usp strong { display: block; font-size: 14px; color: var(--brand-ink); }
.fashion-usp p { margin: 0; line-height: 1.35; }
.fashion-usp span.usp-sub { font-size: 12px; color: #7a6f72; }
@media (max-width: 768px) { .fashion-usp { grid-template-columns: repeat(2, 1fr); margin-top: -30px; } .fashion-usp div { padding: 12px 10px; } }

/* --- Shop by category tiles --- */
.fashion-cats { margin: 0 0 40px; }
.fashion-cats-title { text-align: center; margin-bottom: 18px; }
.fashion-cats-title h2 { font-size: 28px; color: var(--brand-ink); margin: 0; }
.fashion-cats-title p { color: #7a6f72; font-size: 14px; margin: 4px 0 0; }
.fashion-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.fashion-cat-grid a {
    position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; padding: 14px; text-decoration: none; overflow: hidden;
    background: linear-gradient(160deg, #f6ece8, #ead6da); color: var(--brand-ink); transition: transform .25s;
}
.fashion-cat-grid a:nth-child(3n+2) { background: linear-gradient(160deg, #efeae2, #ddd2c2); }
.fashion-cat-grid a:nth-child(3n+3) { background: linear-gradient(160deg, #e8ecef, #d3dbe2); }
.fashion-cat-grid a:hover { transform: translateY(-4px); }
.fashion-cat-grid .cat-initial { position: absolute; top: 6px; right: 12px; font-family: var(--font-display); font-size: 64px; line-height: 1; opacity: 0.12; }
.fashion-cat-grid .cat-name { font-weight: 700; font-size: 15px; }
.fashion-cat-grid .cat-cta { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand-accent); margin-top: 2px; }
@media (max-width: 768px) {
    .fashion-cat-grid { grid-auto-flow: column; grid-auto-columns: 42%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .fashion-cat-grid a { scroll-snap-align: start; }
}

/* --- Section headers --- */
.section-header h2, .category-section-banner h2 { font-size: 26px; color: var(--brand-ink); }
.section-tagline .tagline-divider { background: var(--brand-gold) !important; }
.category-section-banner { background: transparent !important; box-shadow: none !important; border-bottom: 1px solid #eee5e0; border-radius: 0 !important; padding: 10px 0 !important; }
.btn-view-all { text-transform: uppercase; letter-spacing: 1px; font-size: 12px; font-weight: 700; }

/* --- Product cards: tall 3:4 photos, clean square edges --- */
.product-card { border-radius: 2px !important; border: 1px solid #f0e8e4 !important; box-shadow: none !important; background: #fff; }
.product-card:hover { box-shadow: 0 14px 30px rgba(20, 20, 20, 0.08) !important; transform: translateY(-3px); }
.product-image { height: auto !important; aspect-ratio: 3 / 4; background: #f4efec !important; }
.product-image img { object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-title, .product-title a { font-weight: 600; color: var(--brand-ink) !important; }
.current-price { color: var(--brand-accent) !important; font-weight: 700; }
.product-card .btn-add-cart, .product-card .btn-buy-now { border-radius: 0 !important; letter-spacing: 0.3px; }
.product-card .btn-buy-now { background: var(--brand-ink) !important; border-color: var(--brand-ink) !important; }
.product-card .btn-buy-now:hover { background: var(--brand-accent) !important; border-color: var(--brand-accent) !important; }
.product-card .btn-add-cart { border-color: var(--brand-ink) !important; color: var(--brand-ink) !important; }
.product-card .btn-add-cart:hover { background: var(--brand-ink) !important; color: #fff !important; }
.badge.round-discount { background: var(--brand-accent) !important; }

/* --- Size guide (product page) --- */
.size-guide-link { background: none; border: none; padding: 0; margin-left: 10px; font: inherit; font-size: 13px; color: var(--brand-accent); text-decoration: underline; cursor: pointer; }
.size-guide-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 20, 20, 0.55); }
.size-guide-modal.open { display: flex; }
.size-guide-box { background: #fff; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; padding: 24px; border-radius: 4px; position: relative; }
.size-guide-box h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 4px; color: var(--brand-ink); }
.size-guide-box .sg-note { font-size: 13px; color: #7a6f72; margin: 0 0 14px; }
.size-guide-box .sg-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: #555; }
.size-guide-box table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 16px; }
.size-guide-box th, .size-guide-box td { border: 1px solid #eee5e0; padding: 8px; text-align: center; }
.size-guide-box th { background: var(--brand-accent-soft); color: var(--brand-ink); }
.size-guide-box h4 { font-size: 14px; margin: 10px 0 6px; color: var(--brand-accent); }

/* --- Footer --- */
.frontend-footer { background-color: var(--brand-ink); font-family: var(--font-body); }
.frontend-footer .footer-logo h2 { letter-spacing: 1px; }
.top-promo-divider { margin: 0 10px; color: #666; }
@media (max-width: 768px) { .top-promo, .top-promo-divider { display: none; } }
