/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333333;
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #4A4A4A;
}

.text-primary {
    color: #957DAD !important; /* Medium Purple-Pink */
}

.btn-primary {
    background-color: #D291BC; /* Rose-Pink */
    border-color: #D291BC;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #E0BBE4; /* Light Purple-Pink */
    border-color: #E0BBE4;
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-secondary {
    color: #666666;
    border-color: #CCCCCC;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    color: #333333;
    background-color: #F8F8F8;
    border-color: #999999;
}

.bg-light-pink {
    background-color: #FFF0F5; /* Blush Pink */
}

.bg-dark-pink {
    background-color: #D291BC; /* Rose-Pink for footer */
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.rounded-3 {
    border-radius: 0.5rem !important;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}
.navbar-brand p {
    margin: 0 !important;
}
.navbar-brand .logo-img {
    height: 40px;
    transition: transform 0.3s ease;
}
.navbar-brand {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.navbar-brand .logo-img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #4A4A4A;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #957DAD;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #957DAD;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.cart-icon-btn {
    display: flex;
    align-items: center;
    position: relative;
}

.cart-icon-btn .cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.7rem;
    padding: 0.2em 0.5em;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-section .carousel-item {
    height: 100vh;
    min-height: 500px;
}

.hero-section .hero-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.7); /* Dark overlay */
}

.hero-section .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.3); /* Ensure text readability */
    padding-bottom: 150px; /* Adjust for indicators */
}

.hero-section .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .carousel-caption p {
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 1.5rem;
}

.hero-section .carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.5);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-section .carousel-indicators button.active {
    background-color: #D291BC;
    width: 12px;
    height: 12px;
}

/* Product Item Section */
.product-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2) !important;
}

.product-card .card-img-top {
    height: 400px;
    object-fit: contain;
    border-top-left-radius: calc(0.5rem - 1px);
    border-top-right-radius: calc(0.5rem - 1px);
}

.product-card .original-price {
    font-size: 1.1rem;
    color: #999999;
}

.product-card .current-price {
    font-size: 2rem;
    font-weight: 700;
}

.product-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.product-features .feature-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: #957DAD;
}

.countdown-timer {
    background-color: #E0BBE4;
    color: #FFFFFF;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.countdown-timer .timer-icon {
    font-size: 1.5rem;
    vertical-align: middle;
}

.countdown-timer .time-value {
    font-weight: 700;
    line-height: 1;
}

.countdown-timer .time-segment small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(210, 145, 188, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(210, 145, 188, 0); }
    100% { box-shadow: 0 0 0 0 rgba(210, 145, 188, 0); }
}

/* Store Info Section */
.store-info-gallery img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-info-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Payment Methods Section */
.payment-method-card {
    border: 1px solid #F0F0F0;
    transition: all 0.3s ease;
}

.payment-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
    border-color: #D291BC;
}

.payment-method-card .material-symbols-outlined {
    font-size: 3.5rem;
}

/* Delivery Info Section (Timeline) */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #E0BBE4;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 0;
}

.timeline-item {
    padding: 10px 0;
    position: relative;
    width: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 30px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 30px;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 15px;
    border-radius: 50%;
    background-color: #957DAD;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 0 0 5px rgba(224, 187, 228, 0.5);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content {
    position: relative;
    background-color: #FFF0F5;
    border: 1px solid #E0BBE4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Guarantee Section */
.guarantee-box {
    background-color: #D291BC; /* Rose-Pink */
    color: #FFFFFF;
    max-width: 700px;
    border: 5px solid #E0BBE4;
}

.guarantee-box .material-symbols-outlined {
    font-size: 5rem;
    color: #FFD700; /* Gold */
}

/* Customer Reviews Section */
.review-card {
    border: 1px solid #EEEEEE;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.review-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #D291BC;
}

.review-card .stars .material-symbols-outlined {
    color: #FFD700; /* Gold for stars */
    font-size: 1.2rem;
    vertical-align: middle;
}

/* Footer */
.footer {
    background-color: #957DAD; /* Darker Purple-Pink */
    color: rgba(255, 255, 255, 0.7);
}

.footer .footer-logo {
    filter: brightness(1.5); /* Make logo visible on dark background */
}

.footer h5 {
    color: #FFFFFF;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #FFFFFF;
}

.footer .social-links .material-symbols-outlined {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.footer .social-links a:hover .material-symbols-outlined {
    transform: scale(1.1);
    color: #E0BBE4;
}

/* Shopping Cart Modal */
#cartModal .modal-content, #checkoutModal .modal-content, #orderConfirmationModal .modal-content, #productAddedModal .modal-content {
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#cartModal .modal-header, #checkoutModal .modal-header, #cookieSettingsModal .modal-header {
    background-color: #FFF0F5;
    border-bottom: 1px solid #E0BBE4;
    color: #4A4A4A;
}

#cart-items-container .cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

#cart-items-container .cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    border: 1px solid #E0BBE4;
}

#cart-items-container .cart-item-details {
    flex-grow: 1;
}

#cart-items-container .cart-item-details h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

#cart-items-container .cart-item-details .item-price {
    font-weight: 500;
    color: #957DAD;
}

#cart-items-container .item-quantity-control {
    width: 100px;
    margin-right: 15px;
}

#cart-items-container .item-subtotal {
    font-weight: 700;
    color: #D291BC;
    min-width: 80px;
    text-align: right;
}

#cart-items-container .remove-item-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    padding: 0;
    margin-left: 10px;
    transition: color 0.2s ease;
}

#cart-items-container .remove-item-btn:hover {
    color: #c82333;
    transform: scale(1.1);
}

