@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #F7C918;
    --secondary-color: #000080;
    --primary-color-rgb: 247, 201, 24;
    --secondary-color-rgb: 0, 0, 128; 
    --bg-color: #F5F5F5;
    --text-color: #2D2D2D;
    --hover-color: #D96E30;
    --white: #FFFFFF;
    --light-gray: #F0F2F5;
    --border-color: #E0E0E0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --poppins: 'Poppins', sans-serif;
    --lato: 'Lato', sans-serif;  
    --primary-light:  #f0f4ff;
    --primary-mid:    #d0d9f5;
    --success-bg:     #e8f5e9;
    --success-fg:     #2e7d32;
    --danger-bg:      #ffebee;
    --danger-fg:      #c62828;
    --warn-bg:        #fff3cd;
    --warn-fg:        #856404;
    --text-primary:   #222;
    --text-secondary: #333;
    --text-muted:     #666;
    --text-faint:     #888;
    --text-faintest:  #aaa;
    --border:         #eee;
    --border-mid:     #f0f0f0;
    --surface:        #f5f5f5;
    --surface-alt:    #f9f9f9;
    --radius-sm:      10px;
    --radius-md:      12px;
    --radius-lg:      14px;
    --radius-xl:      20px;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--lato);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--poppins);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--poppins);
    font-weight: 500;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 15px;
    background-color: var(--bg-color);
}

/* NAVBAR */
nav {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-bottom: 0px;
    overflow: visible;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 20px;
}

.nav-bottom {
    padding: 0px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-topbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: var(--primary-color);
  z-index: 210;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 700;
}

.logo img, .full-logo img {
    height: auto;
    width: 100px;
}

.lap-home-search {
    background: var(--light-gray);
    border-radius: 25px;
    padding: 5px 15px;
    width: 40%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.lap-home-search:focus-within {
    background: var(--white);
    border-color: var(--primary-color);
}

.lap-home-search input {
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 8px;
    outline: none;
    width: 100%;
}

.lap-home-search input::placeholder {
    color: #888;
}

.lap-home-search i {
    color: var(--primary-color);
}

.nav-icons {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
}

.nav-icons a {
    color: var(--secondary-color);
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-color);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* MOBILE SEARCH & SWITCH */
.home-search {
    padding: 10px;
    display: flex;
    background: var(--primary-color);
    display: none; /* Desktop hidden */
}

.greeting {
    line-height: 1.3;
    padding: 0px 10px;
}

.greeting > :first-child {
    color: white;
    font-size: 25px;
    font-weight: 700;
}

.greeting > :nth-child(2) {
    color: orangered;
    font-weight: 700;
    font-size: 12px;
}

.mobile-search-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 100px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 30px;
    padding: 2px;
}

.mobile-search-box input {
    border: none;
    padding: 10px;
    flex: 1;
    outline: none;
    width: 80%;
}

.mobile-search-box button {
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.mobile-store-switch select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
}

