/* General Body and Base Styles */
body {
    font-family: 'Handlee', cursive;
    margin: 0;
    background: linear-gradient(to bottom right, #FFC0CB 0%, #FFDAB9 50%, #B0E0E6 100%); /* Soft gradient: Pink -> Peach -> Teal */
    color: #4A235A; /* Deep plum for contrast */
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Cart Badge Styling */
.cart-badge {
    background-color: #ff5722;
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.75em;
    font-weight: bold;
    margin-left: 5px;
    display: inline-block;
    min-width: 20px;
    text-align: center;
    line-height: 1.4;
    vertical-align: middle;
}

/* Hide badge when cart is empty */
.cart-badge.empty {
    display: none;
}

/* Header Section */
.header-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(255, 192, 203, 0.7); /* Soft pink shadow */
    text-align: center;
    border-bottom: 3px dashed #FFC0CB; /* Playful dashed border */
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Space between logo and nav */
    align-items: center; /* Vertically center logo and nav */
    padding: 0 20px;
}
.logo {
    height: 50px; /* Slightly larger logo */
    width: auto;
    transition: transform 0.3s ease-in-out;
}
.logo:hover {
    transform: scale(1.05) rotate(-3deg); /* Subtle tilt on hover */
}

/* Logo sizing */
.logo img {
    max-width: 100px; /* Adjust this value to make it smaller or larger */
    height: auto;
    display: block;
}

/* Alternative: Set a specific height instead */
.logo img {
    height: 60px; /* Adjust this value as needed */
    width: auto;
}

nav {
    flex-grow: 1; /* Allow nav to take available space */
    margin-left: 20px; /* Add some space between logo and nav */
    display: flex; /* Make nav a flex container for its ul */
    justify-content: flex-end; /* Push the ul to the right for larger screens */
}

nav ul {
    display: flex; /* Make the ul a flex container */
    justify-content: space-around; /* Evenly spread out list items */
    padding: 0; /* Remove default ul padding */
    list-style: none; /* Remove bullet points */
    align-items: center; /* Vertically center nav items */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}
nav ul li {
    margin: 0 12px; /* Spacing between list items */
}
nav ul li a {
    font-family: 'Pacifico', cursive;
    color: #DB7093; /* Medium Rose Pink for navigation */
    text-decoration: none;
    font-size: 1.3em; /* Slightly larger nav links */
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}
nav ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #5F9EA0; /* Teal underline */
    transition: width 0.3s ease-out, left 0.3s ease-out;
}
nav ul li a:hover::before {
    width: 100%;
    left: 0;
}
nav ul li a:hover {
    color: #5F9EA0; /* Cadet Blue (Teal) on hover */
    transform: translateY(-3px);
}

/* Main Content Wrapper */
.main-content {
    padding: 50px 30px; /* More padding */
    max-width: 1100px;
    margin: 40px auto; /* More margin top */
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px; /* Softer rounded corners */
    position: relative;
    box-shadow: 0 0 30px rgba(255, 192, 203, 0.5); /* Enhanced pink glow */
    z-index: 2;
    text-align: center;
    border: 4px dotted #B0E0E6; /* Light teal dotted border for whimsy */
}

/* Footer Section */
.footer-section {
    background: #DB7093; /* Medium Rose Pink background */
    color: #FFF;
    text-align: center;
    padding: 35px 20px;
    margin-top: 60px;
    border-top: 6px wavy #FFC0CB; /* Wavy border for playful touch */
    font-family: 'Handlee', cursive;
    font-size: 1em;
}
.footer-section p {
    margin: 0;
    color: #FFF;
}

