/* ==========================================================
   YOURSTORE HOME
   PROFESSIONAL MARKETPLACE DESIGN
========================================================== */

:root {

    --primary: #f59e0b;
    --primary-dark: #d97706;
    --primary-soft: #fff7ed;

    --dark: #111827;
    --dark-2: #1f2937;

    --text: #344054;
    --muted: #667085;

    --border: #eaecf0;
    --background: #f5f7fa;

    --white: #ffffff;

    --success: #039855;
    --danger: #d92d20;

    --shadow-sm:
        0 2px 8px rgba(16, 24, 40, .06);

    --shadow-md:
        0 8px 24px rgba(16, 24, 40, .08);

    --shadow-lg:
        0 18px 45px rgba(16, 24, 40, .12);

}


/* ==========================================================
   RESET
========================================================== */

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    background:
        var(--background);

    color:
        var(--text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;

}



img {

    max-width: 100%;

    display: block;

}


button,
input {

    font: inherit;

}


button {

    cursor: pointer;

}


a {

    color: inherit;

    text-decoration: none;

}


/* ==========================================================
   TOP ANNOUNCEMENT
========================================================== */

.top-announcement {

    width: 100%;

    min-height: 31px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        var(--dark);

    color:
        var(--white);

    font-size: 10px;

}


.announcement-track {

    width: max-content;

    display: flex;

    align-items: center;

    gap: 55px;

    padding-left: 100%;

    animation:
        announcementMove
        28s linear infinite;

}


.announcement-track span {

    white-space: nowrap;

}


@keyframes announcementMove {

    from {

        transform:
            translateX(0);

    }

    to {

        transform:
            translateX(-100%);

    }

}


/* ==========================================================
   MAIN HEADER
========================================================== */













/* ==========================================================
   GLOBAL HEADER RESET & LAYOUT
========================================================== */


/* ==========================================================
   NEW: MASTER TOP WRAPPER (THE CRITICAL FIXED PIECE)
========================================================== */
.fixed-top-wrapper {
  position: fixed;   /* Sticks the announcement bar AND header to the top */
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;    /* Keeps it above all website sections */
  width: 100%;
}

