/* ── Shop hero ── */
.page-shop .a30-shop-hero {
  padding: 1.75rem 0 1.25rem;
  background:
    linear-gradient(135deg, rgba(67, 56, 202, 0.07) 0%, rgba(212, 168, 83, 0.1) 100%),
    var(--a30-white);
  border-bottom: 1px solid var(--a30-border);
}
.a30-shop-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: var(--a30-slate);
}
.a30-shop-crumb a {
  color: var(--a30-indigo);
  text-decoration: none;
  font-weight: 600;
}
.a30-shop-crumb a:hover { text-decoration: underline; }
.a30-shop-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr minmax(240px, 360px);
  gap: 1.5rem;
  align-items: end;
}
.a30-shop-hero .eyebrow {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(67, 56, 202, 0.1);
  color: var(--a30-indigo);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.65rem;
}
.a30-shop-hero h1 {
  margin: 0 0 0.4rem;
  font-family: var(--a30-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  color: var(--a30-ink);
}
.a30-shop-hero .hero-lede {
  margin: 0;
  color: var(--a30-slate);
  font-size: 0.98rem;
}
.a30-shop-search {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--a30-white);
  border: 1px solid var(--a30-border);
  border-radius: 999px;
  box-shadow: var(--a30-shadow);
}
.a30-shop-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--a30-ink);
  outline: none;
}
.a30-shop-search .btn {
  flex-shrink: 0;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

/* ── Catalog layout ── */
.catalog-page { padding: 1.75rem 0 3.5rem; }
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: 1.75rem;
  align-items: start;
}
.filter-panel {
  background: var(--a30-white);
  border: 1px solid var(--a30-border);
  border-radius: var(--a30-radius);
  padding: 1.15rem;
  height: fit-content;
  position: sticky;
  top: 132px;
  box-shadow: var(--a30-shadow);
}
.filter-panel h2 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--a30-slate);
  font-weight: 700;
}
.filter-nav { display: grid; gap: 0.3rem; }
.filter-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  color: var(--a30-ink);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.25;
  transition: background 0.15s, color 0.15s;
}
.filter-link-icon { font-size: 1rem; line-height: 1; }
.filter-link-label { min-width: 0; }
.filter-link-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--a30-slate);
  background: #F1F5F9;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.filter-link.active,
.filter-link:hover {
  background: #EEF2FF;
  color: var(--a30-indigo);
  font-weight: 600;
}
.filter-link.active .filter-link-count,
.filter-link:hover .filter-link-count {
  background: rgba(67, 56, 202, 0.12);
  color: var(--a30-indigo);
}
.filter-clear {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--a30-indigo);
  text-decoration: none;
}
.filter-clear:hover { text-decoration: underline; }

/* Mobile category chips */
.a30-shop-mobile-filters {
  display: none;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;
  scrollbar-width: none;
}
.a30-shop-mobile-filters::-webkit-scrollbar { display: none; }
.a30-shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--a30-border);
  background: var(--a30-white);
  color: var(--a30-ink);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.a30-shop-chip span {
  font-size: 0.75rem;
  color: var(--a30-slate);
  background: #F1F5F9;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}
.a30-shop-chip.is-active,
.a30-shop-chip:hover {
  border-color: var(--a30-indigo);
  background: #EEF2FF;
  color: var(--a30-indigo);
}
.a30-shop-chip.is-active span { background: rgba(67, 56, 202, 0.12); color: var(--a30-indigo); }

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1.15rem;
}
.result-meta {
  margin: 0;
  color: var(--a30-slate);
  font-size: 0.9rem;
}
.result-meta-pages { font-weight: 600; color: var(--a30-indigo); }

/* ── Packet shelf grid (shop) ── */
.a30-packet-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.35rem 1.15rem;
  perspective: 1200px;
}
.a30-packet-card {
  --tilt: 0deg;
  --lift: 0px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(22px) rotate(var(--tilt));
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--a30-i, 0) * 45ms);
}
.a30-packet-card.is-visible {
  opacity: 1;
  transform: translateY(var(--lift)) rotate(var(--tilt));
}
.a30-packet-card.is-tilt-n { --tilt: -1.4deg; }
.a30-packet-card.is-tilt-p { --tilt: 1.4deg; }
.a30-packet-card.is-featured {
  grid-column: span 2;
  --tilt: -0.6deg;
}
.a30-packet-card:hover,
.a30-packet-card:focus-within {
  --lift: -6px;
  --tilt: 0deg;
  z-index: 2;
}

