/* ==========================================================================
   beli.ng - Universal Stylesheet (Mobile, Tablet & Desktop Responsive)
   ========================================================================== */

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

/* CSS Variables */
:root {
  --bg-page: #FFFFFF;
  --bg-subtle: #F8F9FA;
  --bg-gray: #F3F4F6;
  --bg-dark: #093A66;
  --border-color: #E5E7EB;
  --border-input: #D0D9E2;
  --text-black: #093A66;
  --text-gray: #525252;
  --text-muted: #5A7B98;
  --text-light: #71717A;
  --green: #16A34A;
  --green-bg: #DCFCE7;
  --blue: #093A66;
  --blue-bg: #E0F2FE;
  --amber: #F59E0B;
  --amber-bg: #FEF3C7;
  --red: #DC2626;
  --red-bg: #FEE2E2;
  --whatsapp: #25D366;
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

main {
  flex: 1;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.table-responsive th, .table-responsive td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  font-size: 0.845rem;
  text-align: left;
}

.table-responsive th {
  background-color: var(--bg-gray);
  font-weight: 700;
}

/* Common Buttons */
.btn-black {
  background-color: #093A66;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.btn-black:hover {
  opacity: 0.9;
}

.btn-black:active {
  transform: scale(0.98);
}

.btn-outline {
  background-color: #FFFFFF;
  color: var(--text-black);
  border: 1px solid var(--border-input);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-outline:hover {
  background-color: var(--bg-gray);
  border-color: #B8C5D1;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
}

/* ==========================================================================
   Header & Navigation matching Screenshot 792
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FAFAFA;
  border-bottom: 1px solid var(--border-color);
  height: 60px;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* Logo image — responsive sizing */
.brand-logo-img {
  display: block;
  width: auto;
  height: 28px;       /* mobile default */
  max-width: 130px;
  object-fit: contain;
  transition: opacity 0.15s ease;
}

.brand-logo:hover .brand-logo-img {
  opacity: 0.85;
}

@media (min-width: 640px) {
  .brand-logo-img {
    height: 32px;
    max-width: 150px;
  }
}

@media (min-width: 992px) {
  .brand-logo-img {
    height: 34px;
    max-width: 160px;
  }
}

.nav-links-list {
  display: none;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .nav-links-list {
    display: flex;
    gap: 0.5rem;
  }
}

@media (min-width: 1200px) {
  .nav-links-list {
    gap: 0.85rem;
  }
}

.nav-item {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #093A66;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.45rem;
  border-radius: 4px;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}

.nav-item:hover, .nav-item.active {
  background-color: #F3F4F6;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.header-search-wrap {
  position: relative;
  display: none;
}

@media (min-width: 640px) {
  .header-search-wrap {
    display: flex;
    align-items: center;
  }
}

.search-input-pill {
  height: 32px;
  width: 130px;
  padding: 0 0.5rem;
  background-color: #FAFAFA;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-black);
  outline: none;
}

.search-input-pill::placeholder {
  color: var(--text-muted);
  font-weight: 600;
}

.search-drop-results {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  margin-top: 0.35rem;
  background: #FFFFFF;
  border: 1px solid var(--border-input);
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  display: none;
  max-height: 340px;
  overflow-y: auto;
  z-index: 200;
}

.search-drop-results.active {
  display: block;
}

.search-drop-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #F3F4F6;
  text-decoration: none;
}

.search-drop-item:hover {
  background-color: #F8F9FA;
}

.search-drop-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.icon-btn-square {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  color: var(--text-muted);
}

.region-btn-pill {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 32px;
  padding: 0 0.5rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .region-btn-pill {
    display: none !important;
  }
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  font-size: 1.15rem;
  color: var(--text-black);
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Enhanced Mobile Navigation Drawer with Header & Close Button */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mobile-nav-backdrop.open {
  display: block;
  opacity: 1;
}

.mobile-dropdown-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background-color: #FFFFFF;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
  flex-shrink: 0;
}

.mobile-nav-header .mobile-logo-img {
  height: 26px;
  max-width: 120px;
  object-fit: contain;
}

.mobile-menu-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s;
}

