:root {
  --color-primary: #1e5afa;
  --color-primary-variant: rgba(0, 0, 240, 0.2);
  --color-white: #fff;
  --color-light: #f4f4f4;
  --color-black: #000f37;
  --color-dark: #575757;
  --bottom-section-padding: 12rem;
  --bottom-section-padding-mobile: 8rem;
  --transition: all 400ms ease;
  --container-width: 84%;
  --container-width-table: 90%;
  --container-width-phone: 94%;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif; /* color: var(--color-dark); */
  line-height: 1.7;
  background-color: var(--color-white);
  overflow-x: hidden;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

h1 {
  font-size: 5.6rem;
  line-height: 1;
  color: var(--color-black);
}

h2 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

.lead {
  width: 63%;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 1.5rem auto 3rem;
}

a {
  color: var(--color-white);
  font-weight: 300;
}

img {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 1rem 2.3rem;
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 0.4rem;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  transition: all 300ms ease;
}

.btn-primary:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-black);
}

.avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  overflow: hidden;
}

section {
  max-width: 100%;
  padding-bottom: var(--bottom-section-padding);
}

/*==============WHATSAPP ==============*/
.whatsapp_logo {
  position: fixed;
  bottom: 110px;
  right: 20px;
  text-align: right;
  z-index: 10;
  pointer-events: none;
}

.whatsapp_img {
  /* width: 10%; */
  width: 70px;
  height: 70px;
}

.whatsapp_logo a,
.whatsapp_logo img {
  pointer-events: auto;
}

/*============== NAV BAR ==============*/
nav {
  width: 100%;
  height: 6rem;
  display: grid;
  place-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100; /* increased to keep dropdown above all */
}
.window-scroll {
  background: var(--color-primary);
  border-bottom: 1px solid var(--color-white);
  box-shadow: 0 1rem 1rem var(--color-primary-variant);
}

.nav_container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav button {
  display: none;
}

.nav_items {
  display: flex;
  gap: 3rem;
  align-items: center;
}

/* IMPORTANT: Needed for dropdown positioning */

.nav_items li {
  position: relative;
}

/* NAV LINKS */
.nav_items li a {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  display: block;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav_items li a.active {
  color: orange;
  font-weight: 700;
}

/* LOGO */
.nav_logo {
  position: absolute;
  left: 5rem;
  font-size: large;
  font-weight: 500;
  color: #000;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav_logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.nav_logo h3 {
  font-size: 1.2rem;
}
.phone-link {
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.phone-link i {
  color: orange;
}

/* ---------- Arrow -----------*/

/* =========================
   SUBMENU ARROWS
========================= */

.arrow {
  margin-top: 3px;

  font-size: 0.8rem;

  color: rgba(17, 17, 17, 0.75);

  transition:
    transform 0.25s ease,
    color 0.25s ease;

  flex-shrink: 0;
}

/* .submenu-toggle {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
} */

/* HOVER EFFECT */

.submenu-toggle:hover .arrow {
  color: rgb(255, 153, 0);
}

/* ROTATE WHEN OPEN */

.arrow.rotate {
  transform: rotate(90deg);
}

/* ===== DROPDOWN MAIN MENU ===== */
.dropdown_menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 260px;
  width: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 12px 0;
  margin-top: 0px;
  overflow: visible;
  pointer-events: none;
  display: none;
  z-index: 9999;
}
.dropdown_menu::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 15px;
}

/* dropdown items */
.dropdown_menu li {
  position: relative;
  margin: 0;
}


.dropdown_menu li a {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  width: 100%;

  padding: 14px 16px;

  color: #000;

  font-size: 18px;

  white-space: nowrap;

  gap: 2rem;
}

/* hover effect */
.dropdown_menu li:hover {
  background: #f5f5f5;
}

.dropdown_header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1rem;
}

/* ----MOBILE DROPDOWN ARROW ----*/

.mobile_dropdown_toggle {
  display: none;

  align-items: center;

  justify-content: center;

  width: 2rem;

  height: 2rem;

  cursor: pointer;

  border-radius: 50%;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.mobile_dropdown_toggle i {
  font-size: 0.85rem;

  color: var(--color-black);

  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

/* HOVER */

.mobile_dropdown_toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ROTATE */

.mobile_dropdown_toggle.rotate i {
  transform: rotate(180deg);
}

/* SHOW MAIN DROPDOWN */
.dropdown:hover > .dropdown_menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown_menu li:hover > a,
.submenu_menu li:hover > a {
  padding-left: 20px;
  transition: 0.2s ease;
}
.dropdown-toggle-nonclickable {
  cursor: pointer;
}

/* ===== SIDE DROPDOWN FIX (ROBUST VERSION) ===== */
.submenu {
  position: relative;
}

/* invisible bridge to remove hover gap */
.submenu::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 20px; /* hover bridge */
  height: 100%;
}

/* submenu */
.submenu_menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: -5px;
  background: #fff;
  min-width: 260px;
  width: max-content;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  display: none; /* go back to simple logic */
  z-index: 9999;
}
.arrow {
  transition: transform 0.3s ease;
}
.arrow.rotate {
  transform: rotate(90deg);
}