.a30-packet-visual {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 16px 16px 14px 14px;
  background: linear-gradient(165deg, #FFFCF7 0%, #F3EBDD 100%);
  border: 2px solid rgba(67, 56, 202, 0.14);
  box-shadow:
    0 14px 32px rgba(49, 46, 129, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.a30-packet-card:hover .a30-packet-visual,
.a30-packet-card:focus-within .a30-packet-visual {
  border-color: rgba(67, 56, 202, 0.35);
  box-shadow:
    0 22px 44px rgba(49, 46, 129, 0.16),
    0 0 0 3px rgba(212, 168, 83, 0.25);
}

.a30-packet-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: linear-gradient(90deg, var(--a30-wheat) 0%, var(--a30-wheat-light) 100%);
  border-bottom: 1px dashed rgba(49, 46, 129, 0.2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a30-indigo-dark);
}
.a30-packet-sku {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.62rem;
  opacity: 0.85;
}

.a30-packet-window {
  position: relative;
  margin: 0.65rem;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 55%),
    #E8E0D0;
  box-shadow: inset 0 0 0 1px rgba(49, 46, 129, 0.08);
}
.a30-packet-card.is-featured .a30-packet-window {
  aspect-ratio: 4 / 3;
}
.a30-packet-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.a30-packet-card:hover .a30-packet-window img,
.a30-packet-card:focus-within .a30-packet-window img {
  transform: scale(1.08);
}

.a30-packet-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.a30-packet-card:hover .a30-packet-shine,
.a30-packet-card:focus-within .a30-packet-shine {
  transform: translateX(120%);
}

.a30-packet-badge {
  position: absolute;
  top: 2.35rem;
  left: 0.55rem;
  z-index: 2;
  background: var(--a30-indigo);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.35);
}

.a30-packet-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: linear-gradient(
    180deg,
    rgba(49, 46, 129, 0) 35%,
    rgba(49, 46, 129, 0.82) 100%
  );
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.a30-packet-hover-label {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.a30-packet-hover-arrow {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}
.a30-packet-card:hover .a30-packet-hover,
.a30-packet-card:focus-within .a30-packet-hover {
  opacity: 1;
}
.a30-packet-card:hover .a30-packet-hover-arrow {
  transform: translateX(4px);
}

.a30-packet-meta {
  padding: 0 0.15rem 0.25rem;
}
.a30-packet-lane {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--a30-slate);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.a30-packet-meta h3 {
  margin: 0 0 0.35rem;
  font-family: var(--a30-font-display);
  font-size: 1.02rem;
  line-height: 1.25;
}
.a30-packet-meta h3 a {
  color: var(--a30-ink);
  text-decoration: none;
  transition: color 0.15s;
}
.a30-packet-meta h3 a:hover { color: var(--a30-indigo); }
.a30-packet-variant {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  color: var(--a30-slate);
}
.a30-packet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.a30-packet-price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--a30-indigo-dark);
}
.a30-packet-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #EEF2FF;
  color: var(--a30-indigo);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.a30-packet-cta:hover {
  background: var(--a30-indigo);
  color: #fff;
  text-decoration: none;
  transform: scale(1.04);
}

/* Legacy shop grid overrides removed — shelf replaces product-grid on shop */

.a30-shop-empty {
  background: var(--a30-white);
  border: 1px dashed var(--a30-border);
  border-radius: var(--a30-radius);
  padding: 3rem 1.5rem;
}
.a30-shop-empty .btn { margin-top: 1rem; }

