/* ===== TALLXY — A Different Kind of Store ===== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Amiri:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --bg: #f6f2ed;
    --bg-warm: #efe9e0;
    --bg-card: #fdfbf8;
    --text: #1c1915;
    --text-soft: #5c554c;
    --text-muted: #9b9188;
    --accent: #a67c52;
    --accent-dark: #7d5e3e;
    --accent-glow: #c9a97c;
    --gold: #b8943f;
    --gold-soft: #d4bc7c;
    --border: #e2dbd1;
    --border-light: #ece7df;
    --white: #fff;
    --black: #1c1915;
    --danger: #b85c5c;
    --success: #5a8a6a;

    --font-display: 'Cormorant Garamond', 'Amiri', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-arabic: 'Amiri', serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);

    --radius: 6px;
    --radius-lg: 12px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 64px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select {
    font-family: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.icon-sm {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

/* ========================================
   ARABIC GEOMETRIC PATTERN (CSS only)
   ======================================== */
.arabesque {
    position: relative;
    overflow: hidden;
}

.arabesque::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-conic-gradient(from 0deg at 50% 50%,
            var(--gold) 0deg 30deg,
            transparent 30deg 60deg);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Small decorative diamond */
.diamond {
    width: 8px;
    height: 8px;
    background: var(--gold-soft);
    transform: rotate(45deg);
    display: inline-block;
    opacity: 0.6;
}

/* ========================================
   TOP BAR
   ======================================== */
.topbar {
    background: var(--black);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.topbar .ar {
    font-family: var(--font-arabic);
    font-size: 13px;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
    color: var(--gold-soft);
    margin: 0 16px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    height: var(--header-h);
    background: rgba(246, 242, 237, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text);
    position: relative;
}

.logo small {
    display: block;
    font-family: var(--font-arabic);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent);
    text-align: center;
    margin-top: -4px;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav>li {
    position: relative;
}

.nav>li>a {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s var(--ease);
}

.nav>li>a:hover {
    color: var(--accent-dark);
}

.nav>li>a .nav-arrow {
    opacity: 0.4;
    transition: transform 0.2s var(--ease);
}

.nav>li:hover>a .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
    z-index: 200;
}

.nav>li:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: block;
    padding: 8px 20px;
    font-size: 12px;
    color: var(--text-soft);
    transition: all 0.15s var(--ease);
}

.dropdown a:hover {
    background: var(--bg);
    color: var(--accent-dark);
    padding-left: 24px;
}

.dropdown .sep {
    height: 1px;
    background: var(--border-light);
    margin: 4px 0;
}

/* Header Actions */
.h-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.h-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-soft);
    transition: all 0.2s var(--ease);
    position: relative;
}

.h-btn:hover {
    background: var(--bg-warm);
    color: var(--accent-dark);
}

.cart-count {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 15px;
    height: 15px;
    background: var(--accent);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count.bump {
    animation: bump 0.3s var(--ease);
}

@keyframes bump {
    50% {
        transform: scale(1.35);
    }
}

/* Mobile toggle */
.mob-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mob-toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--text);
}

/* ========================================
   SEARCH OVERLAY
   ======================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 21, 0.5);
    z-index: 500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-box {
    width: 100%;
    max-width: 560px;
    background: var(--white);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 12px;
    transform: translateY(-16px);
    transition: transform 0.25s var(--ease);
}

.search-overlay.active .search-box {
    transform: translateY(0);
}

.search-box .icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    padding: 18px 0;
    font-size: 15px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold-soft));
}

.hero-arabic {
    font-family: var(--font-arabic);
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 2px;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto 20px;
}

.hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.hero-sub {
    font-size: 15px;
    color: var(--text-soft);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-line {
    width: 40px;
    height: 1px;
    background: var(--gold-soft);
    margin: 0 auto 36px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.25s var(--ease);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-soft);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    color: var(--accent);
    padding: 8px 0;
}

.btn-ghost:hover {
    color: var(--accent-dark);
    gap: 12px;
}

/* ========================================
   CATEGORY TILES
   ======================================== */
.section {
    padding: 60px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 24px;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.2;
}

.section-head h2 .ar-sub {
    display: block;
    font-family: var(--font-arabic);
    font-size: 16px;
    color: var(--gold);
    margin-top: 4px;
    font-weight: 400;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.cat-tile {
    aspect-ratio: 3/4;
    background: var(--bg-warm);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 20px;
    transition: all 0.35s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
}

.cat-tile:hover {
    background: var(--bg-card);
    border-color: var(--border);
}

.cat-tile .tile-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.3s var(--ease);
}

.cat-tile:hover .tile-icon {
    opacity: 1;
}

