:root {
  --primary-purple: #7c3aed;
  --primary-purple-hover: #6d28d9;
  --primary-purple-subtle: #f5f3ff;
  --text-dark: #666;
  --text-muted: #64748b;
  --border-color: #f1f5f9;
  --border-color1: #e2e8f0;
  --bg-topbar: #f8fafc;
  --container-max-width: 1600px;
  
  /* Premium Elevation & Radius */
  --radius-card: 0px!important;
  --radius-pill: 50px;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 35px rgba(124, 58, 237, 0.08);
  --star-color: #f59e0b;
  --success-green: #10b981;
}


body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max-width);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.fw-medium-600 { font-weight: 600; }

/* Remove Bootstrap default dropdown caret arrow */
.dropdown-toggle::after { display: none !important; }

/* ================= TOP BAR ================= */
.top-bar {
  background-color: var(--bg-topbar);
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  z-index: 1030;
}
.top-bar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.top-bar a:hover { color: var(--primary-purple); }

.ticker-container {
  width: 100%;
  overflow: hidden;
}
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.ticker {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 22s linear infinite;
}
.ticker-wrap:hover .ticker { animation-play-state: paused; }
.ticker-item {
  display: inline-block;
  padding: 0 1.5rem;
  font-size: 13px;
}
@keyframes ticker-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Language Dropdown Menu Fix */
.lang-dropdown .dropdown-menu {
  min-width: 130px;
  margin-top: 6px !important;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md) !important;
  z-index: 1050;
}
.lang-dropdown .dropdown-item {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  color: var(--text-dark);
}
.lang-dropdown .dropdown-item:hover {
  background-color: var(--primary-purple-subtle);
  color: var(--primary-purple);
}

/* ================= STICKY MAIN HEADER ================= */
.main-header {
  padding: 18px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.header-container-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* DESKTOP: Centered Logo */
.brand-logo {
  font-size: 28px;
  font-weight: 800;
  color: #000000;
  text-decoration: none;
  letter-spacing: -0.5px;
  z-index: 10;
}
.brand-logo .dot { color: var(--primary-purple); }

@media (min-width: 992px) {
  .brand-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
  }
}

/* MOBILE: Left-aligned Logo */
@media (max-width: 991px) {
  .mobile-menu-trigger { order: 1; }
  .brand-logo { 
    order: 2; 
    margin-left: 12px;
    margin-right: auto;
  }
  .header-actions { order: 3; }
}

/* DESKTOP NAV LAYOUT */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .nav-link-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.main-nav .nav-link-item:hover,
.main-nav .nav-link-item.show {
  color: var(--primary-purple);
}

/* MEGA MENU (DESKTOP) */
.mega-menu-wrapper { position: static !important; }
.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border: none;
  border-top: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 30px 0;
  display: none;
  z-index: 999;
}
.mega-menu-dropdown.show {
  display: block;
  animation: fadeIn 0.2s ease;
}

.mega-menu-column h6{
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.mega-menu-column h6 a{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dark);
  text-decoration:none;
}

.mega-menu-column ul { list-style: none; padding: 0; margin: 0; }
.mega-menu-column ul li { margin-bottom: 8px; }
.mega-menu-column ul li a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.mega-menu-column ul li a i.fa-angle-right {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mega-menu-column ul li a:hover { 
  color: var(--primary-purple); 
  padding-left: 3px;
}
.mega-menu-column ul li a:hover i.fa-angle-right {
  color: var(--primary-purple);
  transform: translateX(3px);
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.action-btn {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 20px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.action-btn:hover { color: var(--primary-purple); }

.action-btn .badge-count {
  position: absolute;
  top: -2px;
  right: -6px;
  background-color: var(--primary-purple);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SEARCH POPUP */
.search-wrapper { position: relative; }
.search-popup {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 350px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  z-index: 1000;
  display: none;
}
.search-popup.active { display: block; animation: fadeIn 0.2s ease; }
.search-close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  background-color: var(--primary-purple);
  color: #ffffff;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.search-box-inner {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--primary-purple);
  border-radius: 50px;
  padding: 3px 3px 3px 14px;
}
.search-box-inner input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 13px;
  background: transparent;
}
.search-box-inner .btn-submit-search {
  background-color: var(--primary-purple);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 576px) {
  .search-popup {
    position: fixed;
    top: 70px;
    left: 15px;
    right: 15px;
    width: auto;
  }
}

/* CART OFFCANVAS & QTY */
.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
  margin-top: 4px;
}
.qty-btn {
  background: #f8fafc;
  border: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
}
.qty-input {
  width: 30px;
  text-align: center;
  border: none;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
}

/* MOBILE DRAWER & SUB-MENU */
.mobile-drawer-header {
  background-color: #f8fafc;
  padding: 16px 20px;
}

.mobile-menu-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.mobile-menu-link[aria-expanded="true"] {
  color: var(--primary-purple);
}

.mobile-menu-link[aria-expanded="true"] i {
  transform: rotate(180deg);
  color: var(--primary-purple) !important;
}

.mobile-menu-link i {
  transition: transform 0.2s ease;
}

.mobile-submenu-box {
  background-color: #f8fafc;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 8px 0 12px 0;
  border: 1px solid var(--border-color);
}

.mobile-submenu-group-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-purple);
  margin-top: 8px;
  margin-bottom: 6px;
}

