:root {
    /* Color Palette */
    --color-primary: #ff6b95;
    /* Vibrant Pink */
    --color-primary-hover: #e04f7a;
    --color-secondary: #fff0f5;
    /* Lavender Blush */
    --color-accent: #ffb7c5;
    /* Cherry Blossom Pink */
    --color-text-main: #4a4a4a;
    --color-text-light: #7a7a7a;
    --color-white: #ffffff;
    --color-bg: #fff5f8;

    /* Decoration */
    --shadow-soft: 0 10px 40px -10px rgba(255, 107, 149, 0.3);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --blur: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, system-ui, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    background-image: url('../images/header-floral-wide.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
.brand-font {
    font-family: 'Fredoka', 'Outfit', sans-serif;
    /* Rounder friendly font */
    font-weight: 600;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(255, 107, 149, 0.39);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 149, 0.23);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-danger {
    background: #ff4757;
    color: white;
}

/* --- Navbar --- */
.navbar {
    position: sticky;
    top: 20px;
    z-index: 100;
    margin-bottom: 40px;
}

/* Ensure banner is visible */
.specials-banner {
    /* ... existing gradients ... */
    position: relative;
    /* Ensure z-index works if needed */
    z-index: 1000;
    /* Below header (1001) but above content */
    min-height: 40px;
    /* Ensure visibility even if empty text, for color strip availability */
}

.nav-content {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    /* Pill shape */
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-card);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links a {
    color: var(--color-text-main);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* --- Hero --- */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Products Grid --- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--color-text-main);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-card);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.card-img-container {
    height: 250px;
    overflow: hidden;
    background-color: #eee;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-container img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* --- Admin Table --- */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: var(--color-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.table-container {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 600;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text-main);
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 149, 0.1);
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- Specials Banner --- */
.specials-banner {
    background: linear-gradient(90deg, var(--banner-gradient-start, #ff6b95), var(--banner-gradient-end, #ffb7c5));
    color: white;
    padding: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: none;
    /* Hidden by default if empty */
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.specials-banner span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- Contact Section --- */
.contact-section {
    background: var(--color-white);
    margin-top: 60px;
    padding: 60px 20px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    text-align: center;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--color-secondary);
    padding: 30px;
    border-radius: var(--radius-md);
    min-width: 250px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.23);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(220, 39, 67, 0.39);
}

.btn-instagram:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.23);
}

.btn-facebook {
    background-color: #1877F2;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(24, 119, 242, 0.39);
}

.btn-facebook:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.23);
}

.btn-email {
    background-color: #ea4335;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(234, 67, 53, 0.39);
}

.btn-email:hover {
    background-color: #d33828;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.23);
}

/* --- Auth Modal --- */
.auth-overlay {
    background: rgba(255, 107, 149, 0.9);
    /* Pink overlay */
}