@import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Dancing+Script:wght@400..700&family=Playwrite+DK+Loopet:wght@100..400&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Dancing+Script:wght@400..700&family=Playwrite+DK+Loopet:wght@100..400&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Comic+Neue&family=Lobster&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");

:root {
    --text-color: #c2255c;
    --dark-primary: #a71045;
    --ptext: #333;
    --secondary: #ec4899;
    --background-color: #e8d2f0;
    --mild-pink: #eddbf4;

    --white: #ffffff;
    --red: #e21f1f;

    --header-bg: linear-gradient(45deg, #f9a8d4, #f3e8ff);

    --special-occasion: rgba(237, 219, 244, 0.9);

    --link: #3b82f6;

}



.special-occasion-element {
    background: var(--special-occasion);
}


.custom-ring {
    --tw-ring-color: var(--pastel);
}


.lobster-regular {
    font-family: "Lobster", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.cursive {
    font-family: "Playwrite DK Loopet", cursive;
}

body {
    font-family: "Urbanist", sans-serif;
}



.container {
    width: 90%;
    margin: auto;
}

/* Text Animation */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top Announcement Bar */
.top-bar {
    background: var(--color-primary);
    color: white;
    padding: 8px 0;
}

.top-bar marquee {
    display: flex;
    align-items: center;
}

.marquee-item {
    margin-right: 20px;
    font-size: 0.875rem;
}

.marquee-item i {
    margin-right: 8px;
}

/* Hero Section */
.hero {
    background: var(--pink);
    padding: 40px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-description h1 {
    font-family: "Playwrite DK Loopet", cursive;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    animation-delay: 0.2s;
}

.hero-description h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    animation-delay: 0.4s;
}

.hero-description p {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 16px;
    animation-delay: 0.6s;
}

.hero-description button {
    background: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 9999px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

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

.hero-image {
    width: 100%;
    max-width: 550px;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 auto;
}

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

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

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: #1ee166;
    /* WhatsApp green in case image has transparent space */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.card {
    width: min(100%, 240px);
    /* Full width on small screens, max 240px */
    height: 310px;
    border-radius: 20px;
    background: #f5f5f5;
    position: relative;
    border: 2px solid #f7f8fb;
    transition: transform 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    /* Center card */
}

.card img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {


    .card {
        width: min(100%, 220px);
        /* Slightly smaller on tablets */
        height: 280px;
        /* Adjust height */
    }

    .card img {
        height: 160px;
        /* Smaller image height */
    }

    .card-details {
        height: calc(100% - 160px);
        /* Adjust for smaller image */
        padding: 0.75rem;
    }

    .card-button {
        width: 70%;
        /* Wider button for touch */
        padding: 0.25rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .card-price span {
        font-size: 13px;
    }

    .card {
        width: 100%;
        /* Full width on mobile */
        height: 260px;
    }

    .card img {
        height: 140px;
    }

    .card-details {
        height: calc(100% - 140px);
        padding: 0.5rem;
    }

    .card-title {
        line-height: 1.1rem;
    }

    .card-price {
        padding-bottom: 1.5rem;
    }

    .dis {
        font-size: 10px;
        padding: 0.25rem 0.75rem;
        /* Smaller badge */
    }
}

.card:hover img {
    transform: scale(1.05);
    /* zoom in image slightly */
}

.card:hover .dis {
    transform: scale(1.1);
    /* zoom in image slightly */
}

.card-details {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 180px);
    /* adjusts based on image height */
}

.card-title {
    font-size: 20px;
    font-weight: 9 00;
    margin-bottom: 0.25rem;
    line-height: 1.25rem;
    text-align: center;
}

.card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #dc2626;
    text-align: center;
    padding-bottom: 40px;
}

/* Hide card-button by default */
.card-button {
    display: none;
}

/* Apply card-button styles only on lg screens (1024px and above) */
@media (min-width: 1024px) {
    .card-button {
        display: block;
        transform: translate(-50%, 100%);
        width: 60%;
        border-radius: 1rem;
        border: none;
        background-color: #c2255c;
        color: #fff;
        font-size: 18px;
        padding: 0.3rem 1rem;
        position: absolute;
        left: 50%;
        bottom: -3px;
        opacity: 0;
        transition: 0.3s ease-out;
    }
}

/* Apply hover effects for card-button only on sm screens (640px and above) */
@media (min-width: 640px) {
    .card-button:hover {
        background-color: #ec2369;
    }

    .card:hover .card-button {
        transform: translate(-50%, -20%);
        opacity: 1;
    }
}

/* Card hover styles (applied on all screen sizes) */
.card:hover {
    transform: scale(1.03);
    border-color: #d485c7;
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.product-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-top: 1rem;
}

.product-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #1f2937;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ec4899;
    margin-top: 0.5rem;
}

.product-shipping {
    font-size: 0.875rem;
    color: #6b7280;
}

.btn-variant,
.btn-size {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #374151;
    background-color: white;
    cursor: pointer;
    margin-right: 8px;
    margin-top: 6px;
    transition: all 0.2s ease;
}

.btn-variant.selected,
.btn-size.selected {
    border-color: var(--secondary);
    color: var(--secondary);
    font-weight: 600;
    background-color: #fdf2f8;
}

.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 6px;
}

.qty-btn {
    border: 1px solid #d1d5db;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    background-color: white;
    transition: background-color 0.2s ease;
}

.qty-btn:hover {
    background-color: #fce7f3;
}

.add-to-cart {
    background-color: var(--secondary);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    transition: background-color 0.2s ease;
}

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

.description {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.description a {
    color: #3b82f6;
    text-decoration: underline;
}

.description a span {
    color: #dc2626;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    /* Tailwind slate-300 */
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

/* Optional: For Firefox */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f1f1;
}

.accordion-button {
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-content {
    display: none;
    transition: all 0.3s ease;
}

.accordion-content.active {
    display: block;
}

.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.search-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.highlight {
    background-color: #fef3c7;
}

.footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer a {
    transition: color 0.3s ease;
}

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

/* Ensure links are accessible */
.footer ul li a {
    display: block;
    /* Improves tap target size on mobile */
}
