/* ==========================================================================
   Zoova Shop - Main Stylesheet
   Modern E-commerce Design System with Bengali & English Font Support
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   Local Fonts & UIcons Font-Face Integration (c:\xampp\htdocs\fonts)
   ========================================================================== */

@font-face {
  font-family: 'getcommerce';
  src: url('../fonts/getcommerce.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'uicons-regular-rounded';
  src: url('../fonts/uicons-regular-rounded.woff2') format('woff2'),
       url('../fonts/uicons-regular-rounded.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'uicons-bold-rounded';
  src: url('../fonts/uicons-bold-rounded.woff2') format('woff2'),
       url('../fonts/uicons-bold-rounded.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'uicons-solid-rounded';
  src: url('../fonts/uicons-solid-rounded.woff2') format('woff2'),
       url('../fonts/uicons-solid-rounded.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'uicons-regular-straight';
  src: url('../fonts/uicons-regular-straight.woff2') format('woff2'),
       url('../fonts/uicons-regular-straight.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'uicons-bold-straight';
  src: url('../fonts/uicons-bold-straight.woff2') format('woff2'),
       url('../fonts/uicons-bold-straight.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'uicons-solid-straight';
  src: url('../fonts/uicons-solid-straight.woff2') format('woff2'),
       url('../fonts/uicons-solid-straight.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'uicons-brands';
  src: url('../fonts/uicons-brands.woff2') format('woff2'),
       url('../fonts/uicons-brands.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* UIcons standard utility classes */
.fi {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  vertical-align: middle;
}

.fi-rr, [class^="fi-rr-"], [class*=" fi-rr-"] {
  font-family: 'uicons-regular-rounded' !important;
}

.fi-br, [class^="fi-br-"], [class*=" fi-br-"] {
  font-family: 'uicons-bold-rounded' !important;
}

.fi-sr, [class^="fi-sr-"], [class*=" fi-sr-"] {
  font-family: 'uicons-solid-rounded' !important;
}

.fi-rs, [class^="fi-rs-"], [class*=" fi-rs-"] {
  font-family: 'uicons-regular-straight' !important;
}

.fi-bs, [class^="fi-bs-"], [class*=" fi-bs-"] {
  font-family: 'uicons-bold-straight' !important;
}

.fi-ss, [class^="fi-ss-"], [class*=" fi-ss-"] {
  font-family: 'uicons-solid-straight' !important;
}

.fi-brands, [class^="fi-brands-"], [class*=" fi-brands-"] {
  font-family: 'uicons-brands' !important;
}

.font-commerce {
  font-family: 'getcommerce', 'Inter', sans-serif !important;
}

:root {
  --primary: #7342dc;
  --primary-dark: #5c2bbd;
  --primary-light: #8e62f0;
  --primary-subtle: #f3e8ff;
  --secondary: #ea580c;
  --secondary-light: #ffedd5;
  --accent-red: #ef4444;
  --accent-green: #10b981;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(115, 66, 220, 0.08);
  --shadow-lg: 0 16px 36px rgba(0,0,0,0.12);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Hind Siliguri', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for sticky footer on mobile */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --------------------------------------------------------------------------
   Notice Bar (Top Announcement)
   -------------------------------------------------------------------------- */
.top-notice-bar {
  background: linear-gradient(90deg, #7342dc, #9333ea);
  color: #ffffff;
  font-size: 12.5px;
  padding: 7px 12px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* --------------------------------------------------------------------------
   Header (Mobile & Desktop)
   -------------------------------------------------------------------------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

/* Hamburger button (menu icon) */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  border-radius: 8px;
  transition: var(--transition);
}

.hamburger-btn:hover {
  background: #f1f5f9;
}

.hamburger-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-logo .logo-fallback {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-logo .logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
}

.brand-logo .logo-text span {
  color: var(--secondary);
}

.brand-logo .logo-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Desktop Search Bar */
.desktop-search-form {
  display: none;
  flex: 1;
  max-width: 480px;
  position: relative;
}

@media (min-width: 768px) {
  .desktop-search-form {
    display: flex;
  }
}

.desktop-search-form input {
  width: 100%;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1.5px solid #cbd5e1;
  padding: 0 46px 0 18px;
  outline: none;
  background: #f8fafc;
  transition: var(--transition);
}

.desktop-search-form input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(115, 66, 220, 0.12);
}

.desktop-search-form button,
.btn-search-submit {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  cursor: pointer;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--transition);
}

.btn-search-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.05);
}

.btn-search-submit svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

/* Mobile Search Bar (Direct Search Access for Mobile) */
.mobile-search-bar {
  display: block;
  padding: 8px 0 12px 0;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .mobile-search-bar {
    display: none;
  }
}

.mobile-search-form {
  position: relative;
  width: 100%;
}

.mobile-search-form input {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid #cbd5e1;
  padding: 0 44px 0 16px;
  outline: none;
  background: #f8fafc;
  font-size: 13.5px;
  transition: var(--transition);
}

.mobile-search-form input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(115, 66, 220, 0.12);
}

/* Header Action Items (Track Order, Login) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-action-item {
  display: none;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: #334155;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.2s ease;
}

@media (min-width: 768px) {
  .header-action-item {
    display: inline-flex;
  }
}

.header-action-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.header-action-item:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(115, 66, 220, 0.12);
}

.header-action-item:hover svg {
  transform: scale(1.08);
}

/* Cart Button */
.header-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  border: none;
  cursor: pointer;
  position: relative;
  color: #ffffff;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13.5px;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(115, 66, 220, 0.25);
}

.header-cart-btn svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.header-cart-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(115, 66, 220, 0.4);
}

.header-cart-btn .cart-label-text {
  color: #ffffff;
}

.cart-badge {
  background-color: #ffffff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Header Layout - Exactly like Screenshot 2 */
@media (max-width: 767px) {
  .site-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
  }

  .header-inner {
    height: 52px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
  }

  .hamburger-btn {
    background: none !important;
    border: none !important;
    padding: 6px 4px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .hamburger-btn svg {
    width: 24px !important;
    height: 20px !important;
    stroke: #111827 !important;
  }

  .brand-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin: 0;
  }

  .brand-logo img {
    height: 32px;
    max-width: 140px;
    object-fit: contain;
  }

  .header-actions {
    margin-left: auto;
    z-index: 2;
    display: flex;
    align-items: center;
  }

  .header-action-item {
    display: none !important;
  }

  .header-cart-btn {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 4px 6px !important;
    color: #111827 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
  }

  .header-cart-btn .cart-label-text {
    display: none !important;
  }

  .header-cart-btn svg {
    width: 25px !important;
    height: 25px !important;
    stroke: #111827 !important;
  }

  /* Purple circle badge on trolley from Screenshot 2 */
  .header-cart-btn .cart-badge {
    position: absolute !important;
    top: -2px !important;
    right: -3px !important;
    background: #7342dc !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    min-width: 19px !important;
    height: 19px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile Slide-Out Drawer (Navigation) - Screenshot 2
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: #ffffff;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 24px rgba(0,0,0,0.15);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

/* Drawer Header User Card */
.drawer-user-card {
  background: linear-gradient(135deg, #7342dc 0%, #8b5cf6 100%);
  margin: 14px 14px 10px 14px;
  padding: 16px;
  border-radius: 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(115, 66, 220, 0.3);
}

.drawer-user-avatar {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.drawer-user-avatar svg {
  width: 28px;
  height: 28px;
}

.drawer-user-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.drawer-user-info a {
  font-size: 13px;
  color: #e9d5ff;
  text-decoration: underline;
}

/* Drawer Close Button (cross icon) */
.drawer-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

.drawer-close-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

/* Drawer Categories List */
.drawer-categories-box {
  background: #f8fafc;
  margin: 10px 14px;
  border-radius: 14px;
  border: 1px solid #edf2f7;
  overflow: hidden;
}

.drawer-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.drawer-cat-link:last-child {
  border-bottom: none;
}

.drawer-cat-link:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.drawer-cat-link .arrow {
  color: #94a3b8;
  font-size: 16px;
}

/* Drawer Quick Links Section */
.drawer-quick-links-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 16px 16px 6px 16px;
  position: relative;
  display: inline-block;
}

.drawer-quick-links-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 4px;
}

.drawer-quick-box {
  background: #f8fafc;
  margin: 8px 14px 20px 14px;
  border-radius: 14px;
  border: 1px solid #edf2f7;
  overflow: hidden;
}

.drawer-quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.drawer-quick-link:last-child {
  border-bottom: none;
}

.drawer-quick-link svg {
  width: 18px;
  height: 18px;
  color: #64748b;
}

.drawer-quick-link:hover {
  color: var(--primary);
  background: #f1f5f9;
}

/* --------------------------------------------------------------------------
   Hero Banner Section - Screenshot 1
   -------------------------------------------------------------------------- */
.hero-slider-section {
  padding: 14px 0 10px 0;
}

.hero-banner-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.hero-slide {
  position: relative;
  width: 100%;
}

.hero-slide img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 20px;
  display: flex;
  gap: 7px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  width: 10px;
  height: 10px;
  box-shadow: 0 0 6px rgba(115, 66, 220, 0.8);
}

/* --------------------------------------------------------------------------
   Featured Categories Carousel - Screenshot 1
   -------------------------------------------------------------------------- */
.section-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  margin: 24px 0 16px 0;
  letter-spacing: -0.2px;
}

.categories-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.carousel-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: rgba(115, 66, 220, 0.85);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(115, 66, 220, 0.3);
  transition: var(--transition);
}

.carousel-nav-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav-btn.prev {
  left: 0;
}

.carousel-nav-btn.next {
  right: 0;
}

.categories-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding: 6px 12px;
}

.categories-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.category-card {
  flex: 0 0 105px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-3px);
}

.category-img-box {
  width: 95px;
  height: 95px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px auto;
  overflow: hidden;
  padding: 10px;
}

.category-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-name {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 2px;
}

/* --------------------------------------------------------------------------
   Product Grid & Product Cards - Screenshots 1 & 3
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(115, 66, 220, 0.12);
  transform: translateY(-4px);
}

/* Popular / Hot Badge */
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fafafa;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price-current {
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
}

.price-old {
  color: var(--text-light);
  font-size: 13px;
  text-decoration: line-through;
  font-weight: 500;
}

/* Product Card Action Buttons */
.product-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.btn-add-cart, .btn-buy-now {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 4px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-add-cart svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.btn-add-cart:hover {
  background: var(--primary-subtle);
}

.btn-buy-now {
  background: var(--primary);
  color: #ffffff;
  border: 1.5px solid var(--primary);
}

.btn-buy-now:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   Floating Cart Widget - Screenshot 1 & 5
   -------------------------------------------------------------------------- */
.floating-cart-widget {
  position: fixed;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  z-index: 900;
  cursor: pointer;
  box-shadow: -4px 4px 16px rgba(0,0,0,0.15);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.floating-cart-widget:hover {
  transform: translateY(-50%) scale(1.04);
}

.floating-cart-top {
  background: var(--primary);
  color: #ffffff;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  gap: 2px;
}

.floating-cart-top svg {
  width: 18px;
  height: 18px;
}

.floating-cart-bottom {
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  padding: 5px 8px;
  border-left: 2px solid var(--primary);
}

/* --------------------------------------------------------------------------
   Slide-Over Shopping Cart Drawer - Screenshot 4
   -------------------------------------------------------------------------- */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-slide-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 90%;
  max-width: 380px;
  background: #ffffff;
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(0,0,0,0.15);
}

.cart-slide-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.cart-drawer-header h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
}

.cart-drawer-close-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.cart-drawer-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.cart-drawer-close-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  position: relative;
}

