/* Donatos Brasa: shared components and storefront. Palettes live in themes.css. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font: 15px/1.65 Manrope,Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

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

img,svg {
  max-width: 100%;
}

img {
  display: block;
}

figure,p {
  margin: 0;
}

h1,h2,h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(42px,5vw,72px);
  font-weight: 700;
}

h2 {
  font-size: clamp(30px,3.3vw,44px);
  font-weight: 650;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

small {
  font-size: 13px;
}

[hidden] {
  display: none!important;
}

.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 12px 20px;
  z-index: 300;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--link);
  text-transform: uppercase;
}

.tiny-line {
  width: 28px;
  height: 2px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.button.secondary {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text);
}

.button.light {
  background: var(--accent);
  color: var(--on-accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
  text-decoration: underline;
  text-underline-offset: 6px;
  font-weight: 650;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}

.full {
  width: 100%;
}

.center {
  justify-content: center;
  text-align: center;
}

/* Navigation: all destinations and theme controls remain available on mobile. */

.top-strip {
  min-height: 40px;
  padding: 0 max(24px,calc((100vw - 1440px)/2));
  background: var(--brand);
  color: var(--on-brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-strip>span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.top-strip button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 700;
}

.top-strip .icon {
  width: 16px;
}

.shop-header {
  max-width: 1488px;
  margin: auto;
  min-height: 110px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.brand-location {
  border-left: 1px solid var(--border-strong);
  padding-left: 14px;
  font: 500 11px/1.5 'Barlow Condensed',sans-serif;
  letter-spacing: .1em;
}

.brand-location b {
  font-size: 20px;
  letter-spacing: .07em;
}

.shop-header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.shop-header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-btn,.bag-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  white-space: nowrap;
}

.bag-button {
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 10px 14px;
}

.bag-button b {
  min-width: 25px;
  border-left: 1px solid var(--border-strong);
  padding-left: 12px;
  font-size: 13px;
}

.header-theme {
  display: flex;
}

/* The local photo serves both palettes. Gradient protects the copy. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 650px;
  background: var(--page-bg);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 18%;
  z-index: -2;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-edge-overlay),linear-gradient(90deg,var(--hero-start) 0%,var(--hero-start) 22%,var(--hero-mid) 36%,var(--hero-end) 55%,transparent 70%);
}

.hero-copy {
  max-width: 620px;
  padding: 64px 32px 60px;
  margin-left: max(0px,calc((100% - 1440px)/2));
}

.hero .eyebrow {
  color: var(--hero-accent);
}

.hero h1 {
  font-size: clamp(50px,5.2vw,76px);
  line-height: 1.06;
  letter-spacing: -.055em;
}

.hero h1 em {
  color: var(--hero-accent);
  font-family: 'DM Serif Display',Georgia,serif;
  font-weight: 400;
  font-size: 1.24em;
  line-height: 1.1;
}

.hero-description {
  max-width: 365px;
  margin-top: 24px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  color: var(--text);
  font-size: 13px;
}

.hero-note .icon {
  width: 16px;
}

.hero-photo-label {
  position: absolute;
  right: 24px;
  bottom: 20px;
  max-width: calc(100% - 48px);
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--page-bg);
  color: var(--text-muted);
  font-size: 11px;
}

.value-strip {
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 28px;
}

.value-strip>span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.value-strip i {
  width: 1px;
  height: 18px;
  background: var(--border);
}

.value-strip .argentina-mark {
  margin-left: auto;
  font: 600 12px 'Barlow Condensed',sans-serif;
  letter-spacing: .16em;
}

.argentina-mark b {
  color: var(--hero-accent);
  font-size: 30px;
}

/* Catalog and editorial sections. */

.catalog-section,.story-section,.account-page {
  max-width: 1376px;
  margin: 0 auto;
  padding: 88px 32px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading>p,.section-heading>span {
  color: var(--text-muted);
  font-size: 14px;
}

.catalog-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  flex: 1;
}

.category-tab {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.category-tab.active {
  color: var(--on-accent);
  background: var(--accent);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--field-bg);
  color: var(--text-muted);
}

.search-box input {
  min-width: 0;
  width: 180px;
  min-height: 44px;
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
}

.search-box:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.search-box input:focus-visible {
  outline: none;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: 12px;
  margin: 20px 0;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.product-image-button {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  overflow: hidden;
}

.product-art {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--surface-raised);
}

.product-image-button .product-art {
  aspect-ratio: 1.22;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-art>svg {
  display: block;
  width: 100%;
  height: 85%;
  max-height: 340px;
  margin: auto;
}

.product-art>span {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--text-muted);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.product-number {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: 22px;
  color: var(--on-brand);
  text-shadow: 0 1px 5px var(--overlay);
}

.product-info {
  padding: 23px;
}

.product-unit {
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.product-title {
  display: block;
  text-align: left;
  font-weight: 700;
  font-size: clamp(20px,1.8vw,26px);
  line-height: 1.25;
  letter-spacing: -.04em;
}

.product-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin: 12px 0 20px;
  min-height: 68px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-bottom strong {
  font-size: 23px;
  letter-spacing: -.025em;
}

.add-circle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.product-info>small {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
}

.catalog-disclaimer {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 12px;
  max-width: 850px;
}

.custom-banner {
  display: flex;
  align-items: center;
  gap: 36px;
  max-width: 1312px;
  margin: 0 auto;
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
  padding: 48px;
}

.custom-banner .eyebrow {
  color: var(--on-brand);
  margin-bottom: 12px;
}

.custom-banner h2 {
  font-size: 38px;
}

.custom-banner p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 530px;
  font-size: 14px;
}

.banner-sun {
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
}

.custom-banner>.button {
  margin-left: auto;
  flex-shrink: 0;
}

.story-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 110px;
}

.story-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.25;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.story-photo figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--text-muted);
}

