/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    
    --coral-color: #FF6F61;
    --text: #222222;
    --yellow-color: #FFD54F;
    
}

/* Mobile viewport height fix */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
}


/* Touch-friendly improvements */
* {
    -webkit-tap-highlight-color: rgba(255, 111, 97, 0.3);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for content areas */
p, h1, h2, h3, h4, h5, h6, .product-description, .about p {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations for mobile */
.floating-wreath {
    will-change: transform;
    transform: translateZ(0);
}

.product-card {
    will-change: transform;
}

/* Improved focus states for mobile accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--coral-color);
    outline-offset: 2px;
}
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
}

/* Container for responsive layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    width: 100%;
    height: 100px;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    /* background: linear-gradient(60deg, #f8f8f8, #d7daf7, #3c59fc, #b3b2f7, #cecdff) */
    /* background: linear-gradient(30deg, #ffffffaa, #d1d0d0aa, #ffffffaa, #d3d3d3aa ,#ffffffaa); */
    /* background-color: #fce7e7; */
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 0.5rem 1rem;
    }
}

.navbar .nav-bar-logo {
     font-family: "Gabriela", serif;
  font-weight: 400;
  font-style: normal;
     font-optical-sizing: auto;
     font-weight: 400;
     font-style: normal;
     font-size: 1.2rem;
}

