    
        /* Global Styles & Design Guidelines */
        :root {
            --epm-primary-color: #007bff; /* Example primary color */
            --epm-secondary-color: #6c757d; /* Example secondary color */
            --epm-accent-color: #28a745;  /* Example accent color */
            --epm-text-color: #333;
            --epm-light-gray-color: #f8f9fa;
            --epm-border-color: #dee2e6;
            --epm-white-color: #ffffff;
            --epm-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            --epm-soft-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
            --epm-border-radius: 20px;
            --epm-pill-radius: 50px;
            --epm-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }

        html {
            font-size: 60%; /* Base 10px scaled for rem, so 1rem = 9.6px if browser default is 16px */
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--epm-font-family);
            font-size: 1.6rem; /* Approx 15.36px */
            line-height: 1.6;
            color: var(--epm-text-color);
            background-color: var(--epm-light-gray-color);
            margin: 0;
            padding: 0;
            overflow-x: hidden; /* Prevent horizontal scroll */
        }

        /* Typography Hierarchy */
        h1, h2, h3 {
            font-weight: 700;
            margin-top: 0;
            margin-bottom: 1.5rem;
            color: var(--epm-text-color);
        }

        h1 {
            font-size: 3.2rem; /* Approx 30.72px */
        }

        h2 {
            font-size: 2.8rem; /* Approx 26.88px */
            margin-bottom: 2.5rem;
        }

        h3 {
            font-size: 2.2rem; /* Approx 21.12px */
        }
        
        p {
            margin-bottom: 1.5rem;
        }

        a {
            color: var(--epm-primary-color);
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        /* Utility Classes */
        .epm-container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 0;
        }
        
        .epm-text-center {
            text-align: center;
        }
        
        .epm-section-padding {
            padding: 4rem 0;
        }

        /* Button Styles */
        .epm-button {
            display: inline-flex; /* For icon alignment */
            align-items: center;
            justify-content: center;
            padding: 1.2rem 2.5rem;
            font-size: 1.5rem; /* Approx 14.4px */
            font-weight: 600;
            border-radius: var(--epm-pill-radius);
            border: 1px solid transparent;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--epm-soft-shadow);
            text-decoration: none; /* For anchor tags styled as buttons */
        }
        .epm-button i {
            margin-right: 0.8rem;
        }
        .epm-button--primary {
            background-color: var(--epm-primary-color);
            color: var(--epm-white-color);
            border-color: var(--epm-primary-color);
        }
        .epm-button--primary:hover {
            background-color: darkgreen;
            border-color: darken(var(--epm-primary-color), 10%);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.25);
            transform: translateY(-2px);
            text-decoration: none;
        }
        .epm-button--secondary {
            background-color: var(--epm-white-color);
            color: var(--epm-primary-color);
            border: 1px solid var(--epm-primary-color);
        }
        .epm-button--secondary:hover {
            background-color: var(--epm-primary-color);
            color: var(--epm-white-color);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.15);
            transform: translateY(-2px);
            text-decoration: none;
        }
         .epm-button--cta-accent { /* Call to action special button */
            background-color: var(--epm-accent-color);
            color: var(--epm-white-color);
            border-color: var(--epm-accent-color);
        }
        .epm-button--cta-accent:hover {
            background-color: darken(var(--epm-accent-color), 10%);
            border-color: darken(var(--epm-accent-color), 10%);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.25);
            transform: translateY(-2px);
        }
        .epm-button:disabled,
        .epm-button--disabled {
            background-color: #e9ecef;
            border-color: #ced4da;
            color: #6c757d;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }

        /* System Messages */
        .epm-system-message {
            background-color: var(--epm-primary-color);
            color: var(--epm-white-color);
            padding: 1.5rem;
            margin-bottom: 2rem;
            border-radius: 0.5rem; /* Less rounded than cards */
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .epm-system-message i {
            cursor: pointer;
        }

        /* Hero Banner Section */
        .epm-store-hero {
            background-color: var(--epm-white-color);
            /* If $ii (cover image) is available, use it as background */
            <?php if (!empty($ii) && $ii !== 'icon.png'): ?>
            background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.9)), url('../images/<?= htmlspecialchars($ii); ?>');
            background-size: cover;
            background-position: center;
            <?php endif; ?>
            padding: 4rem 0;
            box-shadow: var(--epm-shadow);
            border-bottom-left-radius: var(--epm-border-radius);
            border-bottom-right-radius: var(--epm-border-radius);
            margin-bottom: 3rem;
        }
        .epm-store-hero__content {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        .epm-store-hero__profile-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2.5rem;
        }
        .epm-store-hero__avatar-container {
            width: 150px;
            height: 150px;
            border-radius: 50%; /* Circular avatar */
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
            border: 4px solid var(--epm-white-color);
        }
        .epm-store-hero__avatar-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .epm-store-hero__info h1 {
            margin-bottom: 0.5rem;
        }
        .epm-store-hero__status-badge {
            display: inline-block;
            padding: 0.5rem 1.2rem;
            background-color: var(--epm-accent-color);
            color: var(--epm-white-color);
            border-radius: var(--epm-pill-radius);
            font-size: 1.4rem; /* Approx 13.44px */
            font-weight: 500;
            margin-top: 0.5rem;
        }
        .epm-store-hero__actions {
            display: flex;
            flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
            gap: 1.5rem;
            justify-content: center;
        }

        /* Vendor Information Section */
        .epm-store-details {
            background-color: var(--epm-white-color);
            padding: 3rem;
            border-radius: var(--epm-border-radius);
            box-shadow: var(--epm-shadow);
            margin-bottom: 3rem;
        }
        .epm-store-details__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2.5rem;
        }
        .epm-info-card {
            background-color: var(--epm-light-gray-color);
            padding: 2.5rem;
            border-radius: var(--epm-border-radius);
            box-shadow: var(--epm-soft-shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .epm-info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.1);
        }
        .epm-info-card h3 {
            font-size: 2rem; /* Approx 19.2px */
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
        }
        .epm-info-card h3 i {
            margin-right: 1rem;
            color: var(--epm-primary-color);
        }
        .epm-info-card__content p {
            font-size: 1.5rem; /* Approx 14.4px */
            margin-bottom: 0;
        }
        .epm-rating-stars {
            color: #ffc107; /* Standard star color */
            font-size: 1.8rem; /* Approx 17.28px */
            margin-bottom: 0.5rem;
        }
        .epm-rating-stars i { margin-right: 0.2rem; }
        .epm-rating-stars span {
            font-size: 1.5rem;
            color: var(--epm-text-color);
            margin-left: 0.8rem;
            font-weight: 500;
        }

        /* Product Controls: Filter & Sort */
        .epm-product-controls {
            background-color: var(--epm-white-color);
            padding: 2rem;
            border-radius: var(--epm-border-radius);
            box-shadow: var(--epm-shadow);
            margin-bottom: 3rem;
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .epm-product-controls__filter-group {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center; /* Center filters on mobile */
        }
        .epm-button--filter {
            background-color: var(--epm-light-gray-color);
            color: var(--epm-text-color);
            border: 1px solid var(--epm-border-color);
            padding: 0.8rem 1.8rem;
            font-size: 1.4rem;
        }
        .epm-button--filter.active,
        .epm-button--filter:hover {
            background-color: var(--epm-primary-color);
            color: var(--epm-white-color);
            border-color: var(--epm-primary-color);
        }
        .epm-product-controls__sort-wrapper {
            display: flex;
            justify-content: flex-end; /* Align to right on larger screens */
        }
        #productSortSelect { /* Targeting ID for specificity */
            padding: 1rem 1.5rem;
            border-radius: var(--epm-pill-radius);
            border: 1px solid var(--epm-border-color);
            font-size: 1.5rem;
            background-color: var(--epm-white-color);
            min-width: 200px; /* Ensure it's not too small */
        }
        
        @media (min-width: 768px) {
            .epm-product-controls {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
            .epm-product-controls__filter-group {
                justify-content: flex-start;
            }
        }


        /* Products Section */
        .epm-product-gallery {
            padding-bottom: 4rem;
        }
        .epm-section__title { /* Shared class for main section titles */
            text-align: center;
            margin-bottom: 3rem;
            font-weight: 700;
        }
        .epm-product-gallery__list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
        }
        .epm-product-card {
            background-color: var(--epm-white-color);
            border-radius: var(--epm-border-radius);
            box-shadow: var(--epm-shadow);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative; /* For badges */
        }
        .epm-product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        .epm-product-card__image-link {
            display: block;
            overflow: hidden; /* Ensures image respects border radius if needed */
        }
        .epm-product-card__image {
            width: 100%;
            height: 300px; /* Fixed height for uniform look */
            object-fit: fill;
            transition: transform 0.4s ease;
            border-radius: 20px;
        }
        .epm-product-card:hover .epm-product-card__image {
            transform: scale(1.05);
        }
        .epm-product-card__details {
            padding: 2rem;
            flex-grow: 1; /* Allow details to take remaining space */
            display: flex;
            flex-direction: column;
        }
        .epm-product-card__name {
            font-size: 1.8rem; /* Approx 17.28px */
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--epm-text-color);
            /* No text overflow handling here, let PHP's mb_strimwidth handle it */
        }
        .epm-product-card__stock-level {
            font-size: 1.4rem; /* Approx 13.44px */
            margin-bottom: 1rem;
            /* Color is set inline by PHP */
        }
        .epm-product-card__pricing {
            display: flex;
            align-items: baseline; /* Align prices neatly */
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        .epm-product-card__price { /* For the current/discounted price */
            font-size: 2rem; /* Approx 19.2px */
            font-weight: 700;
            color: var(--epm-accent-color); 
        }
        .epm-product-card__price--original { /* For the original price if discounted */
            font-size: 1.5rem; /* Approx 14.4px */
            text-decoration: line-through;
            color: var(--epm-secondary-color);
        }
        .epm-product-card__actions {
            margin-top: auto; /* Push actions to the bottom */
        }
        .epm-product-card__badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background-color: var(--epm-primary-color);
            color: var(--epm-white-color);
            padding: 0.5rem 1.2rem;
            border-radius: var(--epm-pill-radius);
            font-size: 1.3rem; /* Approx 12.48px */
            font-weight: 500;
            z-index: 10;
        }
        .epm-product-card__badge--sale {
            background-color: var(--epm-accent-color);
        }
        .epm-product-card .epm-button { /* Ensure button takes full width */
            width: 100%;
        }
        .epm-product-gallery__empty-message {
            text-align: center;
            font-size: 1.8rem;
            color: var(--epm-secondary-color);
            padding: 4rem 0;
        }

        /* Back to Top Button */
        #epmBackToTopBtn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: var(--epm-primary-color);
            color: var(--epm-white-color);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            box-shadow: var(--epm-shadow);
            cursor: pointer;
            display: none; /* Initially hidden */
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        }
        #epmBackToTopBtn:hover {
            background-color: darkgreen;
            transform: scale(1.1);
        }

        /* Notification Styles */
        .epm-notification-popup {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: rgba(0, 0, 0, 0.85);
            color: var(--epm-white-color);
            padding: 1.5rem 2.5rem;
            border-radius: 0.8rem; /* Slightly less rounded */
            z-index: 2000;
            opacity: 0;
            transition: opacity 0.4s ease, transform 0.4s ease;
            transform: translateY(20px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        .epm-notification-popup.show {
            opacity: 1;
            transform: translateY(0);
        }

        /* Testimonials Section */
        .epm-testimonials-section {
            background-color: var(--epm-white-color);
            padding: 4rem 0;
            margin-bottom: 3rem;
            border-radius: var(--epm-border-radius);
            box-shadow: var(--epm-shadow);
        }
        .epm-testimonials-container {
            position: relative;
            margin-top: 2rem;
            padding: 0; /* Remove padding if container has its own */
        }
        .epm-testimonial-slider {
            display: flex;
            overflow-x: hidden; /* Changed to hidden, JS will handle scroll */
            scroll-snap-type: x mandatory; /* Retain for accessibility / non-JS fallback if any */
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
            border-radius: var(--epm-border-radius); /* Rounded corners for the slider area */
        }
        .epm-testimonial-slide {
            flex: 0 0 100%; /* Each slide takes full width */
            width: 100%;
            scroll-snap-align: start;
            padding: 0 1rem; /* Add some padding so cards don't touch edges if slider is wider */
            box-sizing: border-box;
        }
        .epm-testimonial-content {
            background-color: var(--epm-light-gray-color);
            border-radius: var(--epm-border-radius);
            padding: 3rem;
            box-shadow: var(--epm-soft-shadow);
            text-align: center;
            position: relative;
            min-height: 200px; /* Ensure a consistent height */
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .epm-testimonial-content::before {
            content: '\\201C'; /* Double quote */
            font-size: 6rem; /* Approx 57.6px */
            position: absolute;
            left: 20px;
            top: 0px;
            color: rgba(0,0,0,0.08);
            font-family: serif;
            line-height: 1;
        }
        .epm-testimonial-content p {
            font-style: italic;
            margin: 1.5rem 0;
            font-size: 1.7rem; /* Approx 16.32px */
            flex-grow: 1;
        }
        .epm-testimonial-author {
            font-weight: 600;
            color: var(--epm-primary-color);
            font-size: 1.5rem; /* Approx 14.4px */
        }
        .epm-testimonial-controls {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 2.5rem;
        }
        .epm-testimonial-nav-btn { /* Unified class for prev/next */
            background-color: var(--epm-white-color);
            border: 1px solid var(--epm-border-color);
            border-radius: 50%;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.8rem;
            color: var(--epm-primary-color);
        }
        .epm-testimonial-nav-btn:hover {
            background-color: var(--epm-primary-color);
            color: var(--epm-white-color);
            border-color: var(--epm-primary-color);
            transform: scale(1.1);
        }
        .epm-testimonial-rating { /* Rating inside testimonial */
            color: #ffc107;
            font-size: 1.6rem; /* Approx 15.36px */
            margin-bottom: 1rem;
        }

        /* Responsive Adjustments */
        @media (max-width: 767px) {
            .epm-store-hero__profile-wrapper {
                flex-direction: column;
                text-align: center;
            }
            .epm-store-hero__actions {
                flex-direction: column;
                width: 80%; /* Make buttons take more width */
            }
             .epm-store-hero__actions .epm-button {
                width: 100%;
            }
            .epm-product-gallery__list {
                grid-template-columns: 1fr; /* Single column on very small screens */
            }
            .epm-info-card h3 { font-size: 1.8rem; }
            .epm-info-card__content p, .epm-rating-stars span { font-size: 1.4rem; }

            .epm-testimonial-slide { padding: 0 0.5rem; }
            .epm-testimonial-content { padding: 2rem; }
            .epm-testimonial-content p { font-size: 1.5rem; }
        }
        @media (max-width: 480px) {
            h1 { font-size: 2.8rem; }
            h2 { font-size: 2.4rem; }
            h3 { font-size: 2rem; }
            .epm-button { padding: 1rem 2rem; font-size: 1.4rem; }
            .epm-store-hero__avatar-container { width: 120px; height: 120px; }
        }

    