@media screen and (min-width: 1025px) {
  .submenu:hover > .submenu_menu {
    display: block;
  }

  .mobile_buy_bar {
    padding-left: 4rem;

    padding-right: 4rem;
  }

  .mobile_buybar_title {
    font-size: 1.05rem;

    max-width: 700px;
  }

  .mobile_buy_price {
    font-size: 2rem;
  }
}

/* =========== CART =========== */
.nav_actions {
  display: flex;

  align-items: center;

  gap: 1rem;

  margin-left: 2rem;
}

.cart_icon {
  position: relative;

  font-size: 1.5rem;

  color: #000;
}

.cart_badge {
  position: absolute;

  top: -8px;

  right: -10px;

  width: 20px;

  height: 20px;

  border-radius: 50%;

  background: red;

  color: white;

  font-size: 12px;

  font-weight: 700;

  display: flex;

  align-items: center;

  justify-content: center;
}

.cart_item_link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cart_item {
  cursor: pointer;
}

/* =========================
   OUT OF STOCK BUTTON
========================= */

.out_of_stock_btn {
  width: 100%;

  height: 54px;

  border: none;

  border-radius: 999px;

  background: #dc2626 !important;

  color: white !important;

  font-size: 1rem;

  font-weight: 700;

  cursor: not-allowed !important;

  opacity: 0.7;

  display: flex;

  align-items: center;

  justify-content: center;

  pointer-events: none;
}

/*============== HEADER ==============*/
header {
  max-width: 100%;
  text-align: center;
  padding: var(--bottom-section-padding);
}
.header_title {
  padding-top: 12px;
  color: var(--color-white);
}
.header_container h1 {
  text-align: center;
}
.header_container h2 {
  text-align: center;
  padding: 10px 0;
}
.header_container h3 {
  font-size: 1.5rem;
  margin-top: 0;
  text-align: center; /* padding: 10px 0; */
}
.header_container p {
  margin-top: 10%;
  margin-bottom: 10%;
  font-size: 1.8rem;
}
.header p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}
.header_image {
  width: 90%;
  margin: 0 auto;
}
.cta {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3%;
}
.cta a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  font-weight: 400;
  background: #000;
  border-radius: 0.7rem;
  padding: 0.8rem 1.6rem;
}
.cta a:hover {
  background: var(--color-black);
  color: var(--color-white);
}
.cta .logo {
  width: 2rem;
}
.cta a h4 {
  font-weight: 500;
  font-size: 1rem;
}
.header_socials {
  /* background: black; */
  position: absolute;
  left: 3rem;
  top: 38%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.5rem;
}
.header_decorator_1 {
  position: absolute;
}
.header_decorator_2 {
  position: absolute;
  right: 0;
  margin-top: 24rem;
}

/* ===== HERO Banner ===== */

.banner_hero {
  text-align: center;

  margin-bottom: 5rem;
}

.banner_hero h1 {
  font-size: 4rem;

  margin-bottom: 1rem;

  color: var(--color-black);
}

.banner_hero p {
  font-size: 1.2rem;

  color: #666;
}

/*============== ABOUT US ==============*/
.about_title {
  text-align: center;
  margin-bottom: 5rem;
  padding-top: 8rem;
}
.about_article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3rem;
}
.about_article-title {
  color: var(--color-black);
  margin-bottom: 1.5rem;
}
.about_article .btn {
  margin-top: 2.4rem;
}
.about_article p {
  font-size: 1.5rem;
}

.about_image img{
  border-radius: 20px;
}

/*============== TESTIMONIALS ==============*/
#testimonials h1 {
  text-align: center;
  padding-top: 5rem;
}
#testimonials .lead {
  text-align: center;
  padding-top: 1rem;
  font-size: 2rem;
  font-weight: bold;
}
.testimonials_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  background: var(--color-light);
  padding: 3rem;
  font-size: 0.88rem;
  border: 1px solid transparent;
  transition: all 300ms ease;
}
.testimonials p {
  font-size: 1.2rem;
}
.testimonials:hover {
  background: var(--color-white);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 2rem 2rem var(--color-primary-variant);
  z-index: 1;
}
.testimonials_client {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial_client .avatar {
  width: 50px; /* Adjust width as needed */
  height: 50px; /* Maintain aspect ratio */
}
.testimonial_work p {
  margin-top: 1rem;
}

/*============== FAQs ==============*/
#faqs {
  margin-top: 8rem;
}
#faqs h1 {
  text-align: center;
  margin-bottom: 4rem;
}
.faqs_container {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq {
  background: var(--color-light);
  padding: 2rem;
  display: flex;
  gap: 1rem;
  border: 1px solid #ddd;
  cursor: pointer;
}
.faq:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.faq_icon i {
  font-size: 1.4rem;
  font-weight: 200;
}
.faq_question-answer h4 {
  font-size: 1.2rem;
  font-weight: 500;
}
.faq_answers {
  margin-top: 1rem;
  display: none;
}
.faq_answers a {
  margin-top: 1rem;
  color: #000;
  font-weight: 500;
}
.faq.open {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 2rem 2rem var(--color-primary-variant);
  z-index: 1;
}
.faq.open .faq_answers {
  display: block;
}

/*============== DOWNLOAD NOW ==============*/
#download_app h1 {
  padding-top: 15rem;
}
#download_app p {
  font-size: 2rem;
  text-align: center;
}

