:root {
  --accent-color: #e3421f !important;
  --accent-hover: #c93517 !important;
  --accent-light: rgba(227, 66, 31, 0.1) !important;
}

/* Custom Product Page overrides (hiding main sections, displaying full-page layout) */

body.detail-page-active {
  overflow: auto !important;
}

body.detail-page-active .hero,
body.detail-page-active .categories-nav,
body.detail-page-active #custom-brands-grid,
body.detail-page-active .catalog-section {
  display: none !important;
}

body.checkout-page-active .custom-product-page {
  display: none !important;
}

/* Flex layout to position footer at the bottom visually */
body.detail-page-active #root,
body.checkout-page-active #root {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

body.detail-page-active footer,
body.checkout-page-active footer {
  order: 999 !important;
  display: block !important;
  margin-top: auto !important;
}

/* Custom Product Page Container */
.custom-product-page {
  display: block !important;
  background: var(--bg-primary);
  flex-grow: 1;
}

.product-page-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  color: var(--text-primary);
}

/* Header & Breadcrumbs */
.product-page-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.back-to-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  align-self: flex-start;
  transition: all var(--transition-fast) ease;
}

.back-to-catalog-btn:hover {
  background: var(--border-color);
  transform: translateX(-4px);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Grid Layout */
.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Main Image Section */
.product-image-section .image-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast) ease;
}

.product-image-section .image-wrapper:hover {
  transform: scale(1.02);
}

.product-main-img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 8px;
}

/* Info Section */
.product-info-section {
  display: flex;
  flex-direction: column;
}

.product-category-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.product-main-title {
  font-size: 2.4rem;
  font-family: var(--font-accent);
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.product-sku {
  color: var(--text-secondary);
}

.stock-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.stock-status-badge.in-stock {
  background-color: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.stock-status-badge.on-order {
  background-color: rgba(230, 126, 34, 0.15);
  color: #e67e22;
}

/* Price Section */
.product-price-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price-section .price-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.product-price-section .price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-color);
}

/* Purchase Controls */
.purchase-controls-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.custom-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
  height: 48px;
}

.qty-control-btn {
  background: none;
  border: none;
  width: 44px;
  height: 100%;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-control-btn:hover {
  background: var(--border-color);
}

.qty-control-input {
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  width: 55px;
  height: 100%;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  background: transparent;
  outline: none;
}

/* Hide spin buttons for Chrome, Safari, Edge, Opera */
.qty-control-input::-webkit-outer-spin-button,
.qty-control-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide spin buttons for Firefox */
.qty-control-input[type=number] {
  -moz-appearance: textfield;
}

.add-to-cart-action-btn {
  flex-grow: 1;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color var(--transition-fast) ease;
}

.add-to-cart-action-btn:hover {
  background-color: var(--accent-hover);
}

/* Share Section */
.product-share-section {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.share-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.share-buttons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast) ease;
}

.share-btn.telegram {
  background-color: #24A1DE;
}

.share-btn.vk {
  background-color: #4C75A3;
}

.share-btn.copy {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.share-btn.copy:hover {
  background: var(--border-color);
}

/* Description & Specs Boxes */
.product-description-box,
.product-specs-box {
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.box-title {
  font-size: 1.15rem;
  font-family: var(--font-accent);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.description-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Specs Table */
.specs-table {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.specs-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 0.5rem;
  font-size: 0.92rem;
}

.spec-name {
  color: var(--text-muted);
}

.spec-value {
  font-weight: 600;
  color: var(--text-primary);
}

/* Recommendations styling */
.recommendations-section {
  margin-top: 5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 3rem;
}

.recommendations-title {
  font-size: 1.8rem;
  font-family: var(--font-accent);
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: left;
}

.recommendations-grid {
  margin-top: 1.5rem !important;
}


/* Checkout page overrides */
body.checkout-page-active {
  overflow: auto !important;
}

body.checkout-page-active .hero,
body.checkout-page-active .categories-nav,
body.checkout-page-active #custom-brands-grid,
body.checkout-page-active .catalog-section {
  display: none !important;
}

.custom-checkout-page {
  background: var(--bg-primary);
  flex-grow: 1;
}

.checkout-page-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  color: var(--text-primary);
}

/* Success Panel */
.checkout-success-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Grid layout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Form section */
.checkout-form-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.checkout-actions-row {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .checkout-actions-row {
    flex-direction: column;
  }
}

.checkout-btn {
  flex-grow: 1;
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color var(--transition-fast) ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Cart Summary Card on right */
.checkout-summary-section {
  position: sticky;
  top: 2rem;
}

.checkout-summary-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.card-summary-title {
  font-size: 1.3rem;
  font-family: var(--font-accent);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.8rem;
}

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-height: 350px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  padding-right: 0.5rem;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.summary-item-img-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.summary-item-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.summary-item-info {
  flex-grow: 1;
}

.summary-item-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.summary-item-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkout-empty-cart-msg {
  color: var(--text-muted);
  text-align: center;
  padding: 1.5rem;
  font-style: italic;
}

.checkout-totals-block {
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.totals-row.total-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  border-top: 1px dashed var(--border-color);
  padding-top: 0.8rem;
  margin-top: 0.3rem;
}

.amount-accent {
  color: var(--accent-color);
}

/* MAX button styling next to checkout submit */
.max-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #2e86de; /* MAX messenger blue */
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.max-btn:hover {
  background-color: #1e72c8;
}

/* Toast notification styling */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
  font-weight: 500;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Glass panel standard backdrop-filter fix for Chrome/Firefox/Edge */
.glass-panel {
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Scroll blur effect for the header menu background */
.header-wrapper.glass-panel {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.header-wrapper.glass-panel.scrolled {
  background: rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-sm) !important;
}

[data-theme=dark] .header-wrapper.glass-panel.scrolled {
  background: rgba(30, 26, 23, 0.8) !important;
}

/* Footer logo clickable cursor styling */
.footer-logo {
  cursor: pointer;
  user-select: none;
}

/* Product Card Footer Controls & Qty selector */
.card-footer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
  gap: 0.5rem;
}

.card-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-secondary);
  height: 34px;
}

.card-qty-btn {
  background: none;
  border: none;
  width: 30px;
  height: 100%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.card-qty-btn:hover {
  background: var(--border-color);
}

.card-qty-input {
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  width: 35px;
  height: 100%;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  background: transparent;
  outline: none;
}

.card-buy-btn {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  height: 34px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast) ease;
}

.card-buy-btn:hover {
  background-color: var(--accent-hover);
}

.card-price-display {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 0.5rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 0.5rem;
}

/* Hide original price and button in cards */
.product-card .card-footer {
  display: none !important;
}

/* Catalog Grid Layout overrides to expand sidebar space */
.catalog-grid {
  grid-template-columns: 295px 1fr !important;
  gap: 1.8rem !important;
}

/* Premium Sidebar Container */
.filters-sidebar {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  padding: 1.2rem 0.9rem !important;
  box-shadow: var(--shadow-sm) !important;
  position: sticky !important;
  top: 165px !important;
  transition: all 0.3s ease !important;
}

.filters-sidebar:hover {
  box-shadow: var(--shadow-md) !important;
}

.filter-group {
  margin-bottom: 1.2rem !important;
}

/* Sidebar Title Styling */
.filter-title {
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  color: var(--text-secondary) !important;
  margin-bottom: 0.8rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  border-left: 3px solid var(--accent-color) !important;
  padding-left: 0.5rem !important;
}

/* Price Inputs Styling */
.price-inputs {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  margin-top: 0.5rem !important;
}

.price-inputs span {
  color: var(--text-muted) !important;
}

.price-input {
  width: 100% !important;
  background-color: var(--bg-primary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 6px !important;
  padding: 0.45rem 0.6rem !important;
  font-size: 0.85rem !important;
  color: var(--text-primary) !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  -moz-appearance: textfield !important;
}

.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.price-input:focus {
  border-color: var(--accent-color) !important;
  background-color: var(--bg-secondary) !important;
  box-shadow: 0 0 0 3px var(--accent-light) !important;
}

/* Category Filter List */
.filter-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.2rem !important;
  max-height: 380px !important;
  overflow-y: auto !important;
  padding-right: 6px !important;
}

/* Custom scrollbar for category list */
.filter-list::-webkit-scrollbar {
  width: 4px !important;
}

.filter-list::-webkit-scrollbar-track {
  background: transparent !important;
}

.filter-list::-webkit-scrollbar-thumb {
  background: var(--border-color) !important;
  border-radius: 4px !important;
}

.filter-list::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted) !important;
}

