/* Footer general */
.rb-footer-middle {
    width: 100% !important;
    max-width: 100% !important;
    padding: 60px 5px 40px !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    text-align: left;
    box-sizing: border-box !important;
}

.rb-footer-middle,
.rb-footer-bottom {
    padding-bottom: 70px !important;
}

/* ===========================
   Mobile Footer Accordion
   =========================== */
@media (max-width: 767px) {
    .rb-footer-middle {
        padding: 20px 10px !important;
        text-align: left !important;
    }

    .rb-widget {
        border-bottom: 1px solid #ddd !important;
        margin-bottom: 8px !important;
    }

    .rb-widget-title {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer !important;
        font-weight: 600 !important;
        font-size: 16px !important;
    }

    .rb-widget-title .toggle-icon {
        display: inline-block !important;
        font-size: 18px !important;
        transition: transform 0.4s ease !important;
    }

    .rb-widget-list {
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        transition: max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease !important;
    }

    .rb-widget-list li {
        padding: 4px 0 !important;
    }

    /* Active state */
    .rb-widget.active .rb-widget-list {
        overflow: hidden !important;
    }
}


.col-4 { width: 100% !important; }
/* WhatsApp menu item */
.whatsapp-menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  color: #25D366 !important; /* WhatsApp green */
  font-weight: 600 !important;
  padding: 6px 10px !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.whatsapp-menu:hover {
  color: #128C7E !important; /* Darker on hover */
  transform: scale(1.05) !important;
}

.whatsapp-icon {
  width: 24px !important;
  height: 24px !important;
  margin-bottom: 4px !important;
}
/* ========== Mobile Footer Nav (App Style) ========== */
/* ========== Mobile Footer Nav (App Style) ========== */
.rb-mobile-footer {
  display: flex; /* default display */
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: rgb(210, 235, 255); /* cool and clean look */
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

.rb-footer-item {
  position: relative;
  text-decoration: none;
  color: #444;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}

.rb-footer-item i {
  font-size: 22px;
  margin-bottom: 2px;
}

.rb-footer-item.active {
  color: #007bff;
}

/* Cart Badge */
.cart-badge {
  position: absolute;
  top: 2px;
  right: 18px;
  background: #ff4d4d;
  color: #fff;
  font-size: 10px;
  border-radius: 50%;
  padding: 2px 5px;
  min-width: 16px;
  text-align: center;
  line-height: 1.2;
}



/* ===== Hide on Desktop Devices Only ===== */
@media (min-width: 1024px) {
  .rb-mobile-footer {
    display: none !important;
  }
}


/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f9f9f9;
  color: #222;
}

/* ===== Container ===== */
.rv-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Banner ===== */
.rv-banner {
  width: 100%;
  overflow: hidden;
}

.rv-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== Header ===== */
.rv-header-top {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.rv-header-top .rv-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rv-logo img {
  height: 48px;
}

.rv-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.rv-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.rv-nav a:hover {
  color: #ff4b2b;
}

/* ===== Header Right Actions ===== */
.rv-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rv-login-btn,
.rv-user {
  padding: 8px 14px;
  border-radius: 6px;
  background: #ff4b2b;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.rv-login-btn:hover,
.rv-user:hover {
  background: #d93a20;
}

.rv-cart {
  font-size: 22px;
  text-decoration: none;
  color: #333;
}

/* ===== Footer ===== */
.rv-footer {
  background: #111;
  color: #ccc;
  padding: 50px 0 20px;
  margin-top: 50px;
}

.rv-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.rv-footer-logo {
  width: 120px;
  margin-bottom: 12px;
}

.rv-footer-links h4,
.rv-footer-contact h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.rv-footer-links ul {
  list-style: none;
}

.rv-footer-links a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin: 6px 0;
  transition: color 0.3s;
}

.rv-footer-links a:hover {
  color: #ff4b2b;
}

.rv-footer-contact p {
  margin: 6px 0;
}

.rv-footer-bottom {
  border-top: 1px solid #333;
  padding-top: 10px;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .rv-nav ul {
    gap: 16px;
  }
  .rv-logo img {
    height: 40px;
  }
  .rv-header-actions {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .rv-nav ul {
    display: none; /* you can later replace with hamburger */
  }
  .rv-header-top .rv-container {
    justify-content: space-between;
  }
}



.rv-best-seller {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.rv-best-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #111;
}

.rv-best-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* desktop: 4 per row */
  gap: 20px;
}

.rv-best-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  cursor: pointer;
}

.rv-best-item img,
.rv-best-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  transition: opacity 0.4s ease;
}