.mobile-menu-close-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.mobile-nav-body {
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-nav-body a {
  font-size: 0.825rem;
  font-weight: 600;
  color: #1E293B;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background-color 0.15s, color 0.15s;
}

.mobile-nav-body a:hover {
  background-color: #F8FAFC;
  color: #093A66;
  border-left-color: #093A66;
}

.mobile-nav-body a.active {
  background-color: #EEF2FF;
  color: #4338CA;
  border-left-color: #4338CA;
}

.mobile-nav-heading {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94A3B8;
  padding: 0.75rem 1.25rem 0.25rem;
}

@media (max-width: 768px) {
  .top-announcement-bar {
    padding: 0.4rem 0.75rem;
    text-align: center;
  }
  .top-bar-inner {
    justify-content: center !important;
  }
  .top-bar-inner > div {
    font-size: 0.68rem;
    line-height: 1.35;
    text-align: center;
    width: 100%;
  }
  .top-bar-links {
    display: none !important;
  }
}

/* ==========================================================================
   Homepage Components (Screenshots 792 - 796)
   ========================================================================== */

/* Hero Banner - Fully Responsive on Mobile & Desktop */
.hero-box {
  background-color: #F8F9FA;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin: 1.25rem 0 2.5rem 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hero-box {
    grid-template-columns: 1.1fr 1fr;
  }
}

.hero-left {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-left {
    padding: 2.5rem 2rem;
  }
}

.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: #093A66;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.5;
  max-width: 420px;
}

.hero-right {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #E2E8F0;
  position: relative;
  overflow: hidden;
}

.hero-right img, .hero-right svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Value Prop */
.value-prop {
  text-align: center;
  margin: 2.5rem 0 2rem 0;
  padding: 0 0.5rem;
}

.value-prop h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 800;
  color: #093A66;
  letter-spacing: -0.03em;
}

.value-prop p {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-top: 0.35rem;
  margin-bottom: 1.25rem;
}

/* 3-Column Category Grid - Mobile & Tablet Responsive */
.cat-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
  .cat-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .cat-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cat-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cat-card:hover {
  border-color: #B8C5D1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cat-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #F8F9FA;
  overflow: hidden;
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.cat-card:hover .cat-card-img img {
  transform: scale(1.02);
}

.cat-card-title {
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #093A66;
}

/* Other Lists Box */
.other-lists-card {
  background-color: #F8F9FA;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0 3.5rem 0;
}

@media (min-width: 768px) {
  .other-lists-card {
    padding: 1.5rem;
  }
}

.other-lists-title {
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* Top Stories Section */
.top-stories-wrap {
  margin: 3.5rem 0;
}

.top-stories-header {
  text-align: center;
  margin-bottom: 2rem;
}

.top-stories-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
}

.top-stories-header p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.stories-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .stories-split {
    grid-template-columns: 1.2fr 1fr;
  }
}