/* ==========================================================
   MAIN HEADER (CLEANED)
========================================================== */
.main-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e4e7ec;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-inner {
  width: 100%;
  padding: 12px 16px;
  margin: auto;
  display: flex;
  flex-direction: column;    
  gap: 14px;
  box-sizing: border-box;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ==========================================================
   BUG PREVENTER FOR MAIN BODY CONTENT
========================================================== */

main, .hero-section {
  padding-top: 85px; /* Adjust this number to match your header's actual total height */
}





/* This container wraps your hamburger icon and logo text on mobile */
.logo-area {
  display: flex;
  align-items: center;
  gap: 16px;                 /* Adds clean breathing room after the menu bar icon */
  flex: 1;                   /* Forces the area to expand across the layout line */
  min-width: 0;              /* Prevents text strings from expanding over boundaries */
}

/* ==========================================================
   LOGO TEXT CONTROL
========================================================== */

.logo-area {
  display: flex;
  align-items: center;
}

.store-logo {
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  color: #111827;
  font-size: 20px; /* Big and highly visible on mobile screens */
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* Hide the Marketplace text tag completely on small screens */
.desktop-only-text {
  display: none;
}

/* ==========================================================
   JUMIA VECTOR SVG ICONS
========================================================== */

.jumia-svg {
  width: 26px;  /* Matches standard smartphone tap area metrics */
  height: 26px;
  color: #111827; /* Clean charcoal dark profile line */
  display: block;
}

.action-icon, .cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================
   DESKTOP RESPONSIVE REFINEMENTS (768px or wider)
========================================================== */
@media (min-width: 768px) {
  .logo-text strong {
    font-size: 24px; /* Slightly larger presentation scale on desktops */
  }

  /* Show the Marketplace tagline description on widescreen laptops */
  .desktop-only-text {
    display: block;
    color: #f59e0b; /* Golden accent theme tint */
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-top: 4px;
    text-transform: uppercase;
  }
}



/* Desktop screen adjustments */
@media (min-width: 768px) {
  .header-inner {
    flex-direction: row; /* Converts rows back into a single straight horizontal banner */
    align-items: center;
  }
  
  .header-top-row {
    width: auto; /* Lets desktop layout calculate sizing naturally */
    display: contents; /* Dissolves the row wrapper box conceptually on wide viewports */
  }
}




/* ==========================================================
   SEARCH BAR (JUMIA STYLE)
========================================================== */
.header-search {
  width: 100%;
  order: 3; /* Places search bar underneath logo options row on smartphone screens */
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: #f4f4f6; /* Soft light-gray background input bed */
  border-radius: 50px; /* Smooth circular pill layout style */
  height: 44px;
  padding: 0 4px 0 16px;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.search-wrapper:focus-within {
  background: #ffffff;
  border-color: #f59e0b;
}

.search-icon-hint {
  font-size: 16px;
  color: #71717a;
  margin-right: 8px;
}

.header-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  color: #111827;
  font-size: 14px;
}

.header-search input::placeholder {
  color: #71717a;
}

.header-search button {
  display: none; /* Hides bulky buttons on mobile screens to match Jumia aesthetics */
}

/* ==========================================================
   HEADER ACTIONS (ACCOUNT & CART)
========================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.header-action {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.action-icon {
  font-size: 24px;
  color: #111827;
}

.action-content {
  display: none; /* Cleans up screen bloat by dropping inline action labels on text fields */
}

.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.cart-icon {
  font-size: 24px;
  color: #111827;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f59e0b; /* Golden badge fill indicator */
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
}

/* ==========================================================
   DESKTOP OVERRIDES (WIDTHS EQUAL TO OR WIDER THAN 768px)
========================================================== */
@media (min-width: 768px) {
  .header-inner {
    flex-direction: row; /* Restores global horizontally distributed layout row */
    align-items: center;
    padding: 14px 24px;
    gap: 32px;
  }

  .mobile-menu-toggle {
    display: none; /* Keeps side navigation triggers hidden on widescreen layouts */
  }

  .header-search {
    flex: 1;
    max-width: 600px;
    order: unset; /* Positions lookups back directly between main brandings and items */
  }

  .search-wrapper {
    background: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: 8px; /* Clean rectangular inputs with subtle roundings */
    padding-right: 0;
  }

  .search-icon-hint {
    display: none; /* Leverages dedicated button fields instead of floating graphic hooks */
  }

  .header-search button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 100%;
    border: 0;
    background: #f59e0b;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    cursor: pointer;
    padding: 0;
  }

  #searchButton img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Sharp contrasting white icons */
  }

  .action-content {
    display: flex;
    flex-direction: column;
    margin-left: 8px;
    line-height: 1.2;
  }

  .action-content strong {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
  }
}




/* ==========================================================
   CATEGORY NAVIGATION
========================================================== */

.category-navigation {

    background:
        var(--dark);

    color:
        var(--white);

}


.category-nav-inner {

    width:
        min(
            1400px,
            calc(100% - 40px)
        );

    min-height: 43px;

    margin:
        auto;

    display: flex;

    align-items: center;

    gap: 22px;

}


.all-categories-button {

    height: 34px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        0 14px;

    border: 0;

    border-radius: 5px;

    background:
        var(--primary);

    color:
        var(--dark);

    font-size: 10px;

    font-weight: 850;

}


.quick-links {

    display: flex;

    align-items: center;

    gap: 25px;

    overflow: hidden;

}


.quick-links a {

    flex-shrink: 0;

    color:
        #e5e7eb;

    font-size: 10px;

    transition:
        color .2s ease;

}


.quick-links a:hover {

    color:
        var(--primary);

}


/* ==========================================================
   HOME MAIN
========================================================== */

.home-main {

    width: 100%;

}


/* ==========================================================
   HERO
========================================================== */

