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

:root {
    --sage-green: #9DAB8E;
    --dusty-blue: #A5C0CC;
    --pink: #D4607A;
    --light-pink: #F5D5DC;
    --soft-pink: #FAEAED;
    --cream: #F7F2E4;
    --dark-green: #6B7A61;
    --text-dark: #3A3A3A;
    --white: #FFFFFF;
}

/* ── BODY & STRIPES ──────────────────────────── */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: repeating-linear-gradient(
        90deg,
        var(--sage-green) 0px,
        var(--sage-green) 60px,
        var(--dusty-blue) 60px,
        var(--dusty-blue) 120px
    );
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Caveat', cursive;
    font-weight: 600;
}

/* ── ANNOUNCEMENT BAR ────────────────────────── */
.announcement-bar {
    background: var(--cream);
    color: var(--text-dark);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* ── NAVIGATION ──────────────────────────────── */
.navbar {
    background: var(--cream);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Caveat', cursive;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--pink);
    letter-spacing: 0px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--pink); }

.cart-btn {
    background: none;
    border: 2px solid var(--pink);
    color: var(--pink);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s;
}

.cart-btn:hover { background: var(--pink); color: white; }

.cart-badge {
    background: var(--pink);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.cart-btn:hover .cart-badge { background: white; color: var(--pink); }

/* ── DECORATIVE BORDER ───────────────────────── */
.nav-border {
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        var(--pink) 0px,
        var(--pink) 12px,
        var(--light-pink) 12px,
        var(--light-pink) 24px
    );
    position: sticky;
    top: 69px;
    z-index: 99;
}

/* ── HERO ─────────────────────────────────────── */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
}

.hero-card {
    background: var(--cream);
    border-radius: 4px;
    padding: 4rem 5rem;
    text-align: center;
    max-width: 580px;
    width: 100%;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.08);
}

.hero-card h1 {
    font-size: 5.5rem;
    color: var(--pink);
    line-height: 1;
    margin-bottom: 0.8rem;
}

.tagline {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* ── BUTTONS ──────────────────────────────────── */
.cta-button {
    background: none;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Caveat', cursive;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.25s;
}

.cta-button:hover {
    background: var(--text-dark);
    color: var(--cream);
}

/* ── CONTAINER ───────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── SHOP / PRODUCTS ─────────────────────────── */
.featured {
    padding: 5rem 0;
}

.featured h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--cream);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--cream);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
    transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 6px 8px 0px rgba(0,0,0,0.12);
}

.product-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

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

.placeholder-img {
    background: var(--soft-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px dashed #e0b0bb;
}

.img-label {
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    color: #cc8899;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 1.3rem;
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.price {
    color: var(--dark-green);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.add-to-cart-btn {
    width: 100%;
    background: none;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    padding: 0.6rem;
    border-radius: 4px;
    font-family: 'Caveat', cursive;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s;
}

.add-to-cart-btn:hover {
    background: var(--text-dark);
    color: var(--cream);
}

/* ── ABOUT ───────────────────────────────────── */
.about {
    padding: 5rem 0;
}

.about-card {
    background: var(--cream);
    border-radius: 4px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--pink);
}

.about-text p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.circular-frame {
    width: 100%;
    padding-bottom: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--sage-green) 100%);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
}

/* ── NEWSLETTER ──────────────────────────────── */
.newsletter {
    padding: 5rem 2rem;
    display: flex;
    justify-content: center;
}

.newsletter-card {
    background: var(--cream);
    border-radius: 4px;
    padding: 3.5rem 4rem;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

.newsletter-card h2 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.newsletter-card p {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.75;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--text-dark);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    background: transparent;
    outline: none;
}

.newsletter-form button {
    background: none;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--text-dark);
    color: var(--cream);
}

/* ── FOOTER ──────────────────────────────────── */
.footer {
    background: var(--dark-green);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--cream);
}

.footer-logo {
    font-size: 2.2rem !important;
    color: var(--light-pink) !important;
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-section a:hover { color: white; }

.footer-section p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ── CART SIDEBAR ────────────────────────────── */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.cart-overlay.visible { opacity: 1; pointer-events: all; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: var(--cream);
    z-index: 300;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-sidebar.open { right: 0; }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid rgba(0,0,0,0.06);
}
.cart-header h3 { font-size: 2rem; color: var(--text-dark); }

.cart-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}
.cart-close:hover { color: var(--text-dark); }