.story-card-big {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.story-card-mini {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

/* Huge Sale Banner (Dark) */
.huge-sale-section {
  background-color: #093A66;
  border-radius: 8px;
  color: #FFFFFF;
  padding: 2rem 1.25rem;
  margin: 3.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .huge-sale-section {
    grid-template-columns: 240px 1fr;
    padding: 3rem 2.5rem;
  }
}

.huge-sale-tag {
  background-color: var(--amber);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  width: fit-content;
}

.huge-sale-title {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.huge-sale-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .huge-sale-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .huge-sale-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.deal-white-card {
  background-color: #FFFFFF;
  border-radius: 6px;
  padding: 1rem;
  color: var(--text-black);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.deal-white-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.deal-title {
  font-size: 0.875rem;
  font-weight: 700;
}

.deal-specs {
  font-size: 0.75rem;
  color: var(--text-light);
}

.deal-badges {
  display: flex;
  gap: 0.35rem;
}

.badge-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}

.badge-green {
  background-color: var(--green-bg);
  color: var(--green);
}

.badge-blue {
  background-color: var(--blue-bg);
  color: var(--blue);
}

/* Stock Left Indicators */
.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  line-height: 1.2;
}

.stock-pill-low {
  background-color: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  font-weight: 800;
}

.stock-pill-available {
  background-color: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.stock-pill-out {
  background-color: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

.deal-pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 0.25rem;
}

.deal-price-val {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.deal-save-val {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 700;
}

/* ==========================================================================
   Catalogue Page (Screenshot 797) - Responsive on Mobile & Tablet
   ========================================================================== */
.catalog-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 1.5rem 0 4rem 0;
}

@media (min-width: 992px) {
  .catalog-grid-2col {
    grid-template-columns: 240px 1fr;
    gap: 2rem;
  }
}

.pill-switcher {
  display: inline-flex;
  background-color: #E5E7EB;
  padding: 3px;
  border-radius: 9999px;
  gap: 2px;
}

.pill-btn {
  padding: 0.35rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-gray);
  cursor: pointer;
}

.pill-btn.active {
  background-color: #093A66;
  color: #FFFFFF;
}

.mobile-filter-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.65rem;
  background: var(--bg-gray);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .mobile-filter-toggle-btn {
    display: none;
  }
}

.sidebar-filters {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.sidebar-filters.open {
  display: flex;
}

@media (min-width: 992px) {
  .sidebar-filters {
    display: flex;
    border: none;
    padding: 0;
    margin-bottom: 0;
  }
}

.sidebar-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
  cursor: pointer;
}

.check-label input {
  accent-color: #093A66;
}

.catalog-card-row {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.catalog-card-row:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .catalog-card-row {
    grid-template-columns: 140px 1fr;
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .catalog-card-row {
    grid-template-columns: 160px 1fr auto;
    gap: 1.5rem;
  }
}

.catalog-card-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F8F9FA;
  border-radius: 6px;
  padding: 0.75rem;
}

.catalog-card-img img {
  max-width: 100%;
  max-height: 120px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.catalog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #093A66;
  text-decoration: none;
  display: block;
}

.catalog-card-title:hover {
  text-decoration: underline;
}

.catalog-specs-row {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin: 0.35rem 0;
  line-height: 1.4;
}

.catalog-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.tag-badge {
  font-size: 0.75rem;
  background-color: #F3F4F6;
  color: var(--text-gray);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.catalog-links-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #093A66;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.catalog-links-row a {
  text-decoration: none;
}

.catalog-links-row a:hover {
  text-decoration: underline;
}

/* Actions Column & Responsive Layout */
.catalog-actions-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid #F3F4F6;
  padding-top: 0.85rem;
}