.download_app-container {
  display: flex;

  justify-content: center;

  align-items: center;

  text-align: center;
}

.download_app-content {
  margin-top: 5rem;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 2rem;

  text-align: center;
}

/* #download_app .cta {
  justify-content: start;
  margin-top: 2rem;
} */

#download_app .cta a {
  width: 240px;

  height: 78px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 1rem;
}

#download_app .cta a span {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}

#download_app .cta .logo img {
  width: 34px;

  height: 34px;

  object-fit: contain;
}

#download_app .cta a h4 {
  margin: 0;

  font-size: 1.2rem;

  line-height: 1.1;
}

#download_app .cta a small {
  font-size: 0.72rem;

  letter-spacing: 0.5px;
}

/* =========================================
   UNIVERSAL STICKY BUY BAR
========================================= */

.mobile_buy_bar {
  position: fixed;

  bottom: 0;
  left: 0;

  width: 100%;

  background: rgba(190, 205, 235, 0.829);

  backdrop-filter: blur(14px);

  border-top: 1px solid #f4f6f7;

  padding: 0.9rem 1.5rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 2rem;

  z-index: 9999;

  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);

  transform: translateY(110%);

  opacity: 0;

  visibility: hidden;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* SHOW */

.mobile_buy_bar.show_sticky_bar {
  transform: translateY(0);

  opacity: 1;

  visibility: visible;
}

/* LEFT SECTION */

.mobile_buybar_left {
  display: flex;

  flex-direction: column;

  min-width: 0;

  flex: 1;
}

/* TITLE */

.mobile_buybar_title {
  font-size: 1.2rem;

  font-weight: 600;

  color: #111827;

  line-height: 1.35;

  overflow: hidden;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  line-clamp: 2;

  margin-bottom: 0.35rem;
}

/* PRICE */

.mobile_buy_price {
  font-size: 1.7rem;

  font-weight: 700;

  color: #b12704;

  line-height: 1;
}

/* BUTTON */

.mobile_add_to_cart_btn {
  width: 240px;

  min-width: 240px;

  height: 54px;

  border: none;

  border-radius: 999px;

  background: #ffa41c;

  color: #111827;

  font-size: 1rem;

  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.2s ease;
}

.mobile_add_to_cart_btn:hover {
  background: #ff8f00;
}

.mobile_add_to_cart_btn:active {
  transform: scale(0.98);
}

/* PREVENT CONTENT HIDING */

body {
  padding-bottom: 95px;
}

/*============== FOOTER ==============*/
footer {
  background: var(--color-primary);
  padding-top: 5rem;
  font-size: 0.9rem;
  color: rgba(250, 250, 250, 0.8);
}
.footer_container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  gap: 5rem;
}
.footer_container > div h4 {
  margin-bottom: 1.6rem;
  color: var(--color-white);
}
.footer_logo h3 {
  font-size: 1.7rem;
  margin-bottom: 0;
}
.footer_1 p {
  font-weight: 600; /* margin: 1rem 0 2rem; */
  width: 20rem;
}
footer ul li {
  margin-bottom: 1rem;
}
footer ul li a:hover {
  color: var(--color-white);
  text-decoration: underline;
}
.footer_4 p {
  margin-bottom: 1.6rem;
}
.footer_socials {
  display: flex;
  gap: 1rem;
  font-size: 1.4rem;
}
.copyright {
  text-align: center;
  margin-top: 4rem;
  padding: 1.2rem;
  color: var(--color-white);
  border-top: 1px solid var(--color-light);
}

/* =========================
   TOAST NOTIFICATION
========================= */

.toast_notification {
  position: fixed;

  top: 30%;
  left: 50%;

  transform: translateX(-50%) translateY(-30px);

  background: #111827;

  color: white;

  padding: 1rem 1.5rem;

  border-radius: 14px;

  font-size: 0.95rem;
  font-weight: 500;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;

  z-index: 999999;

  max-width: 90%;

  text-align: center;
}

/* SHOW */

.toast_notification.show {
  opacity: 1;

  visibility: visible;

  transform: translateX(-50%) translateY(0);

  top: 7rem;
}