.mobile-submenu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-submenu-item i {
  font-size: 11px;
  color: #94a3b8;
}

.mobile-submenu-item:hover {
  color: var(--primary-purple);
}

.mobile-support-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= FEATURES SECTION ================= */
.features-section-area {
  background: var(--bg-topbar);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  margin: 0px 0px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 15px;
}

.feature-col:not(:last-child) {
  border-right: 1px solid var(--border-color);
}

.feature-icon {
  font-size: 28px;
  color: var(--primary-purple);
  flex-shrink: 0;
  line-height: 1;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.feature-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .feature-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}



 .zarvi-products-wrapper {
    padding: 20px 0;
  }

  /* Section Header with Subtle BG */
  .zarvi-products-wrapper .zarvi-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
    background-color: var(--bg-header-light, #f8fafc);
    padding: 12px 20px;
    border-radius: 0px;
    border: 1px solid var(--border-color, #e2e8f0);
  }

  .zarvi-products-wrapper .zarvi-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0;
    letter-spacing: -0.3px;
  }

  /* Right Aligned Wrapper */
  .zarvi-products-wrapper .zarvi-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-left: auto;
  }

  /* Subcategory Tab Buttons */
  .zarvi-products-wrapper .zarvi-sub-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .zarvi-products-wrapper .zarvi-sub-tabs::-webkit-scrollbar {
    display: none;
  }

  .zarvi-products-wrapper .zarvi-tab-btn {
    background: #ffffff;
    border: 1px solid var(--border-color, #cbd5e1);
    border-radius: 0px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .zarvi-products-wrapper .zarvi-tab-btn:hover {
    color: var(--primary-purple);
    border-color: var(--primary-purple);
  }

  .zarvi-products-wrapper .zarvi-tab-btn.active {
    background-color: var(--primary-purple);
    color: #ffffff;
    border-color: var(--primary-purple);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
  }

  /* View All Link (Desktop e Hide thakbe) */
  .zarvi-products-wrapper .zarvi-view-all {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: none; /* Desktop default: Hidden */
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    white-space: nowrap;
  }

  .zarvi-products-wrapper .zarvi-view-all:hover {
    color: var(--primary-purple);
    transform: translateX(4px);
  }

  /* Product Card Container */
  .zarvi-product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0px;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s ease;
    will-change: transform;
  }

  .zarvi-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    border-color: #e2e8f0;
  }

  /* Image Container & Actions */
  .zarvi-img-box {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-color: var(--bg-topbar);
    overflow: hidden;
  }

  .zarvi-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
  }

  .zarvi-img-box .zarvi-primary-img {
    opacity: 1;
    z-index: 1;
  }

  .zarvi-img-box .zarvi-secondary-img {
    opacity: 0;
    z-index: 2;
  }

  .zarvi-product-card:hover .zarvi-primary-img {
    opacity: 0;
    transform: scale(1.06);
  }

  .zarvi-product-card:hover .zarvi-secondary-img {
    opacity: 1;
    transform: scale(1.06);
  }

  /* Badges & Buttons */
  .zarvi-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary-purple);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 3;
    letter-spacing: 0.3px;
  }

  .zarvi-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    z-index: 3;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .zarvi-wishlist-btn:hover {
    background-color: #ef4444;
    color: #ffffff;
  }

  /* Details Content */
  .zarvi-product-details {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .zarvi-prod-category {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .zarvi-prod-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
  }

  .zarvi-prod-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .zarvi-prod-title a:hover {
    color: var(--primary-purple);
  }

  .zarvi-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #f59e0b;
    margin-bottom: 12px;
  }

  .zarvi-rating .zarvi-review-count {
    color: var(--text-muted);
    font-size: 11px;
    margin-left: 2px;
  }

  .zarvi-prod-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
  }

  .zarvi-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .zarvi-current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
  }

  .zarvi-old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
  }

  .zarvi-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: var(--bg-topbar);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
  }

  .zarvi-product-card:hover .zarvi-cart-btn {
    background-color: var(--primary-purple);
    color: #ffffff;
    border-color: var(--primary-purple);
  }

  .zarvi-cart-btn:hover {
    background-color: var(--primary-purple-hover) !important;
    border-color: var(--primary-purple-hover) !important;
  }

  /* Tab Filter Animation */
  .zarvi-prod-item {
    transition: all 0.4s ease;
  }

  .zarvi-prod-item.hide {
    display: none !important;
  }

  .zarvi-prod-item.show {
    animation: zarviFadeIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }

  @keyframes zarviFadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsive Rules for Mobile (768px or lower) */
  @media (max-width: 768px) {
    .zarvi-products-wrapper .zarvi-section-header {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 12px 16px;
    }

    .zarvi-products-wrapper .zarvi-sub-tabs {
      display: none !important;
    }

    .zarvi-products-wrapper .zarvi-view-all {
      display: inline-flex !important;
    }

    .zarvi-products-wrapper .zarvi-header-right {
      width: auto;
      margin-left: auto;
    }
  }



