/**
 * EasyShopie Master Stylesheet
 * Brand Colors:
 * - Navy: #0B2545
 * - Teal: #00BFA6
 * - Accent Orange: #FF8A00
 * - Discount Red: #FF4D5A
 * - Background: #F6F8FB
 * - White: #FFFFFF
 */

:root {
    --es-navy: #0B2545;
    --es-navy-dark: #07192f;
    --es-teal: #00BFA6;
    --es-teal-hover: #009e89;
    --es-orange: #FF8A00;
    --es-orange-hover: #e67c00;
    --es-red: #FF4D5A;
    --es-bg: #F6F8FB;
    --es-card-bg: #FFFFFF;
    --es-text-main: #0B2545;
    --es-text-muted: #64748B;
    --es-text-light: #94A3B8;
    --es-border: #E2E8F0;
    --es-border-light: #F1F5F9;
    --es-shadow-sm: 0 2px 6px rgba(11, 37, 69, 0.04);
    --es-shadow-md: 0 6px 16px rgba(11, 37, 69, 0.06);
    --es-shadow-lg: 0 12px 28px rgba(11, 37, 69, 0.09);
    --es-radius-sm: 6px;
    --es-radius-md: 10px;
    --es-radius-lg: 14px;
    --es-radius-xl: 20px;
    --es-radius-pill: 9999px;
    --es-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
    --es-navy: #00BFA6;
    --es-bg: #0B1523;
    --es-card-bg: #132238;
    --es-text-main: #F8FAFC;
    --es-text-muted: #94A3B8;
    --es-text-light: #64748B;
    --es-border: #1F3250;
    --es-border-light: #16263F;
    --es-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.2);
    --es-shadow-md: 0 6px 16px rgba(0, 0, 0, 0.3);
    --es-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--es-font);
    background-color: var(--es-bg);
    color: var(--es-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

button, input, select, textarea {
    font-family: inherit;
}

.es-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* SECTION UTILITIES */
.es-section {
    padding: 36px 0;
}

.es-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
}

.es-section-title-wrap {
    display: flex;
    flex-direction: column;
}

.es-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--es-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.es-section-subtitle {
    font-size: 13px;
    color: var(--es-text-muted);
    margin-top: 4px;
}

.es-view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: #2563EB;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.es-view-all-link:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */
.es-site-header {
    background-color: var(--es-card-bg);
    border-bottom: 1px solid var(--es-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.es-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

/* Brand Logo */
.es-header-brand {
    flex-shrink: 0;
}

.es-brand-link {
    display: inline-block;
}

.es-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Logo Dark/Light Mode Display Switch */
html[data-theme="light"] .es-logo-dark {
    display: none;
}
html[data-theme="light"] .es-logo-light {
    display: block;
}
html[data-theme="dark"] .es-logo-light {
    display: none;
}
html[data-theme="dark"] .es-logo-dark {
    display: block;
}

/* Search Bar */
.es-header-search {
    flex: 1;
    max-width: 620px;
}

.es-search-form {
    width: 100%;
}

.es-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.es-search-field {
    width: 100%;
    height: 44px;
    padding: 0 54px 0 20px;
    border-radius: var(--es-radius-pill);
    border: 1.5px solid #E2E8F0;
    background-color: #FFFFFF;
    color: #0B2545;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .es-search-field {
    background-color: #0B1523;
    border-color: #1F3250;
    color: #F8FAFC;
}

.es-search-field:focus {
    border-color: var(--es-teal);
    box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.15);
}

.es-search-submit {
    position: absolute;
    right: 4px;
    width: 38px;
    height: 38px;
    border-radius: var(--es-radius-pill);
    background-color: var(--es-teal);
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.es-search-submit:hover {
    background-color: var(--es-teal-hover);
}

/* Header Actions */
.es-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.es-header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--es-text-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 8px;
    border-radius: var(--es-radius-sm);
    transition: color 0.2s;
}

.es-header-action-btn:hover {
    color: var(--es-teal);
}

.es-action-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.es-badge-count {
    position: absolute;
    top: -7px;
    right: -8px;
    background-color: var(--es-red);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Theme Toggle Button */
.es-theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--es-radius-pill);
    background: var(--es-bg);
    border: 1px solid var(--es-border);
    color: var(--es-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.es-theme-toggle-btn:hover {
    border-color: var(--es-teal);
    color: var(--es-teal);
}

html[data-theme="light"] .es-icon-moon {
    display: none;
}
html[data-theme="light"] .es-icon-sun {
    display: block;
}
html[data-theme="dark"] .es-icon-sun {
    display: none;
}
html[data-theme="dark"] .es-icon-moon {
    display: block;
}

.es-menu-toggle {
    display: none;
}

/* Secondary Navigation Bar */
.es-main-navigation {
    background-color: var(--es-card-bg);
    border-top: 1px solid var(--es-border-light);
}

.es-nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    height: 48px;
}

.es-nav-menu > li {
    position: relative;
}

.es-nav-menu > li > a {
    font-size: 14px;
    font-weight: 600;
    color: var(--es-text-main);
    display: flex;
    align-items: center;
    height: 48px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.es-nav-menu > li:hover > a,
.es-nav-menu > li.current-menu-item > a {
    color: var(--es-teal);
    border-bottom-color: var(--es-teal);
}

/* Dropdown Sub-menu */
.es-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--es-card-bg);
    min-width: 240px;
    box-shadow: var(--es-shadow-lg);
    border-radius: var(--es-radius-md);
    border: 1px solid var(--es-border);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.es-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.es-nav-menu .sub-menu li a {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--es-text-main);
    transition: background 0.15s, color 0.15s;
}

