.shop-mobile-shell {
  --shop-panel: #fff;
  --shop-soft: #f7f4ee;
  --shop-line: #ddd6c9;
  --shop-text: #1d211f;
  --shop-muted: #687069;
  --shop-brand: #173f35;
  --shop-accent: #b98337;
  --shop-danger: #8f3028;
  padding: 38px 0 72px;
  color: var(--shop-text);
}

.shop-mobile-shell .container {
  width: min(calc(100% - 28px), 1180px);
}

.shop-mobile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 22px;
  align-items: stretch;
}

.shop-mobile-hero-copy,
.shop-mobile-service-card,
.shop-mobile-account-panel,
.shop-mobile-product-card,
.shop-mobile-search,
.shop-mobile-order-summary,
.shop-mobile-order-form,
.shop-mobile-cart-row,
.shop-mobile-complete-card,
.shop-mobile-purchase-panel {
  border: 1px solid var(--shop-line);
  border-radius: 18px;
  background: var(--shop-panel);
}

.shop-mobile-hero-copy {
  padding: clamp(26px, 5vw, 54px);
  background:
    linear-gradient(145deg, rgba(23,63,53,.98), rgba(15,45,38,.94));
  color: #fff;
}

.shop-mobile-hero-copy .eyebrow {
  color: #e6bf80;
}

.shop-mobile-hero-copy h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.25rem, 6vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.shop-mobile-hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
}

.shop-mobile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.shop-mobile-primary-action {
  min-width: 180px;
}

.shop-mobile-service-card {
  padding: 26px;
}

.shop-mobile-service-card h2 {
  margin: 12px 0;
}

.shop-mobile-service-card dl {
  margin: 20px 0 0;
}

.shop-mobile-service-card dl > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--shop-line);
}

.shop-mobile-service-card dt {
  color: var(--shop-muted);
}

.shop-mobile-service-card dd {
  margin: 0;
  font-weight: 700;
}

.shop-mobile-section {
  margin-top: 34px;
}

.shop-mobile-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.shop-mobile-heading--page {
  align-items: center;
  margin-bottom: 18px;
}

.shop-mobile-heading h1,
.shop-mobile-heading h2 {
  margin: 4px 0 5px;
}

.shop-mobile-heading p {
  margin-bottom: 0;
  color: var(--shop-muted);
}

.shop-mobile-heading > a:not(.button),
.shop-mobile-text-link {
  color: var(--shop-brand);
  font-weight: 800;
}

.shop-mobile-category-strip {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 3px 1px 8px;
  scrollbar-width: thin;
}

.shop-mobile-category-strip a,
.shop-mobile-category-strip span {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--shop-line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}

.shop-mobile-category-strip a.is-active {
  background: var(--shop-brand);
  border-color: var(--shop-brand);
  color: #fff;
}

.shop-mobile-category-strip--panel {
  padding: 13px;
  margin-bottom: 14px;
  border: 1px solid var(--shop-line);
  border-radius: 16px;
  background: var(--shop-soft);
}

.shop-mobile-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shop-mobile-product-card {
  overflow: hidden;
  min-width: 0;
}

.shop-mobile-product-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--shop-soft);
}

.shop-mobile-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-mobile-product-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--shop-muted);
  font-weight: 800;
  text-align: center;
}

.shop-mobile-product-placeholder--detail {
  min-height: 420px;
}

.shop-mobile-product-copy {
  padding: 18px;
}

.shop-mobile-product-copy h2,
.shop-mobile-product-copy h3 {
  margin: 6px 0 9px;
}

.shop-mobile-product-copy h2 a,
.shop-mobile-product-copy h3 a {
  text-decoration: none;
}

.shop-mobile-product-copy > p:not(.eyebrow) {
  color: var(--shop-muted);
}

.shop-mobile-product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin: 14px 0;
}

.shop-mobile-product-price strong {
  font-size: 1.18rem;
}

.shop-mobile-stock {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eee9df;
  color: #625d55;
  font-size: .78rem;
  font-weight: 800;
}

.shop-mobile-stock--ok {
  color: #165f3d;
  background: #e4f2ea;
}

.shop-mobile-card-action {
  width: 100%;
}

.shop-mobile-account-panel {
  margin-top: 34px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--shop-soft);
}

.shop-mobile-account-panel h2 {
  margin: 5px 0;
}