/* DESKTOP DROPDOWN NAV */
.desktop-dropdown {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dt-list1 {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.dt-listitem {
    position: relative;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
}

.dt-listitem:hover {
    color: var(--primary-color);
}

.dt-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 8px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 20;
}

.dt-dropdown.dt-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dt-dropdown li a {
    display: block;
    padding: 10px 15px;
    color: #222;
    font-size: 14px;
}

.dt-dropdown li a:hover {
    background: rgba(0,0,128,0.05);
}

.mobile-sidebar,
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-sidebar {
    width: 280px;
    max-width: 100%;
    background: #fff;
    transform: translateX(-100%);
    opacity: 1;
    transition: transform 0.3s ease;
    pointer-events: auto;
    z-index: 1110;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 24px 0 60px rgba(0,0,0,0.18);
    overflow: hidden;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    background-color: var(--primary-color);
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.mobile-sidebar-overlay {
    background: rgba(0,0,0,0.48);
    opacity: 0;
    z-index: 1100;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-sidebar-header {
    background: var(--secondary-color);
    color: #fff;
    padding: 22px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.mobile-sidebar-user {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.mobile-sidebar-avatar, .mobile-sidebar-avatar img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 24px;
    display: grid;
    place-items: center;
    object-fit: cover;
}

.mobile-sidebar-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-sidebar-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.mobile-sidebar-email {
    font-size: 13px;
    color: rgba(255,255,255,0.78);
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-sidebar-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.mobile-sidebar-items {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 0;
}

.mobile-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    width: 100%;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.mobile-sidebar-item:hover,
.mobile-sidebar-item.active {
    background: #f0f4ff;
}

.mobile-sidebar-item.active {
    border-left: 3px solid var(--primary-color);
}

.mobile-sidebar-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border-radius: 12px;
    background: var(--secondary-color);
    color: var(--primary-color);
    margin-right: 14px;
}

.mobile-sidebar-item-label {
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.mobile-sidebar-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

.mobile-sidebar-item-chevron {
    color: #6b7280;
    margin-left: 10px;
}

.mobile-sidebar-footer {
    padding: 18px 20px 30px;
}

.mobile-sidebar-button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    font-weight: 700;
    padding: 14px 16px;
    border: none;
    text-align: center;
}

.mobile-sidebar-button-logout {
    background: #c62828;
    color: #fff;
}

.mobile-sidebar-button-login {
    background: var(--primary-color);
    color: var(--secondary-color);
}

body.sidebar-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .desktop-dropdown {
        display: none;
    }
}

@media (min-width: 1025px) {
    .home-search,
    .mobile-sidebar,
    .mobile-sidebar-overlay {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 0 12px;
    }
}

.dt-active {
    display: flex !important;
}

.dt-dropdown li a {
    padding: 12px 20px;
    display: block;
    font-weight: 400;
}

.dt-dropdown li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* HERO SLIDER */
.hero {
    margin-top: 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 450px;
}

.slide-cont {
    height: 100%;
    width: 100%;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-item {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: #000;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.image-item .text {
    position: absolute;
    left: 8%;
    color: var(--white);
    z-index: 10;
    max-width: 500px;
}

.image-item .th, .image-item .tq {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--poppins);
}

.image-item .tb, .image-item .tj {
    font-size: 1.2rem;
    background: rgba(0,0,0,0.4);
    padding: 10px 15px;
    border-radius: 4px;
}

.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot-item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}

.dot-item.activet5 {
    background: var(--primary-color) !important;
    width: 25px;
    border-radius: 10px;
}

/* SERVICES ICONS */
.services ul::-webkit-scrollbar {
    display: none;
}

.services ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 0px;
}

.services li {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.services li:hover {
    transform: translateY(-5px);
}

.services li.active {
    border: 2px solid var(--primary-color);
    background: #f0f4ff;
}

.services img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.services div {
    padding: 5px;
    font-weight: 600;
}

/* FREE DELIVERY BANNER*/
.freedelivery-banner {
    width: 100%;
    height: 100px;
    margin: 25px 0px;
    /* position: relative; */
}

.freedelivery-banner img {
    height: 100%;
    width: 100%;
    border-radius: 8px;
}

/* STORE LIST */
.vendors {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
}

.vendor-card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.vendor-card.closed::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.vendor-card.closed {
    cursor: not-allowed;
}

.vendor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 128, 0.08);
}

.vendor-img {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: #fff8e1;
  position: relative;
}

.vendor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vendor-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary-color);
  color: var(--secondary-color);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.vendor-badge.closed {
  background: #fff;
  color: red;
  z-index: 3;
}

.vendor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    bottom: 10px;
    left: 8px;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
}

.vendor-logo img {
    height: auto;
}

.heart-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #999;
  transition: transform 0.15s, color 0.15s;
  z-index: 2;
}

.heart-btn:hover {
  transform: scale(1.1);
}

.heart-btn.active {
  color: var(--primary-color);
}

.heart-btn.active i {
  color: var(--primary-color);
}

.heart-btn:active {
  transform: scale(0.9);
}

.vendor-info {
  padding: 10px 12px 12px;
  /* line-height: 1; */
}

.vendor-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary-color);
}

.vendor-meta {
  display: flex;
  align-items: center;
}

.vendor-tag {
  font-size: 12px;
  color: #666;
}

.vendor-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ccc;
  margin-right: 5px;
}

.vendor-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: var(--secondary-color);
  font-weight: 600;
  margin-right: 10px;
}

.vendor-rating .star,
.vendor-rating::before {
  color: var(--primary-color);
}

.vendor-rating .rating {
    font-weight: 800;
    color: black;
}

.vendor-rating .rating-count {
    color: #757575;
}

.vendor-time {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff8e1;
  border-radius: 6px;
  width: fit-content;
}

.vendor-time i {
  color: var(--secondary-color);
  font-size: 12px;
}

.vendor-time span {
  font-size: 11px;
  color: black;
  font-weight: 600;
}

