body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

:root {
    --primary-color: #F8B4C2; /* Soft Pink */
    --secondary-color: #FFDDAA; /* Light Yellow */
    --dark-pink: #E0A0B0;
    --light-pink: #FCEEF0;
    --light-yellow: #FFF8E1;
    --text-color: #333;
    --white: #ffffff;
    --dark: #212529;
}

.bg-light-pink {
    background-color: var(--light-pink);
}

.bg-light-yellow {
    background-color: var(--light-yellow);
}

.bg-dark-pink {
    background-color: var(--dark-pink);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--dark-pink);
    border-color: var(--dark-pink);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: var(--white);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark-pink);
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .site-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.offcanvas-header {
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offcanvas-title {
    font-weight: 700;
    color: var(--dark);
}

.offcanvas-body {
    overflow-x: hidden;
}

.btn-cart {
    background-color: transparent;
    border: none;
    color: var(--dark);
    font-size: 1.2rem;
    position: relative;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.btn-cart:hover {
    color: var(--primary-color);
}

.btn-cart .badge {
    position: absolute;
    top: 0px;
    right: -5px;
    font-size: 0.7em;
    padding: 0.3em 0.6em;
    background-color: var(--primary-color) !important;
    color: var(--dark) !important;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-image: url('images/graphics/hero-fashion-model.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px; /* To account for fixed navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-section h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* General Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark);
}

/* About Us Section */
.about-section p {
    color: var(--text-color);
}

/* Categories Section */
.category-card .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
}

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

.category-card .card-img-top {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.category-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 1rem;
}

.category-card .card-text {
    color: #6c757d;
}

/* Product Showcase */
.product-card {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card .card-img-top {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.product-card .card-body {
    padding: 1.25rem;
}

.product-card .card-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Featured Products Slider */
.carousel-item img {
    border-radius: 0.75rem;
    height: 350px;
    object-fit: cover;
}

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

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

/* Newsletter Section */
.newsletter-section .form-control {
    max-width: 400px;
    border-color: var(--primary-color);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
}

.newsletter-section .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(248, 180, 194, 0.25);
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-pink);
    color: var(--white);
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
}

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

.footer-link:hover {
    color: var(--white);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Cart Modal */
#cartModal .modal-content {
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-right: 1rem;
}

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

.cart-item-details h6 {
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: var(--dark);
}

.cart-item-details .item-price {
    font-size: 0.95rem;
    color: #6c757d;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-item-actions .form-select {
    width: 70px;
}

.cart-item-subtotal {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 80px;
    text-align: right;
}

#cart-total {
    color: var(--primary-color);
}

/* Item Added Modal */
#itemAddedModal .modal-body {
    padding: 2rem;
}

#itemAddedModal .fa-check-circle {
    color: #28a745;
}

/* Checkout Modal */
#checkoutModal .modal-content {
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#checkoutModal h6 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Order Confirmation Modal */
#orderConfirmationModal .modal-content {
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#orderConfirmationModal .fa-check-circle {
    color: #28a745;
}

/* Cookie Banner */
.cookie-banner {
    background-color: var(--dark);
    color: var(--white);
    padding: 1rem 1.5rem;
    z-index: 1070; /* Above modals */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark);
}

.cookie-banner .btn-primary:hover {
    background-color: var(--dark-pink);
    border-color: var(--dark-pink);
    color: var(--white);
}

.cookie-banner .btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.cookie-banner .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark);
}

/* Cookie Settings Modal */
#cookieSettingsModal {
    z-index: 1080; /* Above cookie banner */
}

#cookieSettingsModal .modal-content {
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Typography */
.site-name {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
}

h1 {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
}

h2.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

h3.card-title {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
}

h5.card-title {
    font-size: clamp(1rem, 3vw, 1.15rem);
}

@media (max-width: 1300px) {
    .navbar-nav {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .navbar-nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
}

@media (max-width: 1100px) {
    .offcanvas-end {
        width: 250px;
    }
    .navbar-nav {
        flex-direction: column;
        overflow-x: hidden;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        text-align: left;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .navbar-brand .site-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 70vh;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .navbar-brand .site-name {
        font-size: 1.15rem;
    }
    .navbar-brand .logo-img {
        height: 30px;
    }
    .newsletter-section .form-control {
        margin-bottom: 0.5rem;
    }
    .newsletter-section form {
        flex-direction: column;
        align-items: center;
    }
    .newsletter-section .btn-lg {
        width: 100%;
        max-width: 400px;
    }
    .cookie-banner .container {
        flex-direction: column;
    }
    .cookie-banner .d-flex.flex-column.flex-sm-row {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner .btn-sm {
        width: 100%;
    }
    .cookie-banner p {
        text-align: center;
    }
}
/* Wrapper for rights content, providing overall spacing */

/* Paragraph styles */
.rightsCloudWrap p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1em; /* Space below paragraphs */
}

/* Heading 1 styles */
.rightsCloudWrap h1 {
    font-size: 24px;
    font-weight: 600; /* Semi-bold */
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

/* Heading 2 styles */
.rightsCloudWrap h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.4em;
    margin-bottom: 0.7em;
}

/* Heading 3 styles */
.rightsCloudWrap h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.3em;
    margin-bottom: 0.6em;
}

/* Heading 4 styles */
.rightsCloudWrap h4 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

/* Heading 5 styles */
.rightsCloudWrap h5 {
    font-size: 16px; /* Similar to paragraph, but still a distinct heading */
    font-weight: 600;
    line-height: 1.5;
    margin-top: 1.1em;
    margin-bottom: 0.4em;
}

/* Unordered list styles */
.rightsCloudWrap ul {
    list-style: disc; /* Default bullet style */
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 25px; /* Indentation for bullet points */
}

/* List item styles */
.rightsCloudWrap li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0.5em; /* Space between list items */
}

@media (max-width: 575px){

    #cart-items-container{
     .cart-item{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
     }   
     .cart-item-subtotal{
        text-align: center;
        margin-top: 20px;
     }
    }
}