/* ================= FOOTER ================= */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 14px;
  padding-top: 60px;
  padding-bottom: 25px;
}

.footer-brand {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.footer-brand .dot {
  color: var(--primary-purple);
}

.footer-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.social-icons a {
  width: 38px;
  height: 38px;
  background-color: #1e293b;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #334155;
}

.social-icons a:hover {
  background-color: var(--primary-purple);
  border-color: var(--primary-purple);
  transform: translateY(-3px);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #94a3b8;
}

.contact-list i {
  color: #94a3b8;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 50px;
  padding-top: 25px;
}

.developer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.developer-link:hover {
  color: var(--primary-purple);
}

/* ================= MOBILE BOTTOM NAV ================= */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px;
  }

  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    padding: 0 10px;
  }

  .mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 500;
    flex: 1;
    gap: 3px;
    transition: all 0.3s ease;
  }

  .mobile-bottom-nav .nav-item i {
    font-size: 18px;
  }

  .mobile-bottom-nav .nav-item:hover,
  .mobile-bottom-nav .nav-item.active {
    color: var(--primary-purple);
  }

  .mobile-bottom-nav .home-item {
    position: relative;
    top: -14px;
  }

  .mobile-bottom-nav .home-btn {
    width: 50px;
    height: 50px;
    background-color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
    border: 4px solid #ffffff;
    transition: transform 0.2s ease;
    margin-top: 30px;
    margin-left: 10px;
  }

  .mobile-bottom-nav .home-btn i {
    font-size: 20px;
    color: #ffffff;
  }

  .mobile-bottom-nav .home-item:hover .home-btn {
    transform: scale(1.05);
  }

  .mobile-bottom-nav .icon-badge-wrapper {
    position: relative;
    display: inline-flex;
  }

  .mobile-bottom-nav .badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: var(--primary-purple);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ================= FLOATING CTA ================= */
.floating-cta-wrapper {
  position: fixed;
  bottom: 25px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 99999;
}

.cta-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: ctaPulse 2s infinite;
}

.cta-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.cta-btn i {
  position: relative;
  z-index: 2;
}

