:root {
    --primary: #ff8fab;
    --secondary: #fb6f92;
    --accent: #ffe5ec;
    --bg-color: #fff0f3;
    --text-dark: #3a0ca3;
    --text-light: #fff;
    --card-bg: rgba(255, 255, 255, 0.8);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    padding: 2rem 5%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(251, 111, 146, 0.3);
    position: relative;
    overflow: hidden;
}

.brand-container {
    position: relative;
    z-index: 2;
}

h1.logo {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -15px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
}

/* Products Section */
.products-section {
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(255, 143, 171, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(251, 111, 146, 0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

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

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
}

.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 25px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
}

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

.primary-btn:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

.secondary-btn {
    background: var(--accent);
    color: var(--text-dark);
}

.secondary-btn:hover {
    background: #ffc4d6;
}

.out-of-stock {
    color: #999;
    font-style: italic;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 4rem 5%;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--accent);
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 3rem 5%;
}

.social-links {
    margin: 1rem 0;
}

.social-links a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
}

/* Modal / Cart */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--accent);
}

.cart-total {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: right;
    margin: 1.5rem 0;
    color: var(--secondary);
}

.checkout-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.payment-btn {
    flex: 1 1 45%;
    padding: 0.8rem;
    border: 2px solid var(--accent);
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.payment-btn:hover {
    background: var(--accent);
    border-color: var(--primary);
}

/* Admin Specific */
.admin-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.admin-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 15px 35px rgba(251, 111, 146, 0.15);
}

.admin-container h1 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.message {
    padding: 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
}