.es-nav-menu .sub-menu li a:hover {
    background-color: var(--es-bg);
    color: var(--es-teal);
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.es-hero-section {
    padding: 24px 0 16px;
}

.es-hero-card {
    background: linear-gradient(135deg, #0B2545 0%, #073B4C 50%, #064E5B 100%);
    border-radius: var(--es-radius-xl);
    padding: 50px 56px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(11, 37, 69, 0.15);
}

.es-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.es-hero-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.es-hero-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 191, 166, 0.2);
    border: 1px solid rgba(0, 191, 166, 0.5);
    padding: 5px 14px;
    border-radius: var(--es-radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: #00BFA6;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 16px;
}

.es-hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.es-hero-subtitle {
    font-size: 16px;
    line-height: 1.55;
    color: #CBD5E1;
    max-width: 520px;
    margin-bottom: 28px;
}

.es-hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.es-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--es-radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.es-btn-hero-primary {
    background-color: var(--es-orange);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(255, 138, 0, 0.4);
}

.es-btn-hero-primary:hover {
    background-color: var(--es-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 138, 0, 0.5);
}

.es-btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.es-btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
}

.es-hero-trust-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.es-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #E2E8F0;
    font-weight: 500;
}

.es-trust-check {
    color: var(--es-teal);
    font-weight: bold;
}

/* Hero Right Floating Stage */
.es-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.es-hero-visual-stage {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 300px;
}

/* Floating Pills */
.es-float-pill {
    position: absolute;
    background: #FFFFFF;
    color: #0B2545;
    padding: 6px 14px;
    border-radius: var(--es-radius-pill);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
    animation: float 4s ease-in-out infinite;
}

.es-pill-sub {
    color: #64748B;
    font-size: 11px;
}

.es-float-pill-1 {
    top: 10px;
    left: 20px;
    animation-delay: 0s;
}

.es-float-pill-2 {
    top: 5px;
    right: 70px;
    animation-delay: 1s;
}

.es-float-pill-3 {
    top: 110px;
    right: 10px;
    animation-delay: 2s;
}

