/* ==========================================================
   SITE CHROME — Header / Menu / Footer / Hero Slider
   Screenshot-inspired layout (generic pattern, no copied assets)
   Colors: root-colors.css se --color-primary / --color-secondary use ho rahe hain
   ========================================================== */

:root {
  --sbs-cream: #f4efe9;
  --sbs-footer-bg: #f6f5f3;
}

/* ==========================================================
   1) ANNOUNCEMENT BAR
   ========================================================== */
.sbs-announcement-bar {
  background: var(--sbs-cream);
  color: var(--color-secondary);
  font-size: 13px;
  padding: 8px 0;
  letter-spacing: 0.2px;
}

/* ==========================================================
   2) HEADER ICONS (search / account / cart)
   ========================================================== */
.sbs-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--color-secondary);
  background: transparent;
  border: none;
  border-radius: 50%;
  position: relative;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}

.sbs-icon-btn:hover {
  background: var(--sbs-cream);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.sbs-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  animation: sbs-badge-pop 0.3s ease;
}

@keyframes sbs-badge-pop {
  0% {
    transform: scale(0);
  }
  80% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* ==========================================================
   3) NORMAL DROPDOWN MENU — simple list, slide-down + fade
   ========================================================== */
.navbar .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 10px 0;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(10px);
  display: block;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
}

.navbar .dropdown:hover > .dropdown-menu,
.navbar .dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  margin-top: -10px;
}

.navbar .dropdown-item {
  padding: 8px 22px;
  color: var(--color-gray-700, #495057);
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--color-primary);
  padding-left: 26px;
}

/* ==========================================================
   4) MEGA MENU — image-promo columns + text-link columns
   ========================================================== */
.has-mega-menu .navbar .dropdown {
  position: static;
}

