/* ============================================================
   Nayaas — Marketplace Theme (Amazon + Flipkart inspired)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --fc-primary:       #2874F0;
    --fc-primary-dark:  #1a5dc8;
    --fc-primary-light: #e8f0fe;
    --fc-orange:        #FB641B;
    --fc-orange-dark:   #d9530e;
    --fc-yellow:        #FFD814;

    --fc-bg:      #F1F3F6;
    --fc-white:   #FFFFFF;
    --fc-dark:    #131921;
    --fc-dark-2:  #232F3E;
    --fc-dark-3:  #37475A;

    --fc-text:    #212121;
    --fc-text-2:  #484848;
    --fc-text-3:  #878787;

    --fc-border:      #E0E0E0;
    --fc-shadow-sm:   0 1px 2px rgba(0,0,0,.1);
    --fc-shadow:      0 2px 8px rgba(0,0,0,.12);
    --fc-shadow-md:   0 4px 16px rgba(0,0,0,.15);

    --fc-green:   #388E3C;
    --fc-red:     #FF4444;
    --fc-star:    #FF9F00;

    /* legacy compat aliases */
    --nayaas-gold:            var(--fc-primary);
    --nayaas-black:           var(--fc-dark);
    --nayaas-border:          var(--fc-border);
    --nayaas-gray-500:        var(--fc-text-3);
    --nayaas-radius:          2px;
    --nayaas-sidebar-hover:   var(--fc-primary-light);
    --nayaas-sidebar-active:  var(--fc-primary-light);
    --nayaas-transition:      0.2s ease;
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: 'Roboto', sans-serif;
    background: var(--fc-bg);
    color: var(--fc-text);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}
/* Navbar + footer backgrounds bleed full-width; content is capped at 1500px */
.fc-navbar-inner { max-width: 1280px; margin-left: auto; margin-right: auto; }
.fc-category-strip-inner { max-width: 1280px; margin-left: auto; margin-right: auto; }
.site-main { max-width: 100%; margin-left: auto; margin-right: auto; }