.rv-best-item img { 
  opacity: 1; 
  filter: blur(0px); 
}

.rv-best-item iframe { 
  opacity: 0; 
  pointer-events: none; 
}

/* Responsive */
@media (max-width: 1024px) {
  .rv-best-grid { grid-template-columns: repeat(2, 1fr); } /* tablet: 2 per row */
}
@media (max-width: 600px) {
  .rv-best-grid { grid-template-columns: repeat(3, 1fr); } /* mobile: 3 per row */
}

.rv-banner {
  width: 100%;              /* full width container */
  overflow: hidden;         /* hide overflow if needed */
  padding:10px;
}

.rv-banner img {
  width: 100%;              /* image scales to container width */
  height: auto;             /* maintain aspect ratio */
  display: block;
  max-height: 80px;         /* optional: original banner height */
  object-fit: cover;        /* crop or fill if container changes height */
}

/* Optional: For very small devices, reduce height slightly */
@media (max-width: 480px) {
  .rv-banner img {
    max-height: 80px;
  }
}
/* Mobile devices: zoom in slightly */
@media (max-width: 768px) {
  .rv-banner img {
    transform: scale(1.2);   /* zoom in 20% */
  }
}

/* Optional: very small devices */
@media (max-width: 480px) {
  .rv-banner img {
    transform: scale(1.3);   /* zoom in 30% */
  }
}
.category-scroll {
  display: flex;
  gap: 12px;                  /* spacing between images */
  list-style: none;
  padding: 10px 10px 2px 10px; /* top right bottom left */
  margin:2px 0px 3px 20px;
  overflow-x: auto;            /* horizontal scroll */
  scroll-behavior: smooth;     /* smooth scrolling */
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

/* Small devices (mobile) */
@media (max-width: 768px) {
  .category-scroll {
    margin-left: 0.1px; /* remove extra left margin */
  }
}

.category-scroll li {
  flex: 0 0 auto;             /* prevent shrinking */
}

.category-scroll img {
  display: block;
  max-width: 100px;           /* adjust as needed */
  height: auto;
  border-radius: 8px;         /* optional rounded edges */
  cursor: pointer;
  border: 1px solid black;    /* 1px solid black border */
}

/* Full-width container */
.rv-container {
  width: 100%;
  padding-left: 15px;    /* optional padding */
  padding-right: 15px;
  margin: 0 auto;
  box-sizing: border-box;
}
/* Headline Container */
.rv-new-products {
  width: 100%;
  text-align: center; /* centers the crop */
 display: block;
  border-radius: 12px;    /* optional – rounded look */
}

/* Headline Image */
.rv-new-products img {
  max-width: 1200px;
 /* aspect-ratio: 1024 / 200; /* ensures consistent ratio */
/* object-fit: contain; /* no stretching */
  height: 100px;          /* smaller visible height */
  object-fit: cover;      /* crops without stretching */
  overflow: hidden;       /* hides cropped parts */
  border-radius:15px;
 display: inline-block;
 margin-top: 20px;
  margin-bottom: 25px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .rv-new-products {
    padding: 10px 0;
  }

  .rv-new-products img {
    max-width: 250px; /* smaller on mobile */
  }
}

@media (max-width: 480px) {
  .rv-new-products img {
    max-width: 100%; /* very small screens */
  }
}

/* ================================
/* PRODUCT GRID FIXED VERSION */

/* PRODUCT GRID - RESPONSIVE VERSION */

/* Grid container */
#rv-product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 per row on desktop */
  gap: 10px;
  width: 100%;
  padding: 10px;
}

/* Tablet */
@media (max-width: 992px) {
  #rv-product-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
  }
}

/* Mobile */
@media (max-width: 576px) {
  #rv-product-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
  }
}

/* Product Card */
.rv-product {
  background: #fff;
  border-radius: 10px;
  border: 1px solid black;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.rv-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Image wrapper */
.rv-product-media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Product Image */
.rv-product-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.rv-product-media:hover img {
  transform: scale(1.05);
}

/* Bottom info bar */
.rv-bottom-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,1);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  font-size: 14px;
}

