/* style.css (Final Code) */

:root {
    --primary-red: #dc3545;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --text-dark: #212529;
    --text-light: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
}

/* Header & Search Bar */
.app-header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
}
.search-bar-wrapper .form-control {
    border-radius: 50px 0 0 50px;
    border: 1px solid #ced4da;
    border-right: none;
    height: 40px;
}
.search-bar-wrapper .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-red);
}
.search-bar-wrapper .btn-search {
    background-color: var(--primary-red);
    color: #fff;
    border-radius: 0 50px 50px 0;
    width: 50px;
}

/* Swiper Slider */
.mySwiper {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.swiper-slide img {
    width: 100%;
    object-fit: cover;
}
.swiper-pagination-bullet-active {
    background: var(--primary-red) !important;
}

/* Section Header View All Button */
.btn-view-all {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 50px;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}

.btn-view-all:hover {
    background-color: var(--primary-red);
    color: #fff;
}

/* Product Card Design */
.product-card {
    background-color: var(--light-gray);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-img-container {
    position: relative;
    background-color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image {
    max-width: 80%;
    height: 100px; /* Fixed height for consistency */
    object-fit: contain;
}
.discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--primary-red);
    color: white;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.wishlist-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #ccc;
    cursor: pointer;
}
.wishlist-btn:hover {
    color: var(--primary-red);
}

.product-card-body {
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Makes body take remaining space */
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    margin-bottom: 10px;
}
.original-price {
    font-size: 0.8rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 5px;
}
.current-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-red);
}

.btn-add-to-cart {
    background-color: var(--primary-red);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 500;
    width: 100%;
    text-decoration: none;
    margin-top: auto; /* Pushes button to the bottom */
}
.btn-add-to-cart:hover {
    background-color: #b02a37;
    color: white;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    z-index: 1030;
}
.bottom-nav-item {
    color: var(--text-light);
    font-size: 1.5rem;
    text-decoration: none;
}
.bottom-nav-item.active, .bottom-nav-item:hover {
    color: var(--primary-red);
}
.bottom-nav .badge {
    top: 2px !important;
    right: -5px !important;
    font-size: 0.6rem;
}

/*
=================================
Cart Page Styles
=================================
*/

/* Empty Cart Message */
.empty-cart-container {
    padding: 40px 0;
}
.empty-cart-icon {
    font-size: 5rem;
    color: var(--border-color);
}

/* Cart Item Design */
.cart-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background-color: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    margin-right: 15px;
}
.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

.cart-item-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: 500;
    margin-bottom: 10px;
}

/* Quantity Changer */
.quantity-changer {
    display: flex;
    align-items: center;
}
.btn-qty {
    border: 1px solid var(--border-color);
    background-color: var(--light-gray);
    width: 30px;
    height: 30px;
    font-weight: 600;
    border-radius: 50%;
}
.qty-input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 0 5px;
    /* Hide arrows from number input */
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.btn-update-cart {
    background: none;
    border: none;
    color: var(--primary-red);
    font-weight: 500;
    font-size: 0.8rem;
    text-decoration: underline;
}

/* Remove Button */
.btn-remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
}
.btn-remove-item:hover {
    color: var(--primary-red);
}


/* Order Summary Card */
.cart-summary {
    background-color: var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 80px; /* Adjust based on header height */
}
.summary-title {
    font-weight: 700;
    margin-bottom: 20px;
}
.summary-item, .summary-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-light);
}
.summary-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
}
.summary-total span:last-child {
    color: var(--primary-red);
}

/*
=================================
My Account / Profile Page Styles
=================================
*/

.my-account-container {
    padding-top: 1rem;
}

/* Base Navigation Item Style (for both mobile and desktop) */
.my-account-nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.my-account-nav-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px; /* To align text properly */
    text-align: center;
    color: var(--text-light);
    transition: color 0.3s;
}

.my-account-nav-item:hover {
    background-color: #e2e6ea;
    color: var(--text-dark);
}

.my-account-nav-item.active {
    background-color: var(--primary-red);
    color: #fff;
    font-weight: 600;
}