.story-photo figcaption span {
  letter-spacing: 0;
}

.story-copy h2 {
  font-size: clamp(30px,3vw,42px);
}

.story-copy h2 em {
  color: var(--link);
  font-family: 'DM Serif Display',Georgia,serif;
  font-weight: 400;
}

.story-copy>p:not(.eyebrow) {
  color: var(--text-muted);
  margin-top: 24px;
  max-width: 520px;
}

.hours {
  display: flex;
  gap: 14px;
  padding: 24px 0;
  margin-top: 8px;
}

.hours .icon {
  margin-top: 4px;
}

.hours b,.hours span,.hours small {
  display: block;
}

.hours span {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 7px;
}

.hours small {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 8px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 40px;
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  padding: 60px max(32px,calc((100vw - 1312px)/2)) 24px;
}

.site-footer img {
  border-radius: 50%;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

.site-footer .eyebrow {
  color: var(--text-muted);
  margin-top: 12px;
}

.site-footer p {
  margin-bottom: 12px;
}

.site-footer a,.site-footer button {
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
}

.footer-bottom button {
  font-size: 12px;
}

.demo-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 24px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  border-top: 1px solid var(--border);
}

.demo-ribbon button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--text);
}

.demo-dot {
  width: 6px;
  height: 6px;
  background: var(--hero-accent);
  border-radius: 50%;
}

/* Native dialogs live outside the shop and panel shells. */

dialog {
  padding: 0;
  margin: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 48px);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(5px);
}

#dialog-content {
  position: relative;
}

.dialog-controls {
  position: sticky;
  top: 0;
  height: 64px;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.modal-close {
  position: relative;
  flex-shrink: 0;
  margin: 10px 14px;
  border-color: var(--border-strong);
  border-radius: 50%;
}

.product-modal {
  width: 1000px;
  max-width: 100%;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  padding: 40px;
}

.product-modal>.product-art {
  border-radius: 7px;
  min-height: 460px;
}

.product-modal>.product-art img {
  position: absolute;
  inset: 0;
}

.product-modal>div:last-child {
  min-width: 0;
  padding-top: 14px;
}

.product-modal h2 {
  font-size: 32px;
  margin-bottom: 14px;
  padding-right: 12px;
}

.product-modal .eyebrow {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-modal h2+p {
  color: var(--text-muted);
  font-size: 14px;
}

.pack-components {
  display: grid;
  gap: 12px;
  padding: 22px 0;
  margin: 22px 0;
  border-block: 1px solid var(--border);
  font-size: 14px;
}

.pack-components>span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.pack-components small {
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
}

.allergen-note {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 20px;
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}

legend {
  font-size: 15px;
  font-weight: 700;
  padding: 0 0 12px;
}

.extra-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  cursor: pointer;
}

.extra-option>span {
  flex: 1;
}

.extra-option b {
  white-space: nowrap;
  font-size: 13px;
}

input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  flex-shrink: 0;
  cursor: pointer;
}

.quantity-and-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}

.quantity-and-price label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.quantity-and-price input {
  width: 74px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  background: var(--field-bg);
}