.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: 8px;
  object-fit: cover;
  background: #f8fafc;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  padding-right: 18px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
}

.qty-stepper button {
  background: #f1f5f9;
  border: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-weight: 700;
  color: #334155;
}

.qty-stepper button:hover {
  background: #e2e8f0;
}

.qty-stepper span {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}

.cart-item-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #ef4444;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.cart-item-remove svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

.cart-empty-message {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.cart-drawer-footer {
  border-top: 1px solid var(--border-color);
  padding: 16px 20px;
  background: #ffffff;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-subtotal-label {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.cart-subtotal-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.btn-checkout-confirm {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(115, 66, 220, 0.35);
  transition: var(--transition);
}

.btn-checkout-confirm:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Sticky Bottom Navigation Bar (Mobile) - Screenshot 1
   -------------------------------------------------------------------------- */
.sticky-footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #7342dc; /* Vibrant purple from Screenshot 1 */
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 990;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
  padding: 0;
}

@media (min-width: 992px) {
  .sticky-footer-nav {
    display: none;
  }
}

.sticky-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  flex: 1;
  height: 100%;
  gap: 2.5px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.sticky-nav-item:active {
  transform: scale(0.96);
}

.sticky-nav-item svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.sticky-nav-item span {
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1;
  text-transform: uppercase;
}