/* Category Filter Item Row */
.filter-item {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  padding: 0.35rem 0.45rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: all 0.2s ease !important;
  border: 1px solid transparent !important;
  gap: 0.4rem !important;
}

.filter-item:hover {
  background-color: var(--bg-primary) !important;
  border-color: var(--border-color) !important;
}

/* Active Category Item */
.filter-item:has(input[type="checkbox"]:checked) {
  background-color: var(--accent-light) !important;
  border-color: rgba(211, 84, 0, 0.12) !important;
}

.filter-item:has(input[type="checkbox"]:checked) .filter-checkbox {
  color: var(--accent-color) !important;
  font-weight: 600 !important;
}

/* Custom Checkbox Design */
.filter-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  color: var(--text-primary) !important;
  font-size: 0.85rem !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
  text-align: left !important;
  flex-grow: 1 !important;
}

/* Customize the input checkbox */
.filter-checkbox input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 14px !important;
  height: 14px !important;
  border: 1.5px solid var(--text-muted) !important;
  border-radius: 3px !important;
  background-color: var(--bg-secondary) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.filter-checkbox input[type="checkbox"]:checked {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}

.filter-checkbox input[type="checkbox"]:checked::after {
  content: "" !important;
  width: 3.5px !important;
  height: 6.5px !important;
  border: solid white !important;
  border-width: 0 1.5px 1.5px 0 !important;
  transform: rotate(45deg) !important;
  position: absolute !important;
  top: 1px !important;
  left: 3.5px !important;
}