.hero-section {

    width:
        min(
            1400px,
            calc(100% - 40px)
        );

    margin:
        22px auto 0;

}


.hero-main {

    min-height: 355px;

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    overflow: hidden;

    border-radius: 16px;

    background:
        linear-gradient(
            120deg,
            #fff7ed,
            #ffffff 55%,
            #fef3c7
        );

    box-shadow:
        var(--shadow-md);

}


.hero-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        50px 55px;

}


.hero-label {

    width: fit-content;

    margin-bottom: 14px;

    padding:
        6px 10px;

    border-radius: 30px;

    background:
        var(--primary);

    color:
        var(--dark);

    font-size: 8px;

    font-weight: 900;

    letter-spacing:
        1.4px;

}


.hero-content h1 {

    max-width: 600px;

    color:
        var(--dark);

    font-size:
        clamp(
            34px,
            4vw,
            58px
        );

    line-height:
        1.03;

    letter-spacing:
        -2.4px;

}


.hero-content p {

    max-width: 560px;

    margin-top: 17px;

    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.7;

}


.hero-buttons {

    display: flex;

    align-items: center;

    gap: 11px;

    margin-top: 25px;

}


.hero-primary,
.hero-secondary {

    min-height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        0 18px;

    border-radius: 7px;

    font-size: 10px;

    font-weight: 800;

}


.hero-primary {

    background:
        var(--primary);

    color:
        var(--dark);

}


.hero-secondary {

    border:
        1px solid var(--border);

    background:
        var(--white);

    color:
        var(--dark);

}


/* ==========================================================
   PRODUCT IMAGE
========================================================== */

.product-image{

    position:relative;

    display:block;

    width:100%;

    height:220px;

    overflow:hidden;

    background:#f5f5f5;

    text-decoration:none;

}


.product-image img{

    display:block;

    width:100%;

    height:100%;

    object-fit:cover;

}


/* ==========================================================
   PRODUCT INFORMATION
========================================================== */

.product-info{

    display:block;

    padding:12px;

    background:#ffffff;

    position:relative;

    z-index:2;

}


.product-name{

    display:block;

    color:#222222;

    font-size:14px;

    font-weight:500;

    line-height:1.4;

    min-height:40px;

    margin-bottom:8px;

    overflow:hidden;

}


.product-price{

    display:block;

    color:#f4511e;

    font-size:17px;

    font-weight:700;

    line-height:1.3;

}


.product-old-price{

    margin-left:6px;

    color:#888888;

    font-size:12px;

    font-weight:400;

    text-decoration:line-through;

}


.product-rating{

    display:block;

    margin-top:7px;

    color:#f5a623;

    font-size:13px;

    font-weight:600;

}


.product-rating span{

    color:#777777;

    font-weight:400;

    margin-left:3px;

}


/* ==========================================================
   PRODUCT CARD
========================================================== */

.product-card{

    display:block;

    position:relative;

    overflow:hidden;

    background:#ffffff;

    border-radius:8px;

}


.product-card a{

    text-decoration:none;

}


.product-badge{

    position:absolute;

    top:8px;

    left:8px;

    z-index:5;

    padding:4px 8px;

    border-radius:4px;

    background:#f4511e;

    color:#ffffff;

    font-size:11px;

    font-weight:700;

}


/* ==========================================================
   HERO VISUAL
========================================================== */