.quantity-and-price strong {
  font-size: 28px;
  white-space: nowrap;
}

.form-note {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin: 14px 0;
}

.bag-content,.checkout-content,.success-content,.order-detail,.profile-form,.about-content {
  width: 580px;
  max-width: 100%;
  padding: 24px 36px 36px;
}

.bag-content h2,.checkout-content h2,.success-content h2,.order-detail h2,.profile-form h2,.about-content h2 {
  margin-bottom: 20px;
  font-size: 34px;
}

.bag-content h2 span,.account-heading h1 span {
  color: var(--link);
}

.bag-lines {
  margin-top: 24px;
}

.bag-line {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.bag-thumbnail {
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
}

.bag-thumbnail .product-art>span {
  display: none;
}

.bag-line h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.bag-line small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
}

.bag-line>div:last-child {
  text-align: right;
  font-size: 15px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  margin-top: 12px;
  overflow: hidden;
}

.stepper button {
  width: 44px;
  height: 44px;
  background: var(--surface-raised);
  font-size: 20px;
}

.stepper span {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
}

.remove-line {
  min-height: 44px;
  display: block;
  margin-left: auto;
  color: var(--text-muted);
  text-decoration: underline;
  font-size: 12px;
}

.bag-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  margin: 10px 0 16px;
  font-size: 14px;
}

.bag-total strong {
  font-size: 26px;
  white-space: nowrap;
}

.empty-state {
  padding: 48px 24px;
  text-align: center;
  grid-column: 1/-1;
}

.empty-state>.icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.empty-state h3 {
  margin-bottom: 14px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.checkout-content form,.profile-form form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.checkout-content form>label:not(.consent),.profile-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
}

.checkout-content input:not([type=checkbox]),.checkout-content select,.checkout-content textarea,.profile-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--field-bg);
  font-size: 16px;
  font-weight: 400;
}

textarea {
  resize: vertical;
  min-height: 95px;
}

::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.checkout-content .bag-total,.checkout-content .form-note {
  margin: 0;
}

.consent {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  cursor: pointer;
}

.notice {
  padding: 16px;
  border-radius: 7px;
  background: var(--warning-bg);
  color: var(--warning-text);
  font-size: 14px;
}

.success-content {
  text-align: center;
}

.success-content .eyebrow {
  justify-content: center;
}

.success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-text);
}

.success-mark .icon {
  width: 30px;
  height: 30px;
}

.success-content>p {
  margin-bottom: 24px;
}

.success-content .notice {
  margin: 24px 0;
}

.about-content>p,.profile-form>p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.about-content>.notice {
  color: var(--warning-text);
}

.about-content a {
  color: var(--link);
  text-decoration: underline;
}

.scope-list {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  padding: 24px 0;
  border-block: 1px solid var(--border);
}

.scope-list b {
  display: block;
  margin-bottom: 6px;
}

.order-detail>.status-pill {
  margin-bottom: 8px;
}

.order-detail>p {
  overflow-wrap: anywhere;
}

#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%,15px);
  z-index: 200;
  max-width: min(600px,calc(100% - 32px));
  padding: 15px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  font-size: 14px;
}

#toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}

/* Account: operational statuses share the control center semantics. */

.account-heading {
  margin-bottom: 48px;
}

.account-heading h1 {
  font-size: 54px;
  margin-bottom: 16px;
}

.account-heading>p:not(.eyebrow) {
  color: var(--text-muted);
}

.demo-pill {
  display: inline-flex;
  padding: 6px 10px;
  margin-top: 18px;
  font-size: 12px;
  border-radius: 5px;
  background: var(--warning-bg);
  color: var(--warning-text);
}

.account-layout {
  display: grid;
  grid-template-columns: 290px minmax(0,1fr);
  gap: 40px;
  align-items: start;
}

.account-profile {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 26px;
}

.avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 50%;
  font: 28px 'DM Serif Display',Georgia,serif;
  margin-bottom: 18px;
}

.account-profile p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 8px 0 22px;
  overflow-wrap: anywhere;
}

.account-profile .button {
  width: 100%;
  padding: 12px;
  font-size: 12px;
}

.account-profile small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 20px;
}

.account-orders .section-heading {
  align-items: center;
  margin-bottom: 24px;
}

.account-orders h2 {
  font-size: 28px;
}

.customer-order {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 28px;
  margin-bottom: 20px;
}

.order-top,.order-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.order-top strong {
  font-size: 16px;
}