.sticky-cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Dark/Black Cart Badge from Screenshot 1 */
.sticky-nav-badge {
  position: absolute;
  top: -4px;
  right: -9px;
  background-color: #212529 !important; /* dark slate/black badge from Screenshot 1 */
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  border: 1.5px solid #7342dc;
}

/* Mobile Search Modal Overlay */
.mobile-search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.mobile-search-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  z-index: 1051;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 14px 16px;
}

.mobile-search-modal.open {
  transform: translateY(0);
}

.search-modal-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.search-modal-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-modal-input-wrap svg {
  position: absolute;
  left: 12px;
  pointer-events: none;
}

.search-modal-input-wrap input {
  width: 100%;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1.5px solid #cbd5e1;
  padding: 0 74px 0 38px;
  font-size: 14px;
  outline: none;
  background: #f8fafc;
}

.search-modal-input-wrap input:focus {
  border-color: var(--primary);
  background: #ffffff;
}

.search-modal-submit-btn {
  position: absolute;
  right: 4px;
  height: 34px;
  padding: 0 14px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.search-modal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  flex-shrink: 0;
}

.search-modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   Checkout Page Styles - Screenshot 5
   -------------------------------------------------------------------------- */
.checkout-page-container {
  padding: 24px 0 40px 0;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--primary);
}