/* General Headings and Paragraphs */
h1 {
    font-family: 'Pacifico', cursive;
    color: #DB7093; /* Medium Rose Pink for primary heading */
    font-size: 3.8em; /* Larger heading */
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(255, 192, 203, 0.8); /* Stronger soft pink shadow */
}
h2 {
    font-family: 'Pacifico', cursive;
    color: #5F9EA0; /* Cadet Blue (Teal) for secondary headings */
    font-size: 2.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(176, 224, 230, 0.6); /* Soft teal shadow */
}
h3 {
    font-family: 'Pacifico', cursive;
    color: #DB7093; /* Medium Rose Pink for tertiary headings */
    font-size: 2.2em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(255, 192, 203, 0.5);
}
p {
    font-family: 'Handlee', cursive;
    font-size: 1.4em; /* Slightly larger paragraph text */
    color: #4A235A; /* Deep plum for readability */
    margin-bottom: 28px;
}
.tagline {
    font-family: 'Pacifico', cursive;
    font-size: 2.5em; /* Larger tagline */
    color: #5F9EA0; /* Cadet Blue (Teal) for a gentle pop */
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}
.cta-button {
    background-color: #DB7093; /* Medium Rose Pink for the main CTA */
    color: white;
    padding: 20px 40px;
    border: 5px double #FFC0CB; /* Double border for a crafty look */
    border-radius: 35px; /* More rounded */
    font-family: 'Pacifico', cursive;
    font-size: 1.8em; /* Larger button text */
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(219, 112, 147, 0.5); /* Enhanced pink shadow */
    display: inline-block;
    margin-top: 35px;
    transition: all 0.4s ease;
    letter-spacing: 1.5px; /* Spaced out letters */
}
.cta-button:hover {
    background-color: #5F9EA0; /* Cadet Blue (Teal) on hover for distinct interaction */
    transform: translateY(-7px) scale(1.05); /* More pronounced hover effect */
    box-shadow: 0 15px 30px rgba(95, 158, 160, 0.6); /* Teal shadow on hover */
    border-color: #B0E0E6; /* Lighter teal border on hover */
}

/* What We Offer section styles (default.php) */
.offer-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}
.offer-card {
    background: linear-gradient(to bottom right, #FFF0F5, #FFDAB9); /* Blush white to Peach */
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 192, 203, 0.4); /* Soft pink shadow */
    width: 300px;
    text-align: center;
    border: 3px dashed #DB7093; /* Medium Rose Pink dashed border */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}
.offer-card::before {
    content: '✨'; /* Decorative sparkle */
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2.5em;
    opacity: 0.2;
    transform: rotate(-20deg);
    color: #B0E0E6; /* Light teal */
}
.offer-card::after {
    content: '💖'; /* Decorative heart */
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 2.5em;
    opacity: 0.2;
    transform: rotate(20deg);
    color: #FFC0CB; /* Light pink */
}
.offer-card:hover {
    transform: translateY(-8px) rotate(1deg); /* Slight lift and tilt */
    box-shadow: 0 15px 25px rgba(219, 112, 147, 0.6); /* Stronger pink shadow on hover */
}
.offer-card h3 {
    font-family: 'Pacifico', cursive;
    color: #4A235A;
    font-size: 1.8em;
    margin-bottom: 15px;
}
.offer-card p {
    font-size: 1.2em;
    color: #4A235A;
}

/* --- About Us Page Specific Styles --- */
.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    text-align: left;
}
.about-image {
    flex: 1;
    min-width: 350px;
    text-align: center;
}
.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(255, 192, 203, 0.4);
    border: 4px double #5F9EA0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 25px rgba(95, 158, 160, 0.5);
}
.about-text {
    flex: 2;
    min-width: 300px;
}
.about-text p {
    color: #4A235A;
    font-size: 1.25em;
    line-height: 1.8;
}
.about-text ul {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}
.about-text ul li {
    font-family: 'Handlee', cursive;
    font-size: 1.25em;
    margin-bottom: 12px;
    color: #4A235A;
    position: relative;
    padding-left: 35px;
}
.about-text ul li::before {
    content: '💖';
    position: absolute;
    left: 0;
    font-size: 1.2em;
    color: #DB7093;
    top: 0;
}