/* Pagination (matches bootstrap-api markup) */
.catalog-pagination { margin-top: 2rem; }
.pagination-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination-btn,
.pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--a30-border);
  background: var(--a30-white);
  color: var(--a30-ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pagination-num.is-active {
  background: var(--a30-indigo);
  color: #fff;
  border-color: var(--a30-indigo);
}
.pagination-btn:hover,
.pagination-num:hover:not(.is-active) {
  background: #EEF2FF;
  border-color: var(--a30-indigo);
  color: var(--a30-indigo);
  text-decoration: none;
}
.pagination-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.pagination-ellipsis {
  padding: 0 0.25rem;
  color: var(--a30-slate);
  font-weight: 600;
}

/* Legacy page hero (other pages) */
.page-hero { padding: 2rem 0 1rem; }
.page-hero .eyebrow {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(67, 56, 202, 0.1);
  color: var(--a30-indigo);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.page-hero h1 {
  margin: 0.75rem 0 0.35rem;
  font-family: var(--a30-font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.page-hero .hero-lede { color: var(--a30-slate); margin: 0; }

/* ── Shared inner page typography & shell ── */
.page-panel { padding: 2rem 0 3rem; }
.section > .container > .eyebrow,
.page-panel .eyebrow,
.panel > .eyebrow {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(67, 56, 202, 0.1);
  color: var(--a30-indigo);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.65rem;
}
.section > .container > h1,
.section > .container > h2,
.page-panel h1 {
  margin: 0 0 0.5rem;
  font-family: var(--a30-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--a30-ink);
}
.section > .container > .mini-copy,
.panel > .mini-copy:first-of-type {
  margin: 0 0 1rem;
}
.lead {
  color: var(--a30-slate);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  max-width: 58ch;
}
.mini-copy {
  font-size: 0.88rem;
  color: var(--a30-slate);
  margin: 0;
  line-height: 1.55;
}
.mini-copy a { font-weight: 600; }
.section-muted {
  background: linear-gradient(180deg, rgba(67, 56, 202, 0.04) 0%, rgba(212, 168, 83, 0.06) 100%);
  border-top: 1px solid var(--a30-border);
  border-bottom: 1px solid var(--a30-border);
}

/* Layout columns */
.dual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 1.5rem;
  align-items: start;
}
.summary-box {
  position: sticky;
  top: 132px;
}
.container-narrow { max-width: 720px; }
.container-prose { max-width: 820px; }

/* Panels */
.panel {
  background: var(--a30-white);
  border: 1px solid var(--a30-border);
  border-radius: var(--a30-radius);
  padding: 1.5rem;
  box-shadow: var(--a30-shadow);
}
.panel h2,
.panel h3 {
  font-family: var(--a30-font-display);
  color: var(--a30-indigo-dark);
}
.panel h2 { font-size: 1.35rem; margin: 0 0 0.75rem; }
.panel h3 { font-size: 1.1rem; margin: 1.25rem 0 0.65rem; }
.panel h3:first-child { margin-top: 0; }
.panel ul.mini-copy {
  padding-left: 1.15rem;
  line-height: 1.75;
}
.panel p + p { margin-top: 0.65rem; }
.a30-rule {
  border: 0;
  border-top: 1px solid var(--a30-border);
  margin: 1.15rem 0;
}

/* Notices & empty states */
.notice {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #F5F0E8;
  border: 1px solid var(--a30-border);
  font-size: 0.92rem;
  color: var(--a30-ink);
}
.notice.error {
  border-color: #FECACA;
  background: #FEF2F2;
  color: #991B1B;
}
.notice.success {
  border-color: #BBF7D0;
  background: #F0FDF4;
  color: #166534;
}
.notice.warning {
  border-color: #FDE68A;
  background: #FFFBEB;
  color: #92400E;
}
.empty-state {
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: var(--a30-slate);
}
.empty-state p:first-child {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--a30-ink);
}
.empty-state .sub {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-weight: 400;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.form-grid label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--a30-indigo-dark);
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--a30-border);
  border-radius: 12px;
  font: inherit;
  background: var(--a30-white);
  color: var(--a30-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--a30-indigo);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.12);
}
.form-grid input[readonly] {
  background: #F8FAFC;
  color: var(--a30-slate);
}
.form-grid textarea {
  min-height: 96px;
  resize: vertical;
}
.panel form .btn-primary,
.panel .btn-row .btn {
  margin-top: 0.25rem;
}

/* Pricing rows */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.92rem;
}
.price-tag {
  font-size: 1.15rem;
  color: var(--a30-indigo-dark);
}
.inline-list {
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--a30-slate);
}