.mega-menu-panel {
  left: 0;
  right: 0;
  top: 100%;
  border: 0;
  padding: 32px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.mega-menu-column {
  animation: sbs-fade-in 0.35s ease;
}

@keyframes sbs-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-col-icon {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  opacity: 0.75;
}

.mega-menu-column h6 a {
  color: var(--color-secondary);
}

.mega-menu-column .dropdown-item {
  white-space: normal;
  padding: 4px 0;
  color: var(--color-gray-600, #6c757d);
}

.mega-menu-column .dropdown-item:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

/* Image-promo column (screenshot ke "Product styles" wale pehle 2 items) */
.mega-menu-column--promo .mega-promo-link {
  display: block;
  text-decoration: none;
  color: var(--color-secondary);
}

.mega-promo-img {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  background: var(--sbs-cream);
}

.mega-promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mega-menu-column--promo:hover .mega-promo-img img {
  transform: scale(1.06);
}

.mega-promo-caption {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-gray-700, #495057);
}

@media (max-width: 991.98px) {
  .mega-menu-panel {
    box-shadow: none;
    padding: 12px !important;
  }
  .mega-menu-panel .row {
    row-gap: 20px !important;
  }
}

/* ==========================================================
   5) FEATURE ICONS ROW
   ========================================================== */
.sbs-features-row {
  padding: 40px 0;
  border-top: 1px solid var(--color-gray-200, #e9ecef);
  border-bottom: 1px solid var(--color-gray-200, #e9ecef);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-icon {
  color: var(--color-secondary);
  margin-bottom: 12px;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.feature-item:hover .feature-icon {
  color: var(--color-primary);
  transform: scale(1.1);
}

/* ==========================================================
   6) FOOTER — light 4-column layout + newsletter
   ========================================================== */
.sbs-footer-light {
  background: var(--sbs-footer-bg);
  color: var(--color-gray-700, #495057);
  padding: 60px 0 24px;
}

.sbs-footer-light h6 {
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: capitalize;
}

.sbs-footer-light ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sbs-footer-light ul li {
  margin-bottom: 10px;
}

.sbs-footer-light ul li a {
  color: var(--color-gray-600, #6c757d);
  text-decoration: none;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.sbs-footer-light ul li a:hover {
  color: var(--color-white, #fff);
}

.sbs-newsletter-form {
  display: flex;
  margin-top: 16px;
  border: 1px solid var(--color-gray-300, #dee2e6);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.sbs-newsletter-form input[type="email"] {
  flex: 1;
  border: none;
  padding: 12px 14px;
  outline: none;
  font-size: 14px;
}

.sbs-newsletter-form button {
  width: 48px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.sbs-newsletter-form button:hover {
  background: var(--color-primary);
}

.sbs-newsletter-form button svg {
  transition: transform 0.25s ease;
}

.sbs-newsletter-form button:hover svg {
  transform: translateX(3px);
}

.sbs-footer-bottom {
  border-top: 1px solid var(--color-gray-300, #dee2e6);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.sbs-payment-icons img {
  height: 22px;
  margin-right: 10px;
  opacity: 0.75;
  filter: grayscale(100%);
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

.sbs-payment-icons img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ==========================================================
   7) HERO SLIDER — cross-fade transition + staggered text reveal
   ========================================================== */
.sbs-hero-slider {
  position: relative;
  overflow: hidden;
  height: 78vh;
  min-height: 420px;
}

.sbs-hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.sbs-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition:
    opacity 1s ease,
    transform 6s ease,
    visibility 1s;
}

.sbs-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

/* .sbs-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.35) 55%, rgba(255,255,255,0) 100%);
} */

.sbs-hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.sbs-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(24px);
  animation: sbs-hero-up 0.8s ease forwards 0.3s;
}

.sbs-hero-text {
  font-size: 16px;
  color: var(--color-gray-700, #495057);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(24px);
  animation: sbs-hero-up 0.8s ease forwards 0.5s;
}

.sbs-hero-slide .btn-shine {
  opacity: 0;
  transform: translateY(24px);
  animation: sbs-hero-up 0.8s ease forwards 0.7s;
}

@keyframes sbs-hero-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sbs-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  font-size: 24px;
  line-height: 1;
  color: var(--color-secondary);
  z-index: 3;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.sbs-hero-nav:hover {
  background: var(--color-primary);
  color: #fff;
}

.sbs-hero-prev {
  left: 20px;
}
.sbs-hero-next {
  right: 20px;
}

.sbs-hero-dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.sbs-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.25);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.sbs-hero-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.3);
}

@media (max-width: 767.98px) {
  .sbs-hero-slider {
    height: 60vh;
    min-height: 340px;
  }
  .sbs-hero-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.mega-img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mega-img-grid-item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
}
.mega-img-grid-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.mega-img-grid-item:hover img {
  transform: scale(1.08);
}
.mega-promo-link {
  display: block;
  text-decoration: none;
  color: inherit;
}



/*==========================================
Hero Layout
==========================================*/

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  min-height: 620px;
}

.hero-content {
  flex: 0 0 46%;
  max-width: 46%;
}

.hero-image {
  flex: 0 0 54%;
  max-width: 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hero-image img {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-slide-1 .hero-image img {
  max-width: 410px;
}

/* Laptop */
@media (max-width: 1199px) {
  .hero-slide-1 .hero-image img {
    max-width: 340px;
  }
}
/* Tablet */
@media (max-width: 991px) {
  .hero-slide-1 .hero-image img {
    width: 45%;
    max-width: 260px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-slide-1 .hero-image img {
    width: 48%;
    max-width: 170px;
  }
}
/* Small Mobile */
@media (max-width: 480px) {
  .hero-slide-1 .hero-image img {
    width: 100%;
    max-width: 160px;
  }
}
/*==========================================
Subtitle
==========================================*/

.hero-content .hero-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 15px;
}

/*==========================================
Title
==========================================*/

.hero-content h1 {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 500;
  color: #111;
  margin: 0 0 25px;
  letter-spacing: -2px;
  font-family: "Handlee", serif;
}

/*==========================================
Description
==========================================*/

.hero-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #666;
  max-width: 540px;
  margin-bottom: 35px;
}

/*==========================================
Button
==========================================*/

.hero-content .btn-shine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 36px;
  background: #0f2533;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.hero-content .btn-shine:hover {
  background: #000;
  color: #fff;
}

/*==========================================
Laptop
==========================================*/

@media (max-width: 1199px) {
  .hero-wrapper {
    gap: 40px;
    min-height: 560px;
  }

  .hero-content h1 {
    font-size: 58px;
  }

  .hero-image img {
    max-width: 500px;
  }
}

/*==========================================
Tablet
==========================================*/

@media (max-width: 991px) {
  .sbs-hero-slide {
    padding: 60px 0;
  }

  .hero-wrapper {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
    min-height: auto;
  }

  .hero-content,
  .hero-image {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .hero-content p {
    margin: 0 auto 30px;
    max-width: 650px;
  }

  .hero-image {
    flex-wrap: wrap;
  }

  .hero-image img {
    width: 45%;
    max-width: 300px;
  }
}

/*==========================================
Mobile
==========================================*/

@media (max-width: 767px) {
  .sbs-hero-slide {
    padding: 40px 0;
  }

  .hero-wrapper {
    gap: 30px;
  }

  .hero-content h1 {
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -1px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .hero-content .btn-shine {
    padding: 0 28px;
    min-height: 48px;
    font-size: 15px;
  }

  .hero-image {
    gap: 12px;
  }

  .hero-image img {
    width: 48%;
    max-width: 180px;
  }
}

/*==========================================
Small Mobile
==========================================*/

@media (max-width: 480px) {
  .hero-wrapper {
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-image img {
    width: 100%;
    max-width: 240px;
  }

  .hero-content .btn-shine {
    width: 100%;
    max-width: 220px;
  }
}