/* -------------animation------------------- */
@keyframes fadeMenu {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= Toast Notification ================= */

.toast_notification {
  width: calc(100% - 2rem);

  font-size: 0.9rem;

  padding: 0.95rem 1rem;

  top: 20px;
}

.toast_notification.show {
  transform: translateX(-50%) translateY(0);
}

/* ================= PRODUCT PAGE ================= */
.product_page {
  margin-top: 12rem;
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 350px;
  gap: 3rem;
  align-items: start;
}

.left_column {
  grid-column: 1;
  /* position: sticky; */
  top: 8rem;

  align-self: start;
}

/* ================= GALLERY ================= */
.product_gallery {
  /* grid-column: 1; */
  /* position: sticky; */
  width: 100%;
  top: 8rem;
  align-self: start;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}

.thumbnail_column {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-y: hidden;
  overflow-x: auto;
  padding-top: 10px;
  padding-bottom: 6px;
  max-width: 100%;
  order: 2;
  width: 100%;
  /* cursor: pointer; */
}

.thumb {
  width: 70px;
  min-width: 70px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.video-thumb {
  width: 70px;
  min-width: 70px;
  height: 70px;
  position: relative;
  overflow: hidden;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail_column::-webkit-scrollbar {
  height: 12px;
}

.thumbnail_column::-webkit-scrollbar-thumb {
  background: #aaa9a9;
  border-radius: 10px;
}

.thumb:hover {
  transform: scale(1.04);
}

.thumb:hover,
.active-thumb {
  border-color: var(--color-primary);
  transform: scale(1.05);

  box-shadow: 0 0 0 5px rgba(7, 192, 75, 0.404);
}

.main_image_container {
  width: 100%;
  display: flex;

  justify-content: center;
  flex: 1;
  order: 1;
}

.play_icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  pointer-events: none;
}

.main_product_image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.main_product_video {
  /* width: 100%;

  object-fit: contain; */

  background: #000;
  opacity: 1;

  transition: opacity 0.25s ease;
}

.main_product_image,
.main_product_video {
  width: 100%;
  height: auto;
  /* max-width: 100%; */

  border-radius: 12px;

  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.25s ease;
}

.gallery_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.92);

  color: #000;
  font-size: 22px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  z-index: 20;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  transition:
    opacity 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;

  opacity: 0;
  pointer-events: none;
}

.gallery_nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.08);
}

.image_zoom_wrapper:hover .gallery_nav {
  opacity: 1;
  pointer-events: auto;
}

.prev_btn {
  left: 5px;
}

.next_btn {
  right: 5px;
}

/* ================= ECOM TYPE ZOOM ================= */
.image_zoom_wrapper {
  position: relative;
}

.image_zoom_container {
  position: relative;

  overflow: hidden;

  border-radius: 12px;
  border: 1px solid #ddd;

  width: 100%;
  max-width: 100%;

  aspect-ratio: 1 / 1;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;
}

/* RIGHT SIDE ZOOM WINDOW */
.zoom_result {
  position: absolute;
  left: 105%;
  top: 0;
  width: 1200px;
  height: 800px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-repeat: no-repeat;
  background-color: white;
  display: none;
  z-index: 99999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ================= DETAILS ================= */

/* =========================
   WHY CHOOSE SMUDDY
========================= */

.why_choose_smuddy {
  grid-column: 1;

  margin-top: 6rem;

  width: 90%;
}

.why_choose_heading {
  text-align: center;

  font-size: 2rem;

  font-weight: 700;

  margin-bottom: 5rem;

  color: #111827;
}

.why_choose_grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  column-gap: 1.5rem;

  row-gap: 5rem;
}

.why_choose_item {
  text-align: center;
  height: 100%;
}

.why_icon {
  width: 90px;

  height: 90px;

  border-radius: 50%;

  margin: 0 auto 1rem;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #ecf7fd;

  /* border: 2px solid #22c55e; */
  border: 2px solid var(--color-primary);

  font-size: 36px;

  /* color: #16a34a; */
  /* color: #1643a3; */
  color: var(--color-primary);

  transition: 0.25s ease;
}

.why_choose_item:hover .why_icon {
  transform: translateY(-4px);

  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

.why_choose_item h3 {
  font-size: 1rem;

  margin-bottom: 0.5rem;

  line-height: 1.3;
}

.why_choose_item p {
  font-size: 0.85rem;

  color: #6b7280;

  line-height: 1.5;
}

/* ================= PRODUCT TITLE & PRICE ================= */

.product_middle_column {
  grid-column: 2;
}

.product_title {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.product_one_line_description {
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.3px;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #4b5563;
}

.product_rating {
  color: #ff9900;
  margin-bottom: 1rem;
  cursor: pointer;
}

.product_rating:hover {
  opacity: 0.8;
}

.product_rating span {
  color: #555;
}
.product_price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}
.original_price {
  font-size: 1.4rem;
  color: #777;
  text-decoration: line-through;
}
.offer_price {
  font-size: 2.4rem;
  font-weight: 700;
  color: #b12704;
}
.discount_badge {
  background: #cc0c39;
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}
.product_tax {
  color: #080808;
  font-size: 1.3rem;
}

/* =========================
   TRUST BADGES
========================= */

.trust_badges {
  /* display: flex; */

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  column-gap: 1.5rem;

  row-gap: 5rem;

  margin-top: 2rem;

  margin-bottom: 2rem;
}

.trust_badge {
  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  flex: 1;
}

.trust_icon {
  width: 72px;

  height: 72px;

  border-radius: 50%;

  background: #ecfdf5;

  border: 2px solid #22c55e;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 32px;

  margin-bottom: 0.8rem;

  transition: 0.25s ease;
}

.india_map_icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  display: block;
  margin-left: 6px;
  margin-top: 4px;
}