/* Badge Count Styling */
.filter-count {
  background-color: var(--bg-primary) !important;
  color: var(--text-secondary) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 1px 5px !important;
  border-radius: 10px !important;
  border: 1px solid var(--border-color) !important;
  transition: all 0.2s ease !important;
  min-width: 22px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

.filter-item:hover .filter-count {
  background-color: var(--bg-secondary) !important;
  border-color: var(--text-muted) !important;
  color: var(--text-primary) !important;
}

.filter-item:has(input[type="checkbox"]:checked) .filter-count {
  background-color: var(--accent-color) !important;
  color: white !important;
  border-color: var(--accent-color) !important;
}

/* Showing count text style */
.filters-sidebar p {
  font-size: 0.8rem !important;
  color: var(--text-secondary) !important;
  border-top: 1px dashed var(--border-color) !important;
  padding-top: 0.8rem !important;
  margin-top: 1.2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.filters-sidebar p b {
  color: var(--accent-color) !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
}

/* Hero section layout updates */
.hero {
  position: relative !important;
  overflow: hidden !important;
  padding: 4rem 0 !important;
  background-image: url('/assets/hero_background.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero-overlay {
  background: linear-gradient(to right, rgba(250, 248, 245, 0.97) 0%, rgba(250, 248, 245, 0.9) 45%, rgba(250, 248, 245, 0.45) 100%) !important;
}

[data-theme="dark"] .hero-overlay {
  background: linear-gradient(to right, rgba(30, 26, 23, 0.97) 0%, rgba(30, 26, 23, 0.9) 45%, rgba(30, 26, 23, 0.45) 100%) !important;
}

@media (max-width: 992px) {
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(250, 248, 245, 0.97) 0%, rgba(250, 248, 245, 0.88) 100%) !important;
  }
  [data-theme="dark"] .hero-overlay {
    background: linear-gradient(to bottom, rgba(30, 26, 23, 0.97) 0%, rgba(30, 26, 23, 0.88) 100%) !important;
  }
}

.hero-container-grid {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 3.5rem !important;
  align-items: center !important;
  position: relative !important;
  z-index: 2 !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

@media (max-width: 992px) {
  .hero-container-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* Left Column: Marketing & Highlights */
.hero-marketing-col {
  text-align: left !important;
}

.hero-tag {
  background-color: var(--accent-light) !important;
  color: var(--accent-color) !important;
  padding: 0.35rem 0.9rem !important;
  border-radius: 20px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  display: inline-block !important;
  margin-bottom: 1.2rem !important;
}

.hero-title {
  font-size: 3rem !important;
  line-height: 1.15 !important;
  font-family: var(--font-accent) !important;
  color: #111111 !important;
  margin-bottom: 1.2rem !important;
  font-weight: 800 !important;
}

[data-theme="dark"] .hero-title {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem !important;
  }
}

.hero-desc {
  font-size: 1.05rem !important;
  color: #2f3640 !important;
  margin-bottom: 2rem !important;
  line-height: 1.5 !important;
}

[data-theme="dark"] .hero-desc {
  color: rgba(255, 255, 255, 0.8) !important;
}

.hero-highlights {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.2rem !important;
}

.highlight-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
}

.highlight-icon-box {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background-color: var(--bg-secondary) !important;
  border: 1px solid var(--border-color) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem !important;
  flex-shrink: 0 !important;
  box-shadow: var(--shadow-sm) !important;
}

.highlight-text-box h4 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #111111 !important;
  margin-bottom: 0.2rem !important;
}

[data-theme="dark"] .highlight-text-box h4 {
  color: #ffffff !important;
}

.highlight-text-box p {
  font-size: 0.88rem !important;
  color: #2f3640 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

[data-theme="dark"] .highlight-text-box p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Right Column: Dynamic Calculator Card */
.hero-calculator-col {
  width: 100% !important;
}

.calc-card {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: var(--shadow-md) !important;
  text-align: left !important;
}

[data-theme="dark"] .calc-card {
  background: rgba(30, 26, 23, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.calc-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  margin-bottom: 0.3rem !important;
}

.calc-subtitle {
  font-size: 0.85rem !important;
  color: var(--text-secondary) !important;
  margin-bottom: 1.5rem !important;
}

.calc-tabs {
  display: flex !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background-color: var(--bg-primary) !important;
  margin-bottom: 1.5rem !important;
}

.calc-tab-btn {
  flex: 1 !important;
  border: none !important;
  background: none !important;
  padding: 0.6rem 0.5rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
}

.calc-tab-btn.active {
  background-color: var(--accent-color) !important;
  color: #ffffff !important;
}

.calc-input-section {
  margin-bottom: 1.5rem !important;
}

.calc-input-labels {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  margin-bottom: 0.6rem !important;
}

.calc-area-val {
  color: var(--accent-color) !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
}

.calc-slider {
  width: 100% !important;
  height: 6px !important;
  border-radius: 3px !important;
  background: var(--border-color) !important;
  outline: none !important;
  -webkit-appearance: none !important;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: var(--accent-color) !important;
  cursor: pointer !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform 0.1s !important;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2) !important;
}

.calc-results {
  background-color: var(--bg-primary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 10px !important;
  padding: 1.2rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.8rem !important;
  margin-bottom: 1.5rem !important;
}

.calc-result-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.88rem !important;
  color: var(--text-secondary) !important;
}

.calc-result-row.total-row {
  border-top: 1px dashed var(--border-color) !important;
  padding-top: 0.8rem !important;
  margin-top: 0.2rem !important;
}

.calc-result-row .result-value {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
}

.calc-result-row .result-value.price {
  color: var(--accent-color) !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
}

.calc-action-btn {
  width: 100% !important;
  background-color: var(--accent-color) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.8rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background-color var(--transition-fast) ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.calc-action-btn:hover {
  background-color: var(--accent-hover) !important;
}

/* ==================== NEW SITE FEATURES CSS ==================== */

/* Brands Stories Slider */
.brands-stories-wrapper {
  margin: 2rem auto 1rem auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 1.5rem;
}

.brands-stories-title {
  font-size: 1.3rem;
  font-family: var(--font-accent);
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  text-align: left;
  border-left: 4px solid var(--accent-color);
  padding-left: 0.8rem;
  font-weight: 700;
}

.stories-container-outer {
  position: relative;
  width: 100%;
}

.brands-stories-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 0.2rem 1rem 0.2rem;
  scrollbar-width: none; /* Hide standard scrollbar */
  -ms-overflow-style: none;
}

.brands-stories-container::-webkit-scrollbar {
  display: none; /* Hide Chrome/Safari scrollbar */
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  flex-shrink: 0;
  width: 90px;
  transition: transform var(--transition-fast) ease;
}

.story-item:hover {
  transform: translateY(-2px);
}

.story-circle-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 3px;
  background: var(--border-color);
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-item.active .story-circle-wrapper {
  background: linear-gradient(45deg, var(--accent-color), #f39c12);
}

.story-item:hover .story-circle-wrapper {
  background: var(--accent-color);
}

.story-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast) ease;
}

.story-item:hover .story-img {
  transform: scale(1.1);
}

.story-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  letter-spacing: -0.2px;
}

.story-item.active .story-label {
  color: var(--accent-color);
  font-weight: 700;
}

.brand-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-color);
}

