/* ==========================================================================
   HELAL DÜNYAM MARKET - DESIGN SYSTEM & STYLES
   Colors: Emerald Green (#1B5E3B), Amber Gold (#F58220), Clean Light (#F8F9FA)
   ========================================================================== */

:root {
  --primary-color: #1B5E3B;
  --primary-dark: #124328;
  --primary-light: #EBF6F0;
  --accent-color: #F58220;
  --accent-hover: #E06D00;
  --accent-light: #FFF4EB;
  
  --bg-main: #F4F6F8;
  --bg-card: #FFFFFF;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border-color: #E5E7EB;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  
  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   MINIMALIST SHOPIER STYLE NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.navbar-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent-color);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.cart-icon-btn {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.cart-icon-btn:hover {
  background: var(--accent-hover);
}

.cart-badge-pill {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #fff;
  color: var(--accent-color);
  border-radius: 50px;
  padding: 1px 6px;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ==========================================================================
   HERO BANNER & PROMINENT BIG OVAL SEARCH BAR
   ========================================================================== */
.hero-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 24px 16px 30px 16px;
  margin-bottom: 20px;
  border-bottom: 4px solid var(--accent-color);
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.hero-text h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-text p {
  opacity: 0.9;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.hero-badge-pill {
  background: var(--accent-color);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.big-search-section {
  width: 100%;
  max-width: 680px;
  margin-top: 10px;
}

.big-oval-search-box {
  background: #FFFFFF;
  border-radius: 50px;
  padding: 6px 8px 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  border: 2px solid rgba(255,255,255,0.8);
  transition: all 0.25s ease;
}

.big-oval-search-box:focus-within {
  box-shadow: 0 10px 30px rgba(245, 130, 32, 0.35);
  border-color: var(--accent-color);
}

.search-box-icon {
  color: var(--primary-color);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.main-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  padding: 8px 0;
}

.main-search-input::placeholder {
  color: var(--text-muted);
}

.search-action-btn {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-action-btn:hover {
  background: var(--accent-hover);
}

/* ==========================================================================
   MAIN LAYOUT (CATEGORIES & PRODUCT GRID)
   ========================================================================== */
.main-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
}

.category-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 80px;
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 70vh;
  overflow-y: auto;
}

.category-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.category-item:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.category-item.active {
  background: var(--primary-color);
  color: #fff;
}

.category-item .count-tag {
  font-size: 0.75rem;
  opacity: 0.85;
  background: rgba(0,0,0,0.06);
  padding: 2px 7px;
  border-radius: 50px;
}

.category-item.active .count-tag {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.mobile-categories {
  display: none;
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px 16px 14px 16px;
  scrollbar-width: none;
}

.mobile-categories::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-right: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.cat-pill.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.products-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.sort-select {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  outline: none;
  background: #fff;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 94, 59, 0.25);
}

/* OUT OF STOCK GREY WATERMARK BADGE & STYLING */
.product-card.out-of-stock {
  opacity: 0.85;
}

.product-card.out-of-stock .product-img {
  filter: grayscale(85%);
  opacity: 0.6;
}

.out-of-stock-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  background: rgba(107, 114, 128, 0.92);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 6px 20px;
  border-radius: 8px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  pointer-events: none;
  text-transform: uppercase;
}

.btn-add-cart.disabled {
  background: #E5E7EB !important;
  color: #9CA3AF !important;
  border-color: #D1D5DB !important;
  width: auto !important;
  padding: 6px 12px !important;
  border-radius: 50px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  cursor: not-allowed !important;
}

.discount-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(245, 130, 32, 0.4);
}

.product-img-wrapper {
  width: 100%;
  height: 170px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfdfd;
  position: relative;
  overflow: hidden;
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.2s ease;
  content-visibility: auto;
}

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

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

.product-cat {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.product-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: line-through;
}

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

.btn-add-cart {
  background: var(--primary-light);
  color: var(--primary-color);
  border: 1px solid rgba(27, 94, 59, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.08);
}

.qty-control {
  display: flex;
  align-items: center;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  padding: 2px 4px;
}

.btn-qty {
  background: none;
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.qty-val {
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 4px;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.product-detail-card {
  max-width: 800px !important;
  width: 92% !important;
}

.detail-cat-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
}

.product-detail-image-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #F9FAFB;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
  position: relative;
}

.product-detail-img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 12px;
}

.gimdes-certified-pill {
  background: #DEF7EC;
  color: #03543F;
  border: 1px solid #84E1BC;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.product-detail-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.product-detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.product-detail-price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.detail-current-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
}

.detail-old-price {
  font-size: 1.05rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.detail-discount-badge {
  background: var(--accent-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
}

.product-detail-desc-box {
  background: #F8F9FA;
  padding: 14px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.product-detail-desc-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.product-detail-desc-box p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.detail-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.detail-qty-control {
  display: flex;
  align-items: center;
  background: #F3F4F6;
  border-radius: 50px;
  padding: 4px 8px;
  border: 1px solid var(--border-color);
}

.detail-qty-control .btn-qty {
  color: var(--text-dark);
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
}

.detail-qty-control .qty-val {
  font-size: 1.05rem;
  padding: 0 10px;
}

.detail-add-cart-btn {
  flex: 1;
  margin-top: 0 !important;
}

/* ==========================================================================
   HORIZONTAL VISUAL TIMELINE FOR ORDERS
   ========================================================================== */
.order-card-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.order-id-tag {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-color);
}

.order-date-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.order-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 20px 0 24px 0;
  padding: 0 4px;
}

.timeline-line-bg {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 4px;
  background: var(--border-color);
  z-index: 1;
}

.timeline-line-progress {
  position: absolute;
  top: 18px;
  left: 20px;
  max-width: calc(100% - 40px);
  height: 4px;
  background: var(--primary-color);
  z-index: 1;
  transition: width 0.4s ease;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 6px;
  transition: all 0.3s ease;
}

.timeline-step.completed .step-circle {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.timeline-step.active .step-circle {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 0 5px rgba(245, 130, 32, 0.25);
}

.step-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.15;
}

.timeline-step.completed .step-label,
.timeline-step.active .step-label {
  color: var(--primary-color);
}

/* ==========================================================================
   CUSTOMER AUTHENTICATION TAB NAV (GİRİŞ YAP & KAYIT OL)
   ========================================================================== */
.auth-tab-nav {
  display: flex;
  gap: 6px;
  background: #F3F4F6;
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.auth-tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.auth-tab-btn:hover {
  color: var(--primary-color);
}

.auth-tab-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(27, 94, 59, 0.25);
}

/* ==========================================================================
   SEARCH OVERLAY VIEW
   ========================================================================== */
.search-overlay-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay-view.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-overlay-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
}

.back-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-dark);
  cursor: pointer;
}

