[hidden] {
  display: none !important;
}

.shop-hero {
  padding-bottom: 72px;
}

.shop-section {
  background: #f4f7fb;
}

.shop-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.shop-toolbar h2 {
  margin: 3px 0 0;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-filters button {
  min-height: 42px;
  padding: 0 17px;
  cursor: pointer;
  color: var(--blue);
  background: #fff;
  border: 1px solid #d7dee8;
  border-radius: 999px;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
}

.category-filters button.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.shop-layout {
  display: block;
}

.product-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 15px;
  box-shadow: 0 9px 25px rgba(9, 43, 111, .07);
  transition: transform .2s, box-shadow .2s;
}

.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(9, 43, 111, .12);
}

.catalog-photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f2f6fa;
  border-radius: 12px;
}

.catalog-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--blue);
  background: #edf3fb;
  border-radius: 14px;
  font-size: 1.45rem;
  font-weight: 900;
}

.catalog-icon.color {
  color: var(--orange);
  background: linear-gradient(135deg, #edf3fb, #fff0e8);
}

.catalog-copy {
  margin: 17px 0;
}

.catalog-copy > span {
  color: #8390a0;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.catalog-copy h3 {
  min-height: 48px;
  margin: 4px 0 7px;
  line-height: 1.2;
}

.catalog-copy p {
  margin: 0;
  color: var(--orange);
  font-size: 1.08rem;
  font-weight: 900;
}

.catalog-copy p small {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
}

.variant-select {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.variant-select span,
.card-quantity span {
  color: #5c6877;
  font-size: .76rem;
  font-weight: 800;
}

.variant-select select {
  min-height: 40px;
  padding: 7px 9px;
  color: var(--ink);
  background: #f7f9fc;
  border: 1px solid #d7dee8;
  border-radius: 7px;
  font: inherit;
  font-size: .84rem;
}

.card-actions {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 9px;
  align-items: end;
  margin-top: auto;
}

.card-quantity {
  display: grid;
  gap: 4px;
}

.card-quantity input {
  width: 100%;
  min-height: 43px;
  padding: 7px;
  border: 1px solid #d7dee8;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.card-actions button {
  min-height: 43px;
  cursor: pointer;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 7px;
  font-weight: 900;
}

.card-actions button:hover,
.card-actions button.added {
  background: var(--orange);
}

.product-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: .75rem;
}

.cart-panel {
  position: fixed;
  z-index: 1100;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100dvh;
  overflow: hidden;
  background: #fff;
  box-shadow: -18px 0 45px rgba(9, 43, 111, .22);
  transform: translateX(105%);
  transition: transform .25s ease;
}

.cart-panel.open { transform: translateX(0); }

.cart-backdrop {
  position: fixed;
  z-index: 1090;
  inset: 0;
  background: rgba(5, 22, 53, .48);
  backdrop-filter: blur(2px);
}

body.cart-open { overflow: hidden; }

.cart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px;
  color: #fff;
  background: var(--blue);
}

.cart-heading span {
  color: #c6d8f1;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.cart-heading h2 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 1.35rem;
}

.cart-heading b {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  color: var(--blue);
  background: #fff;
  border-radius: 999px;
}

.cart-heading-actions { display: flex; align-items: center; gap: 9px; }
.cart-heading-actions button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  font-size: 1.5rem;
}

.empty-cart {
  display: grid;
  justify-items: center;
  padding: 45px 25px;
  color: var(--muted);
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  color: var(--blue);
  background: #edf3fb;
  border-radius: 50%;
  font-size: 1.5rem;
}

.empty-cart strong {
  color: var(--blue);
}

.empty-cart p {
  margin: 5px 0 0;
}

.empty-cart.attention {
  background: #fff4ed;
}

.cart-items {
  display: grid;
  max-height: calc(100dvh - 405px);
  overflow-y: auto;
}

.floating-cart {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 42px 1fr 34px;
  align-items: center;
  gap: 10px;
  min-width: 230px;
  padding: 10px 12px;
  cursor: pointer;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(9, 43, 111, .32);
  text-align: left;
}