/* --- Inspiration Gallery Page Specific Styles --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    padding: 40px 0;
}
.gallery-item {
    background: #FFFAFA;
    border: 3px solid #DB7093;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(255, 192, 203, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    padding-bottom: 25px;
    position: relative;
}
.gallery-item::before {
    content: '🌟';
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 1.8em;
    opacity: 0.6;
    color: #B0E0E6;
}
.gallery-item::after {
    content: '🎨';
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 1.8em;
    opacity: 0.6;
    color: #FFC0CB;
}
.gallery-item:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 18px 30px rgba(219, 112, 147, 0.7);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 4px dashed #B0E0E6;
}
.gallery-item h3 {
    font-family: 'Pacifico', cursive;
    color: #4A235A;
    font-size: 2em;
    margin: 25px 0 12px;
}
.gallery-item p {
    font-family: 'Handlee', cursive;
    color: #4A235A;
    padding: 0 20px;
    font-size: 1.15em;
    margin-bottom: 20px;
}

/* --- Product Card Page Specific Styles --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    padding: 40px 0;
}
.product-card {
    background: #FFF0F5;
    border: 3px solid #5F9EA0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(176, 224, 230, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    padding-bottom: 25px;
    position: relative;
}
.product-card::before {
    content: '🌸';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1.8em;
    opacity: 0.6;
    color: #FFC0CB;
}
.product-card::after {
    content: '🎀';
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 1.8em;
    opacity: 0.6;
    color: #B0E0E6;
}
.product-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 18px 30px rgba(95, 158, 160, 0.7);
}
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 4px dashed #DB7093;
}
.product-card h3 {
    font-family: 'Pacifico', cursive;
    color: #DB7093;
    font-size: 2em;
    margin: 25px 0 12px;
}
.product-card p {
    font-family: 'Handlee', cursive;
    color: #4A235A;
    padding: 0 20px;
    margin-bottom: 20px;
}
.product-card .price {
    font-family: 'Pacifico', cursive;
    font-size: 1.6em;
    color: #5F9EA0;
    font-weight: bold;
    margin-bottom: 20px;
}
.add-to-cart-button {
    display: inline-block;
    background-color: #DB7093;
    color: #fff;
    padding: 12px 25px;
    border: 3px double #FFC0CB;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Pacifico', cursive;
    font-size: 1.2em;
    box-shadow: 0 6px 12px rgba(219, 112, 147, 0.4);
    transition: all 0.4s ease;
}
.add-to-cart-button:hover {
    background-color: #5F9EA0;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 16px rgba(95, 158, 160, 0.5);
    border-color: #B0E0E6;
}

/* --- Contact Page Specific Styles --- */
.contact-page-content {
    max-width: 800px; /* Slightly narrower card for contact form */
    padding: 40px;
    margin: 40px auto; /* Center the card */
    text-align: center;
}
.contact-page-content h2 {
    margin-bottom: 30px;
    font-size: 2.5em; /* Adjusted size for contact page */
}
.contact-info {
    margin-bottom: 30px;
    line-height: 2; /* More spacing for readability */
}
.contact-info p {
    font-size: 1.3em;
    color: #4A235A;
}
.contact-info p a {
    color: #DB7093;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
.contact-info p a:hover {
    color: #5F9EA0;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 500px; /* Limit form width within the card */
    margin: 0 auto;
    text-align: left;
}
.contact-form label {
    font-family: 'Pacifico', cursive;
    color: #DB7093;
    font-size: 1.3em;
    margin-bottom: 5px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background-color: #FFF0F5; /* Blush white input background */
    border: 2px dashed #B0E0E6; /* Light teal dashed border */
    border-radius: 10px;
    padding: 15px;
    font-family: 'Handlee', cursive;
    font-size: 1.1em;
    color: #4A235A;
    transition: all 0.3s ease;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #DB7093; /* Medium Rose Pink on focus */
    background-color: #FFFFFF; /* Brighter background on focus */
    box-shadow: 0 0 8px rgba(219, 112, 147, 0.3); /* Soft pink glow on focus */
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form button[type="submit"] {
    background-color: #5F9EA0; /* Cadet Blue (Teal) */
    color: white;
    padding: 15px 30px;
    border: 4px double #B0E0E6; /* Light teal double border */
    border-radius: 30px;
    font-family: 'Pacifico', cursive;
    font-size: 1.4em;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(95, 158, 160, 0.4); /* Teal shadow */
    transition: all 0.3s ease;
    margin-top: 15px;
}
.contact-form button[type="submit"]:hover {
    background-color: #DB7093; /* Medium Rose Pink on hover */
    border-color: #FFC0CB; /* Light pink border on hover */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 18px rgba(219, 112, 147, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 3.2em; }
    h2 { font-size: 2.4em; }
    h3 { font-size: 1.9em; }
    p { font-size: 1.3em; }
    .tagline { font-size: 2.2em; }
    .cta-button { font-size: 1.6em; padding: 18px 35px; }
    .offer-card { width: 45%; }
    .product-card { width: 45%; }
    .contact-page-content { max-width: 700px; padding: 30px; }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding-bottom: 15px;
    }
    nav {
        margin-top: 20px;
        justify-content: center; /* Center the nav container itself */
    }
    nav ul {
        justify-content: center; /* Center items when wrapped */
    }
    nav ul li {
        margin: 5px 10px; /* Adjust margin for wrapped items */
    }
    nav ul li a {
        font-size: 1.1em;
        padding-bottom: 3px;
    }
    nav ul li a::before { bottom: 0; height: 1px;}

    .main-content { margin-top: 30px; padding: 40px 20px; }
    h1 { font-size: 2.8em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.6em; }
    p { font-size: 1.2em; }
    .tagline { font-size: 1.8em; }
    .cta-button { font-size: 1.4em; padding: 15px 30px; }

    .offer-card { width: 90%; margin-bottom: 20px; }
    .product-card { width: 90%; margin-bottom: 20px; }

    .about-section { flex-direction: column; text-align: center; }
    .about-image { min-width: unset; }
    .about-text { text-align: center; }
    .about-text ul { padding-left: 0; }
    .about-text ul li { padding-left: 30px; } /* Adjust for centered text with icon */

    .gallery-grid, .product-grid {
        grid-template-columns: 1fr;
    }
    .contact-page-content { max-width: 90%; padding: 25px; }
    .contact-form { gap: 15px; }
}

@media (max-width: 480px) {
    .logo { height: 55px; }
    nav ul {
        flex-direction: column; /* Stack links on very small screens */
        align-items: center; /* Center stacked links */
    }
    nav ul li {
        margin: 8px 0; /* Vertical margin for stacked links */
    }
    nav ul li a {
        display: block;
        font-size: 1em;
    }
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.6em; }
    h3 { font-size: 1.4em; }
    p { font-size: 1.1em; }
    .tagline { font-size: 1.5em; }
    .cta-button { font-size: 1.2em; padding: 12px 25px; }
    .offer-card, .product-card { padding: 20px; }
    .gallery-item img, .product-card img { height: 200px; }
    .contact-page-content h2 { font-size: 2em; }
    .contact-info p { font-size: 1.1em; }
    .contact-form label { font-size: 1.1em; }
    .contact-form input, .contact-form textarea { padding: 12px; font-size: 1em; }
    .contact-form button { font-size: 1.2em; padding: 12px 25px; }
}