/* Section header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  margin-bottom: 4px;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary-color);
}

.see-all {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 40px 16px;
  color: #999;
  font-size: 14px;
}

.empty-state i {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
}

.empty-state p {
  margin: 6px 0;
}

.empty-state strong {
  color: #333;
}

.empty-hint {
  font-size: 13px !important;
  color: #aaa !important;
}

/* Search results */
.search-cont {
  padding: 16px;
}

.search-cont h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.search-section {
  margin-bottom: 24px;
}

.search-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 24px 0 12px;
  padding: 0 4px;
}

.store-search-section {
  margin-bottom: 24px;
}

.store-search-section .store-info-bar {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
}

.store-search-section .store-info-bar .store-logo-wrap img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.store-search-section .store-info-bar .store-meta {
  flex: 1;
}

.store-search-section .store-info-bar .store-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 6px;
}

.store-search-section .store-info-bar .store-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.store-search-section .store-info-bar .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-color);
  font-weight: 600;
}

.store-search-section .store-info-bar .reviews {
  color: #888;
}

.products-scroll-wrap {
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 0 -16px;
  padding-left: 16px;
}

.products-row {
  display: flex;
  gap: 12px;
  min-width: max-content;
}

.search-cont .item-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid #eee;
  width: 160px;
  flex-shrink: 0;
}

.item-card a {
  text-decoration: none;
  color: inherit;
}

.item-img {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 8px;
  background: #fff8e1;
}

.item-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.item-name {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.item-desc {
  font-size: 11px;
  color: #777;
  line-height: 1.3;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.item-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
}

.add-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s;
}

.add-btn:hover:not(:disabled) {
  transform: scale(1.08);
}

.add-btn:active:not(:disabled) {
  transform: scale(0.92);
}

.add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.store-nav {
  position: relative;
}

.store-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.store-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
    will-change: transform;
}

.hero-back-btn {
  position: fixed;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000080;
  font-size: 16px;
  cursor: pointer;
  z-index: 200;
}

.hero-actions {
  position: fixed;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 200;
}

.hero-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 15px;
  cursor: pointer;
}

.hero-action-btn.active {
  color: var(--primary-color);
}

.store-name {
    position: absolute;
    bottom: 50px;
    right: 20px;
    background-color: white;
    color: var(--secondary-color);
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    z-index: 200;
    text-transform: capitalize;
}

.store .page-topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: var(--primary-color);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 700;
}

.store .page-topbar.visible {
  opacity: 1;
}

.store-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 45px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    overflow: hidden;
    box-shadow: 2px 2px 5px grey;
    z-index: 200;
}

.store-logo img {
    width: 100%;
    height: auto;
}

.store-info-bar {
  background: #fff;
  margin: 20px 14px 0;
  border-radius: 16px;
  padding: 14px 16px;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.store-info-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.store-stats {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid #f0f0f0;
}

.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff8e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--secondary-color);
}

.stat-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary-color);
}

.stat-label {
  font-size: 10px;
  color: #aaa;
  text-align: center;
  line-height: 1.3;
}

.star {
  color: var(--primary-color);
}

.cat-scroll-wrap {
  position: sticky;
  top: 56px;
  z-index: 50;
  background: #f5f5f5;
  padding: 10px 0;
  width: 100vw;
}

.cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-width: none;
}

.cat-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #666;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cat-tab.active {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.cat-tab:hover:not(.active) {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.store-menu {
    position: absolute;
    top: 150px;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    background-color: white;
}

.menu-section-group {
  padding: 0 16px;
}

.menu-section-title {
  font-size: 14px;
  padding: 0 16px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 18px 0 10px;
  text-transform: capitalize;
}

.store .item-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid #eee;
  margin-bottom: 10px;
}

.store .item-img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff8e1;
}

.store .item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.store .item-name {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;  
}

.store .item-desc {
  font-size: 12px;
  color: #777;
  margin-top: 3px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.store .item-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.store .item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary-color);
}

.store .add-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--primary-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s;
  flex-shrink: 0;
}

.store .add-btn:hover {
  transform: scale(1.08);
}

.store .add-btn:active {
  transform: scale(0.92);
}

.product-hero {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.product-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content card */
.p-item .pr-image {
    height: 220px;
    width: 100%;
}

.p-item .pr-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product-content {
  background: #fff;
  border-radius: 20px 20px 0 0;
  margin-top: -16px;
  position: relative;
  z-index: 2;
  padding: 20px 16px 100px;
  min-height: 60vh;
}

.product-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  color: #000080;
  margin: 0;
  line-height: 1.3;
}