.floating-cart:hover, .floating-cart.has-items { background: #123f8c; }
.floating-cart-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  background: #fff;
  border-radius: 12px;
  font-size: 1.2rem;
}
.floating-cart b, .floating-cart small { display: block; }
.floating-cart small { margin-top: 2px; color: #c6d8f1; font-size: .75rem; }
.floating-cart strong {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 7px;
  color: var(--blue);
  background: #fff;
  border-radius: 999px;
}
.quote-whatsapp { right: 274px; bottom: 27px; }

.cart-item {
  padding: 18px 22px;
  border-bottom: 1px solid #e5e9ef;
}

.cart-item-top,
.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-top strong {
  display: block;
  color: var(--blue);
  line-height: 1.25;
}

.cart-item-top small {
  display: block;
  color: var(--muted);
}

.remove-item {
  align-self: flex-start;
  width: 30px;
  height: 30px;
  cursor: pointer;
  color: #9a4350;
  background: #fff0f1;
  border: 0;
  border-radius: 50%;
  font-size: 1.2rem;
}

.cart-item-bottom {
  align-items: center;
  margin-top: 13px;
}

.cart-item-bottom > strong {
  color: var(--orange);
  font-size: 1.08rem;
}

.cart-quantity {
  display: grid;
  grid-template-columns: 30px 34px 30px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d7dee8;
  border-radius: 7px;
  text-align: center;
}

.cart-quantity button {
  height: 30px;
  cursor: pointer;
  color: var(--blue);
  background: #edf3fb;
  border: 0;
  font-weight: 900;
}

.cart-totals {
  padding: 22px;
}

.cart-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 7px 0;
}

.cart-totals > div > span {
  color: var(--muted);
}

.grand-total {
  align-items: end;
  margin: 10px 0 0;
  padding-top: 18px !important;
  border-top: 2px solid #e4e8ed;
}

.grand-total span {
  color: var(--blue) !important;
  font-weight: 850;
}

.grand-total strong {
  color: var(--blue);
  font-size: 1.9rem;
  line-height: 1;
}

.cart-totals p {
  color: var(--muted);
  font-size: .82rem;
}

.send-quote,
.secondary-action,
.clear-cart {
  width: 100%;
}

.send-quote {
  min-height: 55px;
  padding: 9px 12px;
  text-align: center;
}

.secondary-action,
.clear-cart {
  min-height: 42px;
  margin-top: 9px;
  cursor: pointer;
  font-weight: 850;
}

.secondary-action {
  color: var(--blue);
  background: #fff;
  border: 1px solid #ccd4df;
}

.clear-cart {
  color: #8c3d48;
  background: transparent;
  border: 0;
}

.customer-panel {
  margin-top: 28px;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(9, 43, 111, .08);
}

.choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.choice-group legend {
  grid-column: 1 / -1;
  margin-bottom: 3px;
  color: var(--blue);
  font-weight: 900;
}
.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  cursor: pointer;
  background: #f7f9fc;
  border: 1px solid #d7dee8;
  border-radius: 10px;
}
.choice-card:has(input:checked) { background: #edf4ff; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(9,43,111,.08); }
.choice-card input { margin-top: 3px; accent-color: var(--blue); }
.choice-card b, .choice-card small { display: block; }
.choice-card b { color: var(--blue); }
.choice-card small { margin-top: 3px; color: var(--muted); line-height: 1.35; }

.payment-choice { align-items: center; }
.choice-icon { font-size: 1.35rem; }
.bank-options {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: #edf3fb;
  border-radius: 12px;
}
.bank-option {
  padding: 15px;
  cursor: pointer;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  text-align: left;
}
.bank-option.active { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(240,99,32,.12); }
.bank-option b, .bank-option span, .bank-option small { display: block; }
.bank-option b { color: var(--blue); }
.bank-option span { margin: 5px 0; font-weight: 850; }
.bank-option small { color: var(--muted); }

.panel-heading span {
  color: var(--orange);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.panel-heading h2 {
  margin: 4px 0 24px;
  font-size: 1.8rem;
}

@media (max-width: 1100px) {
  .product-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .cart-items { max-height: calc(100dvh - 395px); }
}

@media (max-width: 650px) {
  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .category-filters button {
    white-space: nowrap;
  }

  .product-catalog {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    min-height: auto;
  }

  .catalog-copy h3 {
    min-height: 0;
  }

  .customer-panel {
    padding: 22px;
  }

  .choice-group { grid-template-columns: 1fr; }
  .bank-options { grid-template-columns: 1fr; }
  .floating-cart { right: 12px; bottom: 12px; min-width: 205px; }
  .quote-whatsapp { display: none; }
}

.stationery-filters {
  justify-content: flex-start;
  margin-bottom: 16px;
}

.stationery-filters[hidden] {
  display: none;
}

.document-files {
  margin: 0;
  padding-inline-start: 1.25rem;
  overflow-wrap: anywhere;
}
.document-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.document-consent input[type="checkbox"] {
  width: auto;
  flex: none;
}
