/* Sticky footer: push footer to bottom on short-content pages */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.wrapper > main {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.wrapper > main > .content-page {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.wrapper > main > .content-page > .content {
    flex: 1;
}

.minimal-btn {
    padding: 0;
    border: none;
    background: none;

}

.center-it {
    margin-left: auto;
    margin-right: auto;
}

.center-vertical {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 200px;
  border: 3px solid green; */
}

.cart-item-count {
  position: absolute;
  top: 15px;
  right: -10px;
  background-color: #fa6767;
  color: white;
  border-radius: 50%;
  padding: 5px 5px;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 10px;
  height: 15px;
}

.product-image {
  width: 100px;
  height: auto;
}

.text-white {
  color: #fff !important; /* Expanded size */
}

.transparent-bg {
  background-color: rgba(255, 255, 255, 0.2); /* White background with 50% */
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.off-white-color {
  color:rgb(216, 216, 216) !important;
}

.d-lg-inline-flex-always {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}

.navbar-collapse-no {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-preferred-size: auto;
      flex-basis: auto;
}

.force-show {
  display: inline-flex !important;
  /* visibility: visible !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1000 !important;
  position: relative !important;
  position: static !important; */
}

.gray-column {
  background-color: #0c0000 !important; /* Light gray background */
}

/* ── Tour Toast (non-blocking) ──────────────────────── */
.tour-toast {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 320px;
  background: var(--ct-secondary-bg, #fff);
  color: var(--ct-body-color, #333);
  border: 1px solid var(--ct-border-color, #dee2e6);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.tour-toast.tour-toast-visible {
  transform: translateY(0);
  opacity: 1;
}
.tour-toast h6 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.tour-toast p {
  font-size: 0.82rem;
  color: var(--ct-body-color, #6c757d);
  margin-bottom: 12px;
  line-height: 1.5;
}
.tour-toast-actions {
  display: flex;
  gap: 8px;
}
@media (max-width: 480px) {
  .tour-toast {
    left: 12px;
    right: 12px;
    bottom: 80px;
    max-width: none;
  }
}

/* Cart Mobile Responsive Styles */
@media (max-width: 767.98px) {
  .cart-table-container {
    display: none;
  }

  .cart-mobile-container {
    display: block;
  }

  .cart-mobile-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #e9ecef;
  }

  .cart-mobile-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 4px;
  }

  .cart-mobile-item-info {
    flex: 1;
    margin-left: 12px;
  }

  .cart-mobile-item-title {
    font-weight: 600;
    font-size: 16px;
    color: #212529;
    margin-bottom: 4px;
  }

  .cart-mobile-item-details {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
  }

  .cart-mobile-quantity-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
  }

  .cart-mobile-quantity-label {
    font-weight: 600;
    font-size: 14px;
    color: #495057;
    margin-bottom: 12px;
    display: block;
  }

  .cart-mobile-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .cart-mobile-qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    background: white;
    color: #495057;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    touch-action: manipulation;
  }

  .cart-mobile-qty-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
  }

  .cart-mobile-qty-btn:active {
    background: #dee2e6;
    transform: scale(0.95);
  }

  .cart-mobile-qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    background: white;
    touch-action: manipulation;
  }

  .cart-mobile-qty-input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  }

  .cart-mobile-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
  }

  .cart-mobile-price-label {
    font-size: 14px;
    color: #6c757d;
  }

  .cart-mobile-price-value {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
  }

  .cart-mobile-delete-btn {
    background: #FA6767;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 12px;
    width: 100%;
  }

  .cart-mobile-delete-btn:hover {
    background: #c82333;
  }

  .cart-mobile-delete-btn:active {
    background: #bd2130;
  }
}

@media (min-width: 768px) {
  .cart-table-container {
    display: block;
  }

  .cart-mobile-container {
    display: none;
  }
}

/* Enhanced quantity input for all devices */
.cart-quantity-input {
  min-width: 60px;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .cart-quantity-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Checkout Order Summary Mobile Styles */
.checkout-summary-mobile-item {
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
}

.checkout-summary-mobile-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.checkout-summary-mobile-info {
  flex: 1;
  margin-left: 12px;
  min-width: 0;
}

.checkout-summary-mobile-info a {
  font-size: 14px;
  word-break: break-word;
}

.checkout-summary-mobile-line-total {
  font-weight: 600;
  font-size: 14px;
  margin-left: 12px;
  white-space: nowrap;
}

.checkout-summary-mobile-totals {
  margin-top: 12px;
  padding-top: 4px;
}

.checkout-summary-mobile-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: #495057;
}

.checkout-summary-mobile-grand-total {
  border-top: 2px solid #dee2e6;
  margin-top: 4px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 16px;
  color: #212529;
}

/* ── Mobile Bottom Nav ──────────────────────────────── */
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 767.98px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #131921;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0 0 env(safe-area-inset-bottom, 0px) 0;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
  }
  .mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 8px 0;
    min-height: 44px;
    min-width: 44px;
    transition: color 0.15s;
    position: relative;
  }
  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a.active {
    color: #ff9900;
    text-decoration: none;
  }
  .mobile-bottom-nav a i {
    font-size: 1.6rem;
  }
  .mobile-bottom-nav .mobile-cart-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 18px);
    background: #FA6767;
    color: #fff;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  body {
    padding-bottom: 60px;
  }
  #cookie-banner-modern {
    bottom: 68px !important;
  }
}

/* ── Modern Cookie Banner ──────────────────────────── */
.cookie-banner-modern {
  position: fixed;
  bottom: 0;
  left: 16px;
  right: 16px;
  z-index: 1040;
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 18px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  display: none;
  transform: translateY(100%);
  animation: cookie-slide-up 0.4s ease forwards;
}
@keyframes cookie-slide-up {
  to { transform: translateY(0); }
}
.cookie-banner-modern p {
  font-size: 0.85rem;
  color: #565959;
  margin: 0 0 12px;
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-banner-actions .btn-accept {
  background: #ff9900;
  color: #131921;
  border: none;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 0.88rem;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-banner-actions .btn-accept:hover {
  background: #e68a00;
}
.cookie-banner-actions .learn-more {
  font-size: 0.82rem;
  color: #007185;
  text-decoration: none;
}
.cookie-banner-actions .learn-more:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .cookie-banner-modern {
    left: 0;
    right: 0;
    padding: 16px 18px;
  }
}

/* ── Touch Target Minimums (mobile) ────────────────── */
@media (max-width: 767.98px) {
  .make-pill {
    padding: 10px 14px;
    font-size: 0.82rem;
    min-height: 44px;
  }
  .hero-suggest-pill {
    padding: 8px 14px;
    font-size: 0.78rem;
    min-height: 44px;
  }
}

/* ── Mobile Logo Size ──────────────────────────────── */
@media (max-width: 767.98px) {
  .logo-topbar .logo-sm img {
    height: 32px !important;
    width: auto;
  }
}