.shop-mobile-search {
  padding: 14px;
  margin-bottom: 12px;
  background: var(--shop-soft);
}

.shop-mobile-search > label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.shop-mobile-search-row {
  display: flex;
  gap: 9px;
}

.shop-mobile-search input,
.shop-mobile-cart-controls input,
.shop-mobile-purchase-option input,
.shop-mobile-order-form input,
.shop-mobile-order-form textarea {
  min-height: 48px;
  border: 1px solid #aaa69e;
  border-radius: 11px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.shop-mobile-search input {
  flex: 1;
  min-width: 0;
}

.shop-mobile-filter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0 16px;
  color: var(--shop-muted);
}

.shop-mobile-filter-summary span {
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--shop-soft);
}

.shop-mobile-filter-summary a {
  margin-left: auto;
  color: var(--shop-brand);
  font-weight: 800;
}

.shop-mobile-variant-list {
  border-top: 1px solid var(--shop-line);
  margin-top: 13px;
  padding-top: 7px;
}

.shop-mobile-variant-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee9e1;
}

.shop-mobile-variant-row strong,
.shop-mobile-variant-row span {
  display: block;
}

.shop-mobile-variant-row span {
  color: var(--shop-muted);
  font-size: .86rem;
}

.shop-mobile-breadcrumb {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: var(--shop-muted);
  font-size: .9rem;
}

.shop-mobile-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 20px;
  align-items: start;
}

.shop-mobile-detail-main-image {
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  border: 1px solid var(--shop-line);
  border-radius: 18px;
  background: #fff;
}

.shop-mobile-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.shop-mobile-gallery figure,
.shop-mobile-detail-images figure {
  margin: 0;
}

.shop-mobile-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.shop-mobile-gallery figcaption,
.shop-mobile-detail-images figcaption {
  margin-top: 5px;
  color: var(--shop-muted);
  font-size: .82rem;
}

.shop-mobile-purchase-panel {
  padding: 22px;
}

.shop-mobile-purchase-panel h1 {
  margin: 6px 0 10px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

.shop-mobile-lead {
  color: var(--shop-muted);
}

.shop-mobile-purchase-options {
  margin-top: 22px;
}

.shop-mobile-purchase-option {
  padding: 14px 0;
  border-top: 1px solid var(--shop-line);
}

.shop-mobile-purchase-option > div strong,
.shop-mobile-purchase-option > div span,
.shop-mobile-purchase-option > div b,
.shop-mobile-purchase-option > div small {
  display: block;
}

.shop-mobile-purchase-option > div span,
.shop-mobile-purchase-option > div small {
  color: var(--shop-muted);
}

.shop-mobile-purchase-option > div b {
  margin-top: 5px;
  font-size: 1.2rem;
}

.shop-mobile-purchase-option form {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 9px;
  align-items: end;
  margin-top: 11px;
}

.shop-mobile-purchase-option label span {
  display: block;
  margin-bottom: 5px;
  font-size: .82rem;
  font-weight: 800;
}

.shop-mobile-purchase-option input {
  width: 100%;
  box-sizing: border-box;
}

.shop-mobile-buy-button {
  min-height: 48px;
}

.shop-mobile-assurance {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 13px;
  background: var(--shop-soft);
  color: var(--shop-muted);
  font-size: .88rem;
}

.shop-mobile-detail-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--shop-line);
}

.shop-mobile-prose {
  max-width: 820px;
}

.shop-mobile-detail-images {
  display: grid;
  gap: 18px;
}

.shop-mobile-detail-images img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.shop-mobile-bottom-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.shop-mobile-alert {
  margin-bottom: 14px;
  padding: 13px 15px;
  border: 1px solid #d8a49e;
  border-radius: 12px;
  background: #fff0ee;
  color: var(--shop-danger);
}

.shop-mobile-cart-layout,
.shop-mobile-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 16px;
  align-items: start;
}

.shop-mobile-cart-list {
  display: grid;
  gap: 11px;
}

