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

:root {
    --primary: #c14a5a;
    --primary-dark: #a23b49;
    --accent: #5a8f7c;
    --accent-dark: #467562;
    --accent-light: #e3f0ea;
    --text-dark: #2b2421;
    --text-muted: #5a514b;
    --surface: #fffaf5;
    --surface-alt: #f6eee7;
    --border: #e7d8cf;
    --shadow: 0 18px 40px rgba(43, 36, 33, 0.08);
    --shadow-hover: 0 22px 50px rgba(43, 36, 33, 0.12);
}

body {
    font-family: "Manrope", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fbf5ef;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.header {
    background: rgba(255, 250, 245, 0.96);
    box-shadow: 0 12px 30px rgba(43, 36, 33, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.9rem;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

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

.nav-link:hover {
    color: var(--primary);
}

.cart-btn {
    position: relative;
    background: var(--primary);
    color: var(--surface) !important;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    transition: background 0.3s ease;
}

.cart-btn:hover {
    background: var(--primary-dark) !important;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: var(--surface);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 4px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 88px;
    padding: 5rem 0 4rem;
    background: url("assets/images/hero-roses.png") 50% 35% / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(18, 16, 15, 0.72), rgba(18, 16, 15, 0.25));
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.8rem, 3vw + 1.5rem, 4rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--surface);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.8rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-weight: 600;
    color: #e7b9b3;
    margin-bottom: 0.8rem;
    font-size: 0.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    background: var(--primary);
    color: var(--surface);
    padding: 0.95rem 2.2rem;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--surface);
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    border-color: var(--surface);
    color: var(--surface);
    background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.hero-stats h3 {
    font-size: 1.4rem;
    color: var(--surface);
}

.hero-stats p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.hero-image {
    position: relative;
}

.hero-card {
    background: var(--surface-alt);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1.5rem;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.hero-card-body {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.hero-card-body p {
    margin: 0;
    color: var(--text-muted);
}

.hero-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}



/* Section Layout */
.section {
    padding: 5rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.6rem;
    margin-bottom: 0.8rem;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
}

/* Product grids */
.product-grid {
    display: grid;
    gap: 2rem;
}

.promo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bouquet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(43, 36, 33, 0.8);
    color: var(--surface);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-info h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-link {
    text-decoration: none;
    color: inherit;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.price {
    font-weight: 700;
    color: var(--primary);
}

.details-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.details-btn:hover {
    text-decoration: underline;
}

.add-to-cart {
    width: 100%;
    background: var(--primary);
    color: var(--surface);
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart:hover {
    background: var(--primary-dark);
}

.promotions {
    background: linear-gradient(135deg, rgba(90, 143, 124, 0.08), rgba(193, 74, 90, 0.08));
}

.bouquets {
    background: var(--surface);
}

/* Why Choose Section */
.why-choose {
    background: var(--surface-alt);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.why-choose-text h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-choose-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature {
    background: var(--surface);
    padding: 1.4rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.feature i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.why-choose-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Contact */
.contact {
    background: var(--surface);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface-alt);
    padding: 1.2rem;
    border-radius: 16px;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary);
    min-width: 40px;
}

.contact-item p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: #231d1a;
    color: var(--surface);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-family: "Cormorant Garamond", serif;
    margin-bottom: 1rem;
    color: #e7b9b3;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--surface);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e7b9b3;
}

.footer-tagline {
    margin-bottom: 0.75rem;
}

.footer-trust {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    transition: background 0.3s ease;
    color: var(--surface);
}

.social-links a:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-trustbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.trust-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-label {
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.payment-chip {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.trust-right {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Product Page */
.product-page {
    margin-top: 90px;
    padding: 3rem 0 5rem;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-gallery {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.product-gallery img {
    border-radius: 18px;
    height: 420px;
    object-fit: cover;
    width: 100%;
}

.product-details h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-details p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-card {
    background: var(--surface-alt);
    padding: 1rem;
    border-radius: 14px;
}

.highlight-card h4 {
    margin-bottom: 0.4rem;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-actions .add-to-cart {
    flex: 1;
}

.product-info-panel {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.product-info-panel ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

/* Checkout Page */
.checkout-main {
    margin-top: 90px;
    padding: 2rem 0 4rem;
}

.checkout-header {
    text-align: center;
    margin-bottom: 3rem;
}

.checkout-header h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.checkout-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.checkout-form {
    background: var(--surface);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    flex: 1;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method input[type="radio"]:checked + label {
    border-color: var(--primary);
    background: var(--surface-alt);
}

.payment-method i {
    font-size: 1.2rem;
}

/* Stripe Payment Integration */
.stripe-payment {
    display: block;
}

.stripe-element {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    margin-top: 8px;
}

.stripe-element:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(193, 74, 90, 0.1);
}

.card-errors {
    color: var(--primary);
    font-size: 0.875rem;
    margin-top: 8px;
    min-height: 20px;
}

.paypal-button {
    margin-top: 1rem;
    text-align: center;
}

/* Stripe Elements styling */
.StripeElement {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.StripeElement--focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(193, 74, 90, 0.1);
}

.StripeElement--invalid {
    border-color: var(--primary);
}

.checkout-btn {
    width: 100%;
    background: var(--accent);
    color: var(--surface);
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkout-btn:hover {
    background: var(--accent-dark);
}

.order-summary {
    background: var(--surface);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 110px;
}

.order-summary h2 {
    font-family: "Cormorant Garamond", serif;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.cart-item:last-child {
    border-bottom: none;
}

.item-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.item-price {
    font-weight: 600;
    color: var(--primary);
}

.order-totals {
    border-top: 2px solid var(--border);
    padding-top: 1rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.total-line.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--surface);
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-hover);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.close {
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--surface);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

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

    .promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bouquet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-content {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: var(--surface);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .promo-grid,
    .bouquet-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }
}
