/*
Theme Name: Urmi Store
Theme URI: https://urmistore.com/
Author: Nonigopal Das
Author URI: https://urmistore.com/
Description: Colorful Grocery eCommerce theme for EasyWP. Elementor & WooCommerce friendly. Contains Hero Banner, Product Categories, Featured Products, Testimonials, Footer Info.
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: urmi-store
*/

:root{
  --primary:#37b24d; /* green */
  --accent:#ff922b;  /* orange */
  --bright:#ffd43b;  /* yellow */
  --dark:#111827;
  --muted:#6b7280;
  --card-bg:#ffffff;
}
body{font-family: Arial, Helvetica, sans-serif; margin:0; color:var(--dark); background:#f7fafc;}
a{color:var(--primary);}
.urmi-hero{padding:80px 20px; text-align:center; background:linear-gradient(135deg,var(--primary),var(--accent)); color:#fff;}
.urmi-hero h1{font-size:44px; margin:0 0 10px; letter-spacing:0.5px;}
.urmi-hero p{font-size:20px; margin:0 0 20px; opacity:0.95;}
.urmi-hero .cta{display:inline-block;padding:14px 24px;border-radius:10px;background:var(--dark);color:#fff;text-decoration:none;font-weight:700;}
.urmi-section{padding:48px 20px; max-width:1200px;margin:0 auto;}
.urmi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;}
.urmi-card{background:var(--card-bg);border-radius:12px;padding:14px;box-shadow:0 6px 18px rgba(15,23,42,0.06);text-align:center;}
.urmi-card img{max-width:100%;height:140px;object-fit:contain;border-radius:8px;}
.urmi-footer{background:#0f172a;color:#fff;padding:28px 20px;}
.urmi-footer h3{margin-top:0;}
.urmi-badge{display:inline-block;padding:6px 10px;background:var(--bright);border-radius:12px;font-weight:700;}
@media (max-width:600px){ .urmi-hero h1{font-size:28px} .urmi-hero p{font-size:16px} }

/* =============================
   GLOBAL STYLE
============================= */
body {
  font-family: 'Noto Sans Bengali', Arial, sans-serif;
  background-color: #f9f9fb;
  color: #222;
  margin: 0;
}

/* =============================
   HEADER (Amazon Style)
============================= */
.amazon-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(90deg, #00453e, #007185);
  color: #fff;
  font-family: Arial, sans-serif;
  transition: all 0.3s ease;
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 15px;
}

/* Logo */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-area img {
  height: 40px;
}

/* Delivery */
.delivery-info {
  font-size: 12px;
  color: #ddd;
}
.deliver-location {
  color: #fff;
  font-weight: bold;
}

/* Search */
.search-area {
  flex: 1;
  max-width: 800px;
}

.search-form {
  display: flex;
  width: 100%;
  height: 40px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.search-field {
  flex: 1;
  border: none;
  padding: 8px;
  outline: none;
}

.search-submit {
  background: #febd69;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

/* User & Cart */
.user-cart {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-cart .icon {
  color: #fff;
  font-size: 18px;
  position: relative;
	  color: #fff;
  margin-left: 5px;
  font-size: 18px;
  position: relative;
}

.cart-count {
  background: #febd69;
  color: #111;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
  position: absolute;
  top: -8px;
  right: -10px;
}

/* Bottom Menu */
.bottom-bar {
  display: flex;
  align-items: center;
  background: #007185;
  padding: 6px 10px;
}

.main-menu {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 10px;
}

.main-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.main-menu a:hover {
  color: #febd69;
}

/* =============================
   PRODUCT SECTION
============================= */
.woocommerce ul.products li.product {
  text-align: center;
}

.woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 600;
  color: #444;
}

.woocommerce ul.products li.product .price {
  color: #444;
}

.woocommerce ul.products li.product .button {
  background: #005177;
  color: #fff;
  padding: 6px 10px;
}
.woocommerce ul.products li.product .button:hover {
  background: green;
}

/* Sale Badge */
.woocommerce span.onsale {
  background: transparent;
  color: #e60000;
  font-size: 14px;
}

/* =============================
   CATEGORY DROPDOWN
============================= */
.category-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: #fff;
  color: #000;
  z-index: 999;
  max-height: 400px;
  overflow-y: auto;
}

.category-dropdown.show {
  display: block;
}

/* =============================
   MOBILE RESPONSIVE
============================= */
@media (max-width: 768px) {

  .top-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-area {
    width: 100%;
    margin-top: 0px;
  }

  .user-cart {
    justify-content: flex-end;
    width: 100%;
    order: 2;
	position: absolute !important;
    top: 25px;
    right: 30px;
    z-index: 9999;
    display: flex !important;
    gap: 8px;
  }

  .main-menu {
    margin-left:10px;
  }

  .hamburger-menu {
    display: inline-block;
    color: white;
	border:2px solid #febd69; 
	background: none;
  }
}

/* =============================
   CART PAGE FIX
============================= */
@media (max-width: 768px) {
  .woocommerce-cart table.cart {
    display: block;
    overflow-x: auto;
  }

  .wc-proceed-to-checkout a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

/* ===== Slider ===== */
 .urmi-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
}

.slide-content h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 18px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #ff7e5f;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
} 

.slider-dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ccc;
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #ff7e5f;
}