/* Shared enquiry cart styles (used by multiple pages) */

.cart-fab {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: none;
  border: 1px solid rgba(184, 150, 62, 0.45);
  color: var(--brass, #B8963E);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
  padding: 0;
}

.cart-fab:hover {
  background: rgba(184, 150, 62, 0.1);
  border-color: var(--brass, #B8963E);
}

.cart-fab-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brass, #B8963E);
  color: var(--blue-deep, #0D1821);
  font-size: 10px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.cart-fab-badge.visible { display: flex; }

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 24, 33, 0.55);
  z-index: 200;
}

.cart-overlay.is-open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--bg-lighter, #F7F9FB);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(27, 42, 59, 0.1);
  transform: translateX(100%);
  pointer-events: none;
}

.cart-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(27, 42, 59, 0.1);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--blue-deep, #0D1821);
}

.cart-drawer-title span {
  font-size: 12px;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass, #B8963E);
  margin-left: 10px;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(27, 42, 59, 0.15);
  background: white;
  color: var(--blue-deep, #0D1821);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.cart-drawer-close:hover { border-color: var(--brass, #B8963E); }

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--grey-text, #8FA3B1);
  padding: 40px 24px;
  text-align: center;
}

.cart-empty svg { opacity: 0.3; }

.cart-empty p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(27, 42, 59, 0.07);
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-brand {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass, #B8963E);
  margin-bottom: 3px;
}

.cart-item-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  color: var(--blue-deep, #0D1821);
  line-height: 1.3;
  margin-bottom: 2px;
}

.cart-item-cat {
  font-size: 11px;
  color: var(--grey-text, #8FA3B1);
  font-weight: 300;
}

.cart-item-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(27, 42, 59, 0.12);
  background: none;
  color: var(--grey-text, #8FA3B1);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-top: 2px;
}

.cart-item-remove:hover {
  border-color: #c0392b;
  color: #c0392b;
  background: rgba(192, 57, 43, 0.06);
}

.cart-drawer-foot {
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(27, 42, 59, 0.1);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-note {
  font-size: 11px;
  font-weight: 300;
  color: var(--grey-text, #8FA3B1);
  line-height: 1.55;
}

.cart-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: white;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 24px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  transition: background 0.25s;
}

.cart-wa-btn:hover { background: #1da851; }

.cart-clear-btn {
  background: none;
  border: 1px solid rgba(27, 42, 59, 0.15);
  color: var(--grey-text, #8FA3B1);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px;
  cursor: pointer;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  transition: all 0.2s;
}

.cart-clear-btn:hover { border-color: #c0392b; color: #c0392b; }

@media (max-width: 480px) {
  .cart-drawer { max-width: 100%; }
}