/* Product detail */
.product-hero {
  padding: 2rem 0 2.5rem;
  background:
    linear-gradient(180deg, rgba(67, 56, 202, 0.05) 0%, transparent 240px),
    var(--a30-cream);
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.product-gallery {
  background: var(--a30-white);
  border-radius: 20px;
  border: 2px solid rgba(67, 56, 202, 0.14);
  overflow: hidden;
  padding: 1.25rem;
  box-shadow: var(--a30-shadow);
}
.product-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: #F1EDE4;
}
.product-info h1 {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--a30-font-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.12;
  color: var(--a30-ink);
}
.product-lede {
  color: var(--a30-slate);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}
.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}
.spec-list div {
  padding: 0.75rem 0.85rem;
  background: #F5F0E8;
  border-radius: 12px;
  border: 1px solid var(--a30-border);
}
.spec-list dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--a30-slate);
  margin: 0;
}
.spec-list dd {
  margin: 0.25rem 0 0;
  font-weight: 700;
  color: var(--a30-indigo-dark);
}
.buy-panel {
  padding: 1.35rem;
  background: linear-gradient(145deg, var(--a30-indigo-dark) 0%, #3730A3 100%);
  color: #E0E7FF;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(49, 46, 129, 0.25);
}
.buy-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.buy-top .product-badge,
.panel .product-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  background: var(--a30-wheat);
  color: var(--a30-indigo-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  box-shadow: none;
}
.price-lg {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--a30-wheat);
}
.buy-form {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.buy-form label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}
.buy-form select {
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
}
.buy-panel .btn-primary {
  background: var(--a30-wheat);
  color: var(--a30-indigo-dark);
}
.buy-panel .btn-primary:hover {
  filter: brightness(1.05);
}
.fine-print {
  font-size: 0.78rem;
  opacity: 0.75;
  margin: 0.85rem 0 0;
  line-height: 1.45;
}

/* Related product tiles */
.product-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.product-tile {
  display: flex;
  flex-direction: column;
  background: var(--a30-white);
  border: 1px solid var(--a30-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(67, 56, 202, 0.28);
  box-shadow: 0 16px 36px rgba(49, 46, 129, 0.12);
  text-decoration: none;
}
.product-tile-img {
  padding: 0.65rem 0.65rem 0;
}
.product-tile-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #F1EDE4;
}
.product-tile-info {
  padding: 0.75rem;
}
.product-tile-info h3 {
  font-size: 0.88rem;
  margin: 0 0 0.35rem;
  font-family: var(--a30-font-body);
  line-height: 1.3;
  color: var(--a30-ink);
}
.product-tile-info .price {
  font-size: 0.92rem;
}

/* Cart & tables */
.table-like {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.cart-table th,
.cart-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--a30-border);
  text-align: left;
  vertical-align: middle;
}
.cart-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--a30-slate);
  font-weight: 700;
}
.cart-table input[type="number"] {
  max-width: 80px;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--a30-border);
  border-radius: 8px;
  font: inherit;
}
.cart-add-more { margin-left: auto; }
.cart-form { margin-top: 1.25rem; }
.checkout-form { margin-top: 1rem; }
.checkout-notice { margin-bottom: 1rem; }
.checkout-legal { margin: 1rem 0 0; }
.checkout-submit { margin-top: 1rem; }
.checkout-line { margin-bottom: 0.75rem; }
.checkout-total { margin-top: 1rem; }
.summary-title {
  font-size: 1.2rem;
  margin: 0 0 1rem;
  font-family: var(--a30-font-display);
  color: var(--a30-indigo-dark);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.panel .btn-row,
.panel form > div[style*="flex"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* Orders */
.orders-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.orders-head h3 {
  font-family: var(--a30-font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--a30-indigo-dark);
}
.order-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.order-row {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--a30-border);
  border-radius: 16px;
  background: var(--a30-white);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.order-row strong {
  display: block;
  color: var(--a30-indigo-dark);
  margin-bottom: 0.2rem;
}
.order-items {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--a30-slate);
}
.orders-guest h3 {
  font-family: var(--a30-font-display);
  margin: 0 0 0.5rem;
}

/* Support timeline */
.support-timeline {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--a30-border);
}
.support-item {
  padding: 0.85rem;
  background: #F5F0E8;
  border-radius: 12px;
  border: 1px solid var(--a30-border);
}
.support-item strong {
  display: block;
  color: var(--a30-indigo-dark);
  margin-bottom: 0.25rem;
}