.brand-card.active .brand-card-count {
  color: var(--accent-color);
}

/* Floating Compare Toggle inside Card */
.card-compare-toggle-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast) ease;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
}

[data-theme="dark"] .card-compare-toggle-btn {
  background: rgba(30, 26, 23, 0.95);
  color: #bbb;
}

.card-compare-toggle-btn:hover {
  transform: scale(1.1);
  background: var(--accent-light);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.card-compare-toggle-btn.active {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

/* Sticky Compare Bar */
.compare-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 998;
  padding: 1rem 0;
}

[data-theme="dark"] .compare-sticky-bar {
  background: rgba(30, 26, 23, 0.92);
}

.compare-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.compare-bar-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.compare-bar-icon {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
}

.compare-bar-actions {
  display: flex;
  gap: 0.8rem;
}

.compare-btn-show {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 0.9rem;
}

.compare-btn-show:hover {
  background-color: var(--accent-hover);
}

.compare-btn-clear {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.compare-btn-clear:hover {
  background-color: var(--border-color);
  color: var(--text-primary);
}

/* Compare Modal Overlay */
.compare-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.compare-modal-body {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 1100px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.compare-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  z-index: 1020;
}

.compare-modal-close:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

.compare-modal-title {
  font-size: 1.8rem;
  font-family: var(--font-accent);
  color: var(--text-primary);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.8rem;
}

.compare-table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table tr {
  border-bottom: 1px solid var(--border-color);
}

.compare-table tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .compare-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.compare-table td {
  padding: 1.2rem;
  vertical-align: middle;
  min-width: 200px;
  color: var(--text-primary);
}

.compare-table td.spec-header-col {
  font-weight: 700;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  min-width: 160px;
  width: 180px;
  position: sticky;
  left: 0;
  z-index: 5;
}

.compare-product-header {
  position: relative;
  text-align: center;
}

.compare-remove-item-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.75rem;
}

.compare-remove-item-btn:hover {
  background: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
}

.compare-img-box {
  width: 120px;
  height: 120px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem auto;
  overflow: hidden;
}

.compare-img-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.compare-product-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-top: 0.5rem;
  height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compare-price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-color);
}

.compare-sku-val {
  font-family: monospace;
  font-size: 0.9rem;
}

.compare-add-to-cart-btn {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.compare-add-to-cart-btn:hover {
  background-color: var(--accent-hover);
}

/* Floating Callback Button */
.callback-floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.4);
  transition: all 0.3s ease;
}

.callback-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(211, 84, 0, 0.6);
}

.callback-btn-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--accent-color);
  opacity: 0.4;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Callback Modal */
.callback-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callback-modal-body {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  width: 90%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.callback-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.callback-modal-close:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

.callback-form-title {
  font-size: 1.5rem;
  font-family: var(--font-accent);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.callback-form-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  line-height: 1.4;
}

.callback-submit-btn {
  width: 100%;
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.9rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color var(--transition-fast) ease;
  margin-top: 1.5rem;
}

.callback-submit-btn:hover {
  background-color: var(--accent-hover);
}

/* Success View */
.callback-success-view {
  text-align: center;
  padding: 1.5rem 0;
}

.success-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 1.2rem auto;
}

.callback-success-view h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.callback-success-view p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.8rem;
}

.callback-success-close-btn {
  background-color: var(--border-color);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.7rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.callback-success-close-btn:hover {
  background: var(--text-muted);
  color: #fff;
}

/* Calculator Page Container */
.calculator-page-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  color: var(--text-primary);
}

.calc-header-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  line-height: 1.5;
}

/* Tab controls */
.calculator-tabs-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 600px) {
  .calculator-tabs-row {
    flex-direction: column;
  }
}

.calculator-tab-large-btn {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.calculator-tab-large-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-sm);
}

.calculator-tab-large-btn.active {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.25);
}

/* Calculator main grid */
.calculator-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .calculator-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.calculator-inputs-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.calculator-results-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.calc-section-title {
  font-size: 1.3rem;
  font-family: var(--font-accent);
  color: var(--text-primary);
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.8rem;
}

.calc-label-highlight {
  color: var(--accent-color);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Input Styles */
.calc-slider-full {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
  margin: 0.8rem 0;
}

.calc-slider-full::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s;
}

.calc-slider-full::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-num-input {
  max-width: 120px;
  margin-top: 0.5rem;
}

/* Radio buttons styled as toggles */
.calc-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.calc-radio-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
  font-weight: 600;
}

.calc-radio-label input[type="radio"] {
  accent-color: var(--accent-color);
  width: 16px;
  height: 16px;
}

.calc-radio-label:hover {
  border-color: var(--accent-color);
  background: var(--bg-secondary);
}

.calc-radio-label.active {
  border-color: var(--accent-color);
  background-color: var(--accent-light);
}

/* Results block */
.calc-final-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.calc-result-value {
  font-weight: 700;
  color: var(--text-primary);
}

.calc-result-divider {
  border-top: 1px dashed var(--border-color);
  margin: 0.5rem 0;
}

.calc-result-item.total-item {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.calc-result-value.accent-price {
  color: var(--accent-color);
  font-size: 1.6rem;
  font-weight: 800;
}

.calc-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 1.8rem;
  background: var(--bg-primary);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent-color);
}

/* Recommendations inside calc */
.calculator-recommendations-wrapper {
  border-top: 1px solid var(--border-color);
  padding-top: 3rem;
  margin-top: 2rem;
}

.calc-recommendations-title {
  font-size: 1.6rem;
  font-family: var(--font-accent);
  color: var(--text-primary);
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-color);
  padding-left: 0.8rem;
}

.calc-no-products {
  color: var(--text-muted);
  font-style: italic;
}

/* Color Filter Circle Preview */
.color-preview-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

[data-theme="dark"] .color-preview-circle {
  border-color: rgba(255, 255, 255, 0.2);
}