.my-account-nav-item.active i {
    color: #fff;
}


/* Desktop View (screens larger than 991px) */
@media (min-width: 992px) {
    .my-account-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* Mobile View (screens smaller than 991px) */
@media (max-width: 991px) {
    .my-account-nav {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two cards per row */
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .my-account-nav-item {
        flex-direction: column; /* Stack icon on top of text */
        justify-content: center;
        text-align: center;
        padding: 20px 10px; /* More padding for a card-like feel */
    }
    
    .my-account-nav-item i {
        font-size: 2rem; /* Larger icons on mobile */
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Main Content Area Style */
.my-account-content {
    padding: 20px;
    line-height: 1.8;
}

.my-account-content p {
    color: var(--text-light);
}

.my-account-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/*
=================================
Account Details Page Styles
=================================
*/
.account-details-card {
    background-color: var(--light-gray);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
}
.account-details-card .card-title {
    font-weight: 700;
    margin-bottom: 20px;
}
.account-details-card .form-control {
    border-radius: 8px;
}
.account-details-card .form-control[readonly] {
    background-color: #e9ecef;
}

/*
=================================
Wishlist Icon Active State
=================================
*/
.wishlist-btn.active i {
    color: var(--primary-red);
}

/*
=================================
Order History Page Styles
=================================
*/
.order-history-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
}

.order-id {
    font-weight: 700;
    color: var(--text-dark);
}

.order-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.order-card-body {
    padding: 20px;
}

.order-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.order-detail-item:last-child {
    margin-bottom: 0;
}

.order-detail-item .label {
    color: var(--text-light);
    font-weight: 500;
}

.order-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Status Badge Styling */
.order-status-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
}

/* Different colors for different statuses */
.order-status-badge[data-status="Completed"] {
    background-color: #198754; /* Green */
}
.order-status-badge[data-status="Pending"] {
    background-color: #0d6efd; /* Blue */
}
.order-status-badge[data-status="Cancelled"] {
    background-color: #6c757d; /* Gray */
}
.order-status-badge[data-status="Shipped"] {
    background-color: #0dcaf0; /* Cyan */
}
/* Default badge color */
.order-status-badge {
    background-color: var(--text-light);
}


.order-card-footer {
    padding: 10px 20px;
    text-align: right;
    border-top: 1px solid var(--border-color);
}

.btn-view-details {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
}
.btn-view-details:hover {
    text-decoration: underline;
}

/*
=================================
Order Details Page Styles
=================================
*/

.btn-back-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
}
.btn-back-link:hover {
    color: var(--primary-red);
}
.btn-back-link i {
    margin-right: 5px;
}

.order-summary-card {
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.order-summary-card .summary-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}
.order-summary-card .summary-body {
    padding: 20px;
    line-height: 2;
}


/* Reusing cart-item style for order items list */
.order-items-list .cart-item {
    margin-bottom: 10px;
}

/* Add a specific class for total price in order details item */
.cart-item-total {
    margin-left: auto; /* Pushes it to the far right */
    padding-left: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/*
=================================
Product Details Page (PDP) Styles
=================================
*/
.breadcrumb-custom .breadcrumb-item a {
    text-decoration: none;
    color: var(--text-light);
}
.breadcrumb-custom .breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

.product-image-section {
    background-color: var(--light-gray);
    border-radius: 18px;
    padding: 30px;
    position: relative;
    text-align: center;
}
.pdp-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-red);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info-section {
    padding: 10px;
}
.product-title-main {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.product-description ul {
    list-style-type: none;
    padding-left: 0;
    color: var(--text-light);
}
.product-description ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 10px;
}
.product-description ul li::before {
    content: '•';
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.pdp-price-section {
    margin: 25px 0;
}
.pdp-original-price {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 10px;
}
.pdp-current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
}

.actions-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
@media (min-width: 768px) {
    .actions-container {
        flex-direction: row;
        align-items: center;
    }
}
.btn-buy-now {
    background-color: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 500;
}
.btn-buy-now:hover {
    background-color: #000;
    color: #fff;
}

/* Scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 80px; /* Above the footer nav */
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #fff;
    color: var(--text-dark);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* style.css (FINAL VERSION FOR BOLD IMAGE DESIGN) */

:root {
    --primary-red: #e50914; /* Using a more vibrant red */
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --text-dark: #212529;
    --text-light: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
}

/* Header & Search Bar */
/*
=================================
Header & Search Bar (REVISED)
=================================
*/
.app-header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
}