.search-overlay-searchbar-row {
  padding: 14px 20px;
}

.oval-search-input-wrapper {
  background: #F3F4F6;
  border-radius: 50px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.overlay-search-icon {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.overlay-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  outline: none;
}

.clear-search-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
}

.search-overlay-categories {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 6px 20px 14px 20px;
  border-bottom: 1px solid var(--border-color);
  scrollbar-width: none;
}

.search-overlay-categories::-webkit-scrollbar {
  display: none;
}

.search-overlay-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.results-count-bar {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ==========================================================================
   CART DRAWER & MODALS
   ========================================================================== */
.cart-drawer-overlay, .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.cart-drawer-overlay.active, .modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  z-index: 1100;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-header, .modal-header {
  padding: 16px 20px;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.free-shipping-bar {
  background: var(--accent-light);
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--accent-hover);
  font-weight: 600;
  text-align: center;
}

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

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #F9FAFB;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
}

.cart-footer {
  padding: 18px 20px;
  background: var(--bg-main);
  border-top: 1px solid var(--border-color);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cart-summary-row.total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
}

.btn-checkout {
  width: 100%;
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-checkout:hover {
  background: var(--accent-hover);
}

.modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-card {
  background: #fff;
  width: 90%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.92rem;
  outline: none;
}

.paytr-badge-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  z-index: 900;
  padding: 8px 0;
}

.bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-item.active {
  color: var(--primary-color);
}

.nav-item i {
  font-size: 1.25rem;
}

@media (max-width: 900px) {
  .main-container {
    grid-template-columns: 1fr;
  }
  .category-sidebar {
    display: none;
  }
  .mobile-categories {
    display: flex;
  }
  .mobile-bottom-nav {
    display: block;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .brand-name {
    font-size: 1.05rem;
  }
  .brand-subtitle {
    font-size: 0.6rem;
  }
  .hero-text h1 {
    font-size: 1.35rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-img-wrapper {
    height: 135px;
    padding: 10px;
  }
  .product-info {
    padding: 10px;
  }
  .order-timeline {
    margin: 16px 0;
  }
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .step-label {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP SUPPORT BUTTON WIDGET
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 80px;
  right: 22px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulseWhatsapp 2.2s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.12);
  background-color: #128C7E;
  color: #FFFFFF;
}

@keyframes pulseWhatsapp {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (min-width: 901px) {
  .whatsapp-float-btn {
    bottom: 30px;
    right: 30px;
  }
}

/* ==========================================================================
   SEAMLESS SITE FOOTER STYLES
   ========================================================================== */
.site-footer {
  background: #111827;
  color: #9CA3AF;
  padding: 45px 20px 85px 20px;
  margin-top: 50px;
  font-size: 0.85rem;
  width: 100%;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 30px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid #1F2937;
  text-align: center;
  color: #6B7280;
  font-size: 0.78rem;
}