.cat-tile .tile-ar {
    font-family: var(--font-arabic);
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 8px;
    opacity: 0.5;
    transition: opacity 0.3s var(--ease);
}

.cat-tile:hover .tile-ar {
    opacity: 0.8;
}

.cat-tile h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 6px;
}

.cat-tile span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

/* ========================================
   EDITORIAL STRIP
   ======================================== */
.editorial {
    padding: 80px 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.editorial::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        repeating-conic-gradient(from 0deg at 50% 50%,
            var(--gold) 0deg 30deg,
            transparent 30deg 60deg);
    background-size: 80px 80px;
    pointer-events: none;
}

.editorial .ar-big {
    font-family: var(--font-arabic);
    font-size: 48px;
    color: var(--gold);
    opacity: 0.25;
    margin-bottom: 20px;
    display: block;
    line-height: 1;
}

.editorial h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 12px;
    position: relative;
}

.editorial p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 420px;
    margin: 0 auto 32px;
    line-height: 1.7;
    position: relative;
}

/* ========================================
   FEATURES
   ======================================== */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid var(--border);
}

.feature:last-child {
    border-right: none;
}

.feature .f-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    color: var(--accent);
    opacity: 0.7;
}

.feature h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.feature p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-warm);
    position: relative;
}

.newsletter .ar-title {
    font-family: var(--font-arabic);
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.newsletter h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 8px;
}

.newsletter p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.nl-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid var(--border);
    background: var(--white);
}

.nl-form input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    outline: none;
    font-size: 13px;
    background: transparent;
}

.nl-form button {
    padding: 14px 24px;
    background: var(--black);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s var(--ease);
}

.nl-form button:hover {
    background: var(--accent-dark);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 12px;
    display: inline-block;
    font-size: 24px;
}

.footer-brand p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 260px;
}

.footer-brand .socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.footer-brand .socials a {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s var(--ease);
}

.footer-brand .socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.2s var(--ease);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

.footer-bottom .pay {
    display: flex;
    gap: 8px;
    opacity: 0.4;
}

/* ========================================
   CATEGORY PAGE
   ======================================== */
.page-head {
    padding: 36px 0 28px;
    border-bottom: 1px solid var(--border);
}

.crumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.crumbs a {
    color: var(--text-muted);
}

.crumbs a:hover {
    color: var(--accent);
}

.crumbs .sep {
    opacity: 0.3;
}

.page-head h1 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 400;
}

.page-head h1 .ar-inline {
    font-family: var(--font-arabic);
    font-size: 18px;
    color: var(--gold);
    margin-left: 12px;
    font-weight: 400;
}

.page-head .count {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Layout */
.cat-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    min-height: 60vh;
}

/* Sidebar */
.sidebar {
    border-right: 1px solid var(--border);
    padding: 28px 24px 28px 0;
}

.filter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.filter-top h2 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.clear-btn {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s var(--ease);
}

.clear-btn:hover {
    color: var(--accent-dark);
}

.f-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.f-group:last-child {
    border-bottom: none;
}

.f-group h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.f-group h3 .tog {
    opacity: 0.4;
    transition: transform 0.2s;
}

.f-group.collapsed h3 .tog {
    transform: rotate(-90deg);
}

.f-group.collapsed .f-opts {
    display: none;
}

.f-opts label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 12px;
    color: var(--text-soft);
    cursor: pointer;
    transition: color 0.15s;
}

.f-opts label:hover {
    color: var(--text);
}

.f-opts input[type="checkbox"] {
    appearance: none;
    width: 15px;
    height: 15px;
    border: 1.5px solid var(--border);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    flex-shrink: 0;
}

.f-opts input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.f-opts input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 7px;
    border: solid var(--white);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.c-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s;
}

.c-swatch:hover,
.c-swatch.active {
    border-color: var(--text);
    transform: scale(1.1);
}