.hero-visual {

    position: relative;

    min-height: 355px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.hero-product-shape {

    width: 225px;

    height: 225px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    border-radius: 50%;

    background:
        var(--primary);

    color:
        var(--dark);

    box-shadow:
        0 25px 50px
        rgba(245,158,11,.3);

    transform:
        rotate(-7deg);

}


.hero-product-shape span {

    font-size: 34px;

}


.hero-product-shape strong {

    margin-top: 8px;

    font-size: 30px;

    font-weight: 950;

    letter-spacing:
        -2px;

}


.hero-product-shape small {

    margin-top: 4px;

    font-size: 8px;

    font-weight: 850;

    letter-spacing:
        2px;

}


.floating-card {

    position: absolute;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        11px 14px;

    border:
        1px solid rgba(255,255,255,.8);

    border-radius: 10px;

    background:
        rgba(255,255,255,.9);

    box-shadow:
        var(--shadow-md);

    backdrop-filter:
        blur(10px);

}


.floating-card span {

    font-size: 19px;

}


.floating-card div {

    display: flex;

    flex-direction: column;

}


.floating-card strong {

    color:
        var(--dark);

    font-size: 10px;

}


.floating-card small {

    margin-top: 3px;

    color:
        var(--muted);

    font-size: 8px;

}


.card-one {

    top: 55px;

    left: 8%;

}


.card-two {

    right: 8%;

    bottom: 55px;

}


/* ==========================================================
   HERO PROMOS
========================================================== */

.hero-promos {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

    margin-top: 14px;

}


.promo-card {

    min-height: 76px;

    display: flex;

    align-items: center;

    gap: 11px;

    padding:
        12px 15px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background:
        var(--white);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.promo-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow-md);

}


.promo-card > span {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background:
        var(--primary-soft);

    font-size: 17px;

}


.promo-card div {

    display: flex;

    flex-direction: column;

}


.promo-card strong {

    color:
        var(--dark);

    font-size: 10px;

}


.promo-card small {

    margin-top: 4px;

    color:
        var(--muted);

    font-size: 8px;

}


/* ==========================================================
   SECTION
========================================================== */

.category-section,
.featured-categories,
.products-section {

    width:
        min(
            1400px,
            calc(100% - 40px)
        );

    margin:
        34px auto 0;

}


.section-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 16px;

}


.section-eyebrow {

    display: block;

    margin-bottom: 5px;

    color:
        var(--primary-dark);

    font-size: 8px;

    font-weight: 900;

    letter-spacing:
        1.5px;

}


.section-header h2 {

    color:
        var(--dark);

    font-size: 22px;

    letter-spacing:
        -.8px;

}


.section-header p {

    margin-top: 4px;

    color:
        var(--muted);

    font-size: 10px;

}


.view-all {

    flex-shrink: 0;

    color:
        var(--primary-dark);

    font-size: 10px;

    font-weight: 800;

}


/* ==========================================================
   CATEGORY SLIDER
========================================================== */

.category-slider {

    position: relative;

    width: 100%;

    overflow: hidden;

}


.category-track {

    width: max-content;

    display: flex;

    gap: 13px;

    animation:
        categoryMove
        38s linear infinite;

}


.category-track:hover {

    animation-play-state:
        paused;

}


@keyframes categoryMove {

    from {

        transform:
            translateX(0);

    }

    to {

        transform:
            translateX(-50%);

    }

}


/* ==========================================================
   CATEGORY CARD
========================================================== */

.category-card {

    width: 125px;

    min-height: 130px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 9px;

    padding: 12px;

    border:
        1px solid var(--border);

    border-radius: 12px;

    background:
        var(--white);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.category-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow-md);

}


.category-icon {

    width: 68px;

    height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        var(--primary-soft);

    font-size: 30px;

}


.category-card strong {

    color:
        var(--dark);

    font-size: 10px;

    text-align: center;

}


.category-card small {

    color:
        var(--muted);

    font-size: 8px;

}


/* ==========================================================
   FEATURED CATEGORY GRID
========================================================== */

.featured-category-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 12px;

}


.featured-category-card {

    min-height: 145px;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 17px;

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #fff7ed,
            #ffffff
        );

    border:
        1px solid var(--border);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.featured-category-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        var(--shadow-md);

}


.featured-category-card .category-large-icon {

    position: absolute;

    top: 12px;

    right: 14px;

    font-size: 44px;

    opacity: .9;

}


.featured-category-card strong {

    position: relative;

    z-index: 1;

    color:
        var(--dark);

    font-size: 12px;

}


.featured-category-card small {

    position: relative;

    z-index: 1;

    margin-top: 4px;

    color:
        var(--muted);

    font-size: 8px;

}