.customer-order>p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 14px 0;
}

.customer-order h3 {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.02em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.status-pill.new {
  background: var(--status-new-bg);
  color: var(--status-new-text);
}

.status-pill.preparing {
  background: var(--status-preparing-bg);
  color: var(--status-preparing-text);
}

.status-pill.ready {
  background: var(--status-ready-bg);
  color: var(--status-ready-text);
}

.status-pill.completed {
  background: var(--status-completed-bg);
  color: var(--status-completed-text);
}

.status-pill.cancelled {
  background: var(--status-cancelled-bg);
  color: var(--status-cancelled-text);
}

.order-progress {
  display: flex;
  justify-content: space-between;
  margin: 28px 0 36px;
  padding-bottom: 22px;
}

.order-progress>span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  border-top: 3px solid var(--border);
  padding-top: 12px;
  color: var(--text-muted);
  font-size: 12px;
}

.order-progress>span.done {
  color: var(--success-text);
  border-color: var(--success-text);
}

.order-progress small {
  position: absolute;
  top: 36px;
  white-space: nowrap;
  font-size: 11px;
}

.order-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.order-bottom>strong {
  font-size: 23px;
}

.order-bottom>span {
  color: var(--text-muted);
  font-size: 12px;
}

.order-bottom .text-link {
  font-size: 13px;
}

@media (max-width:1260px) {
  .shop-header {
    gap: 18px;
  }

  .brand-location {
    display: none;
  }

  .shop-header nav {
    margin-left: 10px;
    gap: 20px;
  }

  .header-actions {
    margin-left: auto;
  }

  .value-strip {
    gap: 18px;
  }

  .value-strip .argentina-mark {
    display: none;
  }

  .catalog-tools {
    flex-wrap: wrap;
  }

  .catalog-tools .category-tabs {
    flex-basis: 100%;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    width: 100%;
  }

  .custom-banner {
    margin-inline: 32px;
  }
}