.store-link {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.store-link a { color: #000080; text-decoration: none; font-weight: 600; }
.store-link a:hover { text-decoration: underline; }

.badge-instock {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-outstock {
  background: #ffebee;
  color: #c62828;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.stars i { font-size: 13px; }
.rating-text { font-size: 12px; color: #888; }

.product-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: #000080;
}

.product-old-price {
  font-size: 15px;
  text-decoration: line-through;
  color: #bbb;
}

.product-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.section-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 16px 0;
}

.product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
    gap: 12px;
}

.product-meta-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-qty-stepper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #000080;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-qty-stepper button {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 700;
    color: #000080;
    cursor: pointer;
    transition: background 0.15s;
}

.product-qty-stepper button:hover:not(:disabled) { background: #f0f4ff; }
.product-qty-stepper button:disabled { color: #ccc; cursor: default; }

.product-qty-stepper #qtyDisplay {
    min-width: 36px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #000080;
    border-left: 1.5px solid #d0d9f5;
    border-right: 1.5px solid #d0d9f5;
    line-height: 38px;
}

/* Addons */
.addons-section { margin-bottom: 8px; }

.addon-group { margin-bottom: 20px; }

.addon-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.addon-group-title {
  font-size: 14px;
  font-weight: 700;
  color: #000080;
}

.addon-group-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.addon-group-badge.required { background: #fff3cd; color: #856404; }
.addon-group-badge.optional { background: #f0f0f0; color: #666; }

.addon-options { display: flex; flex-direction: column; gap: 8px; }

.addon-option {
  border: 1.5px solid #eee;
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 8px;
}

.addon-option[data-type="checkbox"] {
    cursor: pointer;
    user-select: none; /* prevents text highlighting on click */
}

.addon-option[data-type="checkbox"]:hover {
    border-color: var(--secondary-color);
    background: #f9f9ff;
}

.addon-option.active {
  border-color: var(--secondary-color);
  background: #f0f4ff;
}

.addon-option.active .addon-name {
    color: var(--secondary-color);
    font-weight: 600;
}

.addon-option-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.addon-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.addon-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.addon-price {
  font-size: 12px;
  color: #000080;
  font-weight: 700;
}

.addon-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.addon-stepper button {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: #000080;
  cursor: pointer;
  transition: background 0.1s;
}

.addon-stepper button:hover { background: #e8eaf6; }

.addon-stepper button:disabled {
  color: #ccc;
  cursor: not-allowed;
}

.addon-qty {
  width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.addon-checkbox-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.addon-checkbox {
    display: none; /* hide native checkbox */
}

/* Custom visual checkbox — the label acts as the box */
.addon-checkbox + label {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    flex-shrink: 0;
}

.addon-checkbox:checked + label {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.addon-checkbox:checked + label::after {
    content: '✓';
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

/* Required group validation highlight */
.addon-group.missing .addon-group-title {
  color: red;
}

.addon-group.missing .addon-group-header::after {
  content: ' — please select at least 1';
  font-size: 11px;
  color: red;
  font-weight: 400;
}

/* Quantity */
.quantity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.qty-label { font-size: 14px; font-weight: 600; color: #333; }

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
}

.qty-stepper button {
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: #000080;
  cursor: pointer;
}

.qty-stepper span {
  width: 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.product-sticky-bar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: #fff;
  padding: 12px 16px;
  margin-top: 18px;
  border-top: 1px solid #f0f0f0;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pack-qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f0f4ff;
  border-radius: 14px;
  border: 1.5px solid #d0d9f5;
}

.pack-qty-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary-color);
}

.pack-qty-stepper {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
}

.pack-qty-stepper button {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  cursor: pointer;
  transition: background 0.15s;
}

.pack-qty-stepper button:hover:not(:disabled) {
  background: #f0f4ff;
}

.pack-qty-stepper button:disabled {
  color: #ccc;
  cursor: not-allowed;
}

.pack-qty-stepper #packQtyDisplay {
  min-width: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary-color);
  border-left: 1.5px solid #d0d9f5;
  border-right: 1.5px solid #d0d9f5;
  line-height: 40px;
}

.product-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #000080;
}

/* Add to cart button */
.btn-add-to-cart {
  width: 100%;
  padding: 16px;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.15s;
}

.btn-add-to-cart:disabled {
  background: #ccc;
  color: #fff;
  cursor: not-allowed;
}

.btn-add-to-cart:hover:not(:disabled) { opacity: 0.9; }

.product-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f0f4ff;
    border-radius: 14px;
    margin: 14px 0;
    border: 1.5px solid #d0d9f5;
}

.product-qty-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.product-qty-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary-color);
}