.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; }

.cart-empty { text-align: center; color: #bbb; margin-top: 3rem; }

.cart-item { border-bottom: 1px solid rgba(0,0,0,0.06); padding: 1.2rem 0; }
.cart-item-info { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }
.cart-item-name { font-weight: 500; }
.cart-item-price { color: var(--dark-green); font-weight: 500; }
.cart-item-controls { display: flex; justify-content: space-between; align-items: center; }
.cart-item-qty { font-size: 0.85rem; color: #999; }

.remove-btn {
    background: none;
    border: none;
    color: var(--pink);
    font-size: 0.8rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}
.remove-btn:hover { text-decoration: underline; }

.cart-footer { padding: 1.5rem 2rem; border-top: 2px solid rgba(0,0,0,0.06); }
.cart-total {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.cart-footer .cta-button { width: 100%; }

/* ── CHECKOUT MODAL ──────────────────────────── */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.checkout-overlay.visible { opacity: 1; pointer-events: all; }

.checkout-modal {
    background: var(--cream);
    border-radius: 4px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    margin: 1rem;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.12);
}

.checkout-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #bbb;
    transition: color 0.2s;
}
.checkout-close:hover { color: var(--text-dark); }

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s;
}
.step.active { background: var(--pink); color: white; }
.step.done { background: var(--dark-green); color: white; }
.step-line { flex: 1; max-width: 60px; height: 2px; background: #e0e0e0; margin: 0 4px; }

.checkout-step h3 { font-size: 2rem; color: var(--text-dark); margin-bottom: 1.5rem; }

.checkout-step input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #d0cdc5;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    outline: none;
    background: white;
    transition: border-color 0.2s;
}
.checkout-step input:focus { border-color: var(--pink); }

.form-row { display: flex; gap: 1rem; }
.form-row input { flex: 1; }

.checkout-step .cta-button { width: 100%; margin-top: 0.5rem; }

.hidden { display: none !important; }

.order-summary {
    background: white;
    border: 2px solid #e0dcd5;
    border-radius: 4px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.order-summary h4 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.95rem; }
.total-row { border-top: 1px solid #e0dcd5; margin-top: 0.8rem; padding-top: 0.8rem; font-size: 1.05rem; }

.secure-note { text-align: center; color: #bbb; font-size: 0.8rem; margin-top: 1rem; }

.confirmation { text-align: center; padding: 1rem 0; }
.check-circle {
    width: 80px;
    height: 80px;
    background: var(--sage-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
}
.confirmation h3 { font-size: 2.5rem; color: var(--text-dark); margin-bottom: 1rem; }
.confirmation p { color: var(--text-dark); margin-bottom: 1rem; line-height: 1.7; opacity: 0.8; }
.order-number { font-weight: 500; color: var(--dark-green); font-size: 1rem; font-family: 'Montserrat', sans-serif; }
.confirmation .cta-button { margin-top: 1.5rem; }

/* ── HAMBURGER & MOBILE NAV ──────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
}

.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav.open { opacity: 1; pointer-events: all; }

.mobile-nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    opacity: 0.5;
}

.mobile-nav-close:hover { opacity: 1; }

.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav ul li { margin: 1.2rem 0; }

.mobile-nav ul a {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-nav ul a:hover { color: var(--pink); }

.cart-btn-link { text-decoration: none; display: inline-flex; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .announcement-bar { font-size: 0.72rem; padding: 0.4rem 1rem; }

    .hamburger { display: flex; }
    .nav-links { display: none; }
    .cart-btn { display: none; }

    .nav-border { position: relative; top: auto; }

    .hero-card { padding: 3rem 1.5rem; }
    .hero-card h1 { font-size: 3.8rem; }
    .tagline { font-size: 1.2rem; }

    .about-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 2rem; }

    .newsletter-form { flex-direction: column; }
    .newsletter-card { padding: 2.5rem 1.5rem; }

    .product-grid { grid-template-columns: 1fr; }

    .cart-sidebar { width: 100%; right: -100%; }

    .form-row { flex-direction: column; gap: 0; }

    .checkout-modal { padding: 2rem 1.5rem; }

    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}