/* Payment redirect (standalone page) */
.a30-pay-redirect {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  font-family: var(--a30-font-body);
  color: var(--a30-ink);
  background: linear-gradient(180deg, #EFEBFF 0%, var(--a30-cream) 100%);
}
.a30-pay-redirect .panel {
  max-width: 420px;
  text-align: center;
}
.a30-pay-redirect h2 {
  margin-top: 0;
  font-family: var(--a30-font-display);
  color: var(--a30-indigo-dark);
}

.order-success-panel {
  padding: 2rem;
  text-align: center;
}
.order-success-panel h1 {
  margin: 0.75rem 0;
}
.help-layout { margin-top: 1.75rem; }
.help-list {
  line-height: 1.75;
  padding-left: 1.15rem;
}
.help-subhead { margin-top: 1.5rem; }
.help-subhead-first { margin-top: 0; }
.orders-guest-actions { margin-top: 1rem; }
.order-success-actions {
  justify-content: center;
  margin-top: 1.5rem;
}
.track-layout,
.contact-layout { margin-top: 1.75rem; }
.track-form,
.contact-form { margin-top: 1rem; }
.contact-notice { margin: 1rem 0; }
.contact-submit { margin-top: 0.5rem; }
.track-order-id { margin-top: 0.75rem; }
.order-status-title { margin: 0.75rem 0 0.5rem; }
.order-status-notice { margin: 1rem 0; }
.order-status-line { margin-bottom: 0.65rem; }
.form-grid-full { grid-column: 1 / -1; }
.company-panel { margin-top: 1.5rem; }
.company-links { margin-top: 1.25rem; }
.order-status-layout { margin-top: 1rem; }
.payment-return-panel { padding: 1.75rem; }

@media (max-width: 980px) {
  .a30-shop-hero-grid { grid-template-columns: 1fr; }
  .a30-shop-mobile-filters { display: flex; }
  .filter-panel { display: none; }
  .catalog-layout { grid-template-columns: 1fr; gap: 0; }
  .product-layout,
  .dual { grid-template-columns: 1fr; }
  .summary-box { position: static; top: auto; }
}

@media (max-width: 860px) {
  .detail-grid, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .a30-shop-search { flex-direction: column; border-radius: var(--a30-radius); }
  .a30-shop-search .btn { width: 100%; }
  .a30-packet-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.65rem;
  }
  .a30-packet-card.is-featured { grid-column: span 2; }
  .a30-packet-card.is-tilt-n,
  .a30-packet-card.is-tilt-p { --tilt: 0deg; }
  .a30-packet-meta h3 { font-size: 0.9rem; }
  .a30-packet-foot { flex-direction: column; align-items: stretch; }
  .a30-packet-cta { text-align: center; justify-content: center; }
  .pagination-btn.pagination-prev,
  .pagination-btn.pagination-next { font-size: 0.82rem; padding: 0.45rem 0.7rem; }
  .spec-list { grid-template-columns: 1fr; }
  .product-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-row { flex-direction: column; align-items: stretch; }
  .order-row .btn { align-self: flex-start; }
  .orders-head { flex-direction: column; align-items: flex-start; }
  .panel { padding: 1.25rem 1rem; }
  .buy-form,
  .buy-form .btn { width: 100%; max-width: none; }
  .cart-table thead { display: none; }
  .cart-table tbody tr {
    display: block;
    margin-bottom: 0.85rem;
    padding: 0.85rem;
    border: 1px solid var(--a30-border);
    border-radius: 14px;
    background: var(--a30-white);
  }
  .cart-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--a30-border);
    text-align: right;
  }
  .cart-table td:last-child { border-bottom: 0; }
  .cart-table td::before {
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--a30-slate);
    text-align: left;
  }
  .panel .btn-primary,
  .panel form .btn { width: 100%; max-width: none; }
  .action-row .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 420px) {
  .a30-packet-shelf { grid-template-columns: 1fr; }
  .a30-packet-card.is-featured { grid-column: span 1; }
}