/* Price & Rating */
.rv-bottom-info .price {
  font-weight: 600;
  color: #ffd700;
}

.rv-bottom-info .stars {
  font-size: 14px;
  color: #fff;
}

/* Product Title */
.rv-product-title {
  margin: 10px 0 5px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv-product-title a {
  color: inherit;
  text-decoration: none;
}

.rv-product-title a:hover {
  color: #007bff;
}


/* Category */
.ug-index-category { 
    background-color: #e8f8fc;
    padding-top: 20px !important;
    margin-bottom: 10px !important;
    padding-bottom: 5px; /* added bottom padding to prevent overlap */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* ensures it stacks properly */
    z-index: 1;
}

/* Category title */
.ug-index-category-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  padding-top: 20px !important;
  padding-bottom: 25px;
  color: #333;
}

/* Grid layout for categories */
.ug-index-category-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  justify-items: center;
  gap: 5px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5px;
}

/* Category item wrapper */
.ug-index-category-item-wrap {
  text-decoration: none;
  color: inherit;
  width: 100%;
  max-width: 180px;
}

/* Category item box */
.ug-index-category-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid red; /* red border for grid lines */
}

.ug-index-category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Category icon */
.ug-index-category-item-icon {
  margin-bottom: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0072ce;
}

/* Category name */
.ug-index-category-item-name {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #333;
}
 .header.header-5 {
  background-color: rgb(210, 235, 255); /* cool and clean look */ !important; /* black background */
}
.header.header-5,
.header.header-5 a {
  color: #fff !important; /* make all text & links white */
}

/* General body */
body,
html {
    background-color: #e8f8fc; /* body background */
    height: 100%;
    color: #0F0E0E; /* default text color */
    font-family: Arial, Helvetica, sans-serif !important;
}

/* --- Carousel --- */
.custom-carousel {
  max-width: 100%;          
  position: relative;
  text-align:center;
  margin-left: 10px;
  margin-right: 10px;
  overflow: hidden;
  z-index: 1;
  font-family: Arial, Helvetica, sans-serif !important;
}

.carousel-wrapper {
  display: flex;
  padding-top: 5px; /* Desktop padding */
  transition: transform 0.5s ease-in-out;
  max-width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-bottom: 10px; /* Desktop padding */
  max-height: 550px; /* standard height for all slides */
}

.carousel-slide img {
  width: 100% !important;
  height: 100% !important; /* fill the container */
  object-fit: cover; /* fill the container while keeping aspect ratio, may crop */
  display: block;
  border-radius: 12px!important;
}

.carousel-caption {
  display:hidden;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 30px;      /* same width and height */
  height: 30px;
  color: Black !important;
  background: #c2d9fc!important;
  border-radius: 50%;
}

.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }

.carousel-dots {
  display:hidden;  
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.carousel-dots .dot {
    
  display: hidden;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  border-radius: 50%;
  background-color: #d7d7d7;
  cursor: pointer;
}

.carousel-dots .dot.active { 
  display: hidden;  
  background-color: #c96; 
}
/* Broaden Search Input */
.header-search-wrapper {
  width: 250px !important; /* increase width as needed */
}

.header-search-wrapper input.form-control {
  width: 100% !important;
  padding: 8px 12px !important;
  font-size: 16px !important;
  border-radius: 4px !important;
  border: 1px solid #ccc !important;
  transition: border-color 0.3s ease !important;
}

.header-search-wrapper input.form-control:focus {
  border-color: #c96 !important; /* highlight on focus */
  outline: none !important;
}

/* ===================== Basic Menu ===================== */

/* Category Items */
.category-item {
  display: flex !important;
  align-items: center !important;
  padding: 5px !important;
  transition: background 0.3s ease !important;
  border-radius: 8px !important;
}

.category-item img {
  width: 40px !important;
  height: 40px !important;
  margin-right: 5px !important;
  object-fit: contain !important;
  image-rendering: -webkit-optimize-contrast !important; /* Better sharpness */
  box-shadow: 0 8px 12px -4px rgba(0, 0, 0, 0.2) !important;
  border-radius:50%;
}

.category-item span {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #333 !important;
}

.category-item:hover {
  background: #f5f5f5 !important;
}

/* ===================== Header Top (Promo Bar) ===================== */
.header-top {
  padding: 0;                /* remove old padding */
  margin: 0;                 /* remove old margin */
  background: none;          /* remove background color */
  text-align: center;        /* center the image */
}

.header-top img {
  display: block;
  width: 100%;               /* full-width top bar */
  height: auto;              /* maintain aspect ratio */
}

/* ===================== Main Header ===================== */


  /* ================= Footer Base ================= */
.rb-footer {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #0F0E0E !important;
    color: #fff !important;
    font-family:  Helvetica, sans-serif !important;
    display: block !important;
    position: absolute !important;
    right: 1px !important;
    text-align:left;
    padding: 40px 5px 60px !important;
}

/* ================= Footer Middle ================= */


/* ===========================
   Footer Mobile Collapsible
   =========================== */

/* Desktop footer remains intact */
.rb-footer .rb-widget-list {
  display: block !important;
}

/* Mobile Footer */
@media (max-width: 767px) {
  .rb-widget {
    border-bottom: 1px solid #ddd !important;
    margin-bottom: 8px !important;
  }

  .rb-widget-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 16px !important;
  }

  .rb-widget-title .toggle-icon {
    display: inline-block !important;
    font-size: 18px !important;
    transition: transform 0.4s ease !important;
  }

  .rb-widget-list {
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    transition: max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease !important;
  }

  .rb-widget-list li {
    padding: 4px 0 !important;
  }
}

