
:root {
    --primary-color: #bf4f65;
    --primary-light: #f4b9c2;
    --primary-dark: #743745;
    --secondary-color: #2f6b50;
    --accent-color: #d7a84f;
    --success-color: #347f5b;
    --warning-color: #c28a24;
    --error-color: #b63b3b;
    --text-primary: #24342a;
    --text-secondary: #64736a;
    --bg-primary: #ffffff;
    --bg-secondary: #fff8f1;
    --border-color: #eadbd3;
    --footer-bg: #24342a;
    --footer-text: #ffffff;
}

/* Generate varied gradient combinations */
.feature-icon {
    background: linear-gradient(91deg, var(--primary-color), var(--secondary-color)) !important;
}

.newsletter {
    background: linear-gradient(212deg, var(--primary-color), var(--primary-dark)) !important;
}

.back-to-top {
    background: linear-gradient(225deg, var(--primary-color), var(--accent-color)) !important;
}

/* Additional gradient variations for buttons and elements */
.btn-primary, .cart-button {
    background: linear-gradient(128deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
}

.hero-title .highlight, .section-title .highlight {
    background: linear-gradient(104deg, var(--secondary-color), var(--accent-color)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body {
    background-color: var(--bg-secondary) !important;
}

/* Site description section */
.site-description {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
}

.description-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.description-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #6b7280;
    margin: 0 auto;
    max-width: 700px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
}

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


.header-centered {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 18px rgba(64, 45, 38, 0.08);
    position: relative;
    z-index: 50;
}

.centered-top {
    background: #fff7f0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.header-info {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: var(--text-secondary);
}

.centered-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    gap: 24px;
}

.logo-centered {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
    color: var(--text-primary);
    text-decoration: none;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fffaf3;
    box-shadow: 0 10px 24px rgba(116, 55, 69, 0.12);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-name {
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
}

.brand-tagline {
    font-size: 12px;
    line-height: 1.2;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0;
}

.centered-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.centered-menu {
    display: flex;
    list-style: none;
    gap: clamp(16px, 3vw, 35px);
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.centered-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.centered-menu a:hover {
    color: var(--primary-color);
}

.cart-button-centered {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-button-centered:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}


.hero-fullscreen {
    min-height: 64vh;
    background:
        linear-gradient(90deg, rgba(36, 52, 42, 0.78) 0%, rgba(36, 52, 42, 0.52) 40%, rgba(36, 52, 42, 0.08) 78%),
        url("../images/hero-flowers.jpg") center / cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-fullscreen .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.18));
}

.hero-fullscreen .hero-content {
    position: relative;
    z-index: 2;
    width: min(620px, 100%);
}

.hero-fullscreen .hero-subtitle {
    display: block;
    font-size: 0.95rem;
    opacity: 0.92;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 600;
}

.hero-fullscreen .hero-title {
    font-size: 4.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.24);
    max-width: 700px;
}

.hero-fullscreen .hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.94;
    max-width: 580px;
}