.catalog-price-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.catalog-btns-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.catalog-btns-row .btn-black,
.catalog-btns-row .btn-pod {
  flex: 1 1 auto;
  text-align: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .catalog-actions-col {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .catalog-btns-row .btn-black,
  .catalog-btns-row .btn-pod {
    flex: initial;
  }
}

@media (min-width: 992px) {
  .catalog-actions-col {
    grid-column: auto;
    border-top: none;
    padding-top: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }
  .catalog-price-badge-row {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
  }
  .catalog-btns-row {
    justify-content: flex-end;
  }
}

.catalog-price {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #093A66;
}

/* Pay on Delivery button style */
.btn-pod {
  background-color: #F8F9FA;
  color: #093A66;
  border: 1.5px solid #093A66;
  font-family: var(--font-main, inherit);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-pod:hover {
  background-color: #093A66;
  color: #FFFFFF;
}

.btn-pod:active {
  transform: scale(0.98);
}

/* Footer Brand Logo Matching Header */
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  transition: opacity 0.15s ease;
}

.footer-brand-logo:hover {
  opacity: 0.9;
}

.footer-logo-img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* ==========================================================================
   Product Detail Page (Screenshots 798 - 800)
   ========================================================================== */
.product-detail-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  margin: 1.5rem 0 2.5rem 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.product-detail-hero > * {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.product-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.gallery-thumbs-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery-thumbs-row::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs-row::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.product-info-col {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Rich Description & Tables overflow guard */
.product-rich-description {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.7;
}

.product-rich-description table,
.product-rich-description figure.table {
  max-width: 100% !important;
  display: block !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin: 1rem 0;
}

.product-rich-description img {
  max-width: 100% !important;
  height: auto !important;
}

.product-rich-description pre,
.product-rich-description code {
  max-width: 100% !important;
  overflow-x: auto !important;
  white-space: pre-wrap !important;
  word-break: break-all !important;
}

@media (min-width: 992px) {
  .product-detail-hero {
    grid-template-columns: 440px 1fr;
    gap: 3rem;
  }
}

.product-detail-img {
  width: 100%;
  background-color: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

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

.product-detail-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #093A66;
  line-height: 1.2;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0.75rem 0 1.25rem 0;
}

.starts-from-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.starts-price {
  font-size: 1.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #093A66;
}

/* Product Detail Hero Actions - Top Pay on Delivery, Bottom Buy Now on Mobile & Tablet */
.detail-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.detail-hero-pod-btn {
  order: 1 !important;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  justify-content: center;
  text-align: center;
}

.detail-hero-buy-btn {
  order: 2 !important;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  justify-content: center;
  text-align: center;
}

@media (min-width: 992px) {
  .starts-from-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .detail-hero-actions {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 0.65rem;
  }

  .detail-hero-buy-btn {
    order: 1 !important;
    width: auto;
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
  }

  .detail-hero-pod-btn {
    order: 2 !important;
    width: auto;
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
  }
}

/* 3 Cards Highlights */
.highlights-3cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .highlights-3cards {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
}

.hl-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
}

.hl-card-icon {
  font-size: 1.35rem;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.hl-card-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.hl-card-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #093A66;
}

/* Pros & Cons Box */
.pros-cons-container {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pros-cons-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 1.5rem;
    gap: 2rem;
  }
}

.pro-con-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.pro-item, .con-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.pro-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--green-bg);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.con-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--red-bg);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Config Cards (Screenshot 799) */
.config-item-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.config-item-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

/* On mobile: image sits above a row of [specs | price+btns] */
@media (max-width: 767px) {
  .config-item-header {
    grid-template-columns: 1fr;
  }
  /* Force the last child (price + buttons column) to sit beside specs on mobile */
  .config-item-header > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .config-item-header > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
  }
}