.empty-cart-message {
    padding: 20px;
    font-style: italic;
}

.checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    z-index: 1050;
    display: none; /* Hidden by default, shown by JS */
    border: 1px solid #E0BBE4;
}

.cookie-banner .card-title {
    color: #4A4A4A;
}

.cookie-banner .card-text a {
    font-weight: 600;
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-body strong {
    color: #4A4A4A;
}

#cookieSettingsModal .form-check-input:checked {
    background-color: #D291BC;
    border-color: #D291BC;
}

#cookieSettingsModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(210, 145, 188, 0.25);
}

/* Material Symbols Outlined default settings */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #cart-items-container .cart-item {
        flex-direction: column;
        gap: 15px;
    }
    .hero-section .carousel-caption h1 {
        font-size: 2.5rem;
    }
    .hero-section .carousel-caption p {
        font-size: 1rem;
    }
    .timeline-container::after {
        left: 25px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
    }
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }
    .timeline-item:nth-child(even) {
         left: 0;
         padding-right: 30px;
        padding-left: 60px;
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-icon {
        right: auto;
        left: 0;
    }
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }
    .cookie-banner {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section .carousel-caption {
        padding-bottom: 100px;
    }
    .hero-section .carousel-caption h1 {
        font-size: 2rem;
    }
    .hero-section .carousel-caption p {
        font-size: 0.9rem;
    }
    .product-card .card-img-top {
        height: 250px;
    }
    .countdown-timer .time-value {
        font-size: 2rem;
    }
    .countdown-timer .time-segment small {
        font-size: 0.7rem;
    }
}/*
 * New styles for standard text elements within the .rightsFieldUnit container.
 * These styles provide basic typography settings, ensuring readability and hierarchy
 * without overly large font sizes for headings.
 */

/* Container for text content, providing internal padding and max-width for readability */
.rightsFieldUnit {
    padding-top: 2.5rem; /* Top padding for the content block */
    padding-bottom: 2.5rem; /* Bottom padding for the content block */
    padding-inline: 1.25rem; /* Left and right padding for the content block */
    max-width: 1000px; /* Maximum width for the content to prevent overstretching on large screens */
    margin-inline: auto; /* Center the content block horizontally */
}

/* Heading 1 styles */
.rightsFieldUnit h1 {
    font-family: 'Playfair Display', serif; /* Inherit heading font family */
    font-size: 2.2rem; /* Moderate font size for main headings */
    font-weight: 700; /* Bold font weight */
    color: #4A4A4A; /* Inherit heading color */
    margin-top: 2.5rem; /* Top margin for spacing above the heading */
    margin-bottom: 1rem; /* Bottom margin for spacing below the heading */
    line-height: 1.2; /* Line height for better readability */
}

/* Heading 2 styles */
.rightsFieldUnit h2 {
    font-family: 'Playfair Display', serif; /* Inherit heading font family */
    font-size: 1.8rem; /* Moderate font size for secondary headings */
    font-weight: 600; /* Semi-bold font weight */
    color: #4A4A4A; /* Inherit heading color */
    margin-top: 2rem; /* Top margin */
    margin-bottom: 0.8rem; /* Bottom margin */
    line-height: 1.25; /* Line height */
}

/* Heading 3 styles */
.rightsFieldUnit h3 {
    font-family: 'Playfair Display', serif; /* Inherit heading font family */
    font-size: 1.5rem; /* Moderate font size for tertiary headings */
    font-weight: 600; /* Semi-bold font weight */
    color: #4A4A4A; /* Inherit heading color */
    margin-top: 1.75rem; /* Top margin */
    margin-bottom: 0.7rem; /* Bottom margin */
    line-height: 1.3; /* Line height */
}

/* Heading 4 styles */
.rightsFieldUnit h4 {
    font-family: 'Playfair Display', serif; /* Inherit heading font family */
    font-size: 1.25rem; /* Moderate font size for quaternary headings */
    font-weight: 500; /* Medium font weight */
    color: #4A4A4A; /* Inherit heading color */
    margin-top: 1.5rem; /* Top margin */
    margin-bottom: 0.6rem; /* Bottom margin */
    line-height: 1.35; /* Line height */
}

/* Heading 5 styles */
.rightsFieldUnit h5 {
    font-family: 'Playfair Display', serif; /* Inherit heading font family */
    font-size: 1.1rem; /* Moderate font size for quinary headings */
    font-weight: 500; /* Medium font weight */
    color: #4A4A4A; /* Inherit heading color */
    margin-top: 1.25rem; /* Top margin */
    margin-bottom: 0.5rem; /* Bottom margin */
    line-height: 1.4; /* Line height */
}

/* Paragraph styles */
.rightsFieldUnit p {
    font-family: 'Poppins', sans-serif; /* Inherit body font family */
    font-size: 1rem; /* Standard paragraph font size */
    color: #333333; /* Inherit body text color */
    margin-bottom: 1rem; /* Bottom margin for spacing between paragraphs */
    line-height: 1.7; /* Increased line height for better readability */
}

/* Unordered list styles */
.rightsFieldUnit ul {
    font-family: 'Poppins', sans-serif; /* Inherit body font family */
    color: #333333; /* Inherit body text color */
    margin-top: 1rem; /* Top margin for spacing above the list */
    margin-bottom: 1rem; /* Bottom margin for spacing below the list */
    padding-left: 1.5rem; /* Indentation for list items */
    list-style-type: disc; /* Standard bullet points */
}

/* List item styles */
.rightsFieldUnit li {
    font-size: 1rem; /* Standard list item font size */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6; /* Line height for list items */
}
section {
    overflow: hidden;
}
footer .row {
    justify-content: space-between;
}