.hero-fullscreen .hero-btn-large {
    background: white;
    color: var(--primary-dark);
    padding: 1.15rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-fullscreen .hero-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-fullscreen .hero-btn-large i {
    transition: transform 0.3s ease;
}

.hero-fullscreen .hero-btn-large:hover i {
    transform: translateX(5px);
}

.hero-fullscreen .hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.hero-fullscreen .hero-scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.cart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

/* When displayed via JS (display: block or flex) */
.cart-modal[style*="display: block"],
.cart-modal[style*="display:block"],
.cart-modal.show {
    display: flex !important;
}

.cart-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 750px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.close-cart {
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-cart:hover {
    color: #333;
}

.cart-items {
    margin-bottom: 20px;
}

.cart-total {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: right;
}

.cart-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.cart-footer {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.cart-footer button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.clear-cart {
    background: #ef4444;
    color: white;
}

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

.close-btn {
    background: #6b7280;
    color: white;
}

.show-cart { width: 100%; border-collapse: collapse; }
.show-cart th { padding: 10px 0; border-bottom: 2px solid #eee; font-size: 13px; font-weight: 600; text-align: left; color: #666; }
.show-cart td { padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; vertical-align: middle; }
.show-cart td img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.quantity-control { display: inline-flex; align-items: center; gap: 4px; }
.quantity-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: #f3f4f6; border-radius: 6px; cursor: pointer; font-size: 16px; user-select: none; }
.quantity-btn:hover { background: #e5e7eb; }
.item-count { width: 40px; text-align: center; border: 1px solid #ddd; border-radius: 6px; padding: 4px; font-size: 14px; }
.delete-item { background: none; border: none; color: #999; cursor: pointer; font-size: 16px; padding: 4px 8px; }
.delete-item:hover { color: #ef4444; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 40px;
}

.search-container {
    position: relative;
}

.search-input {
    padding: 10px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 250px;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.cart-button {
    position: relative;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .search-input {
        width: 150px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

.features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.feature-icon i {
    font-size: 36px;
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.feature-text {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.products {
    padding: 80px 0;
    background: #fff8f1;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

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

.product-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image:after {
    opacity: 1;
}

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

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

.product-info {
    padding: 22px;
    position: relative;
}

.product-info:before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.product-card:hover .product-info:before {
    width: 80%;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

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

.product-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover .product-description {
    color: #475569;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.product-card:hover .product-price {
    transform: translateY(-2px);
    font-size: 22px;
}

.product-button {
    width: 100%;
    margin-top: 10px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.product-card:hover .product-button {
    opacity: 1;
    transform: translateY(-2px);
}


.footer-classic {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo img {
    filter: none;
    border-radius: 10px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer-logo {
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.legal-page {
    padding: 3rem 2rem;
    max-width: 960px;
}

.legal-page h1 {
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.legal-page h2 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}

.legal-page p {
    color: #4b5b51;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info p {
    color: #a0aec0;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}


.product-button, .add-to-cart {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    position: relative;
}

.newsletter-button {
    background: white !important;
    color: #333 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    position: relative;
}

.product-button:hover, .add-to-cart:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter-button:hover {
    background: #f8f9fa !important;
    color: #333 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.add-to-cart-main {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px 32px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    backdrop-filter: blur(15px);
    position: relative;
}

.add-to-cart-main:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.product-button i, .add-to-cart i, .add-to-cart-main i {
    font-size: 14px;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.3));
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.back-to-top.show,
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

td>img{max-height:70px}
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .back-to-top {
        display: none !important;
    }

    .legal-page {
        padding: 2rem 15px;
        overflow-wrap: anywhere;
    }

    .legal-page h1 {
        font-size: 1.9rem;
        line-height: 1.15;
    }

    .legal-page h2 {
        font-size: 1.2rem;
    }

    .centered-top .container,
    .header-info {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .centered-main {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        padding: 14px 15px 18px;
    }

    .logo-centered {
        min-width: 0;
        flex: 1 1 100%;
        justify-content: center;
    }

    .centered-nav {
        order: 3;
        flex: 1 1 100%;
    }

    .centered-menu {
        gap: 14px 20px;
    }

    .centered-menu a {
        font-size: 15px;
    }

    .cart-button-centered {
        position: absolute;
        top: 62px;
        right: 15px;
        min-width: 48px;
        min-height: 48px;
    }

    .hero-fullscreen {
        min-height: 620px;
        align-items: flex-end;
        background:
            linear-gradient(180deg, rgba(36, 52, 42, 0.1) 0%, rgba(36, 52, 42, 0.84) 58%, rgba(36, 52, 42, 0.94) 100%),
            url("../images/hero-flowers.jpg") 62% center / cover no-repeat;
        text-align: left;
        padding: 120px 0 92px;
    }

    .hero-fullscreen .hero-title {
        font-size: 3.4rem;
    }

    .hero-fullscreen .hero-description {
        margin-bottom: 2rem;
        font-size: 1.05rem;
    }

    .hero-fullscreen .hero-btn-large {
        padding: 1rem 1.4rem;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .products {
        padding: 60px 0;
    }

    .site-description {
        padding: 60px 0;
    }

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

@media (max-width: 480px) {
    .brand-name {
        font-size: 20px;
    }

    .brand-tagline {
        font-size: 11px;
    }

    .centered-menu {
        gap: 10px 14px;
    }

    .hero-fullscreen {
        min-height: 560px;
    }

    .hero-fullscreen .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }

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

    .cart-content {
        padding: 22px;
    }

    .cart-footer {
        flex-direction: column;
    }
}