/* --- Cart Page Specific Styles --- */
.cart-page-content {
    background: linear-gradient(135deg, #FFF8F8 0%, #FFFAFA 100%); /* Blush White to very light pink */
    border: 2px dashed #DB7093; /* Medium Rose Pink dashed border */
    border-radius: 25px;
    padding: 30px;
    margin: 40px auto; /* Centered with vertical margin */
    max-width: 900px;
    box-shadow: 0 10px 25px rgba(255, 192, 203, 0.6), 0 0 15px rgba(255, 192, 203, 0.4) inset;
    text-align: center;
    position: relative; /* For decorative elements */
    overflow: hidden; /* Ensures shadows/borders are contained */
}

.cart-page-content::before, .cart-page-content::after {
    content: 'F380'; /* Pink Bow emoji */
    position: absolute;
    font-size: 2.5em;
    color: #FFC0CB;
    opacity: 0.7;
    pointer-events: none;
}

.cart-page-content::before {
    top: 15px;
    left: 15px;
    transform: rotate(-20deg);
}

.cart-page-content::after {
    bottom: 15px;
    right: 15px;
    transform: rotate(20deg);
}

.cart-page-content .page-title {
    font-family: 'Pacifico', cursive;
    color: #4A235A;
    font-size: 2.8em;
    margin-bottom: 35px;
    text-shadow: 2px 2px 5px rgba(255, 192, 203, 0.7);
}

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #FDFDFD;
    border: 1px solid #B0E0E6; /* Light Teal border */
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(176, 224, 230, 0.5);
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFFFFF;
    border: 1px solid #FFDAB9; /* Peach border */
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 3px 10px rgba(255, 218, 185, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 8px 20px rgba(255, 218, 185, 0.5);
}

.cart-item-image {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #FFC0CB;
    margin-right: 20px;
    box-shadow: 0 2px 8px rgba(255, 192, 203, 0.4);
}

.cart-item-details {
    flex-grow: 1;
    text-align: left;
}

.cart-item-details .item-name {
    font-family: 'Handlee', cursive;
    font-size: 1.5em;
    color: #DB7093;
    margin: 0 0 8px 0;
}

.cart-item-details .item-price {
    font-family: 'Handlee', cursive;
    font-size: 1.2em;
    color: #5F9EA0;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.item-quantity label {
    font-family: 'Handlee', cursive;
    color: #4A235A;
    font-size: 1.1em;
}

.item-quantity input[type="number"] {
    width: 60px;
    padding: 8px;
    border: 1px solid #B0E0E6;
    border-radius: 8px;
    font-family: 'Handlee', cursive;
    color: #4A235A;
    text-align: center;
    background-color: #F8FDFD;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.remove-item-btn {
    background-color: #FFDAB9; /* Peach */
    color: #4A235A;
    border: 1px solid #DB7093;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Handlee', cursive;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.remove-item-btn:hover {
    background-color: #DB7093; /* Medium Rose Pink */
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(219, 112, 147, 0.5);
}

.cart-summary {
    background-color: #FFF8F8; /* Blush White */
    border: 2px dotted #B0E0E6; /* Light Teal dotted border */
    border-radius: 20px;
    padding: 25px;
    margin-top: 35px;
    box-shadow: 0 8px 20px rgba(176, 224, 230, 0.4);
}

.cart-summary h2 {
    font-family: 'Pacifico', cursive;
    color: #4A235A;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(176, 224, 230, 0.6);
}

.cart-summary p {
    font-family: 'Handlee', cursive;
    font-size: 1.3em;
    color: #4A235A;
    margin-bottom: 12px;
}

.cart-summary p span {
    font-weight: bold;
    color: #DB7093;
}

.cart-summary .cart-total {
    font-size: 1.8em;
    color: #DB7093;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 30px;
    padding-top: 15px;
    border-top: 1px solid #FFC0CB; /* Light Pink separator */
}

.checkout-btn {
    background-color: #FFC0CB; /* Light Pink */
    color: #4A235A;
    border: 2px double #DB7093; /* Medium Rose Pink double border */
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Pacifico', cursive;
    font-size: 1.6em;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 192, 203, 0.5);
    text-decoration: none; /* In case it's an <a> styled as button */
    display: inline-block;
}