.trust_badge:hover .trust_icon {
  transform: translateY(-3px);

  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.25);
}

.trust_badge span {
  font-size: 0.9rem;

  font-weight: 600;

  color: #111827;

  line-height: 1.4;
}

.dropdown_content ul {
  margin-top: 1rem;

  padding-left: 1.5rem;
}

.dropdown_content li {
  list-style: disc;
  margin-bottom: 0.8rem;

  line-height: 1.7;
}

.product_details {
  overflow: visible;
  margin-top: 7rem;
  /* grid-column: 2; */
}

.product_features a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.product_features a:hover {
  text-decoration: underline;
}

.technical_specs {
  margin-top: 2rem;
}
.technical_specs table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.technical_specs td {
  border: 1px solid #ddd;
  padding: 1rem;
}
.technical_specs td:first-child {
  font-weight: 600;
  width: 40%;
}
.technical_specs tr:nth-child(even) {
  background: #fafafa;
}
.spec_divider {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #ccc;
}
.inside_box {
  margin-top: 3rem;
}
.inside_box ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}
.inside_box li {
  list-style: disc;
  margin-bottom: 0.8rem;
}

.product_dropdown {
  border: 1px solid #d9e1ea;

  border-radius: 18px;

  background: #e4e7e9;

  margin-bottom: 1.5rem;

  overflow: hidden;
}

.product_dropdown summary {
  list-style: none;

  cursor: pointer;

  padding: 1.4rem 1.6rem;

  font-size: 1.8rem;
  font-weight: 700;

  color: var(--color-black);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* remove default arrow */
.product_dropdown summary::-webkit-details-marker {
  display: none;
}

.product_dropdown summary::after {
  content: "";

  width: 10px;
  height: 10px;

  border-right: 2px solid #163f73;
  border-bottom: 2px solid #163f73;

  transform: rotate(45deg);

  transition: transform 0.3s ease;

  margin-left: auto;

  margin-right: 6px;
}

/* OPEN STATE */
.product_dropdown[open] summary::after {
  transform: rotate(-135deg);
}

.dropdown_content {
  padding: 1rem 1.6rem 1.6rem;

  background: white;
}

.dropdown_content a {
  color: var(--color-primary);

  font-weight: 600;

  /* text-decoration: underline; */
}

.dropdown_content a:hover {
  opacity: 0.8;
}

/* ================= BUY BOX ================= */

#buybox-component {
  grid-column: 3;

  position: sticky;

  top: 8rem;

  align-self: start;
}

.product_buybox {
  width: 100%;
}

/* ===== BOUGHT LAST MONTH ===== */

.bought_last_month {
  margin-top: 0.4rem;
  margin-bottom: 1rem;

  font-size: 0.95rem;

  font-weight: 600;

  color: #27af55;
}

.quantity_selector {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 0.5rem;

  margin-bottom: 1.5rem;
}

.qty_btn {
  width: 42px;
  height: 42px;

  border-radius: 8px;

  background: #f3f3f3;

  font-size: 1.5rem;
  font-weight: 600;

  cursor: pointer;

  transition: 0.25s ease;
}

.qty_btn:hover {
  background: #ddd;
}

.qty_input {
  width: 70px;
  height: 42px;

  text-align: center;

  border: 1px solid #ccc;
  border-radius: 8px;

  font-size: 1rem;
  font-weight: 600;
}

.buybox_card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 2rem;
  background: #fff;
}
.buybox_price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
/* .stock_status {
  color: green;
  font-weight: 600;
  margin-bottom: 1rem;
} */

.stock_status {
  color: #16a34a;

  font-weight: 600;

  margin-bottom: 1rem;
}

/* ===== OUT OF STOCK ===== */

.stock_status.out_of_stock {
  color: #dc2626;
}

/* ===== LOW STOCK ===== */

.stock_status.low_stock {
  color: #dc2626;

  animation: lowStockPulse 1.5s infinite;
}

@keyframes lowStockPulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }

  100% {
    opacity: 1;
  }
}

.buy_btn,
.cart_btn {
  width: 100%;
  padding: 1rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
}
.buy_btn {
  background: #ffd814;
}
.cart_btn {
  background: #ffa41c;
}

.buy_btn:hover {
  background: #07c04b;
}

.cart_btn:hover {
  background: #f57f17;
}

.return_info {
  font-size: 1.2rem;
  font-weight: 500;
  color: #3f3f3f;
  margin-bottom: 1rem;
  text-align: center;
}

.safepayment_info {
  font-size: 1.2rem;
  font-weight: 500;
  color: #3f3f3f;
  margin-bottom: 1rem;
  text-align: center;
}

.delivery_info {
  font-size: 1.2rem;
  font-weight: 500;
  color: #3f3f3f;
  margin-bottom: 1rem;
  text-align: center;
}