.color-filter-item {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  transition: all 0.2s ease;
}

.color-filter-item:hover {
  color: var(--accent-color) !important;
}

.color-filter-item.active {
  font-weight: 600;
  color: var(--accent-color) !important;
}

/* ==================== COMPLETE MOBILE & RESPONSIVE ADAPTATIONS ==================== */

/* Hide original phone link if custom multi-phone block has loaded */
.header-actions.has-custom-phones > .phone-link,
.header-actions:has(#custom-header-phones) > .phone-link {
  display: none !important;
}

@media (max-width: 1024px) {
  /* 1. Header & Navigation Menu */
  .header-wrapper {
    position: static !important;
    padding: 0.5rem 0 !important;
  }
  
  .nav-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0.5rem 1rem !important;
    height: auto !important;
  }

  /* Force first child (logo + links) to stack vertically */
  .nav-container > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin: 0 auto !important;
    font-size: 1.4rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .nav-links {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1.25rem !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .nav-link {
    font-size: 0.95rem !important;
    padding: 0.3rem 0.6rem !important;
  }

  /* Search bar full width */
  .search-bar {
    width: 100% !important;
    margin: 0 !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }

  .search-input {
    width: 100% !important;
    font-size: 0.95rem !important;
    padding: 0.6rem 1rem 0.6rem 2.5rem !important;
  }

  /* Header actions structured layout */
  .header-actions {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-top: 0.2rem !important;
  }

  /* Style original phone link if it is the only one */
  .header-actions:not(:has(#custom-header-phones)) > .phone-link {
    grid-column: 1 / span 2 !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    color: var(--text-primary) !important;
    margin-bottom: 0.25rem !important;
  }

  /* Style custom phones block */
  #custom-header-phones {
    grid-column: 1 / span 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 4px !important;
    margin-bottom: 0.25rem !important;
  }

  #custom-header-phones .phone-link {
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-primary) !important;
    gap: 0.25rem !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    background: none !important;
  }

  .cart-btn {
    grid-column: 1 !important;
    justify-self: stretch !important;
    text-align: center !important;
    padding: 0.6rem 1.2rem !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .theme-toggle {
    grid-column: 2 !important;
    justify-self: end !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
  }

  /* 2. Catalog Page Layout Stacking */
  .catalog-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .filters-sidebar {
    position: static !important;
    padding: 1.2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure category checklist in sidebar is displayed on mobile inside the drawer */
  .filters-sidebar .filter-group:nth-child(2) {
    display: block !important;
  }

  /* 3. Color Filters as Pills on Mobile */
  .color-filter-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .color-filter-item {
    flex: 0 0 auto !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0.4rem 0.8rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    background: var(--bg-primary) !important;
    font-size: 0.85rem !important;
    gap: 0.3rem !important;
  }

  .color-filter-item > span {
    display: flex !important;
    align-items: center !important;
  }

  .color-filter-item.active {
    border-color: var(--accent-color) !important;
    background: var(--accent-light) !important;
  }

  .color-filter-item .filter-count {
    font-size: 0.75rem !important;
    background: var(--bg-secondary) !important;
    padding: 0.1rem 0.35rem !important;
    border-radius: 10px !important;
    color: var(--text-muted) !important;
    position: static !important;
    display: inline-block !important;
    margin-left: 4px !important;
  }

  /* 4. Product Details Page responsive paddings */
  .product-page-container {
    padding: 1.5rem 1rem !important;
  }

  .product-main-img {
    max-height: 280px !important;
  }

  .product-image-section .image-wrapper {
    padding: 1rem !important;
  }

  /* 5. Checkout Page responsive paddings */
  .checkout-page-container {
    padding: 1.5rem 1rem !important;
  }

  .checkout-form-section {
    padding: 1.5rem !important;
  }

  .checkout-summary-card {
    padding: 1.5rem !important;
  }

  /* 6. Brands Stories responsive overrides */
  .brands-stories-wrapper {
    padding: 0 1rem !important;
  }

  /* 7. Calculator page responsive layout */
  .calculator-inputs-card,
  .calculator-results-card {
    padding: 1.5rem !important;
  }

  .calc-card {
    padding: 1.25rem !important;
  }
}

/* 8. Product Card Controls for very small screens */
@media (max-width: 576px) {
  .card-footer-controls {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.4rem !important;
  }

  .card-qty-selector {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .card-qty-btn {
    flex: 1 !important;
  }

  .card-qty-input {
    width: 50px !important;
  }

  .card-buy-btn {
    width: 100% !important;
    padding: 0.5rem !important;
  }
}

/* 9. Shift Callback button above comparison sticky bar */
body:has(.compare-sticky-bar) .callback-floating-btn {
  bottom: 5.5rem !important;
}

/* 10. Additional Mobile Refinements */

@media (max-width: 768px) {
  /* Compare Modal Optimizations */
  .compare-modal-overlay {
    padding: 1rem !important;
  }
  .compare-modal-body {
    padding: 1.5rem 1.2rem !important;
    max-height: 90vh !important;
    border-radius: 12px !important;
  }
  .compare-modal-title {
    font-size: 1.4rem !important;
    margin-bottom: 1.2rem !important;
    padding-bottom: 0.5rem !important;
  }
  .compare-modal-close {
    top: 1rem !important;
    right: 1rem !important;
    width: 32px !important;
    height: 32px !important;
  }
  
  /* CRM Sidebar Horizontal Menu */
  .crm-layout {
    grid-template-columns: 1fr !important;
  }
  .crm-sidebar {
    position: static !important;
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 1rem !important;
    gap: 1rem !important;
  }
  .crm-sidebar-title {
    text-align: center !important;
    font-size: 1.3rem !important;
  }
  .crm-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    margin: 0.5rem 0 0 0 !important;
  }
  .crm-menu-item {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.85rem !important;
    border-radius: 20px !important;
    width: auto !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  .crm-content {
    padding: 1.2rem 1rem !important;
  }
  .crm-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

@media (max-width: 576px) {
  /* Compare Sticky Bar Stacking */
  .compare-sticky-bar {
    padding: 0.75rem 0 !important;
  }
  .compare-bar-container {
    flex-direction: column !important;
    gap: 0.6rem !important;
    align-items: stretch !important;
    padding: 0 1rem !important;
  }
  .compare-bar-info {
    justify-content: center !important;
    font-size: 0.85rem !important;
    gap: 0.5rem !important;
  }
  .compare-bar-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .compare-btn-show,
  .compare-btn-clear {
    width: 100% !important;
    padding: 0.5rem 0.8rem !important;
    font-size: 0.85rem !important;
    text-align: center !important;
    margin: 0 !important;
  }

  /* Shift Callback floating button higher if stacked compare bar is active */
  body:has(.compare-sticky-bar) .callback-floating-btn {
    bottom: 7.5rem !important;
  }

  /* Product Details Purchase Controls Stacking */
  .purchase-controls-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.8rem !important;
  }
  .custom-qty-selector {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .qty-control-btn {
    flex: 1 !important;
  }
  .qty-control-input {
    width: 60px !important;
    text-align: center !important;
  }
  .add-to-cart-action-btn {
    width: 100% !important;
    justify-content: center !important;
    height: 48px !important;
  }

  /* Callback Modal Padding */
  .callback-modal-body {
    padding: 1.5rem 1.2rem !important;
  }
}

/* ==================== WEB APP MOBILE LAYOUT & OVERLAYS ==================== */

@media (max-width: 768px) {
  /* 1. Global Reset to Prevent Horizontal Overflow */
  html, body, #root, .app-container {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  body {
    padding-bottom: 64px !important; /* Space for bottom tab bar */
  }

  /* Catalog grid & wrapper adjustments */
  .catalog-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  .products-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Products 2-column Grid fitting screen */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Compact Product Cards */
  .product-card {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .product-card img {
    height: 120px !important;
    object-fit: cover !important;
  }

  .card-content {
    padding: 0.6rem !important;
  }

  .card-title {
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.4rem !important;
    height: 2.5em !important;
  }

  /* 2. Slide-up Filters Drawer */
  body .filters-sidebar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 15% !important;
    z-index: 1000 !important;
    width: 100% !important;
    height: 85% !important;
    border-radius: 20px 20px 0 0 !important;
    background: var(--bg-secondary) !important;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.15) !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow-y: auto !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
    border: 1px solid var(--border-color) !important;
  }

  body.filters-drawer-open .filters-sidebar {
    transform: translateY(0) !important;
  }

  /* Filters Drawer Header */
  #custom-filters-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 1px solid var(--border-color) !important;
  }

  #custom-filters-header h3 {
    margin: 0 !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
  }

  #custom-filters-close-btn {
    background: none !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    cursor: pointer !important;
  }

  /* Filters Backdrop */
  #custom-filters-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(4px) !important;
    display: none;
    animation: fadeIn 0.2s ease;
  }

  /* 3. Bottom Tab Navigation Bar */
  #custom-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 998 !important;
    height: 64px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 0.5rem !important;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.03) !important;
  }

  [data-theme="dark"] #custom-bottom-nav {
    background: rgba(30, 26, 23, 0.85) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .nav-tab {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    color: var(--text-muted) !important;
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    gap: 4px !important;
    height: 100% !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
  }

  .nav-tab svg {
    color: var(--text-muted) !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
  }

  .nav-tab.active,
  .nav-tab.active svg {
    color: var(--accent-color) !important;
  }

  .nav-tab:active svg {
    transform: scale(0.9) !important;
  }

  .tab-badge {
    position: absolute !important;
    top: -4px !important;
    right: 15px !important;
    background: var(--accent-color) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid var(--bg-secondary) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  }
}