/* Full-width sections with constrained content */
.fc-full-width-section {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.fc-container-1500 {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* ── Storefront content wrapper (was missing) ───────────── */
.lx-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

@media (max-width: 575px) {
    .lx-inner { padding: 0 16px; }
}

a { text-decoration: none; color: var(--fc-text); }
a:hover { color: var(--fc-primary); }
img { max-width: 100%; display: block; }

/* ── Navbar ────────────────────────────────────────────────── */
.shop-navbar {
    background: var(--fc-primary);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.fc-navbar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    min-height: 56px;
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: .04em;
    white-space: nowrap;
    flex-shrink: 0;
}
.navbar-brand:hover { color: var(--fc-yellow) !important; }

/* Search */
.fc-search-form {
    flex: 1 1 0;
    max-width: 580px;
    display: flex;
    min-width: 0;
}
.fc-search-input {
    flex: 1;
    border: none;
    border-radius: 2px 0 0 2px;
    padding: 0 14px;
    height: 40px;
    font-size: .875rem;
    outline: none;
    color: var(--fc-text);
    font-family: 'Roboto', sans-serif;
}
.fc-search-input::placeholder { color: var(--fc-text-3); }
.fc-search-btn {
    background: var(--fc-orange);
    border: none;
    border-radius: 0 2px 2px 0;
    width: 48px;
    height: 40px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s;
}
.fc-search-btn:hover { background: var(--fc-orange-dark); }

/* Right actions */
.fc-nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}
.fc-nav-btn {
    background: none;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 2px;
    color: #fff;
    padding: 5px 12px;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .15s, background .15s;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Roboto', sans-serif;
}
.fc-nav-btn:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.fc-nav-link {
    color: #fff;
    font-size: .8rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 2px;
    white-space: nowrap;
    transition: background .15s;
}
.fc-nav-link:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Cart */
.cart-btn {
    position: relative;
    background: none;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 2px;
    color: #fff;
    padding: 5px 14px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: border-color .15s, background .15s;
}
.cart-btn:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.cart-btn .cart-label { font-size: .78rem; font-weight: 500; }
.cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    background: var(--fc-orange);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Category strip */
.fc-category-strip {
    background: var(--fc-dark-2);
    overflow-x: auto;
    scrollbar-width: none;
}
.fc-category-strip::-webkit-scrollbar { display: none; }
.fc-category-strip-inner {
    display: flex;
    padding: 0 8px;
    white-space: nowrap;
}
.fc-cat-link {
    color: rgba(255,255,255,.85);
    font-size: .8rem;
    font-weight: 500;
    padding: 8px 14px;
    display: block;
    border-bottom: 2px solid transparent;
    transition: border-color .15s, color .15s;
}
.fc-cat-link:hover { border-bottom-color: var(--fc-yellow); color: var(--fc-yellow); }

/* Dropdowns */
.dropdown-menu {
    border: none;
    border-radius: 2px;
    box-shadow: var(--fc-shadow-md);
    font-size: .85rem;
    min-width: 180px;
}
.dropdown-item { padding: 8px 16px; color: var(--fc-text-2); }
.dropdown-item:hover { background: var(--fc-primary-light); color: var(--fc-primary); }
.dropdown-item i { width: 18px; }
.dropdown-divider { border-color: var(--fc-border); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-gold {
    background: var(--fc-orange);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-weight: 500;
    font-size: .875rem;
    padding: .45rem 1.2rem;
    transition: background .15s, box-shadow .15s;
}
.btn-gold:hover, .btn-gold:focus {
    background: var(--fc-orange-dark);
    color: #fff;
    box-shadow: 0 2px 8px rgba(251,100,27,.35);
}
.btn-dark-nayaas {
    background: var(--fc-primary);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-weight: 500;
    font-size: .875rem;
    padding: .45rem 1.2rem;
    transition: background .15s;
}
.btn-dark-nayaas:hover, .btn-dark-nayaas:focus {
    background: var(--fc-primary-dark);
    color: #fff;
}
.btn-xs { padding: .18rem .5rem; font-size: .72rem; }
.btn-outline-secondary {
    border-color: var(--fc-border);
    color: var(--fc-text-2);
    border-radius: 2px;
}
.btn-outline-secondary:hover {
    background: var(--fc-primary-light);
    border-color: var(--fc-primary);
    color: var(--fc-primary);
}

/* ── Section headings ──────────────────────────────────────── */
.section-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fc-text);
    margin: 0;
}
.section-sub { font-size: .82rem; color: var(--fc-text-3); margin: 2px 0 0; }
.fc-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 2px solid var(--fc-primary);
    padding-bottom: 10px;
    margin-bottom: 16px;
}
.fc-section-header .section-heading { color: var(--fc-primary); }
.fc-view-all { color: var(--fc-orange); font-size: .8rem; font-weight: 600; }
.fc-view-all:hover { color: var(--fc-orange-dark); }
.fc-section-card {
    background: var(--fc-white);
    box-shadow: var(--fc-shadow-sm);
    padding: 16px;
    margin-bottom: 10px;
}
.fc-section-wrapper {
    width: 100%;
    background: var(--fc-white);
    padding: 24px 0;
}
.fc-section-wrapper-dark {
    width: 100%;
    background: var(--fc-bg);
    padding: 24px 0;
}

/* ── Product cards ─────────────────────────────────────────── */
.product-card {
    background: var(--fc-white);
    border-radius: 2px;
    overflow: hidden;
    transition: box-shadow .2s;
    cursor: pointer;
    border: none;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--fc-shadow-sm);
}
.product-card:hover { box-shadow: var(--fc-shadow-md); }
.img-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    aspect-ratio: 3/4;
}
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.product-card:hover .img-wrapper img { transform: scale(1.04); }
.sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--fc-red);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 2px;
    z-index: 2;
    text-transform: uppercase;
}
.new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--fc-green);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 2px;
    z-index: 2;
    text-transform: uppercase;
}
.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--fc-white);
    border: 1px solid var(--fc-border);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .85rem;
    z-index: 2;
    box-shadow: var(--fc-shadow-sm);
    transition: background .15s, box-shadow .15s;
}
.wishlist-btn:hover { background: #fff5f5; box-shadow: var(--fc-shadow); }
.quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--fc-primary);
    color: #fff;
    border: none;
    padding: 8px;
    font-size: .78rem;
    font-weight: 500;
    cursor: pointer;
    transform: translateY(100%);
    transition: transform .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.product-card:hover .quick-add { transform: translateY(0); }
