:root {
  --page: #e7e9ec;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #565959;
  --line: #d5d9d9;
  --nav: #131921;
  --nav-2: #232f3e;
  --accent: #febd69;
  --accent-dark: #f3a847;
  --buy: #ffd814;
  --buy-dark: #f7ca00;
  --orange: #b12704;
  --green: #007600;
  --blue: #007185;
  --danger: #b12704;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px clamp(14px, 3vw, 28px);
  color: #ffffff;
  background: var(--nav);
}

.brand,
.nav-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  min-height: 44px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand:hover,
.cart-button:hover,
.install-button:hover {
  border-color: rgba(255, 255, 255, 0.72);
}

.brand-mark {
  display: grid;
  min-width: 45px;
  height: 34px;
  padding: 0 7px;
  place-items: center;
  color: #111827;
  background: var(--accent);
  border-radius: 3px;
  font-size: 0.8rem;
}

.search-bar {
  display: grid;
  grid-template-columns: 82px minmax(120px, 1fr) 98px;
  min-height: 42px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
}

.search-bar:focus-within {
  border-color: var(--accent);
}

.search-bar select,
.search-bar input,
.search-bar button {
  min-width: 0;
  min-height: 40px;
  border: 0;
  outline: 0;
}

.search-bar select {
  padding: 0 8px;
  color: #374151;
  background: #f3f3f3;
  border-right: 1px solid #cdcdcd;
}

.search-bar input {
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
}

.search-bar button {
  cursor: pointer;
  color: #111827;
  background: var(--accent);
  font-weight: 800;
}

.search-bar button:hover {
  background: var(--accent-dark);
}

.nav-actions {
  gap: 8px;
  justify-content: end;
}

.install-button,
.cart-button,
.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.icon-button {
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.install-button,
.cart-button {
  color: #ffffff;
  background: transparent;
  border: 1px solid transparent;
}

.install-button {
  padding: 0 10px;
}

.cart-button {
  position: relative;
  display: flex;
  align-items: end;
  gap: 8px;
  min-width: 78px;
  padding: 0 10px 3px;
}

.cart-label {
  font-size: 0.94rem;
}

#cartCount {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1;
}

main {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0 clamp(10px, 2vw, 22px) 42px;
}

.store-banner {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 18px 0 16px;
  padding: clamp(16px, 3vw, 24px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 246, 0.92)),
    #ffffff;
  color: var(--ink);
  border: 1px solid rgba(139, 23, 61, 0.14);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.store-banner img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  background: #ffffff;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
}

.store-banner p,
.store-banner h1,
.store-banner span {
  margin: 0;
}