.es-float-callout {
    position: absolute;
    top: 55px;
    right: -10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px dashed rgba(255, 255, 255, 0.4);
    padding: 4px 10px;
    border-radius: var(--es-radius-pill);
    font-size: 10px;
    color: #FFFFFF;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Mockup Elements Cluster */
.es-hero-mockup-cluster {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.es-mockup-item {
    position: absolute;
    transition: transform 0.3s ease;
}

.es-mockup-headphones {
    left: 40px;
    top: 40px;
    z-index: 3;
}

.es-mockup-phone {
    left: 140px;
    top: 30px;
    z-index: 4;
}

.es-phone-shell {
    width: 90px;
    height: 170px;
    background: #000;
    border-radius: 20px;
    border: 3px solid #64748B;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 4px;
}

.es-phone-notch {
    width: 32px;
    height: 6px;
    background: #000;
    border-radius: 3px;
    margin: 2px auto 4px;
}

.es-phone-screen {
    width: 100%;
    height: 145px;
    background: linear-gradient(135deg, #00BFA6 0%, #2563EB 50%, #FF8A00 100%);
    border-radius: 14px;
}

.es-mockup-watch {
    left: 240px;
    top: 60px;
    z-index: 3;
}

.es-watch-band-top, .es-watch-band-bottom {
    width: 36px;
    height: 16px;
    background: #334155;
    margin: 0 auto;
    border-radius: 4px;
}

.es-watch-dial {
    width: 54px;
    height: 60px;
    background: #1E293B;
    border-radius: 12px;
    border: 2px solid #475569;
    padding: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.es-watch-screen {
    width: 100%;
    height: 100%;
    background: #0B2545;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--es-teal);
}

.es-mockup-shoe {
    left: 230px;
    top: 155px;
    z-index: 4;
}

.es-mockup-airfryer {
    left: 310px;
    top: 125px;
    z-index: 2;
}

.es-fryer-body {
    width: 65px;
    height: 75px;
    background: #FFFFFF;
    border-radius: 14px 14px 8px 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 8px;
}

.es-fryer-display {
    width: 100%;
    height: 20px;
    background: #0B2545;
    border-radius: 4px;
}

.es-fryer-handle {
    width: 12px;
    height: 24px;
    background: #FF8A00;
    border-radius: 0 6px 6px 0;
    position: absolute;
    right: -10px;
    top: 36px;
}

/* Dots */
.es-hero-dots {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.es-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.es-dot-active {
    width: 20px;
    border-radius: 10px;
    background: var(--es-orange);
}

/* ========================================================
   FEATURED OFFERS BANNERS
   ======================================================== */
.es-offers-wrapper {
    position: relative;
}

.es-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.es-offer-card {
    border-radius: var(--es-radius-lg);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 210px;
    box-shadow: var(--es-shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.es-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--es-shadow-lg);
}

.es-offer-store-pill {
    background: rgba(255, 255, 255, 0.85);
    color: #0B2545;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--es-radius-pill);
    display: inline-block;
}

.es-offer-campaign {
    font-size: 22px;
    font-weight: 800;
    margin: 12px 0 4px;
    line-height: 1.2;
}

.es-offer-discount-tag {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.es-offer-sub {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.es-btn-offer-cta {
    background: #0B2545;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--es-radius-pill);
    display: inline-block;
    transition: background 0.2s;
}

.es-btn-offer-cta:hover {
    background: #000000;
}

.es-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--es-card-bg);
    border: 1px solid var(--es-border);
    color: var(--es-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--es-shadow-md);
    z-index: 10;
    font-size: 20px;
    line-height: 1;
}

.es-slider-prev { left: -16px; }
.es-slider-next { right: -16px; }

.es-slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.es-sdot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #CBD5E1;
}

.es-sdot-active {
    width: 18px;
    border-radius: 8px;
    background: var(--es-teal);
}

/* ========================================================
   MOST POPULAR STORES
   ======================================================== */
.es-stores-scroll-wrap {
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.es-stores-row {
    display: flex;
    gap: 12px;
    min-width: min-content;
}

.es-store-card {
    background: var(--es-card-bg);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-lg);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 106px;
    box-shadow: var(--es-shadow-sm);
    transition: all 0.2s ease;
}

.es-store-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--es-shadow-md);
    border-color: var(--es-teal);
}

.es-store-logo-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--es-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 800;
}

.es-store-logo-img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

.es-store-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--es-text-main);
    line-height: 1.2;
}

.es-store-badge {
    font-size: 11px;
    color: var(--es-text-muted);
    margin-top: 2px;
}