.breadcrumb-nav .current {
  color: var(--secondary);
  font-weight: 600;
}

.checkout-heading {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
}

/* Login/Register Callout Banner */
.checkout-auth-banner {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 14px;
  color: #334155;
}

.checkout-auth-buttons {
  display: flex;
  gap: 8px;
}

.btn-auth-login {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #334155;
}

.btn-auth-register {
  background: var(--secondary);
  border: 1px solid var(--secondary);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #ffffff;
}

/* Two Columns Grid */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .checkout-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
  }
}

.checkout-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 22px;
  margin-bottom: 20px;
}

.checkout-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.checkout-section-title::before {
  content: '|';
  color: var(--secondary);
  font-weight: 900;
  font-size: 18px;
}

/* Order Review Items */
.checkout-order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.checkout-order-item:last-child {
  border-bottom: none;
}

.checkout-order-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #f8fafc;
}

.checkout-order-info {
  flex: 1;
}

.checkout-order-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.checkout-order-math {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-remove-item {
  background: #fee2e2;
  color: #ef4444;
  border: 1px solid #fecaca;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.btn-remove-item:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.btn-remove-item svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
}

/* Form Controls */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 14px;
  outline: none;
  font-size: 14px;
  background: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(115, 66, 220, 0.1);
}

textarea.form-control {
  height: auto;
  min-height: 80px;
  padding: 10px 14px;
}

.phone-input-group {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.phone-prefix {
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  padding: 0 14px;
  height: 42px;
  display: flex;
  align-items: center;
  font-size: 14px;
  border-right: 1px solid #cbd5e1;
}

.phone-input-group input {
  border: none;
  height: 42px;
  padding: 0 12px;
  flex: 1;
  outline: none;
}

.two-col-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Payment Method Tile */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.payment-tile {
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.payment-tile.active {
  border-color: var(--primary);
  background: var(--primary-subtle);
  color: var(--primary);
}

/* Coupon Accordion Box */
.coupon-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 18px;
}

.coupon-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
}