.cta-call { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.cta-messenger { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.cta-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.8;
  z-index: 1;
  animation: ctaRipple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.cta-call::before { color: #2563eb; }
.cta-messenger::before { color: #0084ff; }
.cta-whatsapp::before { color: #25d366; }

.cta-btn:hover i {
  animation: ctaShake 0.5s ease-in-out;
}

@keyframes ctaRipple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes ctaPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes ctaShake {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(8deg); }
}

@media (max-width: 768px) {
  .floating-cta-wrapper {
    bottom: 75px;
    right: 15px;
    gap: 10px;
  }
  .cta-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .section-title{
    font-size: 18px;
  }
}


/*premium category 2*/

/* Category Grid Section - 4 Columns */
.premium2-category-section {
  padding: 20px 0px 0px 0px;
}

.premium2-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Base Category Card */
.premium2-category-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 210px;
  border-radius:0px;
  overflow: hidden;
  text-decoration: none;
  background-color: #f1f5f9;
  box-shadow: var(--shadow-sm);
}

/* Background Image Box */
.premium2-category-card .banner-img-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.premium2-category-card .banner-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover: ONLY Image Zoom Animation */
.premium2-category-card:hover .banner-img-box img {
  transform: scale(1.08);
}

/* Gradient Overlay for Text Visibility */
.premium2-category-card .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 2;
  transition: background 0.3s ease;
}

/* Text Content Area */
.premium2-category-card .banner-content {
  position: relative;
  z-index: 3;
  padding: 24px;
  text-align: right;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.premium2-category-card .banner-subtitle {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.premium2-category-card .banner-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
  color: #ffffff;
}

/* Shop Now Button & Animated Underline */
.premium2-category-card .shop-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ffffff;
  position: relative;
  padding-bottom: 4px;
}

/* Border Bottom (Hidden by default) */
.premium2-category-card .shop-now-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover: Expand Border Bottom Under Shop Now */
.premium2-category-card:hover .shop-now-btn::after {
  width: 100%;
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
  .premium2-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Responsive Adjustments (Centered Content) */
@media (max-width: 576px) {
  .premium2-category-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .premium2-category-card {
    height: 200px;
    justify-content: center; /* কার্ডের ভেতর কনটেন্ট মাঝখানে আনবে */
  }

  .premium2-category-card .banner-overlay {
    background: rgba(0, 0, 0, 0.38); /* সেন্টারে টেক্সট যেন পরিষ্কার বোঝা যায় */
  }

  .premium2-category-card .banner-content {
    text-align: center;
    align-items: center; /* টেক্সট ও বাটন সেন্টারে এলাইন করবে */
    padding: 20px;
  }
}
/*premium category 2*/

/*premium product card 1st*/

.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.product-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
}

@media (max-width: 1200px) {
  .product-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid-5 { grid-template-columns: repeat(1, 1fr); }
}

/* 3. Product Card Base */
.premium1-product-card {
  width: 100%;
  background-color: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', sans-serif;
  padding:5px;
}

.premium1-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* Image Wrapper Container */
.premium1-product-card .product-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
}

/* Clickable Image Box Link */
.premium1-product-card .img-box {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: #f8fafc;
}

.premium1-product-card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* Primary Image Smooth Fade/Scale Out */
.premium1-product-card .img-box .primary-img {
  z-index: 1;
  opacity: 1;
  transform: scale(1) translateZ(0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Secondary Image Ultra-Smooth Zoom-In Reveal */
.premium1-product-card .img-box .secondary-img {
  z-index: 2;
  opacity: 0;
  transform: scale(1.15) translateZ(0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover States */
.premium1-product-card:hover .img-box .primary-img {
  opacity: 0;
  transform: scale(1.08) translateZ(0);
}

.premium1-product-card:hover .img-box .secondary-img {
  opacity: 1;
  transform: scale(1) translateZ(0);
}

/* Discount Badge */
.premium1-product-card .discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
  pointer-events: none;
}

/* Overlapping Wishlist Button Position */
.premium1-product-card .wishlist-btn {
  position: absolute;
  bottom: -18px;
  right: 14px;
  width: 38px;
  height: 38px;
  background-color: #666;
  color: #ffffff;
  border: 2px solid #666;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.premium1-product-card .wishlist-btn:hover {
  background-color: var(--primary-purple);
  transform: scale(1.08);
}

/* Content Details */
.premium1-product-card .product-content {
  padding: 24px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

/* Category Above Product Name */
.premium1-product-card .product-category {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: -2px;
}

/* Full Width Product Title */
.best-title a{
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  width: 100%;
  text-decoration: none;
  color:#666;
}

.premium1-product-card .product-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  width: 100%;
}

.premium1-product-card .product-title-link {
  color: #666;
  text-decoration: none;
  transition: color 0.25s ease;
  display: block;
}

.premium1-product-card .product-title-link:hover {
  color: var(--primary-purple);
}

/* Star Rating Section */
.premium1-product-card .rating-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.premium1-product-card .stars-list {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--star-color);
  font-size: 12px;
}

.premium1-product-card .review-count {
  font-size: 11px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.premium1-product-card .review-count:hover {
  text-decoration: underline;
}

/* Flex Row for Size/Color (Left) and Price (Right) */
.premium1-product-card .details-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.premium1-product-card .options-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.premium1-product-card .section-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.premium1-product-card .section-label {
  font-size: 9px;
  font-weight: 800;
  color: #666;
  letter-spacing: 0.5px;
}

/* Color Options */
.premium1-product-card .color-options {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.premium1-product-card .color-swatch {
  width: 13px;
  height: 13px;
  border-radius: 50px;
  border: 1px solid #d1d5db;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.premium1-product-card .color-swatch:hover {
  transform: scale(1.25);
}

.premium1-product-card .color-swatch.active {
  border-color: #111827;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #111827;
  transform: scale(1.08);
}

/* Size Options */
.premium1-product-card .size-options {
  display: flex;
  align-items: center;
  gap: 8px;
}

.premium1-product-card .size-item {
  font-size: 13px;
  font-weight: 800;
  color: #666;
  cursor: pointer;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.premium1-product-card .size-item:not(.disabled):hover {
  color: var(--primary-purple);
}

.premium1-product-card .size-item.active {
  color: #111827;
  border-color: #111827;
}

.premium1-product-card .size-item.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

/* Price Block aligned on Right Side */
.premium1-product-card .price-wrapper-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /*line-height: 1;*/
}

.premium1-product-card .product-price {
  font-size: 20px;
  font-weight: 900;
  color: #000000;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.premium1-product-card .original-price {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
  white-space: nowrap;
  margin-top: 3px;
}

/* Add To Cart Button */
.premium1-product-card .add-to-cart-btn {
  width: 100%;
  padding: 12px 0;
  background-color: #666;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  margin-top: auto;
  transition: background-color 0.25s ease;
}

.premium1-product-card .add-to-cart-btn:hover {
  background-color: var(--primary-purple);
}

.showcase-product-section .product-grid-5 {
  gap: 18px;
}

.showcase-product-card {
  border-radius: 0;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  padding: 6px;
  overflow: visible;
}

.showcase-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.showcase-product-card .product-img-wrapper {
  height: 252px;
}

.showcase-product-card .img-box {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border: 1px solid #edf2f7;
}

.showcase-product-card .img-box img {
  object-fit: cover;
}

.showcase-product-card .discount-badge {
  top: 12px;
  left: 12px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
}

.showcase-product-card .wishlist-btn {
  bottom: -18px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: #6b7280;
  border-color: #6b7280;
}

.showcase-product-card .wishlist-btn:hover {
  background-color: #4b5563;
  border-color: #4b5563;
}

.showcase-product-card .product-content {
  padding: 24px 14px 8px;
  gap: 7px;
}

.showcase-product-card .product-category {
  font-size: 11px;
  letter-spacing: 1px;
  color: #64748b;
}

.showcase-product-card .product-title {
  min-height: 58px;
  font-size: 15px;
  line-height: 1.35;
}

.showcase-product-card .product-title-link {
  color: #52607a;
}

.showcase-product-card .product-title-link:hover {
  color: #334155;
}

.showcase-product-card .rating-wrapper {
  gap: 6px;
}

.showcase-product-card .stars-list {
  color: #f59e0b;
  font-size: 13px;
}

.showcase-product-card .review-count {
  font-size: 12px;
}

.showcase-product-card .details-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 2px;
}

.showcase-product-card .options-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.showcase-product-card .section-block {
  gap: 4px;
}

.showcase-product-card .section-label {
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #6b7280;
}

.showcase-product-card .color-options {
  gap: 6px;
}

.showcase-product-card .color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50px;
}

.showcase-product-card .color-swatch.active {
  border-color: #111827;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #111827;
  transform: scale(1.08);
}

.showcase-product-card .size-options {
  gap: 10px;
  flex-wrap: wrap;
}

.showcase-product-card .size-item {
  font-size: 13px;
  color: #667085;
}

.showcase-product-card .price-wrapper-right {
  min-width: 92px;
  align-self: end;
  justify-self: end;
  flex-shrink: 0;
}

.showcase-product-card .product-price {
  font-size: 19px;
  line-height: 1;
}

.showcase-product-card .original-price {
  font-size: 12px;
  margin-top: 6px;
}

.showcase-product-card .add-to-cart-btn {
  background-color: #6b7280;
  border-radius: 0;
  padding: 13px 0;
  letter-spacing: 0.8px;
}

.showcase-product-card .add-to-cart-btn:hover {
  background-color: #4b5563;
}

@media (max-width: 768px) {
  .showcase-product-card .details-price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .showcase-product-card .product-img-wrapper {
    height: 228px;
  }

  .showcase-product-card .product-content {
    padding: 22px 12px 8px;
  }

  .showcase-product-card .product-title {
    min-height: 52px;
  }
}
/*premium product card 1st*/

/*premium product card 2nd*/

.premium-products-section {
  padding: 20px 0px 0px 0px;
}

/* Horizontal Card Base */
.premium2-product-card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: row;
  position: relative;
  height: 100%;
  overflow: visible !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium2-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Left Image Area Wrapper */
.premium2-product-card .product-img-wrapper {
  position: relative;
  flex: 0 0 42%;
  background-color: #f8fafc;
  min-height: 220px;
  overflow: visible !important; /* বাটন যেন দেখা যায় */
}

/* Image Container for Clipping Zoom */
.premium2-product-card .img-box {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden; /* ইমেজের জুম ইফেক্ট ভেতরেই থাকবে */
}

.premium2-product-card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* Primary & Secondary Images Smooth Hover */
.premium2-product-card .img-box .primary-img {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.premium2-product-card .img-box .secondary-img {
  z-index: 2;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.premium2-product-card:hover .img-box .primary-img {
  opacity: 0;
}

.premium2-product-card:hover .img-box .secondary-img {
  opacity: 1;
  transform: scale(1);
}

/* Discount Badge */
.premium2-product-card .discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
  pointer-events: none;
}

/* Wishlist Button Centered on Divider */
.premium2-product-card .wishlist-btn {
  position: absolute;
  top: 12px;
  right: 0;
  transform: translateX(50%);
  width: 32px;
  height: 32px;
  background-color: #666;
  color: #ffffff;
  border: none;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  z-index: 20;
  transition: background-color 0.2s ease;
}

.premium2-product-card .wishlist-btn:hover {
  background-color: var(--primary-purple);
}

/* Right Section Body */
.premium2-product-card .product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.premium2-product-card .product-content {
  padding: 14px 14px 12px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.premium2-product-card .product-code {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.2px;
}

.premium2-product-card .title-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.premium2-product-card .product-title {
  font-size: 15px;
  font-weight: 600;
  color:#666;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.3px;
}

/* Price Area with Strike-through */
.premium2-product-card .price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.premium2-product-card .product-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.premium2-product-card .original-price {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
  margin-top: 2px;
}

.premium2-product-card .section-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.premium2-product-card .section-label {
  font-size: 9px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.premium2-product-card .description-text {
  font-size: 13px;
  line-height: 1.35;
  color: #333333;
  margin: 0;
}

/* Color Swatches */
.premium2-product-card .color-options {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.premium2-product-card .color-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.premium2-product-card .color-swatch:hover {
  transform: scale(1.2);
}

/* Size Options */
.premium2-product-card .size-options {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.premium2-product-card .size-item {
  font-size: 11px;
  font-weight: 600;
  color:#666;
  cursor: pointer;
}

.premium2-product-card .size-item.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

.premium2-product-card .size-item:not(.disabled):hover {
  color: var(--primary-purple);
}

/* Bottom Button */
.premium2-product-card .add-to-cart-btn {
  width: 100%;
  padding: 10px 0;
  background-color: #666;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.premium2-product-card .add-to-cart-btn:hover {
  background-color: var(--primary-purple);
}

/* Mobile Responsive */
@media (max-width: 576px) {
  .premium2-product-card {
    flex-direction: column;
  }

  .premium2-product-card .product-img-wrapper {
    min-height: 180px;
  }

  .premium2-product-card .wishlist-btn {
    right: 14px;
    top: auto;
    bottom: -16px;
    transform: none;
  }

  .premium2-product-card .product-content {
    padding: 22px 14px 12px 14px;
  }
}
/*premium product card 2nd*/


/* Breadcrumb */
.breadcrumb-area{
  background-color:var(--bg-topbar);
}
.custom-breadcrumb {
  background: transparent;
  padding: 12px 0px;
  margin-bottom: 0px;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.custom-breadcrumb a {
  color: var(--text-muted, #64748b);
  text-decoration: none;
  transition: color 0.2s ease;
}

.custom-breadcrumb a:hover {
  color: var(--primary-purple, #7c3aed);
}

.custom-breadcrumb .breadcrumb-item.active {
  color: var(--text-dark, #0f172a);
  font-weight: 600;
}

/* Fix Separator Alignment and Spacing */
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem; /* সেপারেটরের ডানের স্পেস */
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--text-muted, #94a3b8);
  font-size: 15px;
  line-height: 1;
  padding-right: 0.5rem; /* সেপারেটরের বামের স্পেস */
  float: left; /* অ্যালাইনমেন্ট ঠিক রাখার জন্য */
}

/* Breadcrumb */

/*details page*/
/* LEFT COLUMN: Gallery Slider */
.product-gallery-container {
  display: flex;
  gap: 12px;
  width: 100%;
}

.thumb-gallery-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  position: relative;
}

.thumb-gallery-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 70px;
  max-height: 480px;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.thumb-gallery-vertical::-webkit-scrollbar {
  display: none;
}

.thumb-item {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 0px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background-color: #f1f5f9;
}

.thumb-item.active {
  border-color: #000000;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.main-image-box {
  position: relative;
  flex: 1;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  height: 480px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.main-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none; /* ব্রাউজারের নেটিভ ড্রাগিং বন্ধ করে সোয়াইপ স্মুথ করার জন্য */
  -webkit-user-drag: none;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: #333;
}

.gallery-nav-btn.prev-btn { left: 8px; }
.gallery-nav-btn.next-btn { right: 8px; }

.image-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* CENTER COLUMN Details */
.center-column-wrapper {
  position: relative;
}

.product-category {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/*.product-title {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 8px;
  color: #0f172a;
}*/

.review-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.stars { color: #ffb800; }

.action-header-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
  position: relative;
}

.icon-action-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #64748b;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}

.icon-action-btn:hover { color: #0f172a; }
.icon-action-btn.active-wish { color: #e11d48; }

.share-popover {
  position: absolute;
  top: 26px;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-radius: 0px;
  padding: 10px 14px;
  display: none;
  z-index: 20;
  width: 150px;
}

.share-popover.show { display: block; }

.share-popover-title {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1e293b;
}

.share-social-icons {
  display: flex;
  gap: 8px;
}

.share-social-icons a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

.share-social-icons .fb { background: #1877f2; }
.share-social-icons .pin { background: #e60023; }
.share-social-icons .tw { background: #000000; }

.bundle-offer-card {
  background-color: #f1f5f9;
  border-left: 4px solid #000;
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.bundle-badge {
  background-color: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 2px;
}

.bundle-text {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.option-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

.color-swatches, .size-swatches {
  display: flex;
  gap: 8px;
}

.color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.color-btn.active {
  border-color: #000;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #000000;
}

.size-btn {
  min-width: 36px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.size-btn.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Cart & Buy Buttons Grid */
.cart-action-group {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.quantity-picker {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  flex-shrink: 0;
}

.qty-btn {
  width: 34px;
  height: 40px;
  background: transparent;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.qty-input {
  width: 38px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  outline: none;
}

.btn-add-cart-main {
  flex: 1;
  height: 40px;
  background-color: var(--primary-purple);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.btn-buy-now {
  flex: 1;
  height: 40px;
  background-color: #000000;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

/* Delivery Panel */
.delivery-panel {
  background-color: #fafafa;
  border: 1px solid var(--border-color);
  border-radius: 0px;
  padding: 12px 16px;
  font-size: 13px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.panel-header h5{
  border: none !important;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
}

.delivery-location {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 12px;
}

.delivery-location .loc-info {
  display: flex;
  gap: 10px;
  color: #212121;
  font-weight: 500;
}

.btn-change-loc {
  color: #1a73e8;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
}

.delivery-option-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.delivery-option-item .option-main {
  display: flex;
  gap: 10px;
}

.option-title {
  color: #212121;
  font-weight: 600;
  line-height: 1.2;
}

.option-sub {
  color: #666;
  font-size: 13px;
  margin-top: 2px;
}

.option-price {
  font-weight: 700;
  color: #212121;
}

.help-order-card {
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  background-color: #ffffff;
  margin-top: 16px;
}

.help-title {
  color: var(--primary-purple);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.btn-order-call, .btn-order-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  margin-bottom: 6px;
}

.btn-order-call {
  border: 1px solid var(--primary-purple);
  color: var(--primary-purple);
}

.btn-order-whatsapp {
  border: 1px solid #25D366;
  color: #15803d;
}

/* FIXED TABS SECTION */
.product-tabs-section {
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 0;
}

.custom-nav-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  border-bottom: 1px solid var(--border-color) !important;
  gap: 24px;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.custom-nav-tabs .nav-item {
  display: inline-block !important;
  margin-bottom: 0 !important;
}

.custom-nav-tabs .nav-link {
  border: none !important;
  background: transparent !important;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 0 !important;
  position: relative;
  cursor: pointer;
  display: inline-block !important;
}

.custom-nav-tabs .nav-link.active {
  color: var(--text-dark) !important;
}

.custom-nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000000;
}

.tab-content {
  padding: 16px 0 0 0;
  color: #475569;
  line-height: 1.6;
}

/* MOBILE RESPONSIVE FIXES */
@media (max-width: 575px) {
  .share-popover {
    left:-200%;
  }
}
@media (max-width: 991px) {
  .product-gallery-container { 
    flex-direction: column-reverse; 
  }
  
  .thumb-gallery-wrapper {
    width: 100%;
  }

  .thumb-gallery-vertical { 
    flex-direction: row; 
    width: 100%; 
    max-height: none; 
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  
  .thumb-item {
    width: calc((100% - 24px) / 4); 
    height: 75px;
    scroll-snap-align: start;
  }
  
  .main-image-box { 
    height: 380px; 
  }
}

@media (max-width: 576px) {
  .cart-action-group {
    flex-wrap: wrap;
    gap: 8px;
  }

  .quantity-picker {
    width: 100%;
    justify-content: space-between;
  }

  .qty-input {
    flex: 1;
  }

  .btn-add-cart-main, 
  .btn-buy-now {
    flex: 1 1 calc(50% - 4px);
    font-size: 13px;
    padding: 0 6px;
  }
}
/*details page*/


/*auth page user*/
.auth-section {
  padding: 40px 0 70px 0;
}

/* Central Register Card */
.auth-card {
  background: #ffffff;
  border: 1px solid var(--border-color1);
  padding: 36px;
  max-width: 520px;
  margin: 0 auto;
}


.auth-section-reg .auth-card {
  background: #ffffff;
  border: 1px solid var(--border-color1);
  padding: 36px;
  max-width: 700px;
  margin: 0 auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* Form Controls */
.auth-section .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.auth-section .form-control {
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 0px;
  outline: none;
  box-shadow: none !important;
}

.auth-section .form-control:focus {
  border-color: var(--primary-purple);
}

.auth-section .input-group-text {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-left: none;
  border-radius: 0;
  cursor: pointer;
  color: var(--text-muted);
}
.auth-section .form-check label{
  font-size: 13px;
}

/* Submit Button */
.auth-section .btn-auth-submit {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--primary-purple);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.auth-section .btn-auth-submit:hover {
  background: var(--primary-purple-hover);
  color: #ffffff;
}

/* Divider Options */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color1);
}

.auth-divider:not(:empty)::before {
  margin-right: .75em;
}

.auth-divider:not(:empty)::after {
  margin-left: .75em;
}

/* Social Login Buttons */
.social-btn-group {
  display: flex;
  gap: 12px;
}

.btn-social {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border-color1);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.2s;
}

.btn-social:hover {
  background: var(--bg-topbar);
  color: var(--text-dark);
}

.auth-footer-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

.auth-footer-text a {
  color: var(--primary-purple);
  font-weight: 700;
  text-decoration: none;
}

.auth-footer-text a:hover {
  text-decoration: underline;
}
/*auth page user*/


/*section header*/

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 0px;
}

  .section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
    letter-spacing: -0.3px;
  }

  .view-all-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .view-all-link:hover {
    color: var(--primary-purple);
    transform: translateX(4px);
  }
/*section header*/


/*flash sale*/

.title-timer-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.section-title i {
  color: #ef4444;
}

/* Compact Professional Countdown Timer */
.compact-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-purple-subtle, #f5f3ff);
  padding: 6px 14px;
  border-radius:0px;
}

.compact-timer .timer-unit {
  background: var(--primary-purple, #7c3aed);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 5px;
  min-width: 26px;
  text-align: center;
  font-family: monospace;
}

.compact-timer .timer-sep {
  font-weight: 800;
  color: var(--primary-purple, #7c3aed);
  font-size: 13px;
}

/* Stock Progress Section matching reference image */
.stock-progress-block {
  margin-top: 12px;
  padding-top: 8px;
}

.stock-text-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 6px;
}

.stock-text-row .sold-text {
  color: var(--text-muted, #64748b);
  font-weight: 600;
}

.stock-text-row .left-text {
  color: #ef4444;
  font-weight: 700;
}

.stock-bar-bg {
  height: 6px;
  background: var(--border-color, #f1f5f9);
  width: 100%;
  border-radius: 0px;
  overflow: hidden;
}

.stock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-purple, #7c3aed), #ef4444);
  border-radius: 0px;
}

/* Force Side-by-Side Price Alignment */
  .details-area .product-title {
        font-size: 22px;
        color: #000 !important;
    }

.save-price-badge {
    background-color: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid #bbf7d0;
}

.details-area .details-price-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  margin-top: 8px;
}

.details-area .price-wrapper-right {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.details-area .details-price-row .product-price {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #000000 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  display: inline-block !important;
}

.details-area .details-price-row .original-price {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  display: inline-block !important;
}
/*flash sale*/

/* Fix Cart Offcanvas Scroll issue */
#cartOffcanvas .offcanvas-body {
  height: calc(100vh - 60px); /* Adjusts height properly */
}

.cart-items-list {
  max-height: 100%;
  scrollbar-width: thin; /* Smooth custom scrollbar for Firefox */
}

/* Custom Scrollbar for Chrome, Safari & Edge */
.cart-items-list::-webkit-scrollbar {
  width: 4px;
}

.cart-items-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}