.product-qty-base-price {
    font-size: 12px;
    color: #666;
}

.product-qty-stepper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
}

.product-qty-stepper button {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.15s;
}

.product-qty-stepper button:hover:not(:disabled) {
    background: #ffffca;
}

.product-qty-stepper button:disabled {
    color: #ccc;
    cursor: default;
}

.product-qty-stepper #qtyDisplay {
    min-width: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    border-left: 1.5px solid #d0d9f5;
    border-right: 1.5px solid #d0d9f5;
    line-height: 40px;
}

/* Reviews */
.reviews-section { padding-bottom: 20px; }

.section-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 14px;
}

.review-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-avatar, .review-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  object-fit: cover;
}

.review-name { font-size: 13px; font-weight: 700; color: #333; }
.review-date { font-size: 11px; color: #aaa; }
.review-stars { margin-left: auto; }
.review-message { font-size: 12px; color: #555; line-height: 1.6; }

.no-reviews {
  text-align: center;
  padding: 30px;
  color: #aaa;
  font-size: 13px;
}

.no-reviews i { font-size: 30px; margin-bottom: 8px; display: block; }

/* OFFERS */
.offer-cont {
    background: var(--white);
    padding: 40px 0;
    margin-bottom: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.offer {
    width: 100%;
    overflow: hidden;
}

.offer ul {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.offer li {
    flex: 0 0 25%;
    text-align: center;
    padding: 0 10px;
}

.offer i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.offer div {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.offer span {
    font-size: 0.85rem;
    color: #666;
}

/* BLOGS */
.blogs {
    margin-bottom: 60px;
}

.blog-header {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.blog-items {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
}

.blog-items::-webkit-scrollbar {
    height: 6px;
}

.blog-items::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.blog-post {
    flex: 0 0 280px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-date {
    padding: 15px 15px 0;
    color: #888;
    font-size: 0.85rem;
}

.blog-title {
    padding: 5px 15px;
    font-weight: bold;
    font-size: 1.1rem;
    height: 55px;
    overflow: hidden;
}

.blog-body {
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #555;
    height: 80px;
    overflow: hidden;
}

.blog-post button {
    width: 100%;
    padding: 10px;
    background: transparent;
    border-top: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: bold;
}

.blog-post button:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* FOOTER */
.foot {
    background: #1a1a2e;
    color: var(--white);
    width: 100%;
    margin: 0;
    padding: 60px 16px 0;
    border-top: 2px solid var(--primary-color);
}

.news-letter {
    text-align: center;
    margin-bottom: 40px;
}

.news-signup {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.mail-inp {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.mail-inp input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    outline: none;
}

.mail-inp button {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.mail-inp button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.list-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto !important;
}

.fhead {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fhead i {
    display: none;
}

.foot-list li {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

.foot-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* .foot .container {
    max-width: 100%;
    padding: 0 15px;
} */

footer {
    background: #1a1a2e;
    color: #777;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 20px 0;
    font-size: 0.85rem;
}

/* footer .container {
    max-width: 100%;
    padding: 0 15px;
} */

footer a {
    color: #ccc;
}

footer a:hover {
    color: var(--primary-color);
}

/* LOGIN / SIGNUP */
body.login {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e2050 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e2050 100%);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px);
}

.login-cont {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    border: 2px solid var(--primary-color);
}

.login-cont h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.login-cont label {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.login-cont input[type="email"], 
.login-cont input[type="password"],
.login-cont input[type="text"],
.login-cont input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    background: var(--light-gray);
}

.pwrd {
    position: relative;
}

.toggle-pass {
    position: absolute;
    right: 15px;
    top: 38px;
    cursor: pointer;
    color: #888;
}

.login-cont .submit {
    width: 100%;
    padding: 14px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.login-cont .submit:hover {
    background: var(--hover-color);
}

.forgot-password {
    position: relative;
    text-align: right;
    margin-top: -15px;
    margin-bottom: 20px;
}

.forgot-password a {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.acc-exist {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.acc-exist a {
    color: var(--primary-color);
    font-weight: bold;
}

/* CART & CHECKOUT */
.cart-checkout {
    padding: 40px 0;
}

.cart-total {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    align-items: center;
}

.total-price span:last-child {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.cart-item {
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 80, 0.08);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
}

.cart-item-img-col {
    flex-shrink: 0;
}

.cart-item-img-col img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.cart-item-content-col {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.cart-item-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.cart-item-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000080; /* navy */
    font-family: inherit;
    line-height: 1.3;
}

.cart-item-top-row .remove {
    background: none;
    border: none;
    color: #ef4444; /* red */
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.cart-item-top-row .remove:hover {
    color: #b91c1c;
    transform: scale(1.15);
}

.cart-item-addon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.cart-item-addon-tags .addon-tag {
    background: rgba(0, 0, 128, 0.07);
    color: #000080; /* navy */
    border: 1px solid rgba(0, 0, 128, 0.15);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
}

.cart-item-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 4px;
}

.cart-item-price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-unit-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000080; /* navy */
}

.cart-item-old-price {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
}

.cart-item-stepper-subtotal-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.cart-item-stepper-subtotal-block .item-quantity-cont {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 3px;
    border: 1px solid rgba(0, 0, 128, 0.08);
}

.cart-item-stepper-subtotal-block .item-quantity-cont button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 128, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    color: #000080;
    transition: all 0.2s ease;
}

.cart-item-stepper-subtotal-block .item-quantity-cont button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}

.cart-item-stepper-subtotal-block .item-quantity-cont button:not(:disabled):hover {
    background: #000080;
    color: #000080;
}

.cart-item-stepper-subtotal-block .item-quantity {
    padding: 0 10px;
    font-weight: bold;
    font-size: 0.9rem;
    color: #000080;
}

.cart-item-stepper-subtotal-block .item-subtotal-display {
    font-size: 0.82rem;
    font-weight: bold;
    color: #000080; /* navy */
    text-align: right;
}

.cart-item .stock-alert {
    color: #ef4444;
    font-weight: bold;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* PRODUCT PAGE */
/* .product-item {
    padding: 40px 0;
}

.sec-a {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.sec-a .images img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.item-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.main-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-color);
} */

/* RESPONSIVE */
@media screen and (max-width: 991px) {
    
    .nav-bar {
        padding: 0 10px;
    }

    .full-logo { display: none; }
    .lap-home-search { display: none; }
    .store-switch { display: none; }
    .desktop-dropdown { display: none; }
    
    .dropclose-bar { display: block; }
    .home-search { display: flex; }

    .services ul { 
        display: flex; 
        overflow-x: auto; 
        gap: 15px; 
        padding-bottom: 10px;
    }
    .services li {
        flex: 0 0 100px;
    }
    .services img {
        height: 65px;
    }

    .offer li {
        flex: 0 0 50%;
    }

    .blog-items {
        gap: 15px;
    }
    .blog-post {
        flex: 0 0 240px;
    }

    .list-container { grid-template-columns: 1fr; gap: 0; }
    
    .fhead i { display: block; transition: var(--transition); }
    .foot-list { 
        max-height: 0; 
        overflow: hidden; 
        transition: var(--transition);
        opacity: 0;
    }
    
    .sec-a { grid-template-columns: 1fr; }
    .hero { height: 300px; }
    .image-item .th { font-size: 2rem; }
}

@media screen and (max-width: 576px) {

    html {
    scrollbar-gutter: stable; /* reserves the scrollbar space even when hidden */
    }

    html::-webkit-scrollbar {
    display: none;
    }

    .gas-cylinders ul, .accessories ul { 
        grid-template-columns: 1fr 1fr; 
        gap: 10px;
    }
    .gas-cylinders .image, .accessories .image {
        height: 150px;
    }
    .item-details .type {
        font-size: 0.85rem;
        height: 40px;
    }
    .item-details .price {
        font-size: 1rem;
    }
    .add-to-cart {
        font-size: 0.75rem;
        padding: 8px;
    }

    .offer li {
        flex: 0 0 100%;
    }
    
    .hero { height: 160px; }
    .image-item .th { font-size: 1.5rem; }
    .image-item .tb { display: none; }
}

/* Utility Classes */
/* .blink {
    animation: blinker 1s linear infinite;
    background: var(--secondary-color);
    color: white;
    padding: 0 5px;
    border-radius: 50%;
}

@keyframes blinker {
    50% { opacity: 0; }
} */

.error {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.cart-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    z-index: 10000;
    transition: transform 0.3s ease;
}

.cart-toast.show {
    transform: translateX(-50%) translateY(0);
}
