body{
  font-family:'Segoe UI',sans-serif;
  overflow-x: hidden;
}
a{text-decoration:none}

/* ================= NAVBAR ================= */
.navbar{
  background:#111;
  padding:12px 0;
  z-index:1000;
}
.navbar-brand{
  color:#fff!important;
  font-weight:700;
  font-size:24px;
}

/* ========== COMMON LINK BASE ========== */
.navbar-nav a,
.dropdown-item{
  position:relative;
  overflow:hidden;
}

/* ========== UNDERLINE ANIMATION (ALL ITEMS) ========== */
.navbar-nav a::after,
.dropdown-item::after{
  content:'';
  position:absolute;
  left:0;
  bottom:2px;
  width:100%;
  height:2px;
  background:#dc3545;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .35s ease;
}

.navbar-nav a:hover::after,
.dropdown-item:hover::after{
  transform:scaleX(1);
}

/* ========== TOP LEVEL LINKS ========== */
.navbar-nav > .nav-item > .nav-link{
  color:#ddd!important;
  padding:8px 30px 8px 16px;
  transition:color .3s ease, transform .3s ease;
}

.navbar-nav > .nav-item > .nav-link:hover{
  color:#dc3545!important;
  transform:translateY(-2px);
}

/* ========== REMOVE BOOTSTRAP ARROW ========== */
.dropdown-toggle::after{
  display:none!important;
}

/* ========== CUSTOM ARROW (TOP LEVEL) ========== */
.has-arrow::before{
  content:'';
  position:absolute;
  right:12px;
  top:50%;
  width:7px;
  height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-50%) rotate(45deg);
  transition:transform .3s ease;
}

.show > .has-arrow::before{
  transform:translateY(-50%) rotate(-135deg);
}

/* ========== DROPDOWN MENU ========== */
.dropdown-menu{
  border-radius:0;
  margin-top:8px;
  z-index:1050;
}

/* ========== DROPDOWN ITEMS ========== */
.dropdown-item{
  padding:10px 18px;
  transition:color .3s ease;
}
.dropdown-item:hover{
  color:#dc3545;
  background:transparent;
}

/* ========== SUBMENU ========== */
.dropdown-submenu{
  position:relative;
}
.dropdown-submenu > a{
  position:relative;
  padding-right:30px;
}

/* Submenu arrow */
.dropdown-submenu > a::before{
  content:'';
  position:absolute;
  right:12px;
  top:50%;
  width:6px;
  height:6px;
  border-right:2px solid #333;
  border-bottom:2px solid #333;
  transform:translateY(-50%) rotate(45deg);
  transition:.3s;
}

.dropdown-submenu.show > a::before{
  transform:translateY(-50%) rotate(-135deg);
}

.dropdown-submenu > .dropdown-menu{
  top:0;
  left:100%;
  margin-left:0.1rem;
}


.btn-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px;
  -webkit-overflow-scrolling: touch; /* smooth mobile scroll */
}

.btn-scroll button {
  flex-shrink: 0;        /* prevents wrapping */
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
}

.tree-menu {
  list-style: none;
  padding-left: 0;
  width: 250px;
  font-family: Arial, sans-serif;
}

.tree-menu li {
  padding: 6px 8px;
  cursor: pointer;
}

.tree-menu ul {
  list-style: none;
  padding-left: 20px;
  display: none;        /* collapsed by default */
}

.tree-menu li.open > ul {
  display: block;
}

.toggle {
  font-size: 12px;
  margin-right: 6px;
  cursor: pointer;
}

.tree-menu li.open > .toggle {
  transform: rotate(90deg);
  display: inline-block;
}
/* ========== MOBILE FIX ========== */
@media(max-width:992px){
  .navbar-nav a::after,
  .dropdown-item::after{
    display:none;
  }
  .dropdown-menu{
    position:static;
    margin-top:0;
  }
  .dropdown-submenu > .dropdown-menu{
    margin-left:0;
  }
}


/* Slider image */
.slider-img {
  height: 616px;
  object-fit: cover;
  border-radius: 0px;
}

/* Caption styling */
.carousel-caption {
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  left: 0;
  right: 0;
  bottom: 0;
  text-align: left;
  padding: 0px;
  border-radius: 0px;
}

.carousel-caption h5 {
  font-size: 1.4rem;
  font-weight: 600;
}

.carousel-caption p {
  font-size: 0.95rem;
}

/* Right grid images */
.grid-img {
  height: 300px;
  object-fit: cover;
  width: 100%;
  border-radius: 0px;
}

/* Mobile */
@media (max-width: 768px) {
  .slider-img {
    height: 260px;
  }
  .grid-img {
    height: 180px;
  }
}

/* Reduce container width */
.container {
  max-width: 1200px;
}