/* --------Pincode Styling---------- */

.pincode_checker {
  margin-top: 1rem;
  border: 1px solid #ddd;
  border-radius: 12px;

  padding: 1.5rem;

  background: #fff;
}

.pincode_checker h3 {
  font-size: 1.1rem;
  font-weight: 600;

  margin-bottom: 1rem;
}

.pincode_input_group {
  display: flex;
  align-items: stretch;

  gap: 10px;
}

.pincode_input {
  width: 140px;

  padding: 1rem;

  border: 1px solid #cfcfcf;
  border-radius: 999px;

  font-size: 1rem;
}

.check_pincode_btn {
  padding: 0 1.4rem;

  background: var(--color-primary);
  color: white;

  border-radius: 999px;

  font-size: 1rem;
  font-weight: 500;

  cursor: pointer;

  transition: 0.25s ease;
}

.check_pincode_btn:hover {
  background: #1f5fc4;
}

.delivery_result {
  margin-top: 1rem;

  font-size: 0.95rem;
  font-weight: 500;
}

/* =========================
   DELIVERY RESULT
========================= */

.delivery_result.success {
  color: #166534;

  background: #f0fdf4;

  border: 1px solid #bbf7d0;

  padding: 1rem;

  border-radius: 12px;

  line-height: 1.6;
}

.delivery_top_line {
  font-size: 1rem;

  font-weight: 600;

  display: flex;

  align-items: center;

  gap: 0.5rem;

  flex-wrap: wrap;
}

.delivery_success_icon {
  color: #16a34a;

  font-weight: 700;

  font-size: 1.1rem;
}

.delivery_city {
  margin-top: 0.45rem;

  color: #374151;

  font-size: 0.92rem;
}

.cod_available {
  margin-top: 0.7rem;

  display: inline-block;

  background: #ecfdf5;

  color: #166534;

  border: 1px solid #bbf7d0;

  padding: 0.45rem 0.8rem;

  border-radius: 999px;

  font-size: 0.85rem;

  font-weight: 600;
}

/* ERROR */

.delivery_result.error {
  color: #b91c1c;

  background: #fef2f2;

  border: 1px solid #fecaca;

  padding: 1rem;

  border-radius: 12px;
}

/* LOADING */

.delivery_result.loading {
  color: #1d4ed8;

  background: #eff6ff;

  border: 1px solid #bfdbfe;

  padding: 1rem;

  border-radius: 12px;
}

/* ================= Related Products================= */

.related_products_container {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 2rem;

  margin-top: 2rem;
}

.related_card {
  border: 1px solid #ddd;

  border-radius: 12px;

  padding: 1rem;

  text-decoration: none;

  color: inherit;

  transition: 0.3s ease;

  background: #fff;
  max-width: 350px;

  width: 100%;

  margin: 0 auto;
}

.related_card:hover {
  transform: translateY(-4px);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.related_card img {
  width: 100%;

  aspect-ratio: 1 / 1;

  object-fit: contain;

  max-height: 180px;
}

.related_card h3 {
  font-size: 1.1rem;

  margin-top: 1rem;

  line-height: 1.4;
}

.related_price {
  margin-top: 0.5rem;

  font-size: 1.2rem;

  font-weight: 700;

  color: #b12704;
}

/* =========================
   RELATED PRODUCT ACTIONS
========================= */

.related_card_actions {
  display: flex;

  flex-direction: column;

  gap: 0.8rem;

  margin-top: 1rem;
}

.related_buy_btn,
.related_cart_btn {
  width: 100%;

  height: 46px;

  border: none;

  border-radius: 999px;

  font-size: 0.95rem;

  font-weight: 700;

  cursor: pointer;

  transition: 0.25s ease;
}

/* BUY NOW */

.related_buy_btn {
  background: #ffd814;

  color: #111;
}

.related_buy_btn:hover {
  background: #07c04b;
}

/* ADD TO CART */

.related_cart_btn {
  background: #ffa41c;

  color: #111;
}

.related_cart_btn:hover {
  background: #f57f17;
}

/* OUT OF STOCK */

.related_product_stock_text {
  color: #16a34a;

  font-size: 1rem;

  font-weight: 700;

  margin-top: 0.8rem;
}

.related_product_stock_text.low_stock {
  color: #dc2626;

  animation: lowStockPulse 1.5s infinite;
}

.related_product_stock_text.out_of_stock_text {
  color: #dc2626;
}

@keyframes lowStockPulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }

  100% {
    opacity: 1;
  }
}

.related_buy_btn.out_of_stock_btn,
.related_cart_btn.out_of_stock_btn {
  background: #d1d5db;

  color: #666;

  cursor: not-allowed;
}

/*============== MEDIA QUERIES (TABLETS) ==============*/

