/* css/components.css */

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height, 80px);
  background-color: transparent;
  transition: background-color var(--transition-normal);
  z-index: var(--z-sticky, 100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-4);
}

.navbar-scrolled {
  background-color: var(--color-bg-elevated);
  box-shadow: var(--shadow-md);
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  text-decoration: none;
  color: var(--color-text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.navbar__logo .uk {
  color: var(--color-primary);
}

.navbar__links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__link {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar__link:hover {
  color: var(--color-primary);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: var(--text-2xl);
  cursor: pointer;
}

.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-base);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.nav-mobile.active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* Footer */
.footer {
  background-color: var(--color-bg-elevated);
  padding: var(--space-12) var(--space-4) var(--space-4);
  color: var(--color-text-secondary);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
}

.footer__col h4 {
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li {
  margin-bottom: var(--space-2);
}

.footer__col a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  text-align: center;
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==========================================================================
   Product Card (Redesigned strictly matching Reference Image)
   ========================================================================== */
.product-card {
  background-color: #131313;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 20px rgba(230, 57, 70, 0.14);
  }
}

.product-card--disabled {
  opacity: 0.7;
}

/* Image Area with Top-Right Action Icons */
.product-card__image-area {
  position: relative;
  width: 100%;
  background: #131313;
}

/* Top-Right Action Icons (Wishlist above, Quick View below) */
.product-card__actions-top {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.product-card__icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(22, 22, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  backdrop-filter: blur(4px);
}

.product-card__icon-btn:hover {
  background: rgba(230, 57, 70, 0.2);
  border-color: #e63946;
  color: #ffffff;
  transform: scale(1.08);
}

.product-card__icon-btn.wishlist-btn.active {
  background: rgba(230, 57, 70, 0.25);
  border-color: #e63946;
  color: #e63946;
}

/* Large Prominent Centered Product Image */
.product-card__image-wrap {
  width: 100%;
  height: 280px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.025) 0%, transparent 70%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 8px;
  box-sizing: border-box;
  cursor: pointer;
}

.product-card__img {
  width: auto !important;
  height: auto !important;
  max-width: 90% !important;
  max-height: 250px !important;
  object-fit: contain !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  margin: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
}

@media (hover: hover) {
  .product-card:hover .product-card__img {
    transform: scale(1.04);
  }
}

/* Product Body Details (Strictly Below Image) */
.product-card__body {
  padding: 14px 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__name {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.product-card__name a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-card__name a:hover {
  color: #e63946;
}

.product-card__price {
  font-size: 1.12rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card__price .price-current {
  color: #22c55e;
}

.product-card__price .price-old {
  font-size: 0.85rem;
  color: #777777;
  text-decoration: line-through;
  font-weight: 400;
}

/* Category Badge (e.g. Gainer) */
.product-card__category-wrap {
  margin-bottom: 14px;
  display: flex;
}

.product-card__category-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c0c0c0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Quick Shop Button (Full-width Styled Dark Button at Bottom) */
.product-card__footer {
  margin-top: auto;
  width: 100%;
}

.btn-quick-shop {
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.btn-quick-shop:hover {
  background: #282828;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

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

.btn-quick-shop.disabled {
  background: #181818;
  border-color: rgba(255, 255, 255, 0.06);
  color: #666666;
  cursor: not-allowed;
}

/* Products Section Header & Watermark Styling */
.products-section-header {
  position: relative;
  text-align: center;
  margin-bottom: 44px;
  padding-top: 10px;
}

.products-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 900;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.025);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

.products-section-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
}

.products-section-title .text-accent {
  color: var(--color-primary, #e63946);
}

/* View All Products Button (Pill with Red Border) */
.products-view-all-wrap {
  text-align: center;
  margin-top: 48px;
}

.btn-view-all-products {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 36px;
  border-radius: 9999px;
  border: 1.5px solid #e63946;
  background: transparent;
  color: #e63946;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-view-all-products:hover {
  background: #e63946;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(230, 57, 70, 0.45);
  transform: translateY(-2px);
}

.btn-view-all-products .arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-view-all-products:hover .arrow {
  transform: translateX(3px);
}

/* Responsive Product Card Rules */
@media (max-width: 1023px) {
  .product-card__image-wrap {
    height: 230px;
    padding: 16px 12px 6px;
  }
  .product-card__img {
    max-height: 205px !important;
    max-width: 90% !important;
  }
  .product-card__body {
    padding: 12px 14px 16px;
  }
  .product-card__name {
    font-size: 0.98rem;
  }
  .product-card__price {
    font-size: 1.05rem;
  }
}

@media (max-width: 639px) {
  .product-card {
    border-radius: 12px;
  }
  .product-card__actions-top {
    top: 10px;
    right: 10px;
    gap: 6px;
  }
  .product-card__icon-btn {
    width: 30px;
    height: 30px;
  }
  .product-card__icon-btn svg {
    width: 13px;
    height: 13px;
  }
  .product-card__image-wrap {
    height: 195px;
    padding: 12px 10px 4px;
  }
  .product-card__img {
    max-height: 175px !important;
    max-width: 92% !important;
  }
  .product-card__body {
    padding: 10px 12px 14px;
  }
  .product-card__name {
    font-size: 0.88rem;
    margin-bottom: 4px;
    min-height: 2.6em;
  }
  .product-card__price {
    font-size: 0.96rem;
    margin-bottom: 6px;
  }
  .product-card__category-wrap {
    margin-bottom: 10px;
  }
  .product-card__category-pill {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 5px;
  }
  .btn-quick-shop {
    font-size: 0.72rem;
    padding: 9px 10px;
    letter-spacing: 0.8px;
    border-radius: 6px;
  }
}

@media (max-width: 390px) {
  .product-card__image-wrap {
    height: 155px;
    padding: 8px 6px 2px;
  }
  .product-card__img {
    max-height: 140px !important;
  }
  .product-card__body {
    padding: 8px 8px 10px;
  }
  .product-card__name {
    font-size: 0.78rem;
    min-height: 2.5em;
  }
  .product-card__price {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }
  .product-card__category-pill {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .btn-quick-shop {
    font-size: 0.68rem;
    padding: 7px 6px;
    letter-spacing: 0.5px;
  }
  .product-card__actions-top {
    top: 6px;
    right: 6px;
    gap: 4px;
  }
  .product-card__icon-btn {
    width: 26px;
    height: 26px;
  }
  .product-card__icon-btn svg {
    width: 11px;
    height: 11px;
  }
}



/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: var(--z-toast, 9999);
}

.toast {
  background-color: var(--color-bg-elevated);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-4) var(--space-6) var(--space-4) var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateX(120%);
  transition: transform var(--transition-normal);
  color: var(--color-text-primary);
}

.toast.show {
  transform: translateX(0);
}

.toast--success { border-color: var(--color-success); }
.toast--error { border-color: var(--color-error); }
.toast--info { border-color: var(--color-info); }
.toast--warning { border-color: var(--color-warning); }

.toast__close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  font-size: var(--text-sm);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: var(--z-modal, 1000);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.modal {
  background-color: var(--color-bg-surface);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
  overflow: hidden;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

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

.modal-header h3 {
  margin: 0;
  color: var(--color-text-primary);
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  font-size: var(--text-xl);
}

.modal-body {
  padding: var(--space-4);
  color: var(--color-text-secondary);
}

.modal-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
}

/* ── Floating WhatsApp Button (Fixed Bottom-Right on Scroll) ── */
.whatsapp-float {
  position: fixed !important;
  bottom: 24px !important;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  right: 24px !important;
  right: calc(24px + env(safe-area-inset-right, 0px)) !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-brand-whatsapp, #25D366);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  z-index: 999 !important;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-brand-whatsapp, #25D366);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none !important;
  animation: pulseWhatsapp 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseWhatsapp {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.38);
    opacity: 0;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
    right: calc(16px + env(safe-area-inset-right, 0px)) !important;
    width: 48px !important;
    height: 48px !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--color-bg-surface);
  z-index: var(--z-drawer, 1100);
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

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

.cart-drawer__title {
  margin: 0;
  font-family: var(--font-heading);
}

.cart-drawer__close {
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: var(--text-xl);
  cursor: pointer;
}

.cart-drawer__items {
  flex-grow: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Cart Drawer & Cart Item Component ── */
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg-card, #141414);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  position: relative;
  transition: border-color 0.2s ease;
}

.cart-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.cart-item__thumb {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: #0d0d0d;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.cart-item__info {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-secondary, #888888);
  text-transform: capitalize;
}

.cart-item__price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-accent, #e63946);
  margin-top: 2px;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cart-item__stepper {
  display: inline-flex;
  align-items: center;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  overflow: hidden;
}

.cart-item__step-btn {
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.cart-item__step-btn:hover {
  background: rgba(230, 57, 70, 0.25);
  color: var(--color-accent);
}

.cart-item__step-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cart-item__step-qty {
  width: 26px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.cart-item__remove {
  background: transparent;
  border: none;
  color: #ff4757;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  align-self: flex-start;
  transition: transform 0.15s ease, color 0.15s ease;
}

.cart-item__remove:hover {
  transform: scale(1.15);
  color: #ff6b81;
}

@media (max-width: 480px) {
  .cart-item__thumb {
    width: 55px;
    height: 55px;
    min-width: 55px;
  }
}

.cart-drawer__footer {
  padding: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
  font-weight: bold;
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }
  .cart-drawer__header {
    padding: 14px 16px;
  }
  .cart-drawer__items {
    padding: 12px;
    gap: 10px;
  }
  .cart-drawer__footer {
    padding: 14px 16px;
  }
}

/* Star Rating */
.stars {
  display: flex;
  gap: 2px;
  color: var(--color-warning, #ffc107);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-4);
  text-align: center;
  color: var(--color-text-secondary);
}

.empty-state__icon {
  font-size: 48px;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.empty-state__text {
  font-size: var(--text-lg);
}

/* ── Logo UK Accent ── */
.logo-uk {
  color: var(--color-accent);
}

/* ── Section Label ── */
.section-label,
.label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
}

/* ── Navbar Container Fix ── */
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

/* ── Nav Link Styles ── */
.nav-link {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: color var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

/* ── Nav Cart Button ── */
.nav-cart {
  position: relative;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: var(--space-2);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-accent);
  color: white;
  font-size: 10px;
  font-weight: var(--weight-bold);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Nav Toggle & Mobile Nav handled in main.css ── */

/* ── Cart Drawer Overlay ── */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

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

/* ── Cart Item ── */
.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-item__image {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--color-bg-card);
}

.cart-item__info {
  flex: 1;
}

.cart-item__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-1);
}

.cart-item__variant {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-right: var(--space-2);
}

.cart-item__price {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: var(--text-xl);
  cursor: pointer;
  padding: var(--space-1);
}

.cart-item__remove:hover {
  color: var(--color-error);
}

/* ── Page Container ── */
.page-container {
  padding-top: calc(var(--nav-height) + var(--space-8));
  min-height: 100vh;
}

.page-header {
  margin-bottom: var(--space-8);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
}

/* ── Skeleton Loading Cards ── */
.skeleton-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
}

.skeleton-card::before {
  content: '';
  display: block;
  aspect-ratio: 1/1;
  background: linear-gradient(90deg, var(--color-bg-card) 25%, var(--color-bg-card-hover) 50%, var(--color-bg-card) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* ── Review Form ── */
.review-form-wrapper {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  max-width: 600px;
}

.review-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}

/* ── Star Input ── */
.star-input span {
  cursor: pointer;
  font-size: 28px;
  color: var(--color-warning);
  transition: transform var(--transition-fast);
}

.star-input span:hover {
  transform: scale(1.2);
}

/* ── Star Rating Display ── */
.star-rating {
  display: inline-flex;
  gap: 2px;
}

.star-rating .star {
  font-style: normal;
}

.star-rating .star.full,
.star-rating .star.half {
  color: var(--color-warning);
}

.star-rating .star.empty {
  color: var(--color-text-muted);
}

/* ── Map Placeholder ── */
.map-placeholder {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  text-align: center;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
}

/* ── Special Offer Card ── */
.special-offer-card {
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
  color: white;
}

.special-offer-card h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.special-offer-card p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  opacity: 0.9;
}

/* ── Category Card Gradients ── */
.category-card.gradient-1 { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.category-card.gradient-2 { background: linear-gradient(135deg, #1a1a1a, #2d1b1b); }
.category-card.gradient-3 { background: linear-gradient(135deg, #1a1a1a, #1b2d1b); }
.category-card.gradient-4 { background: linear-gradient(135deg, #1a1a2e, #1b1b2d); }
.category-card.gradient-5 { background: linear-gradient(135deg, #2e1a1a, #1a1a1a); }
.category-card.gradient-6 { background: linear-gradient(135deg, #1a2e1a, #1a1a1a); }
.category-card.gradient-7 { background: linear-gradient(135deg, #2e2e1a, #1a1a1a); }
.category-card.gradient-8 { background: linear-gradient(135deg, #1a1a1a, #2e1a2e); }

.category-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  margin-top: var(--space-3);
  margin-bottom: var(--space-1);
}

.category-card .count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.category-card svg {
  stroke: var(--color-accent);
}

/* ── WhatsApp Banner ── */
.whatsapp-banner {
  background: linear-gradient(135deg, #128C7E, #25D366);
  padding: var(--space-12) var(--space-4);
  text-align: center;
  color: white;
}

.whatsapp-banner h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.whatsapp-banner p {
  margin-bottom: var(--space-6);
  opacity: 0.9;
}

/* ── Reviews Scroll ── */
.reviews-scroll {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-4);
  scrollbar-width: none;
}

.reviews-scroll::-webkit-scrollbar {
  display: none;
}

.reviews-scroll .review-card {
  scroll-snap-align: start;
}

/* ── About Visual ── */
.about-visual {
  border-radius: var(--radius-xl);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
}

/* ── Footer Logo ── */
.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.footer__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-4);
}

.footer__col a {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--color-accent);
}

.footer__col p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