@media (max-width: 768px) {
    .navbar .nav-bar-logo {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar .nav-bar-logo {
        font-size: 0.9rem;
    }
}

.navbar .nav-bar-logo span {
    font-size: 1.5rem;
    color: var(--coral-color);
    text-decoration: none;
    position: relative;
    
    font-family: "Ballet", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

@media (max-width: 768px) {
    .navbar .nav-bar-logo span {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .navbar .nav-bar-logo span {
        font-size: 1.1rem;
    }
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 3rem;
    position: relative;
    left: 0%;
}

@media (max-width: 1024px) {
    .navbar ul {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar ul {
        display: none !important;
    }
    
    .navbar ul.mobile-menu-open {
        display: flex !important;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        width: 100%;
        margin: 0;
    }
}

.navbar a {
    font-family: "Gabriela", serif;
  font-weight: 400;
  font-style: normal;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    
}

.navbar a:hover {
    color: var(--turquoise-color);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--turquoise-color);
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    left: 0%;
    cursor: pointer;
}

.nav-icons button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #0a0a0a;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .nav-icons {
        gap: 0.5rem;
    }
    
    .nav-icons button {
        font-size: 1.1rem;
        min-width: 40px;
        min-height: 40px;
    }
}

.nav-icons button:hover {
    color: var(--text);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--coral-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Mobile menu button styles are handled in media queries below */

/* Mobile menu button - hidden by default, shown on mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--coral-color);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    color: var(--text);
    background-color: rgba(255, 111, 97, 0.1);
}

.mobile-menu-btn .fas {
    font-size: 1.2rem;
}

/* Fallback styles for mobile menu button when Font Awesome fails */
.mobile-menu-btn span {
    font-family: Arial, sans-serif;
    font-weight: bold;
    line-height: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(30deg, #ff7171aa, #d1d0d0aa, #ff9191aa, #d3d3d3aa ,#faa9a9aa);
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
    align-items: center;
    padding: 80px 1rem 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .hero {
        padding: 70px 1rem 2rem;
        min-height: 90vh;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0.75rem 2rem;
        min-height: 85vh;
    }
}
.hero h2 span {
    display: flex;
    font-size: 2.5rem;
    margin-top: 0.5rem;
    justify-content: center;

}



@media (max-width: 768px) {
    .hero h2 span {
        font-size: 2rem;
        /* Centering handled by justify-content: center in base rule */
    }
}

@media (max-width: 480px) {
    .hero h2 span {
        font-size: 1.6rem;
        /* Centering handled by justify-content: center in base rule */
    }
}

.hero-content {
    flex: 1;
    z-index: 2;
    border: 2px solid black;
}

.hero h2 {
    font-family: "Gabriela", serif;
    font-weight: 400;
    font-style: normal;
    color: var(--turquoise-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
}

.hero p {
    font-family: "Gabriela", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

.cta-btn {
    background: linear-gradient(0deg, #ff7171aa, #d1d0d0aa);
    color: var(--text);
    border: none;
    padding: 1rem 2rem;
    position: relative;
    font-size: 1.1rem;
    font-family: "Gabriela", serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(175, 76, 106, 0.3);
    min-width: 160px;
    min-height: 48px;
}

@media (max-width: 768px) {
    .cta-btn {
        padding: 1.1rem 2.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 160px;
        width: 100%;
        max-width: 280px;
    }
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--coral-color);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-wreath-showcase {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-wreath {
    width: 300px;
    height: 300px;
    position: relative;
    /* top: -50%; */
    animation: float 3s ease-in-out infinite;
    /* filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.89)); */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .floating-wreath {
        width: 250px;
        height: 250px;
        margin: 1rem auto;
    }
}

@media (max-width: 480px) {
    .floating-wreath {
        width: 200px;
        height: 200px;
        margin: 1rem auto;
    }
}

.floating-wreath img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 300px;
    max-height: 300px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Filter Section */
.filter-section {
    padding: 2rem 0;
    background: #f8f9fa;
}

.filter-section h3 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--turquoise-color);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .filter-section h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .filter-section h3 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .filter-buttons {
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        gap: 0.5rem;
        justify-content: center;
    }
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        flex: 0 1 auto;
    }
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(45deg, var(--coral-color), var(--yellow-color));
    color: var(--turquoise-color);
    border-color: #9de8ff;
}

/* Products Section */
.products {
    padding: 4rem 0;
    background: linear-gradient(var(--turquoise-color), var(--coral-color), var(--coral-color), var(--yellow-color));
}

@media (max-width: 768px) {
    .products {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .products {
        padding: 2rem 0;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    background: linear-gradient(45deg, #e8f5e8, #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--coral-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--turquoise-color);
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--turquoise-color);
    margin-bottom: 1rem;
}

.add-to-cart {
    background: linear-gradient(45deg, var(--coral-color), var(--yellow-color));
    color: var(--turquoise-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .add-to-cart {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 50px;
    }
}

.add-to-cart:hover {
    background: linear-gradient(45deg, var(--coral-color), var(--yellow-color));
    transform: translateY(-1px);
}

/* About Section */
.about {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--turquoise-color);
    margin-bottom: 1.5rem;
}

.about p {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    font-size: 2rem;
    color: var(--turquoise-color);
    width: 50px;
}

.feature h4 {
    color: var(--turquoise-color);
    margin-bottom: 0.3rem;
}

.feature p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.workshop-scene {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.workshop-icon {
    font-size: 5rem;
    color: var(--turquoise-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--coral-color);
    color: white;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--turquoise-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--turquoise-color);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
    background: linear-gradient(45deg, var(--coral-color), var(--yellow-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-form button:hover {
    background: linear-gradient(45deg, var(--yellow-color), var(--coral-color));
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: var(--turquoise-color);
    color: rgb(0, 0, 0);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(68, 68, 68, 0.8);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--turquoise-color);
}

.close {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-detail-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background: linear-gradient(45deg, #e8f5e8, #c8e6c9);
    border-radius: 10px;
    font-size: 5rem;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-detail-info .product-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--turquoise-color);
    background: linear-gradient(135deg, #f0f8ff, #e8f5e8);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.product-options label {
    font-weight: 600;
    color: #333;
    min-width: 50px;
}

.product-options select {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.product-options select:focus {
    outline: none;
    border-color: var(--turquoise-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.add-to-cart-modal {
    background: var(--coral-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.add-to-cart-modal:hover {
    background: linear-gradient(45deg, var(--yellow-color), var(--coral-color));
}

/* Info Modal Specific Styles */
.info-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--turquoise-color);
}

.info-section p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--coral-color);
}

.faq-item h4 {
    color: var(--turquoise-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.size-guide {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.size-option {
    padding: 1.5rem;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.size-option:hover {
    border-color: var(--turquoise-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.size-option h4 {
    color: var(--turquoise-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.size-option p {
    margin: 0.3rem 0;
    line-height: 1.5;
}

.size-option p strong {
    color: var(--coral-color);
}

/* Checkout Modal Styles */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.order-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    height: fit-content;
}

.order-summary h4 {
    color: var(--turquoise-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-info h5 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1rem;
}

.checkout-item-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.checkout-item-quantity {
    text-align: right;
    color: #333;
}

.checkout-item-total {
    display: block;
    font-weight: 600;
    color: var(--coral-color);
    margin-top: 0.25rem;
}

.checkout-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--turquoise-color);
    font-size: 1.2rem;
    color: var(--turquoise-color);
}

.customer-info h4 {
    color: var(--turquoise-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--turquoise-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 1.2rem;
    height: 1.2rem;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 0;
    height: 1.2rem;
    width: 1.2rem;
    background-color: #eee;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-label:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--turquoise-color);
    border-color: var(--turquoise-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 0.35rem;
    top: 0.1rem;
    width: 0.25rem;
    height: 0.5rem;
    border: solid white;
    border-width: 0 0.15rem 0.15rem 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label a {
    color: var(--turquoise-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.cancel-btn,
.place-order-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.cancel-btn {
    background: #f0f0f0;
    color: #333;
}

.cancel-btn:hover {
    background: #e0e0e0;
}

.place-order-btn {
    background: var(--coral-color);
    color: white;
}

.place-order-btn:hover {
    background: linear-gradient(45deg, var(--yellow-color), var(--coral-color));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info h4 {
    color: var(--turquoise-color);
    margin-bottom: 0.3rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    background: #f0f0f0;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #ddd;
}

.cart-total {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--turquoise-color);
    font-size: 1.2rem;
}

.checkout-btn {
    background: linear-gradient(45deg, var(--coral-color), var(--yellow-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
}

.checkout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 193, 176, 0.3);
}

/* Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 2rem 50px;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }

    .hero h2 span{
        font-size: 2.2rem;
        /* Centering handled by justify-content: center in base rule */
    }
    
    .hero-content,
    .hero-image {
        flex: none;
    }
    
    .floating-wreath {
        width: 280px;
        height: 280px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
        background: none;
        border: none;
        font-size: 1.3rem;
        color: var(--coral-color);
        cursor: pointer;
        padding: 0.5rem;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        border-radius: 8px;
        transition: color 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        color: var(--text);
        background-color: rgba(255, 111, 97, 0.1);
    }
    
    .mobile-menu-btn .fas {
        display: block;
        font-size: 1.2rem;
    }
    
    /* Fallback for when Font Awesome doesn't load */
    .mobile-menu-btn::before {
        content: '☰';
        font-size: 1.5rem;
        display: none;
    }
    
    .mobile-menu-btn .fas.fa-bars::before,
    .mobile-menu-btn .fas.fa-times::before {
        display: inline;
    }
    
    .mobile-menu-btn:not(:has(.fas))::before {
        display: inline;
    }
    
    .navbar ul.mobile-menu-open {
        display: flex;
    }

    .navbar ul li {
        width: 100%;
        text-align: center;
    }

    .navbar ul li a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 111, 97, 0.1);
    }
    
    .navbar ul li:last-child a {
        border-bottom: none;
    }
    
    /* Hide desktop navigation links on mobile */
    .navbar ul:not(.mobile-menu-open) {
        display: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar ul li:last-child a {
        border-bottom: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 1rem 50px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }

    .hero h2 span{
        font-size: 1.8rem;
        left: 0;
    }
    
    .hero-content,
    .hero-image {
        flex: none;
    }
    
    .floating-wreath {
        width: 250px;
        height: 250px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-buttons {
        justify-content: center;
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-height: 46px;
    }
    
    .features {
        gap: 1.5rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 10px;
    }
    
    .feature i {
        margin-bottom: 0.5rem;
        font-size: 2.5rem;
    }

    .about h2 {
        font-size: 2rem;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        font-size: 1rem;
        padding: 1.1rem;
        min-height: 48px;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero h2 span {
        font-size: 1.6rem;
        left: 0;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .floating-wreath {
        width: 200px;
        height: 200px;
        margin: 1rem auto 2rem;
    }

    .filter-section {
        padding: 1.5rem 0;
    }

    .filter-section h3 {
        font-size: 1.6rem;
        padding: 0 1rem;
    }

    .about h2,
    .contact h2 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .about p {
        padding: 0 1rem;
    }

    .features {
        padding: 0 1rem;
    }

    .feature {
        padding: 1.5rem 1rem;
    }

    /* Improve touch targets for very small screens */
    .nav-icons button {
        min-width: 48px;
        min-height: 48px;
        font-size: 1.2rem;
    }

    .filter-btn {
        padding: 0.8rem 1rem;
        min-height: 48px;
        font-size: 0.9rem;
    }

    .add-to-cart {
        padding: 1.2rem 1.5rem;
        min-height: 52px;
        font-size: 1.1rem;
    }

    .cta-btn {
        padding: 1.2rem 2rem;
        min-height: 52px;
        font-size: 1.1rem;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Search Modal Styles */
.search-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.search-modal-content {
    background-color: white;
    margin: 15% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    animation: modalSlide 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .search-modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
        max-height: 80vh;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .search-modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 1rem;
        max-height: 90vh;
    }
}

.search-modal h3 {
    font-family: 'Playfair Display', serif;
    color: var(--turquoise-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.search-input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--turquoise-color);
}

.search-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

.search-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.search-submit-btn {
    background: linear-gradient(45deg, var(--turquoise-color), #4db6ac);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.3);
}

.search-cancel-btn {
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.search-cancel-btn:hover {
    background: #e0e0e0;
}

.search-results-info {
    background: #e8f5e8;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
    color: var(--turquoise-color);
    font-weight: 600;
    display: none;
}

/* Search suggestions */
.search-suggestions {
    margin-top: 1rem;
}

.search-suggestions h4 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-tag {
    background: #f0f8ff;
    color: var(--turquoise-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--turquoise-color);
}

.suggestion-tag:hover {
    background: var(--turquoise-color);
    color: white;
}