/* ========================================================
   SHOP BY CATEGORY
   ======================================================== */
.es-categories-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
}

.es-category-card {
    background: var(--es-card-bg);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-lg);
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--es-shadow-sm);
    transition: all 0.2s ease;
}

.es-category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--es-shadow-md);
    border-color: var(--es-teal);
}

.es-cat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--es-radius-md);
    background: var(--es-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.es-cat-emoji {
    font-size: 24px;
}

.es-cat-img {
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
}

.es-cat-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--es-text-main);
    line-height: 1.25;
}

/* ========================================================
   DEAL CARDS & GRIDS (Today's Top Deals)
   ======================================================== */
.es-deals-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.es-deal-card {
    background: var(--es-card-bg);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-lg);
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--es-shadow-sm);
    transition: all 0.25s ease;
    position: relative;
}

.es-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--es-shadow-md);
    border-color: #CBD5E1;
}

.es-card-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 22px;
    margin-bottom: 6px;
}

.es-card-discount-badge {
    background: var(--es-red);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

.es-wishlist-toggle-btn {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
}

.es-wishlist-toggle-btn:hover {
    color: var(--es-red);
    transform: scale(1.15);
}

.es-wishlist-toggle-btn.is-active {
    color: var(--es-red);
}

.es-wishlist-toggle-btn.is-active svg {
    fill: var(--es-red);
}

.es-card-img-wrap {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.es-card-img {
    max-height: 130px;
    max-width: 100%;
    object-fit: contain;
}

.es-card-fallback-img {
    font-size: 44px;
}

.es-card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.es-card-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 35px;
}

.es-card-title a {
    color: var(--es-text-main);
}

.es-card-title a:hover {
    color: var(--es-teal);
}

.es-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-bottom: 6px;
}

.es-star {
    color: var(--es-orange);
}

.es-rating-score {
    font-weight: 700;
    color: var(--es-text-main);
}

.es-review-count {
    color: var(--es-text-muted);
    font-size: 11px;
}

.es-card-pricing-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

.es-card-deal-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--es-red);
}

.es-card-mrp-price {
    font-size: 12px;
    color: var(--es-text-light);
    text-decoration: line-through;
}

.es-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--es-border-light);
}

.es-card-store-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.es-card-store-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--es-text-muted);
}

.es-card-store-logo {
    max-height: 16px;
    max-width: 48px;
    object-fit: contain;
}

.es-btn-check-price {
    background-color: var(--es-teal);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--es-radius-pill);
    gap: 4px;
    transition: background-color 0.2s;
}

.es-btn-check-price:hover {
    background-color: var(--es-teal-hover);
}

/* ========================================================
   TRENDING PRODUCTS
   ======================================================== */
.es-trending-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.es-trending-card {
    background: var(--es-card-bg);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-lg);
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--es-shadow-sm);
    transition: all 0.2s ease;
}

.es-trending-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--es-shadow-md);
}

.es-trending-card .es-wishlist-toggle-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.es-trending-img-wrap {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.es-trending-img {
    max-height: 110px;
    max-width: 100%;
    object-fit: contain;
}

.es-trending-fallback-img {
    font-size: 38px;
}

.es-trending-title {
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.es-trending-title a {
    color: var(--es-text-main);
}

.es-trending-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--es-red);
}

/* ========================================================
   PRODUCT GUIDES
   ======================================================== */
.es-guides-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.es-guide-card {
    background: var(--es-card-bg);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-lg);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-shadow: var(--es-shadow-sm);
    transition: all 0.25s ease;
}

.es-guide-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--es-shadow-md);
    border-color: var(--es-teal);
}

.es-guide-content {
    flex: 1;
}

.es-guide-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--es-text-main);
    line-height: 1.35;
    margin: 0 0 8px;
}

.es-guide-badge {
    background: #FF8A00;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--es-radius-pill);
    display: inline-block;
}

.es-guide-img-wrap {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--es-bg);
    border-radius: var(--es-radius-md);
}

.es-guide-img {
    max-height: 50px;
    max-width: 50px;
    object-fit: contain;
}

.es-guide-fallback-icon {
    font-size: 26px;
}