/* ==========================================================
   PRODUCT SECTION
========================================================== */

.products-section {

    margin-bottom:
        55px;

}


.product-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 13px;

}


.product-card {

    min-width: 0;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background:
        var(--white);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.product-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        var(--shadow-md);

}


.product-image {

    position: relative;

    aspect-ratio:
        1 / 1;

    overflow: hidden;

    background:
        #f9fafb;

}


.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.product-badge {

    position: absolute;

    top: 8px;

    left: 8px;

    padding:
        4px 7px;

    border-radius: 4px;

    background:
        var(--primary);

    color:
        var(--dark);

    font-size: 7px;

    font-weight: 900;

}


.product-info {

    padding:
        11px;

}


.product-name {

    min-height: 30px;

    display:
        -webkit-box;

    overflow: hidden;

    color:
        var(--dark);

    font-size: 10px;

    line-height: 1.45;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

}


.product-price {

    margin-top: 8px;

    color:
        var(--dark);

    font-size: 14px;

    font-weight: 900;

}


.product-old-price {

    margin-left: 5px;

    color:
        #98a2b3;

    font-size: 8px;

    text-decoration:
        line-through;

}


.product-rating {

    display: flex;

    align-items: center;

    gap: 5px;

    margin-top: 6px;

    color:
        #f59e0b;

    font-size: 9px;

}


.product-rating span {

    color:
        var(--muted);

    font-size: 8px;

}


.product-loading {

    min-height: 80px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    color:
        var(--muted);

    font-size: 9px;

}


.loading-spinner {

    width: 17px;

    height: 17px;

    border:
        2px solid #eaecf0;

    border-top-color:
        var(--primary);

    border-radius: 50%;

    animation:
        productSpin .8s linear infinite;

}


@keyframes productSpin {

    to {

        transform:
            rotate(360deg);

    }

}


/* ==========================================================
   FOOTER
========================================================== */

.store-footer {

    margin-top:
        60px;

    background:
        var(--dark);

    color:
        #d1d5db;

}


.footer-main {

    width:
        min(
            1400px,
            calc(100% - 40px)
        );

    margin:
        auto;

    padding:
        50px 0;

    display: grid;

    grid-template-columns:
        1.7fr
        repeat(4, 1fr);

    gap: 35px;

}


.footer-logo {

    color:
        var(--white);

    font-size: 18px;

    font-weight: 950;

}


.footer-brand p {

    max-width: 280px;

    margin-top: 13px;

    color:
        #9ca3af;

    font-size: 10px;

    line-height: 1.7;

}


.footer-column {

    display:
        flex;

    flex-direction:
        column;

    gap: 10px;

}


.footer-column h3 {

    margin-bottom: 5px;

    color:
        var(--white);

    font-size: 11px;

}



.footer-column a {

    color:
        #9ca3af;

    font-size: 9px;

}


.footer-column a:hover {

    color:
        var(--primary);

}


.footer-bottom {

    width:
        min(
            1400px,
            calc(100% - 40px)
        );

    min-height: 60px;

    margin:
        auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    border-top:
        1px solid #374151;

    color:
        #9ca3af;

    font-size: 9px;

}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1100px) {

    .header-inner {

        gap: 14px;

    }


    .header-actions {

        gap: 9px;

    }


    .action-content {

        display: none;

    }


    .featured-category-grid {

        grid-template-columns:
            repeat(4, 1fr);

    }


    .product-grid {

        grid-template-columns:
            repeat(4, 1fr);

    }


    .footer-main {

        grid-template-columns:
            repeat(3, 1fr);

    }

}