/* 4. Hide callback floating button when cart, comparison, or filters drawers are open */
body.cart-drawer-open .callback-floating-btn,
body.filters-drawer-open .callback-floating-btn,
body.compare-modal-open .callback-floating-btn {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==================== WEB APP MOBILE BUGS FIXES ==================== */

@media (max-width: 1024px) {
  /* Hide the 400px empty spacer div that stretches header on Contacts and Calculator routes */
  .nav-container > div:nth-child(2):not(.search-bar) {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Shift sticky comparison bar above the bottom navigation bar */
  .compare-sticky-bar {
    bottom: 64px !important;
  }

  /* Position floating callback button above bottom navigation bar and make it more compact/unobtrusive */
  .callback-floating-btn {
    bottom: 80px !important;
    right: 1rem !important;
    width: 48px !important;
    height: 48px !important;
    box-shadow: 0 3px 12px rgba(227, 66, 31, 0.3) !important;
  }

  /* Shift callback button higher if the sticky comparison bar is active */
  body:has(.compare-sticky-bar) .callback-floating-btn {
    bottom: 136px !important;
  }

  /* Position cart drawer above the bottom navigation bar to keep checkout button visible */
  .cart-drawer {
    bottom: 64px !important;
    height: calc(100% - 64px) !important;
  }
}

@media (max-width: 576px) {
  /* Shift callback button even higher on very narrow screens where comparison bar stacks */
  body:has(.compare-sticky-bar) .callback-floating-btn {
    bottom: 170px !important;
  }
}

/* ==========================================================================
   LIQUID GLASS 2026 DESIGN SYSTEM OVERRIDES
   ========================================================================== */

/* Design Tokens */
:root {
  --bg-glass-card-light: rgba(255, 255, 255, 0.45);
  --bg-glass-card-dark: rgba(21, 26, 38, 0.45);
  --border-glass-light: rgba(255, 255, 255, 0.35);
  --border-glass-dark: rgba(255, 255, 255, 0.08);
  --glass-shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  --glass-shadow-dark: 0 12px 40px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --accent-glass-glow: rgba(227, 66, 31, 0.15);
}

/* Translucent Fluid Background */
html, body, #root {
  background: transparent !important;
}

body {
  background-color: rgba(251, 249, 246, 0.45) !important;
  transition: background-color 0.3s ease !important;
}

[data-theme="dark"] body {
  background-color: rgba(18, 16, 14, 0.55) !important;
}

/* Liquid Blobs Container & Keyframes */
.liquid-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  mix-blend-mode: plus-lighter;
  animation: liquid-float 22s infinite alternate ease-in-out;
}