/* --- THE FIX IS HERE: SEARCH BAR STYLING --- */
.search-bar-wrapper .form-control {
    border-radius: 50px !important; /* Make it fully rounded */
    border: 1px solid #ced4da;
    height: 40px;
    padding-left: 20px;
}
.search-bar-wrapper .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(229, 9, 20, 0.25); /* Red shadow on focus */
    border-color: var(--primary-red);
}

/* This will be the new search button that overlaps the input field */
.search-bar-wrapper {
    position: relative;
}

/* We hide the old search button. The form will be triggered by JS. */
#search-button {
    display: none; 
}
/* Let's use the notification button as a placeholder for a new search button style if needed later */

/* --- END OF SEARCH BAR FIX --- */

/* Notification button in header */
.btn-notification {
    background-color: var(--primary-red);
    color: white;
    width: 45px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0; /* Prevents the button from shrinking */
}
.btn-notification:hover {
    color: white;
    background-color: #b02a37;
}
.btn-notification .badge {
    font-size: 0.65rem;
    padding: 0.25em 0.5em;
}
/* Swiper Slider */
.mySwiper {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.swiper-slide img {
    width: 100%;
    object-fit: cover;
}
.swiper-pagination-bullet-active {
    background: var(--primary-red) !important;
}

/* Section Header View All Button */
.btn-view-all {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 50px;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}
.btn-view-all:hover {
    background-color: var(--primary-red);
    color: #fff;
}

/*
=================================
Product Card Design (REVISED FOR FULL-WIDTH IMAGE)
=================================
*/
.product-card {
    background-color: var(--light-gray);
    border: none;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Image container now has a fixed height */
.product-card-image-link {
    display: block;
    width: 100%;
    height: 180px; /* You can adjust this height */
    background-color: #fff;
}
/* The image itself will cover the container */
.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is the key: it crops the image to fit */
    object-position: center; /* Ensures cropping is centered */
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-red);
    color: white;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}
.wishlist-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #ccc;
    cursor: pointer;
    z-index: 2;
}
.wishlist-btn.active i {
    color: var(--primary-red);
}

.product-card-body {
    padding: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    margin-bottom: 15px;
}
.original-price {
    font-size: 0.8rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 5px;
}
.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-add-to-cart {
    background-color: var(--primary-red);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
    text-decoration: none;
    margin-top: auto;
    text-align: center;
}
.btn-add-to-cart:hover {
    background-color: #b02a37;
    color: white;
}

/* ... (Rest of your CSS for other pages) ... */

/*
=================================
Checkout Page Styles
=================================
*/
.checkout-section {
    background-color: var(--light-gray);
    border-radius: 18px;
    margin-bottom: 25px;
    overflow: hidden;
}
.section-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
}
.step-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
}
.step-title {
    font-size: 1.2rem;
    font-weight: 700;
}
.section-body {
    padding: 20px;
    background-color: #fff;
}
.form-control {
    border-radius: 50px;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
}

/* Order Review */
.order-review-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.order-review-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background-color: var(--light-gray);
}
.order-review-item .item-details {
    flex-grow: 1;
}
.order-review-item .item-details span {
    display: block;
    font-weight: 500;
}
.order-review-item .item-details small {
    color: var(--text-light);
}
.order-review-item .item-price {
    font-weight: 600;
}