.checkout-btn:hover {
    background-color: #DB7093; /* Medium Rose Pink */
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(219, 112, 147, 0.7);
    border-color: #FFC0CB;
}

.back-to-shop-btn {
    background-color: transparent;
    color: #5F9EA0;
    border: 1px solid #B0E0E6;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Handlee', cursive;
    font-size: 1.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

.back-to-shop-btn:hover {
    background-color: #B0E0E6; /* Light Teal */
    color: #4A235A;
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(176, 224, 230, 0.5);
}

.empty-cart-message {
    font-family: 'Handlee', cursive;
    font-size: 1.5em;
    color: #DB7093;
    padding: 30px;
    border: 2px dashed #FFDAB9;
    border-radius: 15px;
    margin: 20px auto;
    background-color: #FFFDFD;
}

/* Responsive adjustments for Cart Page */
@media (max-width: 768px) {
    .cart-page-content {
        margin: 20px auto;
        padding: 20px;
    }
    .cart-page-content .page-title {
        font-size: 2.2em;
    }
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .cart-item-image {
        margin-bottom: 15px;
        margin-right: 0;
    }
    .cart-item-details {
        width: 100%;
    }
    .item-quantity {
        justify-content: flex-start;
        width: 100%;
    }
    .remove-item-btn {
        margin-top: 15px;
        width: 100%;
    }
    .cart-summary h2 {
        font-size: 1.8em;
    }
    .checkout-btn {
        font-size: 1.4em;
        padding: 12px 25px;
    }
    .back-to-shop-btn {
        font-size: 1em;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .cart-page-content {
        padding: 15px;
        margin: 15px auto;
    }
    .cart-page-content::before, .cart-page-content::after {
        font-size: 1.8em;
        top: 10px;
        left: 10px;
    }
    .cart-page-content::after {
        bottom: 10px;
        right: 10px;
    }
    .cart-page-content .page-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .cart-item-image {
        width: 70px;
        height: 70px;
    }
    .cart-item-details .item-name {
        font-size: 1.3em;
    }
    .cart-item-details .item-price {
        font-size: 1em;
    }
    /* Cart Badge Styling */
    .cart-badge {
        background-color: #ff5722;
        color: white;
        border-radius: 50%;
        padding: 2px 7px;
        font-size: 0.75em;
        font-weight: bold;
        margin-left: 5px;
        display: inline-block;
        min-width: 20px;
        text-align: center;
        line-height: 1.4;
    }

    /* Hide badge when cart is empty */
    .cart-badge.empty {
        display: none;
    }
    
    .remove-item-btn {
        font-size: 0.9em;
        padding: 7px 12px;
    }\n    .cart-summary p {\n        font-size: 1.1em;\n    }\n    .cart-summary .cart-total {\n        font-size: 1.5em;\n    }\n    .checkout-btn {\n        font-size: 1.2em;\n        padding: 10px 20px;\n    }\n    .back-to-shop-btn {\n        font-size: 0.9em;\n        padding: 7px 12px;\n    }\n}\n\n/* General Styling for Product Cards and Cart */\n.product-card {\n    border: 2px dashed #ffb6c1; /* Light Pink */\n    border-radius: 15px;\n    padding: 20px;\n    margin: 20px;\n    text-align: center;\n    background-color: #fff0f5; /* Lavender Blush */\n    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);\n    transition: transform 0.2s ease-in-out;\n}\n\n.product-card:hover {\n    transform: translateY(-5px);\n}\n\n.product-image {\n    max-width: 100%;\n    height: auto;\n    border-radius: 10px;\n    margin-bottom: 15px;\n}\n\n.product-name {\n    font-family: 'Brush Script MT', cursive; /* Example brush font */\n    color: #8b008b; /* Dark Magenta */\n    font-size: 1.8em;\n    margin-bottom: 10px;\n}\n\n.product-description {\n    color: #6a5acd; /* Slate Blue */\n    font-size: 0.9em;\n    margin-bottom: 15px;\n}\n\n.product-price {\n    font-weight: bold;\n    color: #ff69b4; /* Hot Pink */\n    font-size: 1.3em;\n    margin-bottom: 20px;\n}\n\n.add-to-cart-btn, .submit-order-btn, #clear-cart-btn {\n    background: linear-gradient(45deg, #ffc0cb, #dda0dd); /* Pink to Plum gradient */\n    color: white;\n    border: none;\n    border-radius: 25px;\n    padding: 12px 25px;\n    font-size: 1.1em;\n    cursor: pointer;\n    transition: background-color 0.3s ease;\n    font-family: 'Comic Sans MS', cursive; /* Playful font */\n    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);\n}\n\n.add-to-cart-btn:hover, .submit-order-btn:hover, #clear-cart-btn:hover {\n    background: linear-gradient(45deg, #dda0dd, #ffc0cb);\n}\n\n/* Cart Page Specifics */\n.cart-page {\n    padding: 40px;\n    max-width: 800px;\n    margin: 30px auto;\n    background-color: #f8f8ff; /* Ghost White */\n    border: 3px solid #ffb6c1; /* Light Pink */\n    border-radius: 20px;\n    box-shadow: 8px 8px 20px rgba(0,0,0,0.15);\n}\n\n.cart-page h1, .cart-page h2 {\n    font-family: 'Brush Script MT', cursive;\n    color: #8b008b;\n    text-align: center;\n    margin-bottom: 30px;\n}\n\n#cart-items {\n    margin-bottom: 30px;\n    border-top: 1px dashed #ffc0cb;\n    padding-top: 20px;\n}\n\n.cart-item {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    padding: 10px 0;\n    border-bottom: 1px dotted #e6e6fa; /* Lavender */\n}\n\n.cart-item:last-child {\n    border-bottom: none;\n}\n\n.item-details {\n    flex-grow: 1;\n}\n\n.item-details span {\n    font-weight: bold;\n    color: #6a5acd;\n}\n\n.item-quantity, .item-price {\n    color: #ff69b4;\n    margin-left: 15px;\n}\n\n.cart-summary {\n    text-align: right;\n    margin-top: 20px;\n    font-size: 1.5em;\n    font-weight: bold;\n    color: #8b008b;\n}\n\n.cart-summary #cart-total {\n    color: #ff69b4;\n}\n\n#clear-cart-btn {\n    margin-top: 15px;\n}\n\n/* Checkout Form */\n#checkout-form {\n    margin-top: 30px;\n    padding: 20px;\n    border: 1px solid #dda0dd;\n    border-radius: 10px;\n    background-color: #fffafa; /* Snow */\n}\n\n.form-group {\n    margin-bottom: 20px;\n}\n\n.form-group label {\n    display: block;\n    margin-bottom: 8px;\n    font-weight: bold;\n    color: #6a5acd;\n    font-family: 'Comic Sans MS', cursive;\n}\n\n.form-group input[type="text"],\n.form-group input[type="email"],\n.form-group input[type="tel"] {\n    width: calc(100% - 20px);\n    padding: 12px;\n    border: 1px solid #ffb6c1;\n    border-radius: 8px;\n    font-size: 1em;\n    box-sizing: border-box; /* Include padding in width */\n}\n\n.form-group input:focus {\n    border-color: #dda0dd;\n    outline: none;\n    box-shadow: 0 0 5px rgba(221, 160, 221, 0.5);\n}\n\n.submit-order-btn {\n    width: 100%;\n    margin-top: 20px;\n}\nEOF

/* style.css additions for product cards and cart */

.product-card {
    border: 2px dashed #ffb3e6; /* Playful dashed border */
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85); /* Slightly transparent white */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    width: calc(33% - 40px); /* Three columns, adjust for responsiveness */
    display: inline-block; /* For flexible alignment */
    vertical-align: top;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    max-width: 100%;
    height: 200px; /* Consistent image height */
    object-fit: cover; /* Ensures images cover area without distortion */
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid #e0b3ff; /* Pastel border for images */
}

.product-card h3 {
    font-family: 'Brush Script MT', cursive; /* Playful font for titles */
    color: #8a2be2; /* Blue-violet */
    font-size: 1.8em;
    margin-bottom: 10px;
}

.product-card .product-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
    min-height: 50px; /* Ensure consistent card height if descriptions vary */
}

.product-card .product-price {
    font-size: 1.4em;
    font-weight: bold;
    color: #ff69b4; /* Hot pink */
    margin-bottom: 20px;
}

.add-to-cart-btn {
    background: linear-gradient(to right, #ff9a9e, #fad0c4); /* Soft pink gradient */
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}

.add-to-cart-btn:hover {
    background: linear-gradient(to right, #fa709a, #febc9d); /* Darker gradient on hover */
    transform: translateY(-2px);
}

/* Responsive adjustments for product cards */
@media (max-width: 768px) {
    .product-card {
        width: calc(50% - 40px); /* Two columns on tablets */
    }
}

@media (max-width: 480px) {
    .product-card {
        width: calc(100% - 40px); /* Single column on mobile */
    }
}


/* Cart Page Specific Styles */
.cart-container, .checkout-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 3px double #d6c6f2;
}

.cart-container h1, .checkout-container h1 {
    font-family: 'Prata', serif;
    color: #6a1b9a;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.8em;
}

.cart-items {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #e0e0e0;
}

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

.cart-item span {
    flex: 1;
    font-size: 1.1em;
    color: #36344d;
}

.cart-item input[type="number"] {
    width: 60px;
    padding: 8px;
    border: 1px solid #d6c6f2;
    border-radius: 8px;
    text-align: center;
    margin: 0 15px;
    font-family: 'Montserrat', sans-serif;
}

.cart-item .remove-from-cart {
    background-color: #ff69b4; /* Hot pink */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-item .remove-from-cart:hover {
    background-color: #e05a9f;
}

.cart-summary {
    text-align: right;
    margin-top: 30px;
    font-size: 1.3em;
    font-weight: bold;
    color: #6a1b9a;
    border-top: 2px solid #d6c6f2;
    padding-top: 20px;
}

.cart-actions {
    text-align: center;
    margin-top: 30px;
}

.cart-actions .cta-button {
    margin: 0 10px;
}

.checkout-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #6a1b9a;
}

.checkout-form input[type="text"], .checkout-form input[type="email"], .checkout-form input[type="tel"] {
    width: calc(100% - 22px); /* Adjust for padding and border */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #d6c6f2;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}

.checkout-form input[type="text"]:focus, .checkout-form input[type="email"]:focus, .checkout-form input[type="tel"]:focus {
    border-color: #ff69b4;
    box-shadow: 0 0 5px rgba(255, 105, 180, 0.5);
    outline: none;
}

.checkout-items-summary p {
    margin: 5px 0;
    color: #555;
}

.checkout-items-summary hr {
    border: 0;
    border-top: 1px dashed #d6c6f2;
    margin: 15px 0;
}

.checkout-items-summary strong {
    color: #ff69b4;
}

#checkout-button {
    background: linear-gradient(to right, #8e44ad, #d6c6f2); /* Purple gradient */
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    width: 100%; /* Full width button */
}

#checkout-button:hover {
    background: linear-gradient(to right, #7a329d, #c0b0e0); /* Darker on hover */
    transform: translateY(-3px);
}

#checkout-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
