    
        /* Reset and Base Styles */
        :root {
            --epm-color-primary: #007bff; /* Bright Blue */
            --epm-color-secondary: #6c757d; /* Grey */
            --epm-color-success: #28a745; /* Green */
            --epm-color-danger: #dc3545; /* Red */
            --epm-color-warning: #ffc107; /* Yellow */
            --epm-color-info: #17a2b8; /* Teal */
            --epm-color-light: #f8f9fa;
            --epm-color-dark: #343a40;
            --epm-color-white: #ffffff;
            --epm-color-text: #333;
            --epm-color-text-muted: #666;
            --epm-border-color: #dee2e6;
            --epm-border-radius: 20px;
            --epm-shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);
            --epm-shadow-strong: 0 6px 20px rgba(0, 0, 0, 0.15);
            --epm-transition-base: all 0.3s ease-in-out;
        }

        html {
            font-size: 62.5%; /* Base 10px for 1rem = 10px */
            scroll-behavior: smooth;
        }

        body {
       
            font-size: 1.6rem; /* Default font size 16px */
            line-height: 1.6;
            color: var(--epm-color-text);
            background-color: var(--epm-color-light);
            margin: 0;
            padding: 0;
        }

        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            margin-top: 0;
            margin-bottom: 1.5rem;
            font-weight: 600;
            line-height: 1.3;
        }
        h1 { font-size: 3.2rem; }
        h2 { font-size: 2.8rem; }
        h3 { font-size: 2.4rem; } /* epm-section__title */
        h4 { font-size: 2rem; }   /* epm-subsection__title, epm-cart-item__name */

        p {
            margin-top: 0;
            margin-bottom: 1rem;
        }

        a {
            color: var(--epm-color-primary);
            text-decoration: none;
            transition: var(--epm-transition-base);
        }
        a:hover {
            color: #0056b3; /* Darken primary color */
            text-decoration: underline;
        }

        img {
            max-width: 100%;
            height: auto;
            /* Removed global border-radius from img to apply specifically where needed */
        }

        /* Forms & Buttons */
        .epm-form-input,
        .epm-form-select {
            display: block;
            width: 100%;
            padding: 1rem 1.5rem;
            font-size: 1.6rem;
            font-weight: 400;
            line-height: 1.5;
            color: var(--epm-color-text);
            background-color: var(--epm-color-white);
            background-clip: padding-box;
            border: 1px solid var(--epm-border-color);
            border-radius: var(--epm-border-radius); 
            box-shadow: var(--epm-shadow-soft);
            transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
            margin-bottom: 1rem; /* Default margin */
            box-sizing: border-box; /* Include padding and border in the element's total width and height */
        }
        .epm-form-input:focus,
        .epm-form-select:focus {
            border-color: var(--epm-color-primary);
            outline: 0;
            box-shadow: 0 0 0 .2rem rgba(0, 123, 255, 0.25); /* Direct color value for primary's rgba */
        }
        .epm-form-input::placeholder {
            color: var(--epm-color-text-muted);
            opacity: 1;
        }

        .epm-button {
            display: inline-block;
            font-weight: 500;
            color: var(--epm-color-white);
            text-align: center;
            vertical-align: middle;
            cursor: pointer;
            user-select: none;
            background-color: var(--epm-color-primary);
            border: 1px solid transparent;
            padding: 1rem 2.5rem;
            font-size: 1.6rem;
            line-height: 1.5;
            border-radius: 50px; /* Pill-shaped */
            box-shadow: var(--epm-shadow-soft);
            transition: var(--epm-transition-base);
            text-decoration: none; 
        }
        .epm-button:hover {
            opacity: 0.9;
            box-shadow: var(--epm-shadow-strong);
            text-decoration: none; 
             color: var(--epm-color-white);
        }
        .epm-button:focus {
            outline: 0;
            box-shadow: 0 0 0 .2rem rgba(0, 123, 255, 0.5);
        }
        .epm-button:disabled,
        .epm-button.epm-button--disabled {
            opacity: 0.65;
            cursor: not-allowed;
            box-shadow: none;
        }

        .epm-button--primary { background-color: var(--epm-color-primary); border-color: var(--epm-color-primary); }
        .epm-button--secondary { background-color: var(--epm-color-secondary); border-color: var(--epm-color-secondary); }
        .epm-button--success { background-color: var(--epm-color-success); border-color: var(--epm-color-success); }
        .epm-button--danger { background-color: var(--epm-color-danger); border-color: var(--epm-color-danger); color: var(--epm-color-white) !important; }
        .epm-button--warning { background-color: var(--epm-color-warning); border-color: var(--epm-color-warning); color: var(--epm-color-dark); }
        .epm-button--info { background-color: var(--epm-color-info); border-color: var(--epm-color-info); }
        .epm-button--light { background-color: var(--epm-color-light); border-color: var(--epm-border-color); color: var(--epm-color-dark); }
        
        .epm-button--icon {
            padding: 0.8rem 1.2rem;
            width: 4rem;
            height: 4rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .epm-button--full-width { display: block; width: 100%; }
        .epm-button--large { padding: 1.2rem 3rem; font-size: 1.8rem; }

        /* Utility Classes */
        .epm-container {
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
            box-sizing: border-box;
        }
        @media (min-width: 576px) { .epm-container { max-width: 540px; } }
        @media (min-width: 768px) { .epm-container { max-width: 720px; } }
        @media (min-width: 992px) { .epm-container { max-width: 960px; } }
        @media (min-width: 1200px) { .epm-container { max-width: 1140px; } }

        .epm-text-center { text-align: center; }
        .epm-text-danger { color: var(--epm-color-danger) !important; } /* Added important for specificity */
        .epm-text-success { color: var(--epm-color-success) !important; } /* Added important for specificity */
        .epm-text-muted { color: var(--epm-color-text-muted); }
        .epm-mb-1 { margin-bottom: 1rem !important; }
        .epm-mb-2 { margin-bottom: 2rem !important; }
        .epm-mt-1 { margin-top: 1rem !important; }
        .epm-mt-2 { margin-top: 2rem !important; }

        .epm-d-flex { display: flex !important; }
        .epm-flex-column { flex-direction: column !important; }
        .epm-justify-content-between { justify-content: space-between !important; }
        .epm-justify-content-center { justify-content: center !important; }
        .epm-align-items-center { align-items: center !important; }
        .epm-gap-1 { gap: 1rem; }
        .epm-gap-2 { gap: 2rem; }

        /* Scroll Animations */
        .epm-scroll-animate {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        .epm-scroll-animate.epm-is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* System Messages */
        .epm-system-message {
            padding: 1.5rem 2rem;
            margin: 2rem auto; /* Increased margin */
            border: 1px solid transparent;
            border-radius: var(--epm-border-radius);
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: var(--epm-shadow-soft);
            max-width: 90%; 
            box-sizing: border-box;
        }
        /* Specificity for message types */
        .epm-system-message.epm-system-message--default { 
            background-color: var(--epm-color-info);
            border-color: var(--epm-color-info);
            color: var(--epm-color-white);
        }
        .epm-system-message.epm-system-message--success {
            background-color: var(--epm-color-success);
            border-color: var(--epm-color-success); /* Ensure border matches */
            color: var(--epm-color-white);
        }
        .epm-system-message.epm-system-message--error {
            background-color: var(--epm-color-danger);
            border-color: var(--epm-color-danger); /* Ensure border matches */
            color: var(--epm-color-white);
        }
        .epm-system-message__close {
            font-size: 2rem;
            cursor: pointer;
            background: none;
            border: none;
            color: inherit;
            margin-left: 1.5rem;
            padding: 0; /* Remove default button padding */
        }
        .epm-system-message__close:hover {
            opacity: 0.8;
        }

        /* Cart Page Specific Styles */
        .epm-cart-page {
            padding-top: 3rem;
            padding-bottom: 3rem;
        }

        .epm-section__title { /* H1 for cart title */
            text-align: center;
            margin-bottom: 3rem;
            font-weight: 700;
            color: var(--epm-color-dark);
        }

        .epm-cart-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 3rem;
            border-bottom: 1px solid var(--epm-border-color);
            flex-wrap: wrap; /* Allow tabs to wrap on small screens */
        }
        .epm-cart-tabs__link {
            padding: 1rem 2rem;
            font-size: 1.6rem;
            font-weight: 500;
            color: var(--epm-color-text-muted) ;
            opacity: 1 !important;
            text-decoration: none;
            border-bottom: 3px solid transparent;
            margin-bottom: -1px; 
            transition: color 0.3s ease, border-color 0.3s ease;
        }
        .epm-cart-tabs__link:hover {
            color: var(--epm-color-primary);
            text-decoration: none;
        }
        .epm-cart-tabs__link.epm-cart-tabs__link--active {
            color: var(--epm-color-primary);
            border-bottom-color: var(--epm-color-primary);
            font-weight: 600;
        }

        .epm-cart-items-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2.5rem; /* Slightly increased gap */
            margin-bottom: 3rem;
        }

        .epm-cart-item {
            background-color: var(--epm-color-white);
            border-radius: var(--epm-border-radius);
            box-shadow: var(--epm-shadow-soft);
            padding: 2rem;
            display: flex;
            flex-direction: column;
            transition: var(--epm-transition-base);
            box-sizing: border-box;
        }
        .epm-cart-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--epm-shadow-strong);
        }
        .epm-cart-item__image {
            width: 100%;
            height: 270px !important;
            object-fit: fill; 
            border-radius: calc(var(--epm-border-radius) - 10px); 
            margin-bottom: 1.5rem;

        }
        .epm-cart-item__name { /* H4 for item name */
            font-size: 1.8rem; /* Adjusted if H4 base is 2rem */
            font-weight: 600;
            color: var(--epm-color-dark);
            margin-bottom: 0.5rem;
            min-height: 4.8rem; /* For 2 lines of text approx */
        }
        .epm-cart-item__units-available {
            font-size: 1.4rem;
            color: var(--epm-color-text-muted);
            margin-bottom: 1rem;
        }
        .epm-cart-item__pricing {
            display: flex;
            align-items: baseline;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .epm-cart-item__price-current {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--epm-color-success);
        }
        .epm-cart-item__price-original {
            font-size: 1.5rem;
            color: var(--epm-color-danger);
            text-decoration: line-through;
        }
        .epm-cart-item__quantity-control {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem; /* Increased margin */
        }
        .epm-cart-item__quantity-input {
            width: 7rem; /* Slightly wider */
            text-align: center;
            padding: 0.8rem; /* Keep padding consistent */
            border-radius: 10px; 
            color: var(--epm-color-text);
            margin-bottom: 0; /* Remove bottom margin if it's part of a flex group */
        }
        .epm-cart-item__subtotal {
            font-size: 1.6rem;
            margin-top: auto; 
            padding-top: 1.5rem; /* Increased padding */
            border-top: 1px solid var(--epm-border-color);
            margin-bottom: 1.5rem;
        }
        .epm-cart-item__subtotal span {
            font-weight: 600;
            color: var(--epm-color-dark);
        }
        .epm-cart-item__delete-button {
            margin-top: 1rem; /* Keep some space if subtotal is short */
        }

        .epm-cart-empty-message {
            text-align: center;
            font-size: 1.8rem;
            color: var(--epm-color-text-muted);
            padding: 4rem 2rem;
            background-color: var(--epm-color-white);
            border-radius: var(--epm-border-radius);
            box-shadow: var(--epm-shadow-soft);
            grid-column: 1 / -1; /* Span full width if inside a grid */
        }

        .epm-delivery-options,
        .epm-cart-summary-wrapper {
            background-color: var(--epm-color-white);
            padding: 2.5rem;
            border-radius: var(--epm-border-radius);
            box-shadow: var(--epm-shadow-soft);
            margin-bottom: 3rem;
            box-sizing: border-box;
        }
        .epm-subsection__title { /* H2 for section titles */
            font-size: 2.2rem; /* Adjusted if H2 base is 2.8rem */
            font-weight: 600;
            color: var(--epm-color-dark);
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--epm-border-color);
        }
        .epm-delivery-address-fields {
            margin-top: 2rem;
        }
        .epm-delivery-address-fields .epm-d-flex { 
            gap: 1rem;
            align-items: stretch; 
        }
        .epm-delivery-address-fields .epm-form-input {
            flex-grow: 1;
            margin-bottom: 0; /* Remove margin when in flex group */
        }
        #epm-use-location-button { 
            flex-shrink: 0; 
            white-space: nowrap; 
        }

        #epm-map-container { 
            height: 300px;
            width: 100%;
            border-radius: calc(var(--epm-border-radius) - 10px);
            margin-top: 1.5rem;
            background-color: #e9e9e9; 
            border: 1px solid var(--epm-border-color);
        }
        .epm-form-hint {
            font-size: 1.3rem;
            color: var(--epm-color-text-muted);
            margin-top: 0.8rem; /* Slightly increased margin */
        }

        .epm-cart-summary__item {
            display: flex;
            justify-content: space-between;
            padding: 1.2rem 0; /* Increased padding */
            font-size: 1.6rem;
        }
        .epm-cart-summary__item + .epm-cart-summary__item {
            border-top: 1px dashed var(--epm-border-color);
        }
        .epm-cart-summary__item .epm-cart-summary__label {
            color: var(--epm-color-text-muted);
        }
        .epm-cart-summary__item .epm-cart-summary__value {
            font-weight: 600;
            color: var(--epm-color-dark);
        }
        .epm-cart-summary__item--grand-total {
            font-size: 2rem;
            font-weight: 700;
            padding-top: 1.5rem;
            margin-top: 1rem;
            border-top: 2px solid var(--epm-color-dark);
        }
        .epm-cart-summary__item--grand-total .epm-cart-summary__label,
        .epm-cart-summary__item--grand-total .epm-cart-summary__value {
            color: var(--epm-color-dark);
        }
        .epm-cart-summary__actions {
            margin-top: 2.5rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem; /* Increased gap */
        }
        
        .epm-loading-spinner {
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: var(--epm-color-white);
            width: 1.6rem;
            height: 1.6rem;
            animation: epm-spin 1s linear infinite;
            display: inline-block;
            margin-right: 0.5rem;
            vertical-align: middle;
        }
        @keyframes epm-spin {
            to { transform: rotate(360deg); }
        }
        #epm-use-location-button .epm-loading-spinner {
            margin-right: 0.8rem; 
        }

        /* Layout Grid for Delivery and Summary */
        .epm-cart-layout-grid {
            display: grid;
            gap: 3rem;
            align-items: flex-start;
        }
        @media (min-width: 992px) { 
            .epm-cart-layout-grid {
                grid-template-columns: 2fr 1fr; 
            }
            .epm-delivery-options, .epm-cart-summary-wrapper {
                margin-bottom: 0; 
            }
        }


        /* Responsive Adjustments */
        @media (max-width: 767.98px) {
            .epm-cart-tabs__link {
                padding: 0.8rem 1.5rem; /* Adjust padding */
                font-size: 1.5rem; /* Adjust font size */
            }
            .epm-delivery-address-fields .epm-d-flex {
                flex-direction: column;
            }
            #epm-use-location-button {
                width: 100%;
            }
             .epm-cart-item__name {
                min-height: auto; /* Allow name height to adjust on mobile */
            }
        }
        @media (max-width: 575.98px) {
            body { font-size: 1.5rem; }
            h1 { font-size: 2.8rem; }
            h2 { font-size: 2.2rem; } 
            h3 { font-size: 2rem; } 
            h4 { font-size: 1.8rem; } 

            .epm-cart-item { padding: 1.5rem; }
            .epm-delivery-options, .epm-cart-summary-wrapper { padding: 2rem; }
            .epm-button { padding: 0.9rem 2rem; font-size: 1.5rem;}
            .epm-button--large { padding: 1rem 2.5rem; font-size: 1.7rem; }
            .epm-cart-tabs__link { font-size: 1.4rem; padding: 0.8rem 1rem;}
        }

    