@media (max-width: 800px) {

    .header-inner {

        width:
            calc(100% - 24px);

        min-height:
            65px;

        flex-wrap:
            wrap;

        padding:
            10px 0;

    }


    .header-search {

        order: 3;

        flex-basis:
            100%;

        max-width:
            none;

    }


    .main-header {

        position:
            relative;

    }


    .category-nav-inner {

        width:
            calc(100% - 24px);

        overflow:
            hidden;

    }


    .quick-links {

        overflow-x:
            auto;

        scrollbar-width:
            none;

    }


    .hero-main {

        grid-template-columns:
            1fr;

    }


    .hero-visual {

        min-height:
            250px;

    }


    .hero-content {

        padding:
            38px 25px 15px;

    }


    .hero-promos {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .featured-category-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .product-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .footer-main {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 520px) {

    .header-inner {

        width:
            calc(100% - 20px);

    }


    .store-logo .logo-text {

        display:
            none;

    }


    .header-actions {

        margin-left:
            auto;

    }


    .header-cart {

        font-size:
            0;

    }


    .category-section,
    .featured-categories,
    .products-section,
    .hero-section {

        width:
            calc(100% - 20px);

    }


    .hero-main {

        border-radius:
            12px;

    }


    .hero-content h1 {

        font-size:
            32px;

    }


    .hero-visual {

        min-height:
            210px;

    }


    .hero-product-shape {

        width:
            150px;

        height:
            150px;

    }


    .hero-product-shape strong {

        font-size:
            21px;

    }


    .floating-card {

        transform:
            scale(.8);

    }


    .hero-promos {

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            8px;

    }


    .promo-card {

        min-height:
            70px;

        padding:
            9px;

    }


    .promo-card small {

        display:
            none;

    }


    .featured-category-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            8px;

    }


    .product-info {

        padding:
            9px;

    }


    .product-price {

        font-size:
            13px;

    }


    .footer-main {

        grid-template-columns:
            1fr 1fr;

        gap:
            25px 18px;

    }


    .footer-brand {

        grid-column:
            1 / -1;

    }


    .footer-bottom {

        min-height:
            75px;

        flex-direction:
            column;

        justify-content:
            center;

        text-align:
            center;

    }

}




























/* ==========================================================
   HOME PRODUCTS — BEAUTIFUL PRODUCT GRID
========================================================== */

#productGrid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 10px 0 25px;
}


/* ==========================================================
   PRODUCT CARD
========================================================== */

.product-card {
    position: relative;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* ==========================================================
   HOVER EFFECT
========================================================== */

.product-card:hover {
    transform: translateY(-4px);
    border-color: #e6e6e6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.11);
}


/* ==========================================================
   PRODUCT LINK
========================================================== */

.product-card > a {
    text-decoration: none;
    color: inherit;
    display: block;
}


/* ==========================================================
   PRODUCT IMAGE AREA
========================================================== */

.product-image {
    position: relative;
    display: block;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #f6f6f6;
}


/* ==========================================================
   PRODUCT IMAGE
========================================================== */

.product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}


.product-card:hover .product-image img {
    transform: scale(1.06);
}


/* ==========================================================
   PRODUCT BADGE
========================================================== */

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 9px;

    border-radius: 20px;

    background: #ff6b00;
    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    line-height: 1;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
}


/* ==========================================================
   PRODUCT INFORMATION
========================================================== */

.product-info {
    padding: 12px 12px 14px;
}


/* ==========================================================
   CATEGORY
========================================================== */