/* ========================================================
   SHOPPING TIPS & BLOG
   ======================================================== */
.es-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.es-blog-card {
    background: var(--es-card-bg);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-lg);
    overflow: hidden;
    box-shadow: var(--es-shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.es-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--es-shadow-md);
}

.es-blog-img-wrap {
    width: 100%;
    height: 130px;
    background: var(--es-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.es-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.es-blog-card:hover .es-blog-img {
    transform: scale(1.05);
}

.es-blog-fallback-img {
    font-size: 36px;
}

.es-blog-content {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.es-blog-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
}

.es-blog-title a {
    color: var(--es-text-main);
}

.es-blog-meta {
    margin-top: auto;
    font-size: 11px;
    color: var(--es-text-muted);
}

.es-blog-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ========================================================
   NEWSLETTER SECTION
   ======================================================== */
.es-newsletter-card {
    background: rgba(0, 191, 166, 0.08);
    border: 1px solid rgba(0, 191, 166, 0.25);
    border-radius: var(--es-radius-xl);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

[data-theme="dark"] .es-newsletter-card {
    background: rgba(0, 191, 166, 0.05);
    border-color: rgba(0, 191, 166, 0.2);
}

.es-newsletter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.es-newsletter-icon-wrap {
    width: 54px;
    height: 54px;
    background: rgba(0, 191, 166, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.es-newsletter-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--es-text-main);
    margin: 0 0 4px;
}

.es-newsletter-subtitle {
    font-size: 13px;
    color: var(--es-text-muted);
    margin: 0;
}

.es-newsletter-right {
    flex: 1;
    max-width: 440px;
}

.es-newsletter-form {
    display: flex;
    gap: 10px;
}

.es-newsletter-input {
    flex: 1;
    height: 44px;
    padding: 0 18px;
    border-radius: var(--es-radius-pill);
    border: 1px solid var(--es-border);
    background: #FFFFFF;
    color: #0B2545;
    font-size: 13px;
    outline: none;
}

.es-btn-newsletter {
    background: var(--es-teal);
    color: #FFFFFF;
    padding: 0 24px;
    height: 44px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--es-radius-pill);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.es-btn-newsletter:hover {
    background: var(--es-teal-hover);
}

/* ========================================================
   FOOTER
   ======================================================== */
.es-site-footer {
    background-color: #0B2545;
    color: #CBD5E1;
    padding: 60px 0 24px;
    margin-top: 50px;
}

.es-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr 1.1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.es-footer-brand-wrap {
    margin-bottom: 16px;
}

.es-footer-logo {
    height: 46px;
    width: auto;
}

.es-footer-brand-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #94A3B8;
    margin-bottom: 20px;
}

.es-social-icons-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.es-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.es-social-icon:hover {
    background: var(--es-teal);
    transform: translateY(-2px);
}

.es-footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 16px;
}

.es-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.es-footer-links li {
    margin-bottom: 9px;
}

.es-footer-links a {
    font-size: 13px;
    color: #94A3B8;
    transition: color 0.15s;
}

.es-footer-links a:hover {
    color: var(--es-teal);
}

/* App Download Widget */
.es-app-download-widget {
    display: flex;
    gap: 12px;
    align-items: center;
}

.es-play-badge-btn {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--es-radius-md);
    padding: 8px 12px;
    display: inline-block;
    color: #FFFFFF;
    text-decoration: none;
    transition: border-color 0.2s;
}

.es-play-badge-btn:hover {
    border-color: #FFFFFF;
}

.es-play-badge-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.es-play-badge-text {
    display: flex;
    flex-direction: column;
}

.es-play-small {
    font-size: 9px;
    color: #94A3B8;
    line-height: 1;
}