.rb-widget {
    margin-bottom: 25px !important;
}

.rb-widget-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: #fff !important;
    padding-bottom: 5px !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.rb-widget-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rb-widget-list li {
    margin-bottom: 8px !important;
}

.rb-widget-list li a {
    color: #ddd !important;
    text-decoration: none !important;
    transition: color 0.3s, transform 0.3s !important;
}

.rb-widget-list li a:hover {
    color: #ff9900 !important;
    transform: translateX(3px) !important;
}

.rb-footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    padding: 40px 5px 40px !important;
}
.rb-footer-bottom-content {
    display: flex;
    align-items: center;
    gap: 10px; /* space between text and logo */
    margin-top: 5px;
    color: #ccc;
    flex-wrap: wrap; /* for responsiveness on small screens */
}

.rb-footer-copy {
    margin-bottom: 8px;
    font-size: 16px;
}

.rb-footer-logo img {
    max-width: 70px;
    height: auto;
}


/* =========================
   EXISTING PAGE CSS
   ========================= */
/* =========================
   UGREEN-Style Product Cards
   ========================= */
/* --- Add to Cart Button Style Below Price --- */
/* --- Add to Cart Button Style Below Price --- */
.product-body .btn-product.btn-cart {
    display: block;           
    margin: 10px auto 0 auto; 
    max-width: 100%;         
    padding: 12px 0;          
    font-size: 1rem;          
    background-color: #000;   
    color: #fff;              /* white text */
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    margin-bottom:25px;
}
.product-body .btn-product.btn-cart:hover {
    background-color: #8B0000; /* red on hover */
    color: #fff;               /* keep text white on hover */
}


/* --- Product Card Base --- */

.product-2 {
    border: 1.5px solid #333 !important;  /* subtle border */
    border-radius: 12px;
    border: 1px solid black;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 2px solid red; /* red border for grid lines */
    font-family: Arial, Helvetica, sans-serif !important;
}

.product-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Product Images & Hover --- */
.product-media {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.product-media img {
    width: 100%;
    height: auto; /* fixed uniform height like UGREEN */
    object-fit: contain; /* maintain aspect ratio */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-media .product-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-media:hover .product-image-hover {
    opacity: 1;
}

.product-media:hover .product-image {
    transform: scale(1.05);
}

/* --- Out of Stock Overlay --- */
.product-action.out-stock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: rgba(255,255,255,0.9);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #ff4d4f;
    font-size: 0.9rem;
}

/* --- Add to Cart & Buy Now Buttons --- */
.btn-product {
    border-radius: 6px;
    font-size: 0.9rem;
    padding: 8px 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif !important;
}

.btn-product.btn-cart {
    background-color: #00b894; /* UGREEN green */
    color: #fff;
    border: none;
    font-family: Arial, Helvetica, sans-serif !important;
}

.btn-product.btn-cart:hover {
    background-color: #009f7f;
}

/* --- Product Body --- */
.product-body {
    padding: 12px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: Arial, Helvetica, sans-serif !important;
}

.product-cat a {
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    font-family: Arial, Helvetica, sans-serif !important;
}

.product-cat a:hover {
    color: #00b894;
}

.product-title a {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    font-family: Arial, Helvetica, sans-serif !important;
}

.product-title a:hover {
    color: #00b894;
}

.product-price {
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center;     /* centers vertically if needed */
    gap: 6px;                /* optional, space between original and discounted price */
    margin-top: 5px;
    font-family: Arial, Helvetica, sans-serif !important;
}

.product-price h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin-top: 5px;
        text-align: center;      /* ensures text itself is centered */
        font-family: Arial, Helvetica, sans-serif !important;
}