@media (max-width:900px) {
  .shop-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 20px;
  }

  .brand-location {
    display: block;
  }

  .shop-header nav {
    grid-row: 2;
    grid-column: 1;
    margin: 0;
    justify-content: flex-start;
  }

  .header-actions {
    grid-row: 1;
    grid-column: 2;
  }

  .header-theme {
    grid-row: 2;
    grid-column: 2;
    justify-content: flex-end;
  }

  .hero {
    min-height: 610px;
  }

  .hero-copy {
    padding: 56px 32px;
    max-width: 530px;
  }

  .hero::before {
    background: var(--hero-edge-overlay),linear-gradient(90deg,var(--hero-start) 0%,var(--hero-mid) 42%,var(--hero-end) 76%,transparent 92%);
  }

  .hero-media {
    inset-inline-start: 0;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-photo-label {
    bottom: 12px;
  }

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

  .custom-banner {
    padding: 36px;
    flex-wrap: wrap;
    gap: 24px;
  }

  .banner-sun {
    font-size: 70px;
  }

  .custom-banner>div {
    flex: 1;
  }

  .custom-banner>.button {
    margin-left: 94px;
  }

  .story-section {
    gap: 36px;
    grid-template-columns: 1fr;
  }

  .story-photo img {
    aspect-ratio: 16/9;
  }

  .story-copy>p:not(.eyebrow) {
    max-width: 100%;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-profile {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 10px 18px;
  }

  .account-profile .avatar {
    grid-row: 1/3;
    margin: 0;
  }

  .account-profile h3 {
    align-self: end;
  }

  .account-profile p {
    margin: 0;
  }

  .account-profile .button,.account-profile small {
    grid-column: 1/-1;
    margin-top: 4px;
  }

  .product-modal {
    gap: 24px;
    padding: 32px;
    grid-template-columns: .75fr 1fr;
  }
}

@media (max-width:640px) {
  html {
    scroll-padding-top: 12px;
  }

  .top-strip {
    padding: 0 16px;
    gap: 12px;
  }

  .top-strip>span {
    font-size: 8px;
    letter-spacing: .08em;
    max-width: 160px;
  }

  .top-strip button {
    font-size: 11px;
  }

  .top-strip button .icon {
    display: none;
  }

  .shop-header {
    padding: 16px;
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-location {
    padding-left: 9px;
    font-size: 9px;
  }

  .brand-location b {
    font-size: 17px;
  }

  .header-actions {
    gap: 8px;
  }

  .account-btn {
    width: 44px;
  }

  .account-btn span,.bag-label {
    display: none;
  }

  .bag-button {
    gap: 7px;
    padding: 8px;
  }

  .bag-button b {
    min-width: 22px;
    padding-left: 8px;
  }

  .shop-header nav {
    grid-column: 1/-1;
    grid-row: 3;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 6px;
  }

  .shop-header nav a {
    font-size: 13px;
  }

  .header-theme {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .header-theme .theme-switch {
    width: 100%;
  }

  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    display: block;
    width: 100%;
    height: 280px;
  }

  .hero-photo {
    object-position: center 38%;
  }

  .hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 86%,var(--page-bg) 100%);
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    padding: 8px 24px 36px;
    margin: 0;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(36px,10vw,56px);
  }

  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 15px;
    max-width: 420px;
  }

  .hero-buttons {
    gap: 16px;
  }

  .hero-buttons .button {
    padding-inline: 18px;
  }

  .hero-buttons .text-link {
    font-size: 13px;
  }

  .hero-note {
    margin-top: 26px;
    font-size: 12px;
  }

  .hero-photo-label {
    top: 18px;
    right: 16px;
    bottom: auto;
    font-size: 10px;
  }

  .value-strip {
    padding: 22px 24px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .value-strip>span {
    font-size: 12px;
    gap: 9px;
  }

  .value-strip i {
    display: none;
  }

  .catalog-section,.story-section,.account-page {
    padding: 56px 20px;
  }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading>p,.section-heading>span {
    display: block;
    margin-top: 16px;
  }

  .section-heading>p br {
    display: none;
  }

  .catalog-tools {
    gap: 16px;
  }

  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 2px 10px;
  }

  .category-tab {
    font-size: 13px;
    padding-inline: 14px;
  }

  .catalog-meta {
    align-items: flex-start;
    font-size: 11px;
  }

  .catalog-meta>span:last-child {
    max-width: 200px;
    text-align: right;
  }

  .product-info {
    padding: 20px;
  }

  .product-title {
    font-size: 24px;
  }

  .custom-banner {
    margin: 0 20px;
    padding: 30px 24px;
    display: block;
  }

  .banner-sun {
    display: block;
    font-size: 60px;
    margin-bottom: 22px;
  }

  .custom-banner h2 {
    font-size: 32px;
  }

  .custom-banner>.button {
    margin: 26px 0 0;
  }

  .story-section {
    gap: 32px;
  }

  .story-photo img {
    aspect-ratio: 1.25;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 24px 20px;
  }

  .footer-bottom {
    display: block;
    padding-top: 20px;
  }

  .footer-bottom span {
    display: block;
  }

  .demo-ribbon {
    padding: 12px 20px;
    font-size: 11px;
  }

  dialog {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 10px;
  }

  .product-modal {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 22px;
    width: calc(100vw - 26px);
  }

  .product-modal>.product-art {
    min-height: 220px;
    height: 220px;
  }

  .product-modal h2 {
    font-size: 28px;
  }

  .product-modal>div:last-child {
    padding: 0;
  }

  .bag-content,.checkout-content,.success-content,.order-detail,.profile-form,.about-content {
    width: calc(100vw - 26px);
    padding: 24px 20px 28px;
  }

  .bag-line {
    grid-template-columns: 55px 1fr auto;
    gap: 10px;
  }

  .bag-thumbnail {
    height: 70px;
  }

  .bag-line h3 {
    font-size: 15px;
  }

  .bag-line>div:last-child {
    font-size: 13px;
  }

  .stepper button {
    width: 38px;
    height: 44px;
  }

  .stepper span {
    min-width: 28px;
  }

  .bag-total {
    font-size: 13px;
  }

  .bag-total strong {
    font-size: 23px;
  }

  .quantity-and-price {
    gap: 10px;
  }

  .quantity-and-price label {
    gap: 10px;
  }

  .quantity-and-price strong {
    font-size: 25px;
  }

  .account-heading h1 {
    font-size: 42px;
  }

  .account-orders .section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .account-orders .section-heading>span {
    margin: 0;
    font-size: 12px;
  }

  .customer-order {
    padding: 20px;
  }

  .order-progress small {
    font-size: 10px;
  }

  .order-bottom {
    gap: 10px;
  }

  .order-bottom>span {
    font-size: 11px;
  }
}

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

  .product-image-button .product-art {
    aspect-ratio: 1.35;
  }

  .product-desc {
    min-height: 0;
  }
}