.shop-mobile-cart-row {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.shop-mobile-cart-row h2 {
  margin: 5px 0;
}

.shop-mobile-cart-row p:not(.eyebrow) {
  margin: 4px 0;
  color: var(--shop-muted);
}

.shop-mobile-line-total {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
}

.shop-mobile-cart-controls {
  min-width: 210px;
}

.shop-mobile-cart-controls label {
  display: block;
  margin-bottom: 5px;
  font-weight: 800;
}

.shop-mobile-cart-controls form:first-child > div {
  display: flex;
  gap: 7px;
}

.shop-mobile-cart-controls input {
  width: 88px;
}

.shop-mobile-delete {
  margin-top: 8px;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--shop-danger);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.shop-mobile-order-summary {
  padding: 20px;
}

.shop-mobile-order-summary h2 {
  margin: 5px 0 14px;
}

.shop-mobile-order-summary > div:not(.shop-mobile-checkout-items),
.shop-mobile-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--shop-line);
}

.shop-mobile-order-summary > p:not(.eyebrow) {
  color: var(--shop-muted);
  font-size: .88rem;
}

.shop-mobile-checkout-button,
.shop-mobile-order-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
}

.shop-mobile-checkout-items {
  display: grid;
}

.shop-mobile-checkout-items > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--shop-line);
}

.shop-mobile-order-form {
  padding: 22px;
}

.shop-mobile-order-form h2 {
  margin: 5px 0 16px;
}

.shop-mobile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shop-mobile-form-grid label span {
  display: block;
  margin-bottom: 5px;
  font-weight: 800;
  font-size: .9rem;
}

.shop-mobile-form-grid input,
.shop-mobile-form-grid textarea {
  width: 100%;
  box-sizing: border-box;
}

.shop-mobile-form-wide {
  grid-column: 1 / -1;
}

.shop-mobile-payment-note {
  margin: 18px 0 8px;
  padding: 14px;
  border-radius: 13px;
  background: var(--shop-soft);
}

.shop-mobile-payment-note p {
  margin-bottom: 0;
  color: var(--shop-muted);
}

.shop-mobile-complete-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 42px);
}

.shop-mobile-complete-card h1 {
  margin: 7px 0 10px;
}

.shop-mobile-receipt {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 22px 0;
}

.shop-mobile-receipt > div {
  padding: 13px;
  border-radius: 12px;
  background: var(--shop-soft);
}

.shop-mobile-receipt dt {
  color: var(--shop-muted);
  font-size: .82rem;
}

.shop-mobile-receipt dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.shop-mobile-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 7px;
  padding: 26px;
  border: 1px dashed #bbb3a7;
  border-radius: 16px;
  background: var(--shop-soft);
}

.shop-mobile-empty--large {
  min-height: 260px;
  align-content: center;
  justify-items: start;
}

.shop-mobile-empty span {
  color: var(--shop-muted);
}

@media (max-width: 900px) {
  .shop-mobile-hero,
  .shop-mobile-detail-layout,
  .shop-mobile-cart-layout,
  .shop-mobile-checkout-layout {
    grid-template-columns: 1fr;
  }

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

  .shop-mobile-order-summary {
    order: -1;
  }
}

@media (max-width: 620px) {
  .shop-mobile-shell {
    padding-top: 22px;
  }

  .shop-mobile-shell .container {
    width: min(calc(100% - 18px), 1180px);
  }

  .shop-mobile-product-grid,
  .shop-mobile-gallery,
  .shop-mobile-form-grid,
  .shop-mobile-receipt {
    grid-template-columns: 1fr;
  }

  .shop-mobile-heading,
  .shop-mobile-account-panel,
  .shop-mobile-cart-row {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-mobile-heading,
  .shop-mobile-account-panel {
    display: flex;
  }

  .shop-mobile-search-row,
  .shop-mobile-cart-controls form:first-child > div,
  .shop-mobile-purchase-option form {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .shop-mobile-search-row,
  .shop-mobile-cart-controls form:first-child > div {
    display: flex;
  }

  .shop-mobile-purchase-option form {
    display: grid;
  }

  .shop-mobile-cart-row {
    display: flex;
  }

  .shop-mobile-cart-controls {
    min-width: 0;
  }

  .shop-mobile-cart-controls input {
    width: 100%;
  }

  .shop-mobile-actions .button,
  .shop-mobile-bottom-actions .button,
  .shop-mobile-heading .button {
    width: 100%;
  }

  .shop-mobile-filter-summary a {
    margin-left: 0;
  }

  .shop-mobile-product-placeholder--detail {
    min-height: 260px;
  }
}