.store-banner p {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.store-banner h1 {
  margin-top: 4px;
  color: #95193f;
  font-family: "Dancing Script", cursive;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.design-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.design-tab {
  min-height: 36px;
  padding: 0 14px;
  color: var(--ink);
  background: #f0f2f2;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.design-tab:hover,
.design-tab.active {
  color: #111827;
  background: var(--accent);
  border-color: var(--accent);
}

.store-banner span {
  display: block;
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.catalog-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.catalog-heading p,
.catalog-heading h2 {
  margin: 0;
}

.catalog-heading p {
  color: var(--muted);
  font-size: 0.88rem;
}

.catalog-heading h2 {
  margin-top: 3px;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.sort-control select {
  min-height: 34px;
  padding: 0 10px;
  background: #f0f2f2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
}

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

.product-section + .product-section {
  border-top: 1px solid var(--line);
}

.product-section-heading {
  padding: 16px 18px 10px;
  background: #ffffff;
}

.product-section-heading h3 {
  margin: 0;
  color: #0f1111;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.section-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
}

.product-card {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 16px;
  background: #ffffff;
  border-right: 1px solid #f0f2f2;
  border-bottom: 1px solid #f0f2f2;
  cursor: pointer;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.product-card:hover,
.product-card:focus-visible {
  position: relative;
  z-index: 1;
  outline: 0;
  box-shadow: 0 0 0 2px var(--accent), 0 16px 32px rgba(15, 23, 42, 0.16);
  transform: translateY(-2px);
}

.placeholder-product-card {
  cursor: default;
}

.placeholder-product-card:hover,
.placeholder-product-card:focus-visible {
  box-shadow: none;
  transform: none;
}

.product-media {
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  background: #f7f7f7;
}

.product-media img,
.product-media .placeholder-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f7f7f7;
}

.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.22s ease;
}

.gallery-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 34px;
  min-height: 34px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  transform: translateY(-50%);
}

.gallery-button:hover {
  background: #ffffff;
  border-color: var(--accent);
}

.gallery-prev {
  left: 8px;
}

.gallery-next {
  right: 8px;
}

.gallery-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 4px 7px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.placeholder-media {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--nav-2), var(--accent));
  font-size: 3rem;
  font-weight: 800;
}

.image-coming-soon {
  padding: 18px;
  color: #95193f;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 238, 244, 0.92)),
    #fff7fa;
  border: 1px dashed rgba(149, 25, 63, 0.34);
  font-size: 0.95rem;
  text-align: center;
}

.image-coming-soon span {
  max-width: 120px;
  line-height: 1.3;
}

.product-body {
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.product-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.product-card h3 {
  min-height: 44px;
  margin: 0;
  color: #0f1111;
  font-size: 1rem;
  line-height: 1.35;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f59e0b;
  font-size: 0.88rem;
}

.rating-row strong {
  color: var(--blue);
  font-size: 0.82rem;
}

.price-row,
.detail-price-row,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.price {
  color: var(--orange);
  font-size: 1.45rem;
  font-weight: 800;
}

.single-price {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.stock {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.stock.low {
  color: var(--danger);
}

.shipping-line {
  min-height: 36px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.birthday-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.primary-button,
.birthday-add-button {
  color: #111827;
  background: var(--buy);
  border: 1px solid #fcd200;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.08);
}

.primary-button:hover,
.birthday-add-button:hover {
  background: var(--buy-dark);
}

.secondary-button {
  color: var(--ink);
  background: #f0f2f2;
  border: 1px solid var(--line);
}

.secondary-button:hover {
  background: #e3e6e6;
}

.ghost-button {
  color: var(--blue);
  background: transparent;
  border: 1px solid var(--line);
}

.danger-button {
  color: #ffffff;
  background: var(--danger);
}

.compact {
  min-height: 36px;
  width: fit-content;
  border-radius: 999px;
}

.full {
  width: 100%;
}

.empty-state,
.cart-empty {
  margin: 18px;
  padding: 28px;
  text-align: center;
  background: #f7fafa;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-state h3,
.empty-state p,
.cart-empty h3,
.cart-empty p {
  margin: 0;
}

.empty-state p,
.cart-empty p,
.checkout-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.payment-provider-note {
  margin: 0;
  padding: 10px 12px;
  color: #0f5132;
  background: #ecfdf3;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.icon-button {
  display: grid;
  width: 42px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: transparent;
}

.cart-drawer,
.product-view,
.coming-soon-view,
.checkout-view,
.install-sheet {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cart-drawer {
  z-index: 50;
  display: flex;
  justify-content: end;
  background: rgba(15, 23, 42, 0.55);
}

.cart-drawer.open,
.product-view.open,
.coming-soon-view.open,
.checkout-view.open,
.install-sheet.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(430px, 100%);
  height: 100%;
  padding: 18px;
  background: #ffffff;
  box-shadow: -20px 0 50px rgba(15, 23, 42, 0.26);
  transform: translateX(100%);
  transition: transform 0.2s ease;
}

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

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

.cart-header h2 {
  margin: 0 0 12px;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 16px 0;
}

.cart-line {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-line h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.cart-line span {
  color: var(--muted);
  font-size: 0.86rem;
}

.cart-options {
  max-width: 280px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty-control button {
  width: 30px;
  min-height: 30px;
  padding: 0;
}

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

.cart-total {
  font-size: 1.12rem;
}

.product-view,
.coming-soon-view,
.checkout-view {
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.62);
}

.checkout-view {
  z-index: 62;
}

.coming-soon-view {
  z-index: 61;
}

.product-view-panel,
.coming-soon-panel,
.checkout-panel,
.install-panel {
  position: relative;
  width: min(1020px, 100%);
  max-height: min(780px, calc(100vh - 36px));
  overflow: auto;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  transition: transform 0.2s ease;
}

.product-view.open .product-view-panel,
.coming-soon-view.open .coming-soon-panel,
.checkout-view.open .checkout-panel,
.install-sheet.open .install-panel {
  transform: translateY(0);
}

.product-view-close,
.coming-soon-close,
.checkout-close,
.install-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.coming-soon-panel {
  display: grid;
  gap: 10px;
  width: min(440px, 100%);
  padding: 34px;
  text-align: center;
}

.coming-soon-panel span {
  color: #95193f;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.coming-soon-panel h2,
.coming-soon-panel p {
  margin: 0;
}

.coming-soon-panel h2 {
  color: #95193f;
  font-family: "Dancing Script", cursive;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 0.95;
}

.coming-soon-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.product-view-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(300px, 1.08fr);
  min-height: 520px;
}

.product-view-media {
  display: grid;
  min-height: 430px;
  padding: 24px;
  place-items: center;
  background: #f7f7f7;
}

.product-view-media .detail-gallery {
  height: min(620px, calc(100vh - 110px));
  min-height: 430px;
}

.product-view-media img,
.product-view-media .placeholder-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery .gallery-slide img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: auto;
  max-width: none;
  max-height: none;
  object-fit: contain !important;
}

.product-view-details {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 5vw, 46px);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-meta span {
  padding: 5px 8px;
  background: #f0f2f2;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.product-view-details h2 {
  margin: 0;
  color: #0f1111;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.product-view-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.detail-price-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-price-row strong {
  color: var(--orange);
  font-size: 2rem;
}

.purchase-block {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fffdf7;
  border: 1px solid #f3d19c;
  border-radius: var(--radius);
}

.purchase-block h3 {
  margin: 0;
}

.purchase-option,
.single-box-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.package-option {
  align-items: flex-start;
  line-height: 1.35;
}

.purchase-option input {
  width: auto;
  min-height: auto;
  margin-top: 2px;
}

.single-box-selector {
  align-items: start;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.single-box-selector select {
  width: min(190px, 100%);
  background: #ffffff;
}

.customization-block {
  display: grid;
  gap: 10px;
}

.customization-block h3 {
  margin: 0;
}

.customization-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.customization-field {
  display: grid;
  gap: 6px;
  background: #f7fafa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

.customization-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.customization-field input,
.customization-field select {
  width: 100%;
  background: #ffffff;
}

.checkout-panel {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 4vw, 34px);
}

.checkout-heading {
  display: grid;
  gap: 8px;
  max-width: 650px;
}

.checkout-heading span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-heading h2,
.checkout-heading p,
.checkout-review h3 {
  margin: 0;
}

.checkout-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.checkout-heading p,
.checkout-status {
  color: var(--muted);
  line-height: 1.5;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.82fr);
  gap: 18px;
}

.checkout-fields,
.checkout-review,
.checkout-order-lines {
  display: grid;
  gap: 12px;
}

.checkout-field {
  display: grid;
  gap: 7px;
}

.checkout-field span,
label,
.panel-heading span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

input,
select {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(254, 189, 105, 0.32);
}

.checkout-review {
  align-content: start;
  padding: 16px;
  background: #f7fafa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.single-box-checkout {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.single-box-checkout h4 {
  margin: 0;
}

.single-box-checkout label {
  display: grid;
  gap: 6px;
}

.single-box-checkout select {
  width: 100%;
  background: #ffffff;
}

.checkout-order-line {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-order-line div {
  display: grid;
  gap: 4px;
}

.checkout-order-line span {
  color: var(--muted);
  font-size: 0.82rem;
}

.checkout-total {
  padding-top: 4px;
}

.checkout-tax,
.checkout-grand-total {
  padding-top: 4px;
}

.checkout-grand-total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 1.24rem;
}

.install-sheet {
  z-index: 65;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.62);
}

.install-panel {
  display: grid;
  gap: 12px;
  width: min(420px, 100%);
  padding: 22px;
}

.install-panel img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.install-panel h2,
.install-panel p {
  margin: 0;
}

.install-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  max-width: min(360px, calc(100% - 36px));
  padding: 12px 14px;
  color: #ffffff;
  background: var(--nav-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .topbar {
    justify-content: flex-end;
  }

  .product-view-content,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .product-view-media {
    min-height: 300px;
  }

  .product-view-media .detail-gallery {
    height: min(520px, 68vh);
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 8px;
  }

  .brand span:last-child {
    display: none;
  }

  .search-bar {
    grid-template-columns: 64px minmax(0, 1fr) 76px;
  }

  .search-bar button,
  .search-bar select {
    font-size: 0.78rem;
  }

  main {
    padding: 0 8px 32px;
  }

  .store-banner {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    margin: 10px 0;
  }

  .store-banner img {
    width: 72px;
    height: 72px;
  }

  .store-banner h1 {
    font-size: 2.35rem;
  }

  .design-tabs {
    gap: 6px;
  }

  .design-tab {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .catalog-heading {
    align-items: start;
    flex-direction: column;
  }

  .sort-control {
    width: 100%;
    justify-content: space-between;
  }

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

  .section-products {
    grid-template-columns: 1fr;
  }

  .customization-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .product-media {
    align-self: start;
  }

  .compact {
    width: 100%;
  }

  .cart-line,
  .detail-price-row,
  .price-row {
    align-items: start;
    flex-direction: column;
  }

  .product-view,
  .checkout-view {
    padding: 0;
    place-items: stretch;
  }

  .product-view-panel,
  .checkout-panel {
    max-height: 100svh;
    min-height: 100svh;
    border-radius: 0;
  }
}