.product-category {
    margin-bottom: 5px;

    color: #888888;

    font-size: 11px;
    font-weight: 500;

    text-transform: uppercase;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ==========================================================
   PRODUCT NAME
========================================================== */

.product-name {
    min-height: 38px;

    color: #222222;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.4;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}


/* ==========================================================
   PRICE
========================================================== */

.product-price {
    margin-top: 9px;

    color: #f4511e;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.2;
}


/* ==========================================================
   OLD PRICE
========================================================== */

.product-old-price {
    margin-left: 5px;

    color: #999999;

    font-size: 11px;
    font-weight: 400;

    text-decoration: line-through;
    vertical-align: middle;
}


/* ==========================================================
   RATING
========================================================== */

.product-rating {
    margin-top: 8px;

    display: flex;
    align-items: center;
    gap: 4px;

    color: #f5a623;

    font-size: 12px;
    font-weight: 700;
}


.product-rating span {
    color: #888888;
    font-weight: 400;
}


/* ==========================================================
   LOADING
========================================================== */

.home-products-loading {
    grid-column: 1 / -1;

    min-height: 160px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777777;

    font-size: 14px;
}


/* ==========================================================
   EMPTY STATE
========================================================== */

.home-products-empty {
    grid-column: 1 / -1;

    padding: 45px 20px;

    text-align: center;

    background: #ffffff;

    border-radius: 14px;

    border: 1px solid #eeeeee;
}


.home-products-empty h3 {
    margin: 0 0 8px;

    color: #222222;

    font-size: 17px;
}


.home-products-empty p {
    margin: 0;

    color: #777777;

    font-size: 13px;
}


/* ==========================================================
   ERROR STATE
========================================================== */

.home-products-error {
    grid-column: 1 / -1;

    padding: 40px 20px;

    text-align: center;

    background: #fff8f5;

    border: 1px solid #ffe0d2;

    border-radius: 14px;
}


.home-products-error h3 {
    margin: 0 0 8px;

    color: #d84315;

    font-size: 17px;
}


.home-products-error p {
    margin: 0;

    color: #777777;

    font-size: 13px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (min-width: 600px) {

    #productGrid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 16px;
    }


    .product-image {
        height: 220px;
    }


    .product-name {
        font-size: 15px;
    }


    .product-price {
        font-size: 18px;
    }

}


/* ==========================================================
   DESKTOP
========================================================== */

@media (min-width: 900px) {

    #productGrid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 18px;
    }


    .product-image {
        height: 240px;
    }


    .product-info {
        padding: 14px 14px 16px;
    }


    .product-name {
        font-size: 15px;
    }


    .product-price {
        font-size: 10px;
    }

}


/* ==========================================================
   LARGE DESKTOP
========================================================== */

@media (min-width: 1200px) {

    #productGrid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        gap: 20px;
    }


    .product-image {
        height: 255px;
    }

}


/* ==========================================================
   PRODUCT PRICE
========================================================== */

.product-price {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 10px;

}


/* CURRENT PRICE */

.product-current-price {

    font-size: 17px;

    font-weight: 700;

    color: #f4511e;

}


/* OLD PRICE */

.product-old-price {

    font-size: 12px;

    font-weight: 500;

    color: #888;

    text-decoration: line-through;

}



/* ==========================================================
   PRODUCT RATING
========================================================== */

.product-rating {

    display: flex;

    align-items: center;

    gap: 4px;

    margin-top: 7px;

    font-size: 13px;

}


.rating-stars {

    color: #f4511e;

    font-size: 15px;

}


.rating-number {

    font-weight: 600;

    color: #555;

}


.rating-reviews {

    color: #888;

}


/* ==========================================================
   PRODUCT BADGE
========================================================== */

.product-badge {

    position: absolute;

    top: 10px;

    left: 10px;

    z-index: 5;

    display: inline-flex;

    align-items: center;

    padding: 5px 9px;

    border-radius: 6px;

    background: #f4511e;

    color: #fff;

    font-size: 11px;

    font-weight: 700;

    line-height: 1;

    box-shadow:
        0 2px 6px rgba(
            0,
            0,
            0,
            0.15
        );

}





/* ==========================================================
   BUYER ACCOUNT NAME
========================================================== */

.header-action .action-content {
    display: flex;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

.header-action #buyerFirstName {
    display: inline-block;
    visibility: visible;
    opacity: 1;
    color: inherit;
}


/* BUYER NAME */
#buyerFirstName {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}


/* MOBILE */

@media (max-width: 768px) {

    #buyerFirstName {
        font-size: 11px;
        font-weight: 600;
    }

}


@media (max-width: 768px) {

    .header-action .action-content {
        display: flex;
        visibility: visible;
        opacity: 1;
    }

    .header-action #buyerFirstName {
        display: inline-block;
    }
    
    

}


