/* Architectural Exchange Design System - Gourmet House extensions */
:root {
  --primary: #845403;
  --primary-container: #febd69;
  --on-primary-container: #774b00;
  --surface: #f9f9f9;
  --surface-container-low: #f3f3f3;
  --surface-container-highest: #e2e2e2;
  --surface-container-lowest: #ffffff;
  --on-surface: #1a1c1c;
  --outline-variant: #d5c4b2;
  --tertiary: #00687a;
  --secondary-fixed: #d7e3f7;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--surface);
  color: var(--on-surface);
}

/* No-Line Rule: use background shifts instead of 1px borders */
.section-boundary {
  background-color: var(--surface-container-low);
}

.card {
  background-color: var(--surface-container-lowest);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0px 12px 32px rgba(26, 28, 28, 0.06);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Demo Label */
.demo-tag {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fbba67;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2000;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Cart Drawer */
#cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 2100;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

#cart-drawer.open {
    right: 0;
}

#cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    z-index: 2050;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

#cart-overlay.open {
    display: block;
    opacity: 1;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 2px solid var(--surface-container-low);
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: var(--surface-container-low);
    border-radius: 4px;
}

body.cart-open {
    overflow: hidden;
}

.cart-close-btn {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
}
.cart-close-btn:hover {
    background: var(--surface-container-low);
}

/* B2B Acceso Badge */
.b2b-badge {
    background: var(--secondary-fixed);
    color: var(--tertiary);
    font-weight: 700;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
}
