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

:root {
    --canvas-bg: #fff5f7;
    --canvas-card: rgba(255, 255, 255, 0.96);
    --canvas-ink: #3b0d1f;
    --canvas-muted: #7a4a57;
    --canvas-accent: #d7263d;
    --canvas-deep: #7a0c1d;
    --canvas-line: rgba(215, 38, 61, 0.2);
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #fffefe 0%, var(--canvas-bg) 60%, #fdecef 100%);
    color: var(--canvas-ink);
}

::selection {
    background: var(--canvas-accent);
    color: var(--canvas-ink);
}

.hero-section {
    background: linear-gradient(135deg, rgba(122, 12, 29, 0.95), rgba(215, 38, 61, 0.85));
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 35%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 35%);
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    letter-spacing: -0.04em;
}

.hero-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.top-bar,
.nav-button,
.nav-button.accent {
    background: transparent;
    border: 1px solid rgba(199, 169, 104, 0.3);
    border-radius: 999px;
    color: var(--canvas-ink);
    backdrop-filter: blur(6px);
}

.language-selector .language-dropdown {
    background: var(--canvas-card);
    border: 1px solid var(--canvas-line);
    box-shadow: 0 20px 60px rgba(44, 28, 17, 0.15);
}

.category-grid {
    gap: 1.25rem;
}

.category-card {
    border-radius: 24px;
    overflow: hidden;
    background: var(--canvas-card);
    border: 1px solid transparent;
    box-shadow: 0 10px 35px rgba(44, 28, 17, 0.1);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(199, 169, 104, 0.6);
    box-shadow: 0 20px 45px rgba(44, 28, 17, 0.18);
}

.category-card.is-active {
    border-color: var(--canvas-accent);
    box-shadow: 0 25px 60px rgba(44, 28, 17, 0.25);
}

.category-card__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 28, 17, 0.1), rgba(44, 28, 17, 0.65));
}

.category-card__content span {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

button.theme-bg,
a.theme-bg,
.nav-button.accent,
.bg-blue-500 {
    background: linear-gradient(135deg, var(--canvas-deep), #3a2616) !important;
    border-radius: 999px !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600;
    padding: 0.85rem 1.75rem !important;
    box-shadow: 0 15px 35px rgba(44, 28, 17, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-bg:hover,
.nav-button.accent:hover,
.bg-blue-500:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 45px rgba(44, 28, 17, 0.4);
}

.category-panel .bg-white {
    background: var(--canvas-card) !important;
    border-radius: 28px;
    border: 1px solid rgba(199, 169, 104, 0.3);
    box-shadow: 0 35px 80px rgba(44, 28, 17, 0.2);
}

.category-panel .bg-white .p-5 {
    padding: 2rem !important;
}

.category-panel h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--canvas-deep);
}

.category-panel p {
    color: var(--canvas-muted);
    line-height: 1.6;
}

.category-panel img {
    filter: saturate(0.9) contrast(1.02);
}

.absolute.top-2.left-2 span {
    border-radius: 999px !important;
    background: rgba(199, 169, 104, 0.25) !important;
    border: 1px solid rgba(199, 169, 104, 0.4) !important;
    color: #fff;
    font-weight: 500;
    padding: 0.35rem 0.9rem !important;
    backdrop-filter: blur(6px);
}

.absolute.top-2.left-2 span i {
    color: #fff !important;
}

.inline-flex.items-center.px-3.py-1\.5 {
    border-radius: 999px !important;
    border: 1px solid var(--canvas-line) !important;
    background: rgba(255, 252, 245, 0.9) !important;
    color: var(--canvas-ink) !important;
    font-weight: 600 !important;
}

.border-amber-300,
.bg-amber-50,
.text-amber-700 {
    border-color: var(--canvas-line) !important;
    color: var(--canvas-ink) !important;
    background: rgba(255, 252, 245, 0.8) !important;
    border-radius: 18px !important;
    font-weight: 600 !important;
}

.bg-red-50,
.bg-blue-50,
.bg-yellow-50,
.bg-orange-50 {
    background: rgba(255, 252, 245, 0.85) !important;
    border-radius: 16px !important;
    border: 1px solid var(--canvas-line) !important;
    color: var(--canvas-muted) !important;
}

.text-blue-600,
.text-blue-500,
.text-red-500,
.text-yellow-500,
.text-orange-500,
.text-green-500,
.text-pink-500 {
    color: var(--canvas-deep) !important;
    font-weight: 600;
}

.text-blue-600:hover {
    color: var(--canvas-accent) !important;
}

.bg-gradient-to-r.from-blue-500.to-blue-600 {
    background: linear-gradient(90deg, rgba(44, 28, 17, 0.95), rgba(58, 38, 22, 0.7)) !important;
    border-bottom: 1px solid rgba(199, 169, 104, 0.3);
}

.cart-item {
    border-radius: 20px !important;
    border: 1px solid var(--canvas-line) !important;
    background: rgba(255, 252, 245, 0.92) !important;
}

.modal {
    backdrop-filter: blur(12px);
}

.product-card-shadow {
    box-shadow: 0 25px 60px rgba(44, 28, 17, 0.2);
}

@media (max-width: 768px) {
    .category-card {
        border-radius: 18px;
    }
    .category-panel .bg-white {
        border-radius: 22px;
    }
}
