.topbar a.nav-link {
  text-decoration: none;
}

.topbar .brand {
  border: 0;
  background: transparent;
}

.bi {
  line-height: 1;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: none;
  background: rgba(12, 9, 6, 0.48);
}

.cart-drawer.is-open {
  display: block;
}

.cart-drawer-panel {
  width: min(420px, 92vw);
  height: 100%;
  margin-left: auto;
  background: #fffdf8;
  color: #1a120b;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.22);
}

.cart-drawer-head,
.cart-drawer-foot {
  padding: 20px;
  border-bottom: 1px solid #eadfcd;
}

.cart-drawer-foot {
  border-top: 1px solid #eadfcd;
  border-bottom: 0;
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-head h2 {
  font: 600 2rem/1 var(--font-display);
}

.cart-items {
  overflow: auto;
  padding: 12px 20px;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eee3d4;
}

.cart-line img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.cart-line strong,
.cart-line small {
  display: block;
}

.cart-line button {
  border: 0;
  background: transparent;
  color: #ad3d2d;
}

.cart-checkout {
  display: block;
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 6px;
  background: #1a120b;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 15px 20px;
  font: 800 0.82rem/1 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-actions .cart-checkout,
.auth-form .cart-checkout,
.auth-panel .cart-checkout {
  width: auto;
  margin-top: 0;
}

.cart-actions .cart-checkout {
  flex: 2;
}

[hidden] {
  display: none !important;
}

.php-page-spacer {
  padding-top: 78px;
}

.product-card a,
.collection-card a {
  color: inherit;
  text-decoration: none;
}

.contact-page .topbar,
.about-story-page .topbar,
.checkout-page .topbar,
.account-page .topbar,
.admin-page .topbar,
.product-detail-page .topbar {
  position: fixed;
}

.simple-panel-page {
  min-height: 100vh;
  padding: 120px 22px 70px;
  background: #f4efe7;
  color: #1d150d;
}

.simple-panel {
  width: min(1100px, 94vw);
  margin: 0 auto;
  background: #fffdf8;
  border: 1px solid #e4d8c8;
  border-radius: 8px;
  padding: clamp(24px, 4vw, 46px);
  box-shadow: 0 18px 46px rgba(26, 18, 11, 0.08);
}

.simple-panel h1 {
  font: 600 clamp(2.4rem, 5vw, 4.5rem)/0.96 var(--font-display);
}

.simple-panel .table {
  --bs-table-bg: transparent;
}

.form-notice {
  margin-top: 12px;
  font-weight: 700;
}

.form-notice.is-error {
  color: #ad3d2d;
}

.form-notice.is-success {
  color: #2f8f52;
}

@media (max-width: 780px) {
  .main-nav.nav-open {
    display: flex;
  }

  .header-language-switch {
    display: none;
  }
}

/* Quick-view modal — visibilidad controlada por clase .is-visible */
.product-modal-overlay[data-quick-view-modal] {
  display: none !important;
}

.product-modal-overlay[data-quick-view-modal].is-visible {
  display: flex !important;
}

/* Quick-view modal overrides */
.product-details a {
  text-decoration: none;
  color: inherit;
}

.product-details a:hover h2 {
  color: #9c6f35;
}

.qv-full-link {
  display: inline-block;
  color: #9c6f35;
  font: 600 0.88rem/1 var(--font-sans);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.qv-full-link:hover {
  color: #7a5020;
  text-decoration: underline;
}