.config-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.config-actions-wrap .config-pod-btn {
  order: 1 !important;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.config-actions-wrap .config-buy-btn {
  order: 2 !important;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.config-actions-wrap .config-alert-btn {
  order: 3 !important;
  display: none;
}

@media (min-width: 768px) {
  .config-item-header {
    grid-template-columns: 120px 1fr auto;
    gap: 1.25rem;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .config-actions-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    width: auto;
  }

  .config-actions-wrap .config-buy-btn {
    order: 1 !important;
    width: auto;
  }

  .config-actions-wrap .config-pod-btn {
    order: 2 !important;
    width: auto;
  }

  .config-actions-wrap .config-alert-btn {
    order: 3 !important;
    display: inline-flex;
  }
}

.accordion-spec-line {
  border-bottom: 1px solid #F1F5F9;
  padding: 0.25rem 0;
}

.accordion-spec-line summary {
  padding: 0.85rem 0;
  font-size: 0.925rem;
  font-weight: 700;
  color: #093A66;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

.accordion-spec-line summary:hover {
  color: #0284C7;
}

.accordion-spec-detail {
  padding: 0.25rem 0 1rem 1.75rem;
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.6;
}

.gallery-thumbs-row::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs-row::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.gallery-thumb-btn:hover {
  border-color: #0284C7 !important;
}

/* ==========================================================================
   Zero-Cart Direct Checkout & WhatsApp Modal
   ========================================================================== */
.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.checkout-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.checkout-modal-box {
  background-color: #FFFFFF;
  border-radius: 8px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-header-row {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #FFFFFF;
  z-index: 10;
}

.modal-body-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.form-field-group label {
  font-size: 0.8125rem;
  font-weight: 700;
}

.form-field-group input, .form-field-group select, .form-field-group textarea {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
}

.form-field-group input:focus, .form-field-group select:focus, .form-field-group textarea:focus {
  border-color: #093A66;
}

.bank-details-dark-card {
  background-color: #093A66;
  border-radius: 6px;
  padding: 1rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bank-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #27272A;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

.bank-val-mono {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.copy-button-mini {
  background-color: #3F3F46;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
}

.copy-button-mini:hover {
  background-color: var(--green);
}

.whatsapp-box-prompt {
  background-color: var(--green-bg);
  border: 1px solid #BBF7D0;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.whatsapp-box-prompt h3 {
  font-size: 0.95rem;
  color: #15803D;
  font-weight: 700;
}

.whatsapp-box-prompt p {
  font-size: 0.8125rem;
  color: #166534;
  line-height: 1.4;
}

.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #093A66;
  color: #FFFFFF;
  padding: 0.65rem 1.15rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Footer matching Screenshot 796
   ========================================================================== */
.site-footer {
  background-color: #093A66;
  color: #FFFFFF;
  padding: 3.5rem 0 2.5rem 0;
  margin-top: 4rem;
}

.footer-4col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: #D4D4D8;
}

.footer-col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom-row {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #A1A1AA;
}

.footer-bottom-row p {
  line-height: 1.5;
  word-break: break-word;
}

@media (min-width: 600px) {
  .footer-bottom-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Footer social icons row */
.footer-social-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-color: rgba(255,255,255,0.1);
  color: #FFFFFF;
  font-size: 0.95rem;
  transition: background-color 0.15s ease;
  text-decoration: none;
}

.footer-social-link:hover {
  background-color: rgba(255,255,255,0.22);
  color: #FFFFFF;
}

/* Best Prices header responsive */
.best-prices-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.best-prices-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Newsletter form responsive */
.newsletter-form-row-responsive {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  max-width: 460px;
  margin-top: 0.5rem;
}

.newsletter-form-row-responsive input {
  flex: 1;
  min-width: 180px;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
}

.newsletter-form-row-responsive button {
  flex-shrink: 0;
}

/* Contact Page Layout & Inputs */
.form-input-field, .form-textarea-field {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.875rem;
  color: #1E293B;
  background-color: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input-field:focus, .form-textarea-field:focus {
  outline: none;
  border-color: #093A66;
  box-shadow: 0 0 0 3px rgba(9, 58, 102, 0.1);
}

@media (min-width: 900px) {
  .contact-grid-wrap {
    grid-template-columns: 360px 1fr !important;
  }
}

@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Interactive Multi-Slot Advert Slider & Banner System
   ========================================================================== */
.advert-slider-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.advert-slides-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.advert-slide-item {
  min-width: 100%;
  box-sizing: border-box;
}

.advert-hero-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #0F172A 100%);
  color: #FFFFFF;
  padding: 2.25rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
  min-height: 260px;
  position: relative;
}

@media (max-width: 768px) {
  .advert-hero-card {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
    text-align: center;
  }
}

.advert-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(99, 102, 241, 0.25);
  color: #A5B4FC;
  border: 1px solid rgba(99, 102, 241, 0.5);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.advert-hero-title {
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.advert-seller-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 1rem;
}

.advert-seller-tag strong {
  color: #E2E8F0;
}

.advert-price-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .advert-price-cta {
    justify-content: center;
  }
}

.advert-price-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #4ADE80;
}

.advert-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  position: relative;
}

.advert-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}

.advert-hero-card:hover .advert-img-wrap img {
  transform: scale(1.04);
}

/* Slider Controls */
.advert-slider-prev, .advert-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.85);
  color: #0F172A;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.15s;
}