@media screen and (max-width: 1024px) {
  .container {
    width: var(--container-width-table);
  }
  h1 {
    font-size: 4.2rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.9rem;
  }
  .lead {
    width: 72%;
    margin-bottom: 3rem;
  }
  section {
    padding-bottom: var(--bottom-section-padding-mobile);
  }

  /*==============WHATSAPP ==============*/
  .whatsapp_logo {
    position: fixed;
    bottom: 90px;
    right: 20px;
    text-align: right;
    z-index: 1000;
  }
  .whatsapp_img {
    width: 48px;
    height: 48px;
  }

  /* ==============NAVBAR=========== */
  .nav_container {
    position: relative;
    width: 100%;
  }
  .nav_logo {
    margin-left: 2rem;
    position: absolute;
    left: 2rem;
    transform: translate(0);
  }
  .nav_items {
    position: fixed;
    top: 6rem;
    right: -100%;
    background: var(--color-white);
    width: 18rem;
    height: calc(100vh - 6rem);
    box-shadow: -2rem 2rem 3rem rgba(0, 0, 0, 0.2);
    flex-direction: column;
    gap: 0;
    z-index: 9999;
    display: flex;
    overflow-y: auto;
    overflow-x: hidden;
    transition: 0.3s ease;
  }
  .nav_items.show {
    right: 0;
  }
  .nav_items li {
    width: 100%;
    height: auto;
  }

  /* better tap area */
  .nav_items li a {
    color: var(--color-black);
    font-size: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    transition: all 400ms ease;
    /* justify-content: start; */
  }

  .nav_items li a:hover {
    background: var(--color-primary);
    color: var(--color-white);
  }

  nav button {
    display: inline-block;
    margin-right: 1.4rem;
    background: transparent;
    color: var(--color-black);
    cursor: pointer;
  }

  nav button#close-btn {
    display: none;
  }

  nav button i {
    font-size: 2.4rem;
  }

  /* ===== TABLET DROPDOWN FIX ===== */
  .dropdown_menu,
  .submenu_menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 100%;
    box-shadow: none;
    margin-left: 0;
  }
  .dropdown_menu.show,
  .submenu_menu.show {
    display: block;
    width: 100%;
    animation: fadeMenu 0.2s ease;
  }
  .dropdown_menu li,
  .submenu_menu li {
    width: 100%;
    height: auto;
  }
  .dropdown_menu li a,
  .submenu_menu li a {
    padding: 0.8rem 1rem;
    font-size: 16px;
    white-space: normal;
    line-height: 1.4;
  }
  .submenu_menu {
    padding-left: 1rem;
  }
  .submenu::after {
    display: none;
  }

  .mobile_dropdown_toggle {
    display: flex;
    margin-right: 1rem;
  }

  .dropdown_header {
    padding-right: 2rem;
  }

  /* ---------- Cart-----------  */
  .nav_actions {
    position: absolute;

    right: 5rem;

    top: 50%;

    transform: translateY(-50%);
  }

  /* ==============HEADER=========== */
  header {
    padding-bottom: var(
      --bottom-section-padding-mobile
    ); /* background: var(--color-primary); */
  }
  .header_title {
    margin-bottom: 1.5rem;
  }
  .header_image {
    display: flex;
    width: 90%;
    margin: 0 auto;
    align-items: center;
  }
  .cta {
    display: grid;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }
  .cta a h4 {
    font-size: 1rem;
  }
  .header_socials {
    top: 24%;
    gap: 1rem;
    font-size: 1rem;
  }
  .header_decorator_2 {
    display: none;
  }

  /* ==============ABOUT=========== */
  #about {
    margin-top: 7rem;
  }
  .about_article {
    margin: 0 auto;
  }

  /* ==============TESTIMONIALS=========== */
  .testimonials_container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* ==============DOWNLOAD APP=========== */
  #download_app {
    text-align: center;
  }
  #download_app .cta {
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto;
  }

  .mobile_buy_bar {
    gap: 1rem;

    padding: 0.75rem 1rem;
  }

  .mobile_buybar_title {
    font-size: 1rem;

    line-height: 1.25;
  }

  .mobile_buy_price {
    font-size: 1.8rem;
  }

  .mobile_add_to_cart_btn {
    width: 120px;

    min-width: 120px;

    height: 48px;

    font-size: 0.9rem;
  }

  .left_column {
    display: contents;
    width: 100%;
  }

  .product_page {
    grid-template-columns: 1fr;
  }

  .product_gallery,
  .product_title_and_price_details,
  #buybox-component,
  .product_details {
    grid-column: 1;
  }

  .product_gallery {
    position: static;
    order: 1;
    min-width: 0;
  }

  .thumb {
    width: 70px;
    min-width: 70px;
  }

  .zoom_result {
    display: none !important;
  }

  .image_zoom_container {
    max-width: 100%;
  }

  #benefits {
    order: 2;
  }

  .why_choose_smuddy {
    margin-top: 2rem;
    max-width: 100%;
  }

  .why_choose_grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product_title_and_price_details {
    order: 3;
  }

  .trust_icon {
    width: 58px;

    height: 58px;

    font-size: 24px;
  }

  .trust_badge span {
    font-size: 0.8rem;
  }

  #buybox-component {
    position: static;
    margin: 1rem 0 2rem;
    order: 4;
    margin-bottom: 1rem;
  }

  .product_details {
    order: 5;
    margin-top: 1rem;
  }

  .product_middle_column {
    display: contents;
  }

  .related_products_container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* ==============FOOTER=========== */
  .footer_container {
    grid-template-columns: 1fr 1fr;
  }
}

