.page-hero.shop-hero {
  padding-bottom: 28px;
}

.shop-ship,
.pay-result {
  margin: 14px 0 0;
  display: inline-block;
  max-width: 42rem;
  background: rgba(236, 162, 12, 0.18);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.92rem;
}

.pay-result {
  display: block;
  border-radius: 12px;
}

.cart-ship,
.pay-status {
  margin: 0;
  color: #243044;
  font-size: 0.82rem;
}

.pay-form {
  display: grid;
  gap: 6px;
}

#pay-order[hidden],
#send-quote[hidden],
#pay-form[hidden],
#cart-pending[hidden],
#pay-status[hidden],
#pay-result[hidden] {
  display: none !important;
}

.pay-form input {
  width: 100%;
  border: 1px solid #d7dbe3;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.86rem;
}

.shop-floor {
  background: #f3f4f6;
}

.shop-search {
  display: block;
  width: min(560px, 100%);
  margin: 0 auto;
  border: 1px solid #d5d8e0;
  border-radius: 999px;
  background: #fff;
  padding: 9px 16px;
  font: inherit;
  font-size: 0.92rem;
}

.dept-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 10px;
}

.dept-row button,
.brand-row button {
  font: inherit;
  cursor: pointer;
}

.dept-row button {
  display: grid;
  justify-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 10px;
  padding: 8px 6px 7px;
  color: #1c2430;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.dept-row button svg {
  width: 22px;
  height: 22px;
}

.dept-row button.is-on {
  border-color: #001b4e;
  box-shadow: inset 0 0 0 1px #001b4e;
  color: #001b4e;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.brand-row button {
  border: 1px solid #d7dbe3;
  background: #fff;
  color: #1c2430;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.82rem;
}

.brand-row button.is-on {
  background: #001b4e;
  border-color: #001b4e;
  color: #fff;
}

.shop-count {
  text-align: center;
  color: #5c6570;
  margin: 8px 0 0;
}

.shelf {
  margin-top: 22px;
}

.shelf h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.05rem;
  margin: 0 0 10px;
  text-align: center;
}

.shelf h2::before,
.shelf h2::after {
  content: "";
  width: min(80px, 12vw);
  height: 1px;
  background: #c5c9d2;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.can-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  padding: 8px 8px 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  min-height: 100%;
}

.can-stage {
  height: 128px;
  display: grid;
  place-items: center;
  background: linear-gradient(#fbfcfd, #f2f3f5);
  border-radius: 8px;
  overflow: hidden;
}

.can-card {
  transition: box-shadow 0.2s ease;
}

.can-photo {
  transition: transform 0.35s ease;
}

.can-card:hover {
  box-shadow: 0 12px 28px rgba(0, 27, 78, 0.12);
}

.can-card:hover .can-photo {
  transform: scale(1.06);
}

.can-stage svg {
  width: 148px;
  height: 176px;
}

.can-card h3 {
  font-size: 0.88rem;
  line-height: 1.25;
  margin: 8px 2px 2px;
  min-height: 2.5em;
}

.can-use {
  color: #5c6570;
  font-size: 0.75rem;
  line-height: 1.35;
  margin: 0 2px 8px;
  min-height: 2.6em;
}

.can-pack {
  margin: 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #001b4e;
}

.can-price {
  margin: 0 2px 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: #111827;
}

.can-card .btn {
  width: 100%;
  min-height: 32px;
  margin-top: auto;
  padding: 0 8px;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-align: center;
}

.shop-empty {
  padding: 28px;
  border: 1px dashed #c5c9d2;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.cart-fab {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.cart-fab span {
  min-width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--gold);
  color: var(--blue-900);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

.cart-back {
  position: fixed;
  inset: 0;
  background: rgba(0, 16, 40, 0.46);
  z-index: 60;
}

.cart-drawer[hidden],
.cart-back[hidden] {
  display: none !important;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 61;
  width: min(340px, 100%);
  height: 100%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.cart-drawer header,
.cart-drawer footer {
  padding: 12px 14px;
  background: var(--white);
}

.cart-drawer h2 {
  font-size: 1.15rem;
}

.cart-line strong {
  font-size: 0.92rem;
}

.cart-line p {
  font-size: 0.78rem;
  color: #5c6570;
}

.cart-line .btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
}

.cart-drawer header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.cart-lines {
  overflow: auto;
  padding: 8px 18px 18px;
  flex: 1;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  margin-top: 6px;
}

.qty button {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
}

.cart-drawer footer .btn {
  min-height: 38px;
  font-size: 12px;
}

.cart-drawer footer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
}