/* Filter buttons */
.filter-btn {
  border-radius: 30px;
  padding: 6px 16px;
  margin: 5px;
}

/* Product image */
.product-card img {
  width: 100%;
  min-height: 220px; max-height:320;
  object-fit: cover;
  border-radius: 10px;
}

/* Card hover */
.card {
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

/* Product details */
.product-title {
  font-size: 0.95rem;
  font-weight: 600;
}
.product-desc {
  font-size: 0.8rem;
  color: #6c757d;
}
.price {
  font-weight: 600;
  color: #dc3545;
}

/* Cart button */
.btn-cart {
  font-size: 0.8rem;
  padding: 6px 10px;
}

/* Responsive image heights */
@media (max-width: 575px) {
  .product-card img { min-height: 260px; max-height:320; }
}
@media (min-width: 576px) and (max-width: 767px) {
  .product-card img { min-height: 220px; max-height:320; }
}
@media (min-width: 768px) {
  .product-card img { min-height: 200px; max-height:320; }
}
/* Full width slider */
.hero-slider .carousel-item {
  height: 90vh;
  min-height: 420px;
}

.hero-slider img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.2)
  );
}

/* Caption */
.hero-caption {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 520px;
}

.hero-caption h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-caption p {
  font-size: 1.1rem;
  margin: 15px 0 25px;
}

.hero-btn {
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 30px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-slider .carousel-item {
    height: 65vh;
  }
  .hero-caption {
    left: 6%;
    right: 6%;
    text-align: center;
  }
  .hero-caption h1 {
    font-size: 2rem;
  }
}

/* FOOTER */
.site-footer {
  background: #111;
  color: #ccc;
  font-size: 0.9rem;
}

.site-footer h5 {
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.site-footer a {
  color: #bbb;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

/* Social icons */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #dc3545;
}

/* Footer bottom */
.footer-bottom {
  background: #000;
  color: #888;
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 576px) {
  .site-footer {
    text-align: center;
  }
  .social-icons a {
    margin-bottom: 10px;
  }
}

/* SERVICE SECTION */
.service-section {
  background: #f8f9fa;
}

.service-box {
  background: #fff;
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  transition: all .3s ease;
  height: 100%;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

/* Icon */
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #dc3545;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

/* Text */
.service-box h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Responsive spacing */
@media (max-width: 576px) {
  .service-box {
    padding: 25px 15px;
  }
}


/* IMAGE ZOOM */
.product-img {
  width: 100%;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}
.product-img:hover {
  transform: scale(1.4);
}
.img-box {
  overflow: hidden;
  border-radius: 12px;
}

/* THUMBNAILS */
.thumb-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
}
.thumb-img.active {
  border-color: #dc3545;
}

/* PRICE */
.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #dc3545;
}
.old-price {
  text-decoration: line-through;
  color: #999;
}

/* SIZE */
.size-btn {
  border: 1px solid #ddd;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.size-btn.active {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

/* QTY */
.qty-box button {
  width: 36px;
  height: 36px;
}

/* TAB CONTENT */
.tab-pane {
  padding: 20px 0;
}

.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
}
.floating-whatsapp:hover {
  background: #1ebe57;
  text-decoration: none;
}

/* CART PAGE */
.cart-section {
  background: #f8f9fa;
  min-height: 100vh;
}

/* Table */
.table thead th {
  border-bottom: 2px solid #dee2e6;
  vertical-align: middle;
}
.table tbody td {
  vertical-align: middle;
}

/* Product thumb */
.cart-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* Qty control */
.qty-control {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
}

/* Remove button */
.btn-remove {
  color: #dc3545;
}

/* Order summary */
.order-summary {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
}

.order-summary h5 {
  font-weight: 600;
  margin-bottom: 20px;
}
.order-summary .total-row {
  font-weight: 700;
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 575px) {
  .cart-thumb {
    width: 60px;
    height: 60px;
  }
  .qty-control {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

/* ABOUT SECTION */
.about-section {
  background: #fff;
}

.about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.about-title {
  font-weight: 700;
  font-size: 2.2rem;
}

.about-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

.about-list li {
  margin-bottom: 8px;
  color: #333;
}

/* Mobile */
@media (max-width: 768px) {
  .about-img {
    height: 280px;
    margin-bottom: 20px;
  }
  .about-title {
    font-size: 1.8rem;
  }
}
/* CONTACT PAGE */
.contact-section {
  background: #f8f9fa;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
}

/* Form */
.form-control {
  border-radius: 10px;
}
.form-control:focus {
  box-shadow: none;
  border-color: #dc3545;
}

/* Icons */
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dc3545;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Map */
.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 16px;
}

/* Mobile */
@media (max-width: 768px) {
  .map iframe {
    height: 300px;
  }
}