/*=================== MEDIA QUERIES (MOBILE) ====================*/
@media screen and (max-width: 600px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.4rem;
  }
  .lead {
    width: var(--container-width-phone);
  }

  /*==============WHATSAPP ==============*/
  .whatsapp_logo {
    position: fixed;
    bottom: 90px;
    right: 20px;
    text-align: right;
    z-index: 1000;
  }
  .whatsapp_img {
    width: 48px;
    height: 48px;
  }

  /* ==============NAVBAR=========== */
  .nav_logo {
    margin-left: 1rem;
  }
  .nav_logo h3 {
    font-size: 1rem;
  }

  nav button {
    display: inline-block;
    margin-right: 1.4rem;
    background: transparent;
    color: var(--color-black);
    cursor: pointer;
  }

  /* ===== MOBILE NAV STRUCTURE ===== */
  .nav_items {
    position: fixed;
    top: 6rem;
    right: -100%;
    width: 260px;
    height: calc(100vh - 6rem);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    transition: 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999;
  }

  /* when menu opens */
  .nav_items.show {
    display: flex;
    right: 0;
  }

  /* each item full width */
  .nav_items li {
    width: 100%;
    height: auto;
  }

  /* better tap area */
  .nav_items li a {
    color: var(--color-black);
    width: 100%;
    font-size: 15px;
    /* display: flex; */
    align-items: center;
    padding: 1rem 2rem;
    transition: all 400ms ease;
    padding: 0;
    /* justify-content: center; */
  }

  /* MOBILE DROPDOWN FIX */
  .dropdown_menu,
  .submenu_menu {
    display: none;
    position: static;
    box-shadow: none;
    width: 100%;
    min-width: 100%;
  }
  .dropdown_menu.show,
  .submenu_menu.show {
    display: block;
    width: 100%;
    animation: fadeMenu 0.2s ease;
  }
  .dropdown_menu li,
  .submenu_menu li {
    height: auto;
  }
  .dropdown_menu li a,
  .submenu_menu li a {
    padding: 0.8rem 1rem;
    font-size: 14px;
    white-space: normal;
    line-height: 1.4;
  }
  .submenu_menu {
    padding-left: 1rem;
  }
  .submenu::after {
    display: none;
  }

  .dropdown_header {
    padding-right: 2rem;
  }

  /* ==============HEADER=========== */
  .header_title {
    margin-bottom: 11rem;
  }
  .header_image {
    display: flex;
    width: 90%;
    margin: 0 auto;
    align-items: center;
  }
  .header_container {
    /* text-align: center; */
    display: grid;
    justify-content: center;
    align-items: center;
  } /* .header_container h1 { text-align: center; } */
  .header_container h2 {
    /* text-align: center; */
    font-weight: bold;
  }
  .header_container h3 {
    font-size: 17px;
    font-weight: 700;
    padding: 10px 0; /* text-align: center; */ /* display: flex; */ /* flex-direction: row; */
  }
  .header_container p {
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0; /* display: flex; */ /* flex-direction: row; */
  }
  .cta {
    display: grid;
    align-items: center;
    gap: 1rem;
  }
  .cta a h4 {
    font-size: 1rem;
  }
  .header_socials {
    display: none;
  }

  /* ==============ABOUT=========== */
  .about_article {
    grid-template-columns: 1fr;
    margin-top: 5rem;
    text-align: center;
    gap: 0;
  }
  .about_article:nth-child(2) .about_image {
    grid-row: 1;
  }

  /* ==============TESTIMONIALS=========== */
  .testimonials {
    padding: 1.4rem;
  }

  /* =============Download APP ============= */
  .download_app-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* ==============FOOTER=========== */
  .footer_container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer_1 {
    width: var(--container-width-phone);
  }
  .footer_1 p {
    width: var(--container-width-phone);
    margin: 0 auto 3rem;
  }
  .footer_socials {
    justify-content: center;
  }

  .why_choose_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why_icon {
    width: 70px;
    height: 70px;

    font-size: 28px;
  }

  .why_choose_item h3 {
    font-size: 0.9rem;
  }

  .why_choose_item p {
    font-size: 0.8rem;
  }

  .product_title {
    font-size: 1.7rem;
  }

  .trust_badges {
    gap: 1rem;
    padding: 0 10px;
  }

  .product_gallery {
    order: 1;
    min-width: 0;
  }

  .thumb {
    width: 60px;
    min-width: 60px;
  }

  .image_zoom_container {
    width: 100%;
  }

  .zoom_result {
    display: none !important;
  }

  .buy_btn,
  .cart_btn {
    font-size: 1rem;
    padding: 1.1rem;
  }

  .related_products_container {
    grid-template-columns: 1fr;

    gap: 2rem;
  }
}