.coupon-input-group {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.coupon-input-group input {
  flex: 1;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 12px;
  outline: none;
}

.btn-apply-coupon {
  background: var(--secondary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.promo-pill {
  display: inline-block;
  background: #ffedd5;
  color: var(--secondary);
  border: 1px dashed var(--secondary);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 8px;
  cursor: pointer;
}

/* Cost Summary */
.cost-summary-table {
  width: 100%;
  margin-bottom: 18px;
  border-collapse: collapse;
}

.cost-summary-table td {
  padding: 8px 0;
  font-size: 14px;
  color: #475569;
}

.cost-summary-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #0f172a;
}

.cost-summary-table tr.total-row td {
  border-top: 1.5px dashed #cbd5e1;
  padding-top: 12px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.cost-summary-table tr.total-row td:last-child {
  color: var(--primary);
  font-size: 18px;
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.main-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Details Page Styles (Robust Showcase & Ordering)
   ========================================================================== */
.product-details-page {
  padding: 16px 0 40px 0;
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 28px;
}

@media (min-width: 900px) {
  .product-showcase-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    padding: 32px;
  }
}

.product-gallery-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-main-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #edf2f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-main-image-wrapper:hover img {
  transform: scale(1.04);
}

.product-detail-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.discount-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 2;
}

.product-summary-box {
  display: flex;
  flex-direction: column;
}

.product-category-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.product-detail-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .product-detail-title {
    font-size: 24px;
  }
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.stock-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.stock-pill.in-stock {
  background: #dcfce7;
  color: #15803d;
}

.stock-pill.out-of-stock {
  background: #fee2e2;
  color: #b91c1c;
}

.unit-pill {
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 6px;
}

.product-price-hero {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: #faf5ff;
  border: 1px dashed #d8b4fe;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.price-hero-current {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}

.price-hero-old {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: line-through;
}

.savings-text {
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 6px;
}

.detail-qty-container {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.detail-qty-container label {
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
}

.detail-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.detail-stepper button {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: #1e293b;
  transition: var(--transition);
}

.detail-stepper button:hover {
  background: #e2e8f0;
}

.detail-stepper input {
  width: 48px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

@media (min-width: 600px) {
  .product-detail-actions {
    flex-direction: row;
  }
}

.btn-detail-add-cart, .btn-detail-buy-now {
  flex: 1;
  padding: 13px 18px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-detail-add-cart {
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(115, 66, 220, 0.1);
}

.btn-detail-add-cart:hover {
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.btn-detail-buy-now {
  background: var(--primary);
  color: #ffffff;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 16px rgba(115, 66, 220, 0.35);
}

.btn-detail-buy-now:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Direct Phone / WhatsApp Box */
.direct-order-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 18px;
}

.direct-order-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.direct-order-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-direct-call, .btn-direct-whatsapp {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.btn-direct-call {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-direct-call:hover {
  background: var(--primary-subtle);
}

.btn-direct-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: 1.5px solid #25d366;
}

.btn-direct-whatsapp:hover {
  background: #1eb857;
}

/* Trust Badges List */
.product-trust-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.trust-text strong {
  display: block;
  font-size: 13px;
  color: #1e293b;
  margin-bottom: 2px;
}

.trust-text small {
  font-size: 11px;
  color: var(--text-muted);
}

/* Description Tabs Section */
.product-description-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.desc-tabs-header {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.desc-tab-btn {
  background: none;
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.desc-tab-btn.active {
  color: var(--primary);
  background: var(--primary-subtle);
}

.desc-tab-content {
  display: none;
}

.desc-tab-content.active {
  display: block;
}

.rich-description-body {
  font-size: 14.5px;
  line-height: 1.8;
  color: #334155;
  word-break: break-word;
}

.rich-description-body p {
  margin-bottom: 12px;
}

.rich-description-body h1,
.rich-description-body h2,
.rich-description-body h3,
.rich-description-body h4,
.rich-description-body h5,
.rich-description-body h6 {
  font-weight: 700;
  color: #0f172a;
  margin: 18px 0 8px 0;
  line-height: 1.4;
}

.rich-description-body ul {
  list-style-type: disc;
  padding-left: 24px;
  margin: 10px 0 14px 0;
}

.rich-description-body ol {
  list-style-type: decimal;
  padding-left: 24px;
  margin: 10px 0 14px 0;
}

.rich-description-body li {
  margin-bottom: 6px;
}

.rich-description-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
  display: block;
}

.rich-description-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.rich-description-body table th,
.rich-description-body table td {
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  text-align: left;
}

.rich-description-body table th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.rich-description-body blockquote {
  border-left: 4px solid var(--primary, #7342dc);
  background: #f8fafc;
  padding: 12px 18px;
  margin: 14px 0;
  border-radius: 0 8px 8px 0;
  color: #475569;
  font-style: italic;
}

.rich-description-body hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 20px 0;
}

.related-products-section {
  margin-top: 36px;
}