.c-swatch.gold {
    background: linear-gradient(135deg, #c5a46c, #e2d0a8);
}

.c-swatch.silver {
    background: linear-gradient(135deg, #a8a8a8, #d4d4d4);
}

.c-swatch.rose-gold {
    background: linear-gradient(135deg, #c29686, #e0c4b6);
}

.c-swatch.sw-black {
    background: #2a2a2a;
}

.c-swatch.sw-white {
    background: #f0f0f0;
    border: 1px solid var(--border);
}

.c-swatch.sw-pearl {
    background: linear-gradient(135deg, #f0ebe4, #fdf8f2);
    border: 1px solid var(--border);
}

.price-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.price-inputs input {
    flex: 1;
    padding: 7px 10px;
    border: 1px solid var(--border);
    font-size: 12px;
    outline: none;
    background: var(--white);
    color: var(--text);
    transition: border-color 0.15s;
}

.price-inputs input:focus {
    border-color: var(--accent);
}

.price-inputs span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Sort bar */
.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 14px 28px;
    border-bottom: 1px solid var(--border-light);
    font-size: 12px;
    color: var(--text-muted);
}

.sort-r {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-r select {
    padding: 7px 28px 7px 10px;
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--text);
    background: var(--white);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b9188' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    cursor: pointer;
}

.view-tog {
    display: flex;
    gap: 2px;
}

.view-tog button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.15s;
}

.view-tog button.active {
    background: var(--bg-warm);
    color: var(--text);
}

/* Products area */
.products-area {
    padding: 0 0 0 28px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 0;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

/* ========================================
   PRODUCT CARD — No images, elegant placeholder
   ======================================== */
.p-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.p-card:hover {
    border-color: var(--border);
    background: var(--white);
}

.p-card-visual {
    aspect-ratio: 1;
    background: var(--bg-warm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background 0.3s var(--ease);
}

.p-card:hover .p-card-visual {
    background: var(--bg);
}

/* Arabic geometric pattern in each card */
.p-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image:
        repeating-conic-gradient(from 0deg at 50% 50%,
            var(--gold) 0deg 30deg,
            transparent 30deg 60deg);
    background-size: 40px 40px;
    transition: opacity 0.3s var(--ease);
}

.p-card:hover .p-card-visual::before {
    opacity: 0.04;
}

.p-card-visual .card-ar {
    font-family: var(--font-arabic);
    font-size: 28px;
    color: var(--gold);
    opacity: 0.15;
    margin-bottom: 8px;
    transition: opacity 0.3s var(--ease);
}

.p-card:hover .p-card-visual .card-ar {
    opacity: 0.25;
}

.p-card-visual .coming {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Badges */
.p-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
}

.p-badge.new {
    background: var(--black);
    color: var(--white);
}

.p-badge.sale {
    background: var(--danger);
    color: var(--white);
}

.p-badge.best {
    background: var(--gold);
    color: var(--white);
}

/* Hover actions */
.p-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.25s var(--ease);
}

.p-card:hover .p-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.p-act-btn {
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--text-soft);
    transition: all 0.15s;
}

.p-act-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.p-act-btn.wishlisted {
    color: var(--danger);
}

.p-act-btn.wishlisted svg {
    fill: var(--danger);
}

/* Add to bag slide-up */
.p-card-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    transform: translateY(100%);
    transition: transform 0.25s var(--ease);
}

.p-card:hover .p-card-add {
    transform: translateY(0);
}

.p-card-add button {
    width: 100%;
    padding: 9px;
    background: var(--black);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s;
}

.p-card-add button:hover {
    background: var(--accent-dark);
}

/* Card info */
.p-card-info {
    padding: 14px 16px 16px;
}

.p-card-info .p-cat {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.p-card-info h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 6px;
}

.p-card-info .p-price {
    display: flex;
    align-items: center;
    gap: 6px;
}

.p-card-info .price-now {
    font-size: 15px;
    font-weight: 600;
}

.p-card-info .price-was {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.p-card-info .p-colors {
    display: flex;
    gap: 3px;
    margin-top: 6px;
}

.p-card-info .p-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.p-card-info .p-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.p-card-info .p-stars {
    color: var(--gold);
    font-size: 11px;
}

.p-card-info .p-soon,
.p-soon {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
}

.empty-state .e-icon {
    width: 60px;
    height: 60px;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ========================================
   CART DRAWER
   ======================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 21, 0.5);
    z-index: 599;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 600;
    transition: right 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.cart-head h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
}

.close-x {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text);
    transition: background 0.15s;
}

.close-x:hover {
    background: var(--bg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-muted);
}

.cart-empty .icon {
    width: 40px;
    height: 40px;
    opacity: 0.25;
    margin-bottom: 12px;
}

.cart-empty p {
    font-size: 13px;
    margin-bottom: 14px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-item-thumb {
    width: 60px;
    height: 60px;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-thumb .icon {
    color: var(--text-muted);
    opacity: 0.3;
}

.ci-info {
    flex: 1;
}

.ci-info h4 {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 2px;
    line-height: 1.3;
}

.ci-info .ci-meta {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.ci-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ci-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    overflow: hidden;
}

.ci-qty button {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-soft);
    transition: background 0.15s;
}

.ci-qty button:hover {
    background: var(--bg);
}

.ci-qty span {
    width: 28px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
}

.ci-price {
    font-size: 13px;
    font-weight: 600;
}

.ci-remove {
    color: var(--text-muted);
    padding: 3px;
    transition: color 0.15s;
}

.ci-remove:hover {
    color: var(--danger);
}

.cart-foot {
    border-top: 1px solid var(--border);
    padding: 16px 20px;
}

.cart-sub {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 13px;
}

.cart-sub .amt {
    font-weight: 700;
    font-size: 17px;
}

.cart-checkout {
    width: 100%;
    padding: 13px;
    background: var(--black);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.cart-checkout:hover {
    background: var(--accent-dark);
}

.cart-continue {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: underline;
}

/* ========================================
   QUICK VIEW MODAL
   ======================================== */
.qv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 21, 0.5);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
    padding: 24px;
}