.card-body {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.product-category {
    font-size: .68rem;
    color: var(--fc-text-3);
    text-transform: uppercase;
    letter-spacing: .03em;
}
.product-name {
    font-size: .875rem;
    font-weight: 500;
    color: var(--fc-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fc-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 2px 0;
}
.fc-stars {
    background: var(--fc-green);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.fc-rating-count { font-size: .72rem; color: var(--fc-text-3); }
.product-price { font-size: 1rem; font-weight: 700; color: var(--fc-text); }
.product-price-sale { font-size: 1rem; font-weight: 700; color: var(--fc-text); }
.product-price-original { font-size: .78rem; text-decoration: line-through; color: var(--fc-text-3); }
.fc-discount-pct { font-size: .78rem; font-weight: 600; color: var(--fc-green); }

/* ── Home Page ─────────────────────────────────────────────── */
.fc-hero {
    background: linear-gradient(120deg, var(--fc-primary) 0%, var(--fc-dark) 100%);
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.fc-hero-content {
    color: #fff;
    padding: 40px 16px;
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.fc-hero h1 { font-size: 2.2rem; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.fc-hero p { font-size: .95rem; opacity: .85; margin-bottom: 24px; max-width: 460px; }
.fc-hero-img {
    position: absolute;
    right: 0; bottom: 0;
    height: 100%; width: 45%;
    object-fit: cover;
    object-position: top center;
    opacity: .5;
}
.fc-home-cats {
    background: var(--fc-white);
    box-shadow: var(--fc-shadow-sm);
    padding: 18px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.fc-home-cats::-webkit-scrollbar { display: none; }
.fc-home-cats-inner {
    display: flex;
    justify-content: space-around;
    min-width: 560px;
    padding: 0 16px;
    gap: 8px;
}
.fc-home-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    min-width: 70px;
    text-align: center;
}
.fc-home-cat-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--fc-border);
    background: #f5f5f5;
    transition: border-color .15s, box-shadow .15s;
}
.fc-home-cat-item:hover .fc-home-cat-img { border-color: var(--fc-primary); box-shadow: 0 0 0 2px var(--fc-primary-light); }
.fc-home-cat-label { font-size: .72rem; font-weight: 500; color: var(--fc-text-2); }
.fc-promo-banner {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 24px;
}
.fc-promo-orange { background: linear-gradient(135deg, #FB641B, #d9530e); }
.fc-promo-blue   { background: linear-gradient(135deg, #2874F0, #1a5dc8); }
.fc-promo-green  { background: linear-gradient(135deg, #388E3C, #2d6e30); }
.fc-promo-dark   { background: linear-gradient(135deg, #232F3E, #131921); }
.fc-promo-banner h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.fc-promo-banner p  { font-size: .85rem; opacity: .9; margin: 0 0 12px; }

/* ── Shop / Filter ─────────────────────────────────────────── */
.fc-filter-sidebar {
    background: var(--fc-white);
    box-shadow: var(--fc-shadow-sm);
    padding: 16px;
}
.fc-filter-title {
    font-size: .85rem;
    font-weight: 700;
    color: var(--fc-text);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--fc-border);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.fc-filter-group { margin-bottom: 16px; }
.fc-filter-group-label {
    font-size: .75rem;
    font-weight: 700;
    color: var(--fc-text-2);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}
.fc-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
    font-size: .85rem;
    color: var(--fc-text-2);
    transition: color .15s;
}
.fc-filter-option:hover { color: var(--fc-primary); }
.fc-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--fc-primary-light);
    color: var(--fc-primary);
    font-size: .72rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 12px;
    cursor: pointer;
}

/* ── Qty control ───────────────────────────────────────────── */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--fc-border);
    border-radius: 2px;
    overflow: hidden;
}
.qty-btn {
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fc-text-2);
    transition: background .15s;
}
.qty-btn:hover { background: #e0e0e0; }
.qty-value {
    padding: 0 12px;
    font-size: .9rem;
    font-weight: 500;
    min-width: 36px;
    text-align: center;
    user-select: none;
}

/* ── Content Cards ─────────────────────────────────────────── */
.content-card {
    background: var(--fc-white);
    border-radius: 2px;
    box-shadow: var(--fc-shadow-sm);
    border: none;
}
.content-card-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--fc-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.content-card-header h5 {
    font-size: .9rem;
    font-weight: 600;
    margin: 0;
    color: var(--fc-text);
}
.content-card-body { padding: 18px; }

/* ── Tables ────────────────────────────────────────────────── */
.nayaas-table { font-size: .85rem; width: 100%; }
.nayaas-table thead th {
    background: #f8f9fa;
    font-weight: 600;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--fc-text-3);
    padding: 10px 14px;
    border-bottom: 2px solid var(--fc-border);
    border-top: none;
    white-space: nowrap;
}
.nayaas-table tbody td {
    padding: 12px 14px;
    vertical-align: middle;
    border-bottom: 1px solid var(--fc-border);
    color: var(--fc-text-2);
}
.nayaas-table tbody tr:hover { background: #fafbff; }
.nayaas-table tbody tr:last-child td { border-bottom: none; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-label-nayaas {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--fc-text-3);
    display: block;
    margin-bottom: 5px;
}
.form-control, .form-select {
    border: 1px solid var(--fc-border);
    border-radius: 2px;
    font-size: .875rem;
    color: var(--fc-text);
    padding: 8px 12px;
    font-family: 'Roboto', sans-serif;
}
.form-control:focus, .form-select:focus {
    border-color: var(--fc-primary);
    box-shadow: 0 0 0 2px rgba(40,116,240,.12);
}

/* ── Badges / Status ───────────────────────────────────────── */
.badge-status {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 2px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.badge-pending    { background: #fff8e1; color: #F57F17; }
.badge-confirmed  { background: #e8f5e9; color: var(--fc-green); }
.badge-processing { background: #e3f2fd; color: var(--fc-primary); }
.badge-shipped    { background: #f3e5f5; color: #7B1FA2; }
.badge-delivered  { background: #e8f5e9; color: var(--fc-green); }
.badge-cancelled  { background: #ffebee; color: var(--fc-red); }
.badge-refunded   { background: #fce4ec; color: #C2185B; }

/* ── Cart drawer ───────────────────────────────────────────── */
.cart-drawer {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    visibility: hidden;
}
.cart-drawer--open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
}
.cart-item-img {
    width: 64px;
    height: 80px;
    object-fit: cover;
    border-radius: 2px;
    background: #f5f5f5;
}
.cart-item-name   { font-size: .85rem; font-weight: 500; color: var(--fc-text); }
.cart-item-variant { font-size: .75rem; color: var(--fc-text-3); }
.cart-item-price  { font-size: .9rem; font-weight: 600; color: var(--fc-primary); }
.truncate-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Footer ────────────────────────────────────────────────── */
.shop-footer {
    background: var(--fc-dark);
    color: #ddd;
    padding: 40px 0 0;
    margin-top: 24px;
}
.footer-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--fc-yellow);
    letter-spacing: .04em;
    margin-bottom: 10px;
}
.footer-heading {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fc-yellow);
    margin-bottom: 14px;
}
.shop-footer a { display: block; color: #ccc; font-size: .82rem; margin-bottom: 8px; transition: color .15s; }
.shop-footer a:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 28px 0 0; }
.footer-bottom-bar { background: var(--fc-dark-2); padding: 14px 0; }
.footer-copyright { font-size: .78rem; color: #888; margin: 0; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: .9rem;
    transition: background .15s;
    margin: 0;
}
.social-links a:hover { background: var(--fc-primary); color: #fff; }

/* ── Auth ──────────────────────────────────────────────────── */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    background: var(--fc-bg);
}
.auth-brand-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.auth-brand-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}
.auth-brand-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #fff;
    min-height: 100vh;
}
.auth-form-inner {
    width: 100%;
    max-width: 400px;
}
.auth-form-inner h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--fc-dark);
    margin-bottom: 4px;
}
.auth-form-inner p {
    color: var(--fc-text-3);
    font-size: 0.9rem;
}
.form-control-nayaas {
    border: 1px solid var(--fc-border);
    border-radius: 2px;
    font-size: 0.9rem;
    padding: 10px 14px;
    background: #f9f9f9;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-control-nayaas:focus {
    border-color: var(--fc-primary);
    box-shadow: 0 0 0 3px rgba(40,116,240,.08);
    background: #fff;
}
.text-gold { color: var(--fc-primary) !important; }
.text-gold:hover { color: var(--fc-primary-dark) !important; }

@media (max-width: 991.98px) {
    .auth-brand-panel { display: none; }
    .auth-form-panel { padding: 60px 20px; }
    .auth-form-inner { max-width: 380px; }
}

/* ── Admin / Seller Sidebar ────────────────────────────────── */
.panel-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f4f6f9;
}
.nayaas-sidebar {
    width: 240px;
    background: var(--fc-dark);
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 200;
    transition: transform .3s ease;
}
.nayaas-sidebar::-webkit-scrollbar { width: 4px; }
.nayaas-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); }
.sidebar-logo {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 8px;
}
.brand-name { font-size: 1.3rem; font-weight: 700; color: var(--fc-yellow); display: block; }
.brand-sub { font-size: .62rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .1em; }
.sidebar-nav { padding: 0 10px 20px; flex: 1; }
.sidebar-section-label {
    display: block;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.3);
    padding: 16px 10px 5px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 4px;
    color: rgba(255,255,255,.72);
    font-size: .84rem;
    font-weight: 500;
    transition: background .15s, color .15s;
    margin-bottom: 2px;
    cursor: pointer;
}
.sidebar-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar-link.active { background: var(--fc-primary); color: #fff; }
.sidebar-link i { font-size: .9rem; width: 18px; text-align: center; }
.sidebar-link.sub-link {
    font-size: .78rem;
    padding: 6px 12px;
    margin-bottom: 1px;
}
.panel-main { margin-left: 240px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.panel-topbar {
    background: var(--fc-white);
    border-bottom: 1px solid var(--fc-border);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--fc-shadow-sm);
}
.topbar-title { font-size: 1rem; font-weight: 600; color: var(--fc-text); }
.panel-content { padding: 24px; flex: 1; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 199; }
.sidebar-overlay.open { display: block; }

/* Stat cards */
.stat-card {
    background: var(--fc-white);
    border-radius: 4px;
    padding: 20px;
    box-shadow: var(--fc-shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 4px solid var(--fc-primary);
    transition: box-shadow .2s;
}
.stat-card:hover { box-shadow: var(--fc-shadow); }
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--fc-primary-light);
    color: var(--fc-primary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stat-value { font-size: 1.6rem; font-weight: 700; color: var(--fc-text); line-height: 1; }
.stat-label { font-size: .72rem; color: var(--fc-text-3); margin-top: 3px; text-transform: uppercase; letter-spacing: .04em; }
.stat-change { font-size: .78rem; font-weight: 600; }
.stat-change.up { color: var(--fc-green); }
.stat-change.down { color: var(--fc-red); }

/* Toggle */
.fc-toggle {
    appearance: none;
    -webkit-appearance: none;
    width: 40px;
    height: 22px;
    background: #ccc;
    border-radius: 11px;
    cursor: pointer;
    transition: background .2s;
    position: relative;
    outline: none;
    border: none;
}
.fc-toggle::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: left .2s;
}
.fc-toggle:checked { background: var(--fc-primary); }
.fc-toggle:checked::after { left: 21px; }

/* ── Account sidebar ───────────────────────────────────────── */
.account-sidebar {
    background: var(--fc-white);
    border-radius: 2px;
    box-shadow: var(--fc-shadow-sm);
    overflow: hidden;
}
.account-sidebar-header {
    background: var(--fc-primary);
    color: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.account-avatar {
    width: 42px; height: 42px;
    background: rgba(255,255,255,.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.account-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: .85rem;
    color: var(--fc-text-2);
    border-bottom: 1px solid var(--fc-border);
    transition: background .15s, color .15s;
}
.account-sidebar a:last-child { border-bottom: none; }
.account-sidebar a:hover, .account-sidebar a.active {
    background: var(--fc-primary-light);
    color: var(--fc-primary);
}
.account-sidebar a i { width: 18px; color: var(--fc-primary); }

/* ── Toasts ────────────────────────────────────────────────── */
.toast-container-nayaas {
    position: fixed;
    top: 70px; right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.nayaas-toast {
    background: var(--fc-dark-2);
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--fc-shadow-md);
    pointer-events: auto;
    min-width: 250px;
    animation: slideInToast .3s ease;
    border-left: 3px solid var(--fc-green);
}
.nayaas-toast.error  { border-left-color: var(--fc-red); }
.nayaas-toast.info   { border-left-color: var(--fc-primary); }
@keyframes slideInToast {
    from { transform: translateX(110%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .nayaas-sidebar { transform: translateX(-100%); }
    .nayaas-sidebar.open { transform: translateX(0); }
    .panel-main { margin-left: 0; }
    .fc-navbar-inner { flex-wrap: wrap; }
    .fc-search-form { order: 3; flex: 0 0 100%; max-width: 100%; }
    .fc-hero h1 { font-size: 1.6rem; }
}
@media (max-width: 575.98px) {
    .panel-content { padding: 12px; }
    .stat-card { padding: 14px; }
    .stat-value { font-size: 1.3rem; }
}

/* ── Legacy hero (home page) ───────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(120deg, var(--fc-primary), var(--fc-dark));
    width: 100%;
}
.hero-bg {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: .28;
}
.hero-content {
    color: #fff;
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}
.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: var(--fc-yellow);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 12px;
}
.hero-content h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.15; margin-bottom: 12px; }
.hero-content em { color: var(--fc-yellow); font-style: normal; }
.hero-sub { font-size: .95rem; opacity: .82; margin-bottom: 28px; max-width: 460px; }

/* Category cards */
.category-card {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    background: #eee;
    cursor: pointer;
    box-shadow: var(--fc-shadow-sm);
    transition: box-shadow .2s;
}
.category-card:hover { box-shadow: var(--fc-shadow-md); }
.category-card img { width: 100%; height: 100%; object-fit: cover; }
.category-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
    display: flex; align-items: flex-end; padding: 14px;
}
.category-name { color: #fff; font-weight: 700; font-size: .9rem; }

/* Misc */
.divider-gold {
    border: none;
    height: 2px;
    background: linear-gradient(to right, var(--fc-primary), transparent);
    margin: 1.5rem 0;
}
/* ── Amazon-style Home Page ────────────────────────────────── */

/* Hero Carousel */
.amz-carousel { position:relative; }
.amz-carousel .carousel-item img { width:100%; max-height:460px; object-fit:cover; object-position:top center; }
.amz-carousel .carousel-caption-left {
    position:absolute; top:50%; left:5%; transform:translateY(-50%);
    background:rgba(255,255,255,.92); padding:20px 24px;
    border-radius:4px; max-width:280px; text-align:left;
}
.amz-carousel .carousel-caption-left h2 { font-size:1.2rem; font-weight:700; color:var(--fc-text); margin-bottom:8px; }
.amz-carousel .carousel-caption-left p  { font-size:.8rem; color:var(--fc-text-2); margin-bottom:12px; }
.carousel-control-prev, .carousel-control-next {
    width:40px; background:rgba(255,255,255,.7); opacity:.9;
    border-radius:2px; top:50%; transform:translateY(-50%);
    height:60px; margin:auto 0;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    filter:invert(1) sepia(1) saturate(0) brightness(.4);
}

/* Top panel boxes (like Amazon's 4-box widgets) */
.amz-panel {
    background:var(--fc-white);
    box-shadow:var(--fc-shadow-sm);
    padding:14px 14px 8px;
    height:100%;
    display:flex;
    flex-direction:column;
}
.amz-panel-title {
    font-size:.95rem;
    font-weight:700;
    color:var(--fc-text);
    margin-bottom:10px;
}
.amz-panel-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4px;
    flex:1;
}
.amz-panel-grid a img {
    width:100%; aspect-ratio:1/1; object-fit:cover;
    transition:opacity .15s;
}
.amz-panel-grid a:hover img { opacity:.85; }
.amz-panel-grid-label {
    font-size:.72rem; color:var(--fc-text-2);
    text-align:center; padding:4px 2px 2px;
    line-height:1.2;
}
.amz-see-more {
    display:block; font-size:.78rem; color:var(--fc-primary);
    margin-top:10px; padding-top:8px;
    border-top:1px solid var(--fc-border);
}
.amz-see-more:hover { color:var(--fc-primary-dark); text-decoration:underline; }

/* Horizontal scroll product row */
.amz-scroll-row {
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding-bottom:8px;
    scrollbar-width:thin;
    scrollbar-color:var(--fc-border) transparent;
}
.amz-scroll-row::-webkit-scrollbar { height:4px; }
.amz-scroll-row::-webkit-scrollbar-thumb { background:var(--fc-border); border-radius:2px; }
.amz-scroll-item {
    flex:0 0 160px;
    min-width:160px;
    background:var(--fc-white);
    border:1px solid var(--fc-border);
    border-radius:2px;
    overflow:hidden;
    transition:box-shadow .15s;
}
.amz-scroll-item:hover { box-shadow:var(--fc-shadow); }
.amz-scroll-item img { width:100%; aspect-ratio:1/1; object-fit:cover; }
.amz-scroll-item-body { padding:6px 8px 8px; }
.amz-scroll-item-name { font-size:.75rem; font-weight:500; color:var(--fc-text); line-height:1.3;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.amz-scroll-item-price { font-size:.82rem; font-weight:700; color:var(--fc-text); margin-top:3px; }
.amz-scroll-item-orig  { font-size:.72rem; text-decoration:line-through; color:var(--fc-text-3); }
.amz-scroll-item-off   { font-size:.72rem; color:var(--fc-red); font-weight:600; }

/* Deal countdown */
.amz-deal-badge {
    display:inline-flex; align-items:center; gap:6px;
    background:var(--fc-orange); color:#fff;
    font-size:.7rem; font-weight:700; padding:3px 10px;
    border-radius:2px; margin-bottom:10px;
    text-transform:uppercase; letter-spacing:.06em;
}
.amz-countdown { display:inline-flex; align-items:center; gap:3px; }
.amz-count-seg {
    background:rgba(255,255,255,.25); border-radius:2px;
    padding:1px 5px; font-size:.75rem; font-weight:700;
    min-width:24px; text-align:center;
}

/* Section wrapper */
.amz-section {
    background:var(--fc-white);
    box-shadow:var(--fc-shadow-sm);
    padding:14px 16px;
    margin-bottom:10px;
}
.amz-section-header {
    display:flex; align-items:baseline;
    justify-content:space-between;
    margin-bottom:12px;
}
.amz-section-title { font-size:1rem; font-weight:700; color:var(--fc-text); margin:0; }
.amz-section-sub   { font-size:.78rem; color:var(--fc-text-3); margin:0; }
.amz-section-link  { font-size:.78rem; color:var(--fc-primary); white-space:nowrap; }
.amz-section-link:hover { text-decoration:underline; color:var(--fc-primary-dark); }

/* Full-width promo strip */
.amz-promo-strip {
    padding:20px 0;
    display:flex; align-items:center;
    position:relative; overflow:hidden;
    color:#fff;
    width:100%;
}
.amz-promo-strip .container,
.amz-promo-strip .fc-container-1500 { position:relative; z-index:2; }

/* Category image box (2-col or 3-col browsing) */
.amz-cat-browse {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:4px;
}
.amz-cat-browse a { position:relative; display:block; overflow:hidden; }
.amz-cat-browse a img { width:100%; aspect-ratio:3/4; object-fit:cover; transition:transform .3s; }
.amz-cat-browse a:hover img { transform:scale(1.03); }
.amz-cat-browse-label {
    position:absolute; bottom:0; left:0; right:0;
    background:linear-gradient(to top,rgba(0,0,0,.7),transparent);
    color:#fff; font-size:.78rem; font-weight:600;
    padding:10px 10px 8px; text-align:center;
}

[x-cloak] { display: none !important; }
/* Custom Spacing & Typography */
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-6 { margin-bottom: 5rem; }

/* Product Image Hover Effect */
.transition-transform {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .transition-transform {
    transform: scale(1.05);
}

/* Gradient Overlay for Categories */
.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

/* Button Styling */
.btn-dark {
    background-color: #111;
    border: none;
}
.btn-outline-light {
    border-width: 2px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Clean Product Cards (Update your component logic) */
.product-card {
    border: none !important;
    transition: all 0.3s ease;
}
.product-card:hover {
    opacity: 0.8;
}

/* ── Utilities ─────────────────────────────────────────────── */
.fw-500 { font-weight: 500 !important; }
.badge-draft { background:#f0f0f0;color:#888; }

/* ── List View ─────────────────────────────────────────────── */
.list-view .product-card {
    flex-direction: row;
    height: auto;
}
.list-view .img-wrapper {
    width: 200px;
    min-width: 200px;
    aspect-ratio: 1;
}
.list-view .card-body {
    flex-direction: column;
    justify-content: center;
    padding: 16px;
}
.list-view .product-name {
    -webkit-line-clamp: 3;
}

@media (max-width: 767.98px) {
    .list-view .product-card {
        flex-direction: column;
    }
    .list-view .img-wrapper {
        width: 100%;
        min-width: 100%;
        aspect-ratio: 3/4;
    }
}

/* ── Storefront Header (lx-) ───────────────────────────── */
.lx-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.lx-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    /*padding: 0 24px;*/
    height: 70px;
    gap: 16px;
}
.lx-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.lx-logo img {
    max-height: 140px;
    width: auto;
}
.lx-nav {
    flex: 1;
    justify-content: center;
    gap: 24px;
}
.lx-nav-link {
    font-size: .78rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
    transition: color .2s;
}
.lx-nav-link:hover {
    color: var(--nayaas-gold, #C9A050);
}
.lx-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.lx-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #333;
    font-size: 1.15rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s, color .2s;
    text-decoration: none;
}
.lx-icon-btn:hover {
    background: #f5f0eb;
    color: var(--nayaas-gold, #C9A050);
}
.lx-cart-icon {
    position: relative;
}
.lx-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #B33A3A;
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
}
.lx-dropdown {
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    padding: 8px 0;
    min-width: 200px;
}
.lx-dropdown .dropdown-item {
    font-size: .82rem;
    padding: 8px 18px;
    transition: background .15s;
}

/* Search slide-down */
.lx-search-drop {
    background: #fff;
    border-bottom: 1px solid #eee;
}
.lx-search-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 16px 24px;
}
.lx-search-form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.lx-search-icon-prefix {
    padding: 0 12px;
    color: #999;
    font-size: 1rem;
}
.lx-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: .88rem;
    background: transparent;
}
.lx-search-close {
    border: none;
    background: transparent;
    padding: 0 14px;
    color: #999;
    font-size: .8rem;
    cursor: pointer;
}

/* Mobile menu */
.lx-mobile-menu {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}
.lx-mobile-link {
    display: block;
    padding: 12px 24px;
    font-size: .85rem;
    color: #333;
    text-decoration: none;
    transition: background .15s;
}
.lx-mobile-link:hover {
    background: #f9f6f2;
}

/* ── Storefront Footer (lx-) ───────────────────────────── */
.lx-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 24px 24px;
    margin-top: 60px;
}
.lx-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.lx-footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
}
.lx-footer-logo:hover { color: var(--nayaas-gold, #C9A050); }
.lx-footer-desc {
    font-size: .82rem;
    color: #999;
    line-height: 1.6;
    max-width: 280px;
}
.lx-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.lx-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #444;
    border-radius: 50%;
    color: #999;
    text-decoration: none;
    font-size: .9rem;
    transition: all .2s;
}
.lx-footer-social:hover {
    border-color: var(--nayaas-gold, #C9A050);
    color: var(--nayaas-gold, #C9A050);
}
.lx-footer-heading {
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.lx-footer-link {
    display: block;
    font-size: .82rem;
    color: #999;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color .2s;
}
.lx-footer-link:hover { color: #fff; }
.lx-footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lx-footer-contact i {
    width: 16px;
    color: var(--nayaas-gold, #C9A050);
}
.lx-footer-contact .lx-footer-link { margin-bottom: 0; }
.lx-nl-wrap {
    display: flex;
    border: 1px solid #444;
    border-radius: 4px;
    overflow: hidden;
}
.lx-nl-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: .82rem;
    background: transparent;
    color: #ccc;
}
.lx-nl-input::placeholder { color: #666; }
.lx-nl-btn {
    border: none;
    background: var(--nayaas-gold, #C9A050);
    color: #fff;
    padding: 0 18px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .03em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity .2s;
}
.lx-nl-btn:hover { opacity: .85; }
.lx-footer-divider {
    border-color: #333;
    margin: 32px 0 20px;
}
.lx-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.lx-footer-copy {
    font-size: .75rem;
    color: #666;
    margin: 0;
}
