/* Full style.css — (same as your latest flourish + frosted dropdown) */
/* ... (keep all the existing rules you already have) ... */

/* I'll re-provide full file with the necessary desktop grid rule included. */

/* ==========================================================
   style.css — Flourish Theme for theRajEvents-flowers
   (includes frosted dropdown + consistent fonts + 4-column desktop grid)
   ========================================================== */

:root {
    --bg: #fbfbfd;
    --card: #ffffff;
    --muted: #6b7280;
    --accent: #ef4b8e;
    --accent-2: #ffb86b;
    --shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    --radius: 14px;
    --ui-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ui-font);
    background: linear-gradient(180deg, #fff 0%, #fbf6fb 60%);
    color: #111827;
    -webkit-font-smoothing: antialiased;
    line-height: 1.45;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* header/nav (same as before) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(6px);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 252, 0.88));
    border-bottom: 1px solid rgba(17, 24, 39, 0.04);
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.03);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    font-family: var(--ui-font);
}

.brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(239, 75, 142, 0.12);
}

.brand-text .brand-name {
    font-weight: 700;
    font-size: 18px;
    font-family: var(--ui-font);
}

.brand-text .brand-tag {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
    font-family: var(--ui-font);
}

/* nav */
.main-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    font-family: var(--ui-font);
    font-size: 15px;
}

.main-nav a {
    color: #111827;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-nav a:hover {
    background: linear-gradient(90deg, rgba(239, 75, 142, 0.06), rgba(255, 184, 107, 0.04));
    color: var(--accent);
}

.main-nav a.active {
    background: linear-gradient(90deg, rgba(239, 75, 142, 0.10), rgba(255, 184, 107, 0.06));
    color: var(--accent);
}

/* dropdown (frosted) */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: var(--ui-font);
}

.nav-dropdown .drop-btn {
    background: transparent;
    border: 0;
    color: #111827;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown .drop-btn:hover,
.nav-dropdown .drop-btn:focus {
    background: linear-gradient(90deg, rgba(239, 75, 142, 0.06), rgba(255, 184, 107, 0.04));
    color: var(--accent);
    outline: none;
}

.drop-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(250, 245, 250, 0.45));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
    display: none;
}

.drop-panel.open {
    display: block;
    animation: fadeDown 0.22s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.drop-item {
    display: block;
    padding: 10px 14px;
    color: #111827;
    text-decoration: none;
    border-bottom: 1px solid rgba(17, 24, 39, 0.04);
    font-family: var(--ui-font);
    font-size: 14.5px;
}

.drop-item:hover {
    background: linear-gradient(90deg, rgba(239, 75, 142, 0.04), rgba(255, 184, 107, 0.02));
    color: var(--accent);
}

/* mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: #111827;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #111827;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.mobile-menu {
    display: none;
    padding: 12px 20px;
    border-top: 1px solid rgba(17, 24, 39, 0.04);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 245, 250, 0.99));
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 8px 6px;
    color: #111827;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--ui-font);
    font-size: 15px;
}

.mobile-menu a:hover {
    background: rgba(239, 75, 142, 0.05);
    color: var(--accent);
}

/* hero */
.hero {
    margin: 28px 0 6px;
    background: linear-gradient(135deg, rgba(255, 244, 249, 0.9), rgba(255, 250, 244, 0.9));
    padding: 28px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero h2 {
    margin: 0;
    font-size: 24px;
}

.hero p {
    margin: 6px 0 0;
    color: var(--muted);
}

/* products grid & cards */
/* DESKTOP: ensure minimum 4 columns on wide screens */
.products-grid {
    display: grid;
    gap: 18px;
    margin-top: 16px;
    grid-template-columns: repeat(4, 1fr);
    /* enforce 4 columns on wider view */
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

.product-card {
    background: var(--card);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 280px;
    transition: transform .22s ease;
}

.product-card:hover {
    transform: translateY(-6px);
}

.img-wrap {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* product text */
.product-card h4 {
    margin: 0;
    font-size: 16px;
    font-family: var(--ui-font);
}

.price {
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
}

.desc {
    color: var(--muted);
    font-size: 13px;
    flex: 1;
}

/* category section */
.category-section {
    margin: 22px 0;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 250, 250, 0.6));
    box-shadow: var(--shadow);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.see-more,
.see-more-bottom a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.see-more-bottom {
    text-align: right;
    margin-top: 12px;
}

/* fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(18px) scale(0.995);
    transition: opacity 600ms cubic-bezier(.22, .9, .33, 1), transform 600ms cubic-bezier(.22, .9, .33, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

.fade-in.stagger-1 {
    transition-delay: 60ms
}

.fade-in.stagger-2 {
    transition-delay: 120ms
}

.fade-in.stagger-3 {
    transition-delay: 180ms
}

.fade-in.stagger-4 {
    transition-delay: 240ms
}

/* footer */
.site-footer {
    border-top: 1px solid rgba(17, 24, 39, 0.04);
    margin-top: 32px;
    padding: 22px 0;
    text-align: center;
    color: var(--muted);
    background: transparent;
    border-radius: 12px;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

/* admin & forms */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.admin-table th,
.admin-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.04);
    text-align: left;
}

button {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: white;
    border: 0;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    background: #fff;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

/* responsive adjustments for dropdown and nav */
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .drop-panel {
        position: static;
        border-radius: 8px;
        margin-top: 8px;
        box-shadow: none;
    }

    .nav-dropdown .drop-btn {
        display: none;
    }

    /* hide desktop dropdown button on mobile */
}