.advert-slider-prev:hover, .advert-slider-next:hover {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
}

.advert-slider-prev { left: 12px; }
.advert-slider-next { right: 12px; }

.advert-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.advert-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.advert-dot.active {
  width: 24px;
  background: #6366F1;
}

/* Middle / Pre-Footer Wide Promotional Banner */
.advert-wide-strip {
  background: linear-gradient(90deg, #1E1B4B 0%, #312E81 50%, #1E1B4B 100%);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .advert-wide-strip {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }
}

/* ==========================================================================
   Navigation Bar & Top Announcement Bar
   ========================================================================== */
.top-announcement-bar {
  background: #093A66;
  color: #E2E8F0;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.top-bar-links a {
  color: #CBD5E1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s;
}
.top-bar-links a:hover {
  color: #FFFFFF;
}
.main-cat-nav-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.cat-nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-nav-list::-webkit-scrollbar {
  display: none;
}
.cat-nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  padding: 0.65rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}
.cat-nav-link:hover, .cat-nav-link.active {
  color: #093A66;
  border-bottom-color: #093A66;
  background: #F8FAFC;
}
.cat-nav-link.deal-link {
  color: #DC2626;
  font-weight: 700;
}
.cat-nav-link.deal-link:hover {
  border-bottom-color: #DC2626;
}
.cat-nav-link.store-link {
  color: #4F46E5;
  font-weight: 700;
}
.cat-nav-link.store-link:hover {
  border-bottom-color: #4F46E5;
}
.badge-verified-mini {
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 2px;
}

/* ==========================================================================
   Beli WhatsApp Floating Support Widget
   ========================================================================== */
