
    :root {
        --primary-teal: rgb(0 57 66 / 1);
        --light-teal: #4a9b96;
        --orange: #ff6b35;
        --dark-gray: #333;

        /* Legacy mappings kept for backward compatibility */
        --mp-teal: var(--primary-teal);
        --mp-orange: var(--orange);
        --mp-light-gray: #f8f9fa;
        --mp-dark-gray: var(--dark-gray);
    }

    body {
        font-family: 'Arial', sans-serif;
        color: var(--dark-gray);
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    element.style {
        color: white;
        font-weight: bold;
        font-size: 45px;
    }

    /* Navbar */
    .navbar-custom {
        background-color: white;
        border-bottom: 1px solid #e9ecef;
        padding: 0.5rem 0;
    }

    .navbar-nav .nav-link {
        color: var(--dark-gray);
        font-weight: 500;
        margin: 0 1rem;
    }

    .navbar-brand {
        font-weight: bold;
        color: var(--primary-teal) !important;
    }

    .brand-name {
        font-size: 50px;
    }

    /* Breadcrumb */
    .breadcrumb {
        background: none;
        padding: 0;
        margin: 1rem 0;
    }

    .breadcrumb-item a {
        color: var(--primary-teal);
        text-decoration: none;
    }

    /* Titles */
    .page-title {
        color: var(--primary-teal);
        font-size: 2rem;
        font-weight: bold;
        margin: 1rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        color: var(--primary-teal);
        font-weight: bold;
        margin-bottom: 2rem;
        text-transform: uppercase;
    }

    /* Hero Section */
    .hero-section {
        background: linear-gradient(135deg, #e8f4f3 0%, #b8e6e1 100%);
        min-height: 500px;
        position: relative;
        overflow: hidden;
    }

    .hero-content {
        z-index: 2;
        position: relative;
    }

    .hero-title {
        font-size: 3.5rem;
        font-weight: 900;
        color: var(--primary-teal);
        text-transform: uppercase;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        color: var(--dark-gray);
        margin-bottom: 2rem;
    }

    /* Buttons */
    .btn-primary-custom {
        background-color: var(--orange);
        border: none;
        padding: 12px 30px;
        font-weight: bold;
        border-radius: 25px;
        text-transform: uppercase;
    }

    .btn-primary-custom:hover {
        background-color: #e55a2b;
    }

    .quick-buy-btn {
        background-color: var(--primary-teal);
        color: white;
        border: none;
        padding: 0.75rem 1.5rem;
        width: 100%;
        border-radius: 5px;
        font-weight: bold;
        margin-top: 1rem;
    }

    .original-price{

        background-color: #dc3545;
        color: white;
    }

    .save-price {
        background-color: #28a745;
        color: white;
    }
    .current-price {
        font-size: 26px;
        font-weight: bold;
        color: #333;
    }

    .quick-buy-btn:hover {
        background-color: #2a5a63;
    }

    .btn-shop {
        background-color: var(--primary-teal);
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 0.9rem;
    }

    .btn-shop:hover {
        background-color: var(--light-teal);
        color: white;
    }

    .view-all-btn {
        background-color: var(--primary-teal);
        color: white;
        border: none;
        padding: 0.75rem 2rem;
        border-radius: 5px;
        margin: 2rem auto;
        display: block;
    }

    /* Promo Sections */
    .promo-banner {
        background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
        color: white;
        padding: 1rem;
        border-radius: 8px;
        margin: 1rem 0;
        text-align: center;
    }

    .impact-promo {
        background: linear-gradient(135deg, var(--primary-teal) 0%, #2a5a63 100%);
        color: white;
        padding: 2rem;
        border-radius: 10px;
        text-align: center;
        margin: 2rem 0;
        position: relative;
    }

    .impact-promo h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .impact-promo .btn {
        background-color: var(--orange);
        border: none;
        padding: 0.75rem 2rem;
        font-weight: bold;
        border-radius: 5px;
    }

    .app-promo,
    .app-download {
        background: linear-gradient(135deg, var(--primary-teal) 0%, #1a3d44 100%);
        color: white;
        padding: 3rem 0;
        margin: 3rem 0;
    }

    .app-download h3 {
        color: var(--orange);
        font-weight: bold;
    }

    /* Filters */
    .filter-tabs {
        border-bottom: 1px solid #dee2e6;
        margin: 2rem 0 1rem 0;
    }

    .filter-tabs .nav-link {
        color: var(--dark-gray);
        border: none;
        padding: 0.75rem 1.5rem;
        background: none;
    }

    .filter-tabs .nav-link.active {
        color: var(--primary-teal);
        border-bottom: 2px solid var(--primary-teal);
    }

    .filters-row {
        background-color: var(--mp-light-gray);
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 5px;
    }

    /* Product Cards */
    .product-grid {
        margin: 4rem 0;
    }

    .product-card {
        border: 1px solid #e9ecef;
        border-radius: 15px;
        padding: 0rem;
        margin-bottom: 2rem;
        background: white;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .product-image {
        width: 100%;
        height: 200px;
        object-fit: contain;
        margin-bottom: 1rem;
        background-size: cover;
        background-position: center;
    }

    .product-info {
        padding: 0.5rem;
        padding-top: 125px;
    }


    .product-title {
        font-weight: bold;
        color: var(--primary-teal);
        margin-bottom: 0.5rem;
        margin-top: 2.5rem;
    }   
    .product-description {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    /* Prices */
    .price-section {
        margin: 1rem 0;
    }

    .current-price {
        font-size: 1.25rem;
        font-weight: bold;
        color: var(--dark-gray);
    }

    .original-price {
        text-decoration: line-through;
        color: #6c757d;
        margin-left: 0.5rem;
    }

    .save-price {
        color: #28a745;
        font-weight: bold;
        margin-left: 0.5rem;
    }

    .discount-badge {
        background-color: var(--orange);
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        display: inline-block;
    }

    /* Misc */
    .rating {
        color: #ffc107;
        margin-bottom: 0.5rem;
    }

    .heart-icon {
        position: absolute;
        top: 1rem;
        right: 1rem;
        color: #ccc;
        font-size: 1.25rem;
    }

    .promo-code {
        color: var(--orange);
        font-weight: bold;
    }

    .media-badges {
        background-color: var(--orange);
        color: white;
        padding: 1rem 0;
        text-align: center;
    }

    .media-badges h5 {
        margin-bottom: 1rem;
    }

    .media-logos {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .logo {
        font-weight: bold;
        color: var(--primary-solid);
        font-size: 1.5rem;
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    .logo::before {
        /* content: "P"; */
        background: var(--primary-solid);
        color: white;
        width: 30px;
        height: 30px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 8px;
        font-weight: bold;
    }

    .trust-badges {
        background-color: var(--mp-light-gray);
        padding: 2rem 0;
    }

    .trust-badge {
        text-align: center;
        padding: 1rem;
    }

    .trust-badge i {
        font-size: 2rem;
        color: var(--primary-teal);
        margin-bottom: 1rem;
    }

    .category-pills {
        margin: 3rem 0;
    }

    .pill {
        background-color: var(--primary-teal);
        color: white;
        padding: 10px 20px;
        border-radius: 25px;
        margin: 5px;
        display: inline-block;
        text-decoration: none;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 0.85rem;
    }

    .pill:hover {
        background-color: var(--light-teal);
        color: white;
    }

    /* App Preview */
    .app-preview {
        max-width: 300px;
        margin: 0 auto;
    }

    .download-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-top: 2rem;
    }

    .download-btn {
        height: 60px;
    }

    /* Footer */
    .footer-section {
        background-color: var(--primary-teal);
        color: white;
        padding: 3rem 0;
    }

    .footer-links a {
        color: #b8e6e1;
        text-decoration: none;
        display: block;
        margin-bottom: 0.5rem;
    }

    .footer-links a:hover {
        color: white;
    }

    .social-icons a {
        color: white;
        font-size: 1.5rem;
        margin-right: 1rem;
    }

    /* Messages */
    .messages-container {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        width: 90%;
        max-width: 500px;
    }

    .fade-message {
        opacity: 1;
        transition: opacity 0.5s ease, transform 0.5s ease;
        position: relative;
        padding-right: 30px;
        animation: fadeOut 0.5s ease forwards;
        animation-delay: 3s;
    }

    .close-btn {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        font-weight: bold;
    }

    .form-control.search-input {
        width: 155%;   
        border-radius: 25px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
    }
    .product-image-container {
        /* Define a predictable width */
        width: 100%;
        /* 1. Use padding-top for a 1:1 square aspect ratio */
        padding-top: 100%; 
        position: relative;
        overflow: hidden; /* Ensures nothing spills out */
    }

    .product-image-container img {
        /* 2. Position the image absolutely to fill the padded box */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* 3. Apply cover to the absolutely positioned image */
        object-fit: cover; 
    }

    .toast-success {
        background-color: #28a745 !important;
    }
    .toast-error {
        background-color: #dc3545 !important;
    }
    .toast-warning {
        background-color: #ffc107 !important;
        color: #000 !important;
    }
    .toast-info {
        background-color: #17a2b8 !important;
    }

    @keyframes fadeOut {
        to {
            opacity: 0;
            transform: translateY(-10px);
        }
    }