.quote-box {
  margin-top: 8px;
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px;
  white-space: pre-wrap;
  font-size: 0.86rem;
}

@media (max-width: 1100px) {
  .shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .dept-row {
    display: flex;
    overflow: auto;
    padding-bottom: 4px;
  }

  .dept-row button {
    min-width: 112px;
  }

  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .can-stage {
    height: 112px;
  }

  .can-stage svg {
    width: 110px;
    height: 132px;
  }

  .can-card h3,
  .can-use {
    min-height: 0;
  }
}

.can-photo {
  width: auto;
  max-width: 72%;
  height: 108px;
  object-fit: contain;
}

.size-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 2px 6px;
}

.size-picks button {
  border: 1px solid #d7dbe3;
  background: #fff;
  color: #1c2430;
  border-radius: 999px;
  padding: 2px 7px;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.size-picks button.is-on {
  background: #001b4e;
  border-color: #001b4e;
  color: #fff;
}

.shop-pages {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 8px;
}

.shop-pages button {
  min-width: 34px;
  height: 34px;
  font-size: 0.82rem;
  padding: 0 12px;
  border: 1px solid #d7dbe3;
  border-radius: 8px;
  background: #fff;
  color: #001b4e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.shop-pages button.is-on {
  background: #001b4e;
  border-color: #001b4e;
  color: #fff;
}

.shop-pages button:disabled {
  opacity: 0.4;
  cursor: default;
}

.store-hello-back {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 16, 40, 0.46);
  display: grid;
  place-items: center;
  padding: 20px;
}

.store-hello {
  position: relative;
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 16, 40, 0.25);
}

.store-hello h2 {
  margin: 6px 0 10px;
  font-size: 1.7rem;
  line-height: 1.15;
}

.store-hello-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #001b4e;
}

.store-hello-list {
  display: grid;
  gap: 10px;
  align-content: center;
}

.store-hello-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 1px solid #e6e8ee;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  cursor: pointer;
  font: inherit;
}

.store-hello-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.store-hello-item strong,
.store-hello-item em {
  display: block;
  font-style: normal;
}

.store-hello-item em {
  color: #001b4e;
  font-weight: 700;
}

@media (max-width: 720px) {
  .store-hello {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow: auto;
  }
}

.can-open {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: zoom-in;
}

.can-name {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.can-name:hover {
  text-decoration: underline;
}

.product-sheet-back {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0, 16, 40, 0.46);
  display: grid;
  place-items: center;
  padding: 20px;
}

.product-sheet {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 16, 40, 0.25);
}

.product-sheet-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #001b4e;
}

.product-sheet-photo {
  min-height: 360px;
  display: grid;
  place-items: center;
  background: #f4f5f7;
  border-radius: 12px;
  padding: 24px;
}

.product-sheet-photo img {
  width: auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.product-sheet h2 {
  margin: 8px 0 10px;
  font-size: 1.65rem;
  line-height: 1.15;
}

.product-sheet-summary {
  margin: 0 0 16px;
  color: #5c6570;
}

.product-sheet-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #001b4e;
}

.product-sheet-iva {
  margin: 4px 0 16px;
  color: #5c6570;
  font-size: 0.88rem;
}

.product-sheet .btn {
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
}

.product-sheet-note {
  margin: 12px 0 0;
  color: #5c6570;
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .product-sheet {
    grid-template-columns: 1fr;
  }

  .product-sheet-photo {
    min-height: 220px;
  }
}

.size-picks.is-menu select {
  width: 100%;
  border: 1px solid #d7dbe3;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #001b4e;
  background: #fff;
}