/* Order Total */
.order-total-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.order-total-summary .summary-row.total {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Payment Section */
.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 10px;
}
/*
=================================
Product Details Page (PDP) - REVISED STYLES
=================================
*/
.pdp-image-container {
    background-color: var(--light-gray);
    border-radius: 18px;
    padding: 20px;
    position: relative;
    overflow: hidden; /* Important for the background effect */
    height: 350px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdp-image-background {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Description Bullets */
.product-description ul {
    list-style-type: none;
    padding-left: 0;
    color: var(--text-light);
}
.product-description ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
}
.product-description ul li::before {
    content: '•';
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Related Products Section */
.related-products-section {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.related-products-swiper .swiper-slide {
    height: auto; /* Allow the slide to grow */
    display: flex;
}


.related-products-swiper .product-card {
    height: 100%; /* Force all cards to have the same height */
    width: 100%;
}


.pdp-image-container {
    padding: 30px; /* More padding for a cleaner look */
}

.pdp-watermark-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.05;
    filter: blur(5px) grayscale(100%);
    transform: scale(1.5);
}

.pdp-main-img {
    position: relative;
    z-index: 1;
    max-width: 85%;  /* Increased from 70% to 85% */
    max-height: 85%; /* Increased from 70% to 85% */
    object-fit: contain;
}
/* --- END OF FIX --- */
/*
=================================
Notification Icon & Page Styles
=================================
*/

/* Notification button in header */
.btn-notification {
    background-color: var(--primary-red);
    color: white;
    width: 45px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.btn-notification:hover {
    color: white;
    background-color: #b02a37;
}
.btn-notification .badge {
    font-size: 0.65rem;
    padding: 0.25em 0.5em;
}

/* Notification List Page */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
}
.notification-icon {
    font-size: 1.5rem;
    color: var(--primary-red);
}
.notification-content p {
    margin: 0;
    color: var(--text-dark);
}
.notification-content a {
    text-decoration: none;
    font-weight: 500;
    color: var(--primary-red);
}
/*
=================================
Global Notice Bar Styles
=================================
*/
.global-notice-bar {
    background-color: var(--primary-red);
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
}
.global-notice-bar a {
    color: #fff;
    text-decoration: underline;
}
.global-notice-bar a:hover {
    color: #f0f0f0;
}

/*
=================================
Advanced Offcanvas Menu Styles (LITE THEME)
=================================
*/

/* Offcanvas Header */
.offcanvas-header {
    border-bottom: 1px solid var(--border-color);
}
.offcanvas-title a {
    font-size: 1.5rem;
}

/* Accordion Customization */
.accordion-item {
    border: none;
}
.accordion-button {
    background-color: #fff !important;
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color) !important;
}
.accordion-button:not(.collapsed) {
    color: var(--primary-red) !important; /* Red color when active */
    box-shadow: none !important;
}
.accordion-button:focus {
    box-shadow: none !important;
    border-color: var(--border-color) !important;
}
.accordion-button::after {
    /* Custom accordion arrow color */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.accordion-button:not(.collapsed)::after {
    /* Red arrow when active */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 1rem;
    background-color: #fff;
}

/* Product list inside offcanvas */
.offcanvas-product-list {
    display: flex;
    justify-content: flex-start; /* Align items to the start */
    gap: 15px;
    margin-bottom: 15px;
    min-height: 100px; /* To show spinner correctly */
    align-items: center;
}
.offcanvas-product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    width: 80px; /* Fixed width */
    flex-shrink: 0;
}
.offcanvas-product-item:hover {
    color: var(--text-dark);
}
.offcanvas-product-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 8px;
    padding: 5px;
}
.offcanvas-product-item span {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.btn-view-more {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--light-gray);
    color: var(--text-dark);
    padding: 5px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
}
.btn-view-more:hover {
    background-color: #e2e6ea;
    color: var(--text-dark);
}

/*
=================================
Contact Page Styles
=================================
*/
.contact-card {
    display: block;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 18px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid var(--border-color);
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.contact-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}
.contact-card-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.contact-card-text {
    color: var(--text-light);
    margin-bottom: 0;
}

/*
=================================
About Us Page Styles
=================================
*/
.about-page .display-4 {
    color: var(--text-dark);
}

.why-choose-us {
    background-color: var(--light-gray);
    border-radius: 18px;
    padding: 40px;
}

.feature-card {
    padding: 20px;
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background-color: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}