[data-theme="light"] .liquid-blob {
  mix-blend-mode: multiply;
  opacity: 0.35;
}

[data-theme="dark"] .liquid-blob {
  mix-blend-mode: screen;
  opacity: 0.45;
}

.blob-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(227, 66, 31, 0.5) 0%, rgba(227, 66, 31, 0) 70%);
  top: -10%;
  left: -5%;
  animation-duration: 18s;
}

.blob-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(99, 102, 241, 0) 70%);
  bottom: -15%;
  right: -5%;
  animation-duration: 26s;
  animation-delay: -4s;
}

.blob-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.3) 0%, rgba(20, 184, 166, 0) 70%);
  top: 35%;
  right: -10%;
  animation-duration: 22s;
  animation-delay: -9s;
}

.blob-4 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, rgba(245, 158, 11, 0) 70%);
  bottom: 15%;
  left: -10%;
  animation-duration: 30s;
  animation-delay: -14s;
}

@keyframes liquid-float {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(50px, -70px) scale(1.15) rotate(120deg);
  }
  66% {
    transform: translate(-40px, 40px) scale(0.9) rotate(240deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
  }
}

/* Glassmorphic Elements */
.glass-panel,
.product-card,
.filters-sidebar,
.cart-drawer,
.modal-body,
.callback-modal-body,
.contact-info-card,
.feedback-form-container,
.calculator-inputs-card,
.calculator-results-card,
.crm-sidebar,
.login-card,
.crm-stat-card {
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  background-color: var(--bg-glass-card-light) !important;
  border: 1px solid var(--border-glass-light) !important;
  box-shadow: var(--glass-shadow-light) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

[data-theme="dark"] .glass-panel,
[data-theme="dark"] .product-card,
[data-theme="dark"] .filters-sidebar,
[data-theme="dark"] .cart-drawer,
[data-theme="dark"] .modal-body,
[data-theme="dark"] .callback-modal-body,
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .feedback-form-container,
[data-theme="dark"] .calculator-inputs-card,
[data-theme="dark"] .calculator-results-card,
[data-theme="dark"] .crm-sidebar,
[data-theme="dark"] .login-card,
[data-theme="dark"] .crm-stat-card {
  background-color: var(--bg-glass-card-dark) !important;
  border: 1px solid var(--border-glass-dark) !important;
  box-shadow: var(--glass-shadow-dark) !important;
}

/* Floating Navigation Header (Desktop) */
@media (min-width: 769px) {
  .header-wrapper.glass-panel {
    position: fixed !important;
    top: 20px !important;
    left: 5% !important;
    right: 5% !important;
    width: 90% !important;
    border-radius: 24px !important;
    z-index: 1000 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  
  /* Dock scrolled header wrapper at the very top of the viewport */
  .header-wrapper.glass-panel.scrolled {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
  }
  
  /* Prevent overlap by shifting main content down */
  body:not(.detail-page-active):not(.checkout-page-active) .hero {
    margin-top: 110px !important;
    border-radius: 30px !important;
    overflow: hidden !important;
  }

  /* Shift custom pages down to make top buttons and content visible under the fixed header */
  body.detail-page-active .custom-product-page,
  body.checkout-page-active .custom-checkout-page,
  body.calculator-page-active .calculator-page-wrapper,
  .contacts-page {
    padding-top: 110px !important;
  }

  /* Sticky categories nav bar sits flush below the docked scrolled header (70px height) */
  .categories-nav {
    position: sticky !important;
    top: 70px !important;
    z-index: 99 !important;
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  }
  [data-theme=dark] .categories-nav {
    background: rgba(21, 26, 38, 0.45) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
}

/* Floating Navigation Bottom Dock (Mobile) */
@media (max-width: 768px) {
  #custom-bottom-nav {
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    width: calc(100% - 32px) !important;
    border-radius: 24px !important;
    height: 66px !important;
    background-color: var(--bg-glass-card-light) !important;
    border: 1px solid var(--border-glass-light) !important;
    box-shadow: var(--glass-shadow-light) !important;
  }
  
  [data-theme="dark"] #custom-bottom-nav {
    background-color: var(--bg-glass-card-dark) !important;
    border: 1px solid var(--border-glass-dark) !important;
    box-shadow: var(--glass-shadow-dark) !important;
  }
}

/* Product Card Specific Styles */
.product-card {
  border-radius: 20px !important;
  overflow: hidden !important;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-color: rgba(227, 66, 31, 0.35) !important;
  box-shadow: 0 16px 40px 0 rgba(227, 66, 31, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .product-card:hover {
  border-color: rgba(227, 66, 31, 0.45) !important;
  box-shadow: 0 16px 40px 0 rgba(227, 66, 31, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Acrylic Gel Buttons */
.buy-btn,
.checkout-btn,
.detail-add-btn,
.crm-btn,
.back-to-catalog-btn,
.callback-floating-btn {
  background: linear-gradient(135deg, rgba(227, 66, 31, 0.85) 0%, rgba(227, 66, 31, 0.7) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(227, 66, 31, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.buy-btn:hover,
.checkout-btn:hover,
.detail-add-btn:hover,
.crm-btn:hover,
.back-to-catalog-btn:hover,
.callback-floating-btn:hover {
  background: linear-gradient(135deg, rgba(227, 66, 31, 1) 0%, rgba(227, 66, 31, 0.85) 100%) !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 12px 28px rgba(227, 66, 31, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.buy-btn:active,
.checkout-btn:active,
.detail-add-btn:active,
.crm-btn:active,
.back-to-catalog-btn:active,
.callback-floating-btn:active {
  transform: translateY(1px) scale(0.98) !important;
}

/* Scroll Blur Scrolled State Updates */
.header-wrapper.glass-panel.scrolled {
  background: var(--bg-glass-card-light) !important;
  border-bottom: 1px solid var(--border-glass-light) !important;
  box-shadow: var(--glass-shadow-light) !important;
}

[data-theme=dark] .header-wrapper.glass-panel.scrolled {
  background: var(--bg-glass-card-dark) !important;
  border-bottom: 1px solid var(--border-glass-dark) !important;
  box-shadow: var(--glass-shadow-dark) !important;
}

/* Category Pill Glass Style */
.category-pill {
  background: rgba(255, 255, 255, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 12px !important;
  color: var(--text-primary) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

[data-theme=dark] .category-pill {
  background: rgba(21, 26, 38, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.category-pill.active {
  background: linear-gradient(135deg, rgba(227, 66, 31, 0.9) 0%, rgba(227, 66, 31, 0.75) 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 16px rgba(227, 66, 31, 0.25) !important;
  border-radius: 12px !important;
}

/* ==========================================================================
   ADVANCED LIQUID GLASS 2026 REFINEMENTS
   ========================================================================== */

/* Advanced Refracting Borders */
.product-card,
.header-wrapper.glass-panel,
.categories-nav,
.filters-sidebar,
.cart-drawer,
.modal-body,
.callback-modal-body,
.contact-info-card,
.feedback-form-container,
.calculator-inputs-card,
.calculator-results-card {
  border: 1px solid transparent !important;
  background-clip: padding-box, border-box !important;
  background-origin: padding-box, border-box !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card {
  background-image: linear-gradient(var(--bg-glass-card-light), var(--bg-glass-card-light)), 
                    linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(227, 66, 31, 0.2) 100%) !important;
}
[data-theme="dark"] .product-card {
  background-image: linear-gradient(var(--bg-glass-card-dark), var(--bg-glass-card-dark)), 
                    linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(227, 66, 31, 0.25) 100%) !important;
}

.header-wrapper.glass-panel {
  background-image: linear-gradient(var(--bg-glass-card-light), var(--bg-glass-card-light)), 
                    linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(99, 102, 241, 0.15) 100%) !important;
}
[data-theme="dark"] .header-wrapper.glass-panel {
  background-image: linear-gradient(var(--bg-glass-card-dark), var(--bg-glass-card-dark)), 
                    linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(99, 102, 241, 0.2) 100%) !important;
}

.categories-nav {
  background-image: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)), 
                    linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(227, 66, 31, 0.1) 100%) !important;
}
[data-theme="dark"] .categories-nav {
  background-image: linear-gradient(rgba(21, 26, 38, 0.45), rgba(21, 26, 38, 0.45)), 
                    linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.01) 50%, rgba(227, 66, 31, 0.15) 100%) !important;
}

/* Card Glow Shadows on Hover */
.product-card:hover {
  transform: translateY(-8px) scale(1.025) !important;
  box-shadow: 0 20px 40px rgba(227, 66, 31, 0.15), 0 0 0 1px rgba(227, 66, 31, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}
[data-theme="dark"] .product-card:hover {
  box-shadow: 0 20px 45px rgba(227, 66, 31, 0.25), 0 0 0 1px rgba(227, 66, 31, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Hollow Glass Inputs */
.search-input,
.price-input,
.form-input,
.status-select,
.feedback-form-container input,
.feedback-form-container textarea,
.feedback-form-container select {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: var(--text-primary) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.3s ease !important;
}
[data-theme="dark"] .search-input,
[data-theme="dark"] .price-input,
[data-theme="dark"] .form-input,
[data-theme="dark"] .status-select,
[data-theme="dark"] .feedback-form-container input,
[data-theme="dark"] .feedback-form-container textarea,
[data-theme="dark"] .feedback-form-container select {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Active States for Glass Inputs */
.search-input:focus,
.price-input:focus,
.form-input:focus,
.status-select:focus,
.feedback-form-container input:focus,
.feedback-form-container textarea:focus {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: rgba(227, 66, 31, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(227, 66, 31, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.01) !important;
  outline: none !important;
}
[data-theme="dark"] .search-input:focus,
[data-theme="dark"] .price-input:focus,
[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .status-select:focus,
[data-theme="dark"] .feedback-form-container input:focus,
[data-theme="dark"] .feedback-form-container textarea:focus {
  background: rgba(0, 0, 0, 0.4) !important;
  border-color: rgba(227, 66, 31, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(227, 66, 31, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}



.category-pill:hover:not(.active) {
  transform: scale(1.04) translateY(-1px) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border-color: rgba(227, 66, 31, 0.25) !important;
}
[data-theme="dark"] .category-pill:hover:not(.active) {
  background: rgba(21, 26, 38, 0.55) !important;
  border-color: rgba(227, 66, 31, 0.3) !important;
}

/* Fix cart drawer transparency: force solid opaque background matching theme */
.cart-drawer {
  background-color: var(--bg-secondary) !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: var(--shadow-lg) !important;
  opacity: 1 !important;
  border-left: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .cart-drawer {
  background-color: var(--bg-secondary) !important;
  border-left: 1px solid var(--border-color) !important;
}

/* Fix header menu overlapping cart drawer: place modal overlay above the fixed header */
.modal-overlay {
  z-index: 2000 !important;
}