.product-price light {
    text-decoration: line-through;
    color: #aaa;
    margin-right: 6px;
}
 /* Footer Widget */

.rb-footer-payments-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important; /* space between text & logo */
  margin-top: 10px !important;
}

.rb-footer-payments {
  font-size: 14px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  color: #fff !important;
}

.rb-footer-pay {
  max-width:60%;
}
.rb-footer-pay img {
    border-radius:15px;
}
/* ===================== MOBILE HEADER ===================== */

/* Tablet & Mobile */
@media (max-width: 768px) {
  
   .header.header-5 {
  padding-bottom:10px;
  padding-top:10px
}
  /* Logo smaller */
  .header-5 .logo img {
    max-width: 140px !important;
    height: auto !important;
  }

  /* Hide desktop menu */
  .main-menu ul {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #2c3e50 !important;
    padding: 10px 0 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 999 !important;
  }

  /* Show menu when toggled */
  .main-menu ul.show {
    display: flex !important;
  }

  .main-menu li {
    padding: 10px 15px !important;
  }

  .main-menu li a {
    font-size: 16px !important;
    color: #fff !important;
    display: block !important;
    width: 100% !important;
  }
   .ug-index-category { 
   margin:10px;    
   }
  .ug-index-category-items {
    gap:15px;
    
}

  /* Mega-menu vertical */
  .megamenu {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    min-width: 100% !important;
    box-shadow: none !important;
    padding: 5px !important;
  }

  /* Header actions (search + cart) */
  /* Header actions stack horizontally */
  .header-actions {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
    position: relative !important;
  }
 .cart-dropdown {
    position: relative !important;
  }
  /* Hamburger on the right */
  .mobile-menu-toggler {
    display: block !important;
    margin-left: 10px !important;
  }

  /* Adjust cart icon */
  .cart-dropdown .icon-shopping-cart {
    font-size: 22px !important;
    margin-right: 5px !important;
  }

  /* Ensure cart count positions properly */
  .cart-dropdown .cart-count {
    top: -6px !important;
    right: -6px !important;
  }
  /* Search input smaller */
  .header-search-wrapper {
    width: 180px !important;
  }

}

/* Small Mobile: max-width */
@media (max-width: 492px) {
  /* Logo extra small */
  .header-5 .logo img {
    max-width: 120px !important;
  }

  /* Menu links smaller font */
  .main-menu {
      display:hidden;
  }
  .main-menu li a {
    font-size: 14px !important;
  }

  /* Stack header actions */
.header-actions {
    flex-direction: row !important; /* keep in a row to prevent overlap */
    align-items: center !important;
    gap: 8px !important;
  }

.mobile-menu-toggler {
    order: 2 !important; /* push to the end */
  }

  .cart-dropdown {
    order: 1 !important; /* cart before hamburger */
  }
  /* Search input smaller */
  .header-search-wrapper {
    width: 140px !important;
  }

  /* Cart badge smaller */
  .cart-dropdown .cart-count {
    width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
    top: -6px !important;
    right: -8px !important;
  }

  /* Hamburger icon smaller */
  .mobile-menu-toggler {
    font-size: 20px !important;
  }
}
#error {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  background: linear-gradient(90deg, #ff512f, #dd2476) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 14px 20px !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25) !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: all 0.4s ease-in-out !important;
  z-index: 9999 !important;
  max-width: 90% !important;
  text-align: center !important;
}

#error.show {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #error {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(30px) !important;
  }
  #error.show {
    transform: translateX(-50%) translateY(0) !important;
  }
}
