*,*::before,*::after{box-sizing:border-box}html{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}[dir=rtl]{text-align:right}.container{width:100%;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}

/* === Design Tokens === */
:root {
    --color-page-bg: #fffaf3;
    --color-surface: #ffffff;
    --color-amber: #d97706;
    --color-amber-dark: #92400e;
    --color-amber-light: #fef3c7;
    --color-amber-bg: #fffbeb;
    --color-fuchsia: #c026d3;
    --color-fuchsia-dark: #a21caf;
    --color-fuchsia-light: #fae8ff;
    --color-fuchsia-bg: #fdf4ff;
    --color-text: #020617;
    --color-text-muted: #64748b;
    --color-dark: #0f172a;
}

/* === Page Backgrounds === */
.flex-1 > main {
    background:
        radial-gradient(circle at 10% 0%, rgba(251, 191, 36, .16), transparent 28rem),
        radial-gradient(circle at 90% 12%, rgba(14, 165, 233, .12), transparent 26rem),
        #fffaf3;
}
.flex-1 > main > section.bg-slate-950:first-child {
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background:
        linear-gradient(95deg, rgba(15, 23, 42, .92), rgba(30, 64, 175, .55), rgba(217, 119, 6, .24)),
        url('https://images.unsplash.com/photo-1512690459411-b9245aed614b?q=80&w=2200&auto=format&fit=crop') center/cover !important;
}
.flex-1 > main > section.bg-slate-950:first-child::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 18%, rgba(255,255,255,.32), transparent 28%);
    pointer-events: none;
}
.flex-1 > main > section.bg-slate-950:first-child > .container {
    position: relative;
    z-index: 1;
}
.flex-1 > main > section.bg-slate-950:first-child h1 {
    letter-spacing: 0;
    line-height: 1.05;
}
.flex-1 > section {
    background:
        radial-gradient(circle at 8% 0%, rgba(251, 191, 36, .16), transparent 28rem),
        radial-gradient(circle at 92% 8%, rgba(14, 165, 233, .10), transparent 24rem),
        #fffaf3;
}

/* === Card Styles & Hover Effects === */
.flex-1 > main .rounded-2xl.border.border-amber-100.bg-white,
.flex-1 > main .rounded-3xl.border.border-amber-100.bg-white,
.flex-1 > section .rounded-2xl.border.border-gray-200.bg-white,
.flex-1 > section .rounded-3xl.border.border-gray-200.bg-white,
.flex-1 > main .rounded-2xl.border.border-gray-200.bg-white,
.flex-1 > main .rounded-3xl.border.border-gray-200.bg-white,
.flex-1 > main .rounded-3xl.bg-white,
.flex-1 > main form.rounded-2xl.bg-white {
    border-color: rgba(245, 158, 11, .18) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.flex-1 > main .rounded-2xl.border.border-amber-100.bg-white:hover,
.flex-1 > main .rounded-3xl.border.border-amber-100.bg-white:hover,
.flex-1 > section .rounded-2xl.border.border-gray-200.bg-white:hover,
.flex-1 > section .rounded-3xl.border.border-gray-200.bg-white:hover,
.flex-1 > main .rounded-2xl.border.border-gray-200.bg-white:hover,
.flex-1 > main .rounded-3xl.border.border-gray-200.bg-white:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 119, 6, .34) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
}

/* === Form Inputs === */
.flex-1 > main input:not([type="checkbox"]):not([type="radio"]),
.flex-1 > section input:not([type="checkbox"]):not([type="radio"]),
.flex-1 > main textarea,
.flex-1 > section textarea,
.flex-1 > main select,
.flex-1 > section select {
    border-radius: 1rem !important;
}

/* === Button & Link Overrides === */
.flex-1 > main .bg-primary,
.flex-1 > section .bg-primary { background-color: #0f172a !important; }
.flex-1 > main .hover\:bg-primary-dark:hover,
.flex-1 > section .hover\:bg-primary-dark:hover { background-color: #b45309 !important; }
.flex-1 > main .text-primary,
.flex-1 > section .text-primary { color: #b45309 !important; }
.flex-1 > main .bg-primary-light,
.flex-1 > section .bg-primary-light { background-color: #fffbeb !important; }
.flex-1 > main .ring-primary,
.flex-1 > section .ring-primary { --tw-ring-color: #b45309 !important; }
.flex-1 > main button[type="submit"],
.flex-1 > section button[type="submit"],
.flex-1 > main a.rounded-full.bg-amber-700,
.flex-1 > section a.rounded-full.bg-amber-700,
.flex-1 > main a.rounded-full.bg-primary,
.flex-1 > section a.rounded-full.bg-primary {
    box-shadow: 0 14px 32px rgba(180, 83, 9, .18);
}

/* === Home Hero (h2-*) === */
.h2-glass { backdrop-filter: blur(18px); background: rgba(255,255,255,.82); }
.h2-soft-shadow { box-shadow: 0 24px 70px rgba(15, 23, 42, .16); }
.h2-float { animation: h2Float 6s ease-in-out infinite; }
.h2-hero-swiper { position: relative; overflow: hidden; }
.h2-hero-slide { display: none; }
.h2-hero-slide.is-active { display: block; }
.h2-hero-dot.is-active { background: #d97706; width: 1.5rem; }
@keyframes h2Float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* === Category Badge Scroll === */
.badge-track { width: max-content; animation: badgeScroll 300s linear infinite; }
.badge-track:hover { animation-play-state: paused; }
@keyframes badgeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === Women Hero (w3-*) === */
.w3-hero {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .88), rgba(76, 29, 149, .58), rgba(190, 24, 93, .24)),
        url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?q=80&w=2400&auto=format&fit=crop') center/cover;
}
.w3-glass { backdrop-filter: blur(18px); background: rgba(255,255,255,.82); }
.w3-soft-shadow { box-shadow: 0 24px 70px rgba(88, 28, 135, .14); }
.w3-float { animation: w3Float 6s ease-in-out infinite; }
.w3-slide-track { animation: w3Slide 18s linear infinite; }
.w3-hero-swiper { position: relative; overflow: hidden; }
.w3-hero-slide { display: none; }
.w3-hero-slide.is-active { display: block; }
.w3-hero-dot.is-active { background: #c026d3; width: 1.5rem; }
@keyframes w3Float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes w3Slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .w3-float, .w3-slide-track { animation: none; }
}

/* === Search Cards === */
.search-card {
    opacity: 0;
    animation: searchFadeUp 0.5s ease-out forwards;
}
@keyframes searchFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Nearby Map === */
#mapShopList::-webkit-scrollbar { display: none; }
#shopsMap,.leaflet-pane,.leaflet-tile-pane,.leaflet-overlay-pane,.leaflet-shadow-pane,.leaflet-marker-pane,.leaflet-popup-pane,.leaflet-tile-container{transform:translateZ(0);-webkit-transform:translateZ(0)}
.leaflet-pane { will-change: transform; }
.map-shop-item { transition: none; cursor: pointer; }

/* === Register Shop (Select2) === */
.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--multiple {
    min-height: 46px;
    border-color: #d1d5db;
    border-radius: 0.5rem;
    padding: 0.2rem 0.35rem;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #b45309;
    box-shadow: 0 0 0 1px #b45309;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border: 0;
    border-radius: 999px;
    background: #fffbeb;
    color: #b45309;
    padding: 0.15rem 0.55rem;
}
.select2-dropdown {
    border-color: #d1d5db;
    border-radius: 0.75rem;
    overflow: hidden;
}

/* === Utilities === */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