.es-play-brand {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.es-app-qr-box {
    background: #FFFFFF;
    padding: 6px;
    border-radius: var(--es-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.es-qr-label {
    font-size: 8px;
    font-weight: 700;
    color: #0B2545;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Sub-footer bottom bar */
.es-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #94A3B8;
}

.es-lazywasim-link {
    color: #00BFA6;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
}

.es-lazywasim-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ========================================================
   SINGLE PRODUCT PAGE STYLES
   ======================================================== */
.es-single-product-page {
    padding: 24px 0 50px;
}

.es-breadcrumbs {
    font-size: 13px;
    color: var(--es-text-muted);
    margin-bottom: 20px;
}

.es-bc-sep {
    margin: 0 6px;
    color: #CBD5E1;
}

.es-bc-current {
    color: var(--es-text-main);
    font-weight: 600;
}

.es-product-hero-card {
    background: var(--es-card-bg);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-xl);
    padding: 32px;
    box-shadow: var(--es-shadow-md);
    margin-bottom: 30px;
}

.es-product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.es-product-main-img-box {
    position: relative;
    width: 100%;
    min-height: 320px;
    background: var(--es-bg);
    border-radius: var(--es-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.es-product-hero-img {
    max-height: 280px;
    object-fit: contain;
}

.es-product-brand-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--es-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.es-product-detail-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
}

.es-detail-deal-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--es-red);
}

.es-detail-mrp-price {
    font-size: 18px;
    color: var(--es-text-light);
    margin-left: 10px;
}

.es-savings-pill {
    display: inline-block;
    background: rgba(0, 191, 166, 0.12);
    color: var(--es-teal);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--es-radius-pill);
    margin-left: 10px;
}

.es-buy-box {
    margin-top: 24px;
    padding: 20px;
    background: var(--es-bg);
    border-radius: var(--es-radius-lg);
}

.es-store-badge-row {
    font-size: 13px;
    margin-bottom: 12px;
}

.es-btn-buy-now {
    width: 100%;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
}

.es-affiliate-micro-disclaimer {
    font-size: 11px;
    color: var(--es-text-muted);
    margin-top: 10px;
    text-align: center;
}

.es-coupon-alert-box {
    background: #FFF7ED;
    border: 1px dashed #FF8A00;
    color: #9A3412;
    padding: 10px 14px;
    border-radius: var(--es-radius-md);
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
}

/* Pros and Cons */
.es-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.es-card {
    background: var(--es-card-bg);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-lg);
    padding: 24px;
    box-shadow: var(--es-shadow-sm);
    margin-bottom: 24px;
}

.es-pro-title {
    color: var(--es-teal);
    font-size: 16px;
    margin-bottom: 12px;
}

.es-con-title {
    color: var(--es-red);
    font-size: 16px;
    margin-bottom: 12px;
}

.es-pros-list, .es-cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.es-pros-list li, .es-cons-list li {
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--es-border-light);
}

.es-sub-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--es-text-main);
    margin-bottom: 14px;
}

.es-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.es-specs-table th, .es-specs-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--es-border);
    font-size: 13px;
    text-align: left;
}

.es-specs-table th {
    width: 30%;
    color: var(--es-text-muted);
}

/* Category Archive */
.es-archive-hero {
    background: var(--es-card-bg);
    border: 1px solid var(--es-border);
    border-radius: var(--es-radius-xl);
    padding: 30px 36px;
    margin-bottom: 28px;
    box-shadow: var(--es-shadow-sm);
}

.es-archive-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.es-subcategories-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.es-subcat-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.es-subcat-pill {
    background: var(--es-bg);
    border: 1px solid var(--es-border);
    padding: 6px 14px;
    border-radius: var(--es-radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--es-text-main);
    transition: all 0.2s;
}

.es-subcat-pill:hover {
    background: var(--es-teal);
    color: #FFFFFF;
    border-color: var(--es-teal);
}

/* Mobile Drawer */
.es-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: var(--es-card-bg);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--es-shadow-lg);
    display: flex;
    flex-direction: column;
}

.es-mobile-drawer.is-open {
    transform: translateX(0);
}

.es-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--es-border);
}

.es-drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--es-text-main);
}

.es-drawer-body {
    padding: 20px;
    overflow-y: auto;
}

.es-drawer-menu {
    list-style: none;
}

.es-drawer-menu li {
    margin-bottom: 12px;
}

.es-drawer-menu a {
    font-size: 16px;
    font-weight: 600;
    color: var(--es-text-main);
    display: block;
    padding: 8px 0;
}

.es-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.es-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}