.beli-wa-floating-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.beli-wa-float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  position: relative;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.beli-wa-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.beli-wa-float-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse-ring 2s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}
@keyframes wa-pulse-ring {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.beli-wa-float-tooltip {
  position: absolute;
  right: 66px;
  background: #093A66;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
}
.beli-wa-floating-wrap:hover .beli-wa-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}
.beli-wa-popup-card {
  display: none;
  width: 330px;
  max-width: calc(100vw - 32px);
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(9, 58, 102, 0.2);
  border: 1px solid #E2E8F0;
  margin-bottom: 12px;
  overflow: hidden;
  animation: wa-pop-in 0.22s ease-out forwards;
}
.beli-wa-popup-card.open {
  display: block;
}
@keyframes wa-pop-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.beli-wa-header {
  background: #093A66;
  color: #FFFFFF;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.beli-wa-header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.beli-wa-avatar-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  background: #FFFFFF;
  border-radius: 50%;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.beli-wa-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.beli-wa-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #22C55E;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}
.beli-wa-agent-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}
.beli-wa-agent-sub {
  font-size: 0.68rem;
  color: #93C5FD;
}
.beli-wa-close-btn {
  color: #CBD5E1;
  background: rgba(255,255,255,0.12);
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.beli-wa-close-btn:hover {
  background: rgba(255,255,255,0.3);
  color: #FFFFFF;
}
.beli-wa-body {
  padding: 0.9rem;
  background: #FAFBFD;
}
.beli-wa-msg-bubble {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px 8px 8px 2px;
  padding: 0.75rem 0.85rem;
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.beli-wa-chips-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.beli-wa-chips-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.beli-wa-chip-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #093A66;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.beli-wa-chip-btn:hover, .beli-wa-chip-btn.active {
  background: #EEF2FF;
  border-color: #6366F1;
  color: #4338CA;
}
.beli-wa-input-wrap {
  margin-bottom: 0.75rem;
}
.beli-wa-input-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 0.3rem;
}
.beli-wa-textarea {
  width: 100%;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  font-family: inherit;
  font-size: 0.8125rem;
  color: #0F172A;
  background: #FFFFFF;
  resize: none;
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}
.beli-wa-textarea:focus {
  border-color: #25D366;
}
.beli-wa-send-btn {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-size: 0.845rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.beli-wa-send-btn:hover {
  background: #20BA5A;
}
.beli-wa-send-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   Legal & Policy Pages
   ========================================================================== */
.policy-header {
  background: linear-gradient(135deg, #093A66 0%, #062440 100%);
  color: #FFFFFF;
  padding: 3.5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.policy-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}
.policy-subtitle {
  font-size: 0.95rem;
  color: #CBD5E1;
  max-width: 680px;
  margin: 0 auto;
}
.policy-content-wrap {
  max-width: 860px;
  margin: -1.5rem auto 4rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(9, 58, 102, 0.05);
}
.policy-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.policy-meta-badge.blue {
  background: #EFF6FF;
  color: #1D4ED8;
}
.policy-meta-badge.yellow {
  background: #FEF3C7;
  color: #92400E;
}
.policy-meta-badge.green {
  background: #DCFCE7;
  color: #166534;
}
.policy-section {
  margin-bottom: 2.25rem;
}
.policy-section:last-child {
  margin-bottom: 0;
}
.policy-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #093A66;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.policy-section-title i {
  font-size: 1.1rem;
}
.policy-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 0.75rem;
}
.policy-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
}
.policy-list li {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.policy-list li i {
  color: #16A34A;
  margin-top: 4px;
  flex-shrink: 0;
}
.policy-contact-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.policy-alert-box {
  background: #EFF6FF;
  border-left: 4px solid #3B82F6;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
  font-size: 0.875rem;
  color: #1E3A8A;
  line-height: 1.55;
}
.warranty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.warranty-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.15rem;
}
.warranty-card-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #093A66;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.warranty-card-desc {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .policy-content-wrap {
    padding: 1.5rem 1.25rem;
    margin-top: -1rem;
    border-radius: 8px;
  }
  .policy-title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   Tenant Portal Responsive Tables & Mobile Layout
   ========================================================================== */
.tenant-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin-bottom: 0.25rem;
}
.tenant-table-responsive::-webkit-scrollbar {
  height: 6px;
}
.tenant-table-responsive::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.tenant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.tenant-table th {
  background: #F8FAFC;
  border-bottom: 2px solid #E2E8F0;
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748B;
  white-space: nowrap;
}
.tenant-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  vertical-align: middle;
  white-space: nowrap;
}
.tenant-table tr:hover td {
  background: #FAFAFA;
}

/* Wide tables (6-8 columns) with horizontal swipe */
.tenant-table.tenant-table-wide {
  min-width: 600px;
}

/* Dashboard compact 4-column table fits all mobile screens */
.tenant-table-dashboard {
  width: 100%;
  min-width: 100%;
  table-layout: auto;
}
.tenant-table-dashboard th,
.tenant-table-dashboard td {
  padding: 0.55rem 0.4rem;
}
.tenant-table-dashboard td a {
  font-size: 0.75rem;
  font-weight: 700;
}
.tenant-table-dashboard .status-badge {
  padding: 0.2rem 0.45rem;
  font-size: 0.65rem;
}

.mobile-table-scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  .tenant-content {
    padding: 0.75rem !important;
  }
  .tenant-card {
    padding: 0.85rem 0.65rem !important;
    border-radius: 8px;
  }
  .dash-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }
  .dash-stat-card {
    padding: 0.85rem 0.65rem !important;
  }
  .dash-stat-value {
    font-size: 1.35rem !important;
  }
  .tenant-table-dashboard th, 
  .tenant-table-dashboard td {
    padding: 0.5rem 0.35rem !important;
    font-size: 0.73rem !important;
  }
  .mobile-table-scroll-hint {
    display: flex !important;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    color: #6366F1;
    background: #EEF2FF;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
}