.qv-overlay.open {
    opacity: 1;
    visibility: visible;
}

.qv-modal {
    background: var(--white);
    max-width: 740px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    transform: scale(0.96);
    transition: transform 0.25s var(--ease);
    position: relative;
}

.qv-overlay.open .qv-modal {
    transform: scale(1);
}

.qv-visual {
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    min-height: 360px;
}

.qv-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-conic-gradient(from 0deg at 50% 50%, var(--gold) 0deg 30deg, transparent 30deg 60deg);
    background-size: 50px 50px;
}

.qv-visual .qv-ar {
    font-family: var(--font-arabic);
    font-size: 36px;
    color: var(--gold);
    opacity: 0.2;
    position: relative;
}

.qv-info {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
}

.qv-info .p-cat {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.qv-info h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.qv-info .p-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.qv-info .price-now {
    font-size: 20px;
    font-weight: 700;
}

.qv-info .price-was {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.qv-info .qv-desc {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.qv-actions {
    display: flex;
    gap: 8px;
}

.qv-actions .btn {
    flex: 1;
    justify-content: center;
}

.qv-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--text);
    z-index: 10;
    transition: background 0.15s;
}

.qv-close:hover {
    background: var(--bg);
}

/* ========================================
   TOAST
   ======================================== */
.toast-wrap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 700;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.toast {
    background: var(--black);
    color: var(--white);
    padding: 12px 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s var(--ease) forwards;
    max-width: 320px;
}

.toast.out {
    animation: toastOut 0.3s var(--ease) forwards;
}

.toast .icon {
    flex-shrink: 0;
    color: var(--success);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* ========================================
   MOBILE SIDEBAR
   ======================================== */
.mob-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    z-index: 600;
    transition: left 0.3s var(--ease);
    overflow-y: auto;
    padding: 20px;
}

.mob-sidebar.open {
    left: 0;
}

.mob-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 21, 0.5);
    z-index: 599;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
}

.mob-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mob-sidebar .close-x {
    position: absolute;
    top: 14px;
    right: 14px;
}

.mob-sidebar .mob-nav {
    margin-top: 44px;
}

.mob-sidebar .mob-nav li {
    border-bottom: 1px solid var(--border-light);
}

.mob-sidebar .mob-nav>li>a {
    display: block;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 500;
}

.mob-sidebar .mob-sub {
    padding-left: 14px;
}

.mob-sidebar .mob-sub a {
    font-size: 12px;
    color: var(--text-soft);
    padding: 8px 0;
    display: block;
}

/* Mobile filter btn */
.mob-filter-btn {
    display: none !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-layout {
        grid-template-columns: 200px 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mob-toggle {
        display: flex;
    }

    .mob-filter-btn {
        display: inline-flex !important;
    }

    .hero {
        padding: 70px 0 50px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-arabic {
        font-size: 20px;
    }

    .cat-grid {
        gap: 1px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
    }

    .features .feature {
        border-bottom: 1px solid var(--border);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cat-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
        border-right: none;
        padding: 20px 0;
        border-bottom: 1px solid var(--border);
    }

    .sidebar.mob-show {
        display: block;
    }

    .products-area {
        padding: 0;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nl-form {
        flex-direction: column;
        border: none;
        gap: 6px;
    }

    .nl-form input {
        border: 1px solid var(--border);
        padding: 13px 14px;
    }

    .nl-form button {
        padding: 13px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .logo {
        font-size: 26px;
        letter-spacing: 4px;
    }

    .qv-modal {
        grid-template-columns: 1fr;
    }

    .qv-visual {
        min-height: 200px;
    }

    .cart-drawer {
        width: 100%;
        max-width: 100vw;
    }

    .sort-bar {
        flex-wrap: wrap;
        gap: 8px;
        padding-left: 16px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .cat-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.5s var(--ease) forwards;
    opacity: 0;
}

.fade-up:nth-child(1) {
    animation-delay: 0.05s;
}

.fade-up:nth-child(2) {
    animation-delay: 0.1s;
}

.fade-up:nth-child(3) {
    animation-delay: 0.15s;
}

.fade-up:nth-child(4) {
    animation-delay: 0.2s;
}