.about-page {
  background: linear-gradient(180deg, var(--paper), var(--paper) 52%, var(--wash) 52%);
}

.about-title {
  padding-bottom: 62px;
}

.about-story {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  padding: 30px 0 88px;
}

.about-story__copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-story__image {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius);
  background: var(--wash);
}

.about-story__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.about-story__image span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 20px 26px;
  color: var(--paper);
  background: var(--ink);
  font-size: 1.6rem;
  font-weight: 900;
}

.about-values,
.team-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
  border: 1px solid var(--line);
}

.value-grid article {
  min-height: 210px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon text";
  gap: 8px 20px;
  padding: clamp(28px, 4vw, 44px);
}

.value-grid article:nth-child(2n) {
  border-left: 1px solid var(--line);
}

.value-grid article:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.value-grid i {
  grid-area: icon;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.value-grid h3 {
  grid-area: title;
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.value-grid p {
  grid-area: text;
  margin: 0;
  color: var(--muted);
}

.team-section {
  background: var(--wash);
}

.team-list {
  display: grid;
  gap: 0;
  margin-top: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.team-list article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 42px;
  min-height: 210px;
  padding: 42px;
}

.team-list article + article {
  border-top: 1px solid var(--line);
}

.team-avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 999px;
  color: var(--quiet);
  background: var(--wash);
  font-size: 1.8rem;
  font-weight: 900;
}

.team-list h3 {
  margin: 12px 0 8px;
  font-size: 1.35rem;
}

.team-list p {
  margin: 0;
  color: var(--muted);
}

.role-tag {
  min-height: 28px;
  border-radius: 0;
  background: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-cta {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 84px;
  display: grid;
  place-items: center;
  gap: 32px;
  min-height: 360px;
  padding: 56px 24px;
  color: var(--paper);
  background: var(--ink);
  text-align: center;
}

.orders-page,
.checkout-page,
.dashboard-page,
.auth-page {
  padding-bottom: 84px;
}

.auth-title {
  padding-bottom: 34px;
}

.auth-panel {
  width: min(520px, 100%);
  margin: 0 auto 84px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.auth-page-form {
  gap: 16px;
}

.auth-page-form .button {
  text-align: center;
}

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

.dashboard-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 260px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.dashboard-card > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.dashboard-card h2 {
  margin: 0;
}

.dashboard-card p {
  margin: 0;
  color: var(--muted);
}

.orders-list {
  display: grid;
  gap: 22px;
}

.order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.order-card__head,
.order-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.order-card__head {
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.order-card__head h2 {
  margin: 0;
}

.order-card__head > span {
  color: var(--muted);
  font-weight: 750;
}

.order-items {
  display: grid;
}

.order-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
}

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

.order-item img {
  width: 88px;
  height: 106px;
  object-fit: cover;
  border-radius: var(--radius);
}

.order-item h3 {
  margin: 0 0 4px;
}

.order-item p {
  margin: 0;
  color: var(--muted);
}

.order-card__foot {
  align-items: center;
  border-top: 1px solid var(--line);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: start;
}

.contact-page,
.policies-page {
  padding-bottom: 84px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.contact-details,
.policy-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-details article,
.policy-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
}

.contact-details article + article,
.policy-list article + article {
  border-top: 1px solid var(--line);
}

.contact-details i,
.policy-list i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.contact-details h2,
.policy-list h2,
.contact-form h2 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.contact-details p,
.policy-list p {
  margin: 0;
  color: var(--muted);
}

.contact-details a {
  color: var(--ink);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  outline: 0;
  color: var(--ink);
  background: var(--paper);
}

.contact-form input {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 999px;
}

.contact-form textarea {
  padding: 14px 16px;
  border-radius: var(--radius);
  resize: vertical;
}

.policy-list {
  width: min(900px, 100%);
  margin: 0 auto;
}

.checkout-form,
.checkout-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
}

.checkout-form h2,
.checkout-summary h2 {
  margin: 0 0 24px;
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.checkout-form input,
.checkout-form textarea,
.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  color: var(--ink);
  background: var(--paper);
}

.checkout-form input,
.auth-form input {
  min-height: 54px;
  padding: 0 18px;
}

.checkout-form textarea {
  border-radius: var(--radius);
  padding: 16px 18px;
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.auth-form input:focus {
  border-color: var(--ink);
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.summary-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.summary-item img {
  width: 68px;
  height: 82px;
  object-fit: cover;
  border-radius: var(--radius);
}

.summary-item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.summary-item p {
  margin: 0;
  color: var(--muted);
}

.summary-lines {
  display: grid;
  gap: 14px;
  padding-top: 20px;
}

.summary-lines div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.summary-lines div:last-child {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
}

.checkout-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--wash);
  text-align: center;
}

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

.checkout-empty p {
  color: var(--muted);
}

.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(43, 35, 24, 0.62);
}

.modal-backdrop.is-open,
.drawer-backdrop.is-open {
  display: block;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 90;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.modal--wide {
  width: min(980px, calc(100% - 32px));
}

.modal h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.modal-note,
.privacy-copy {
  margin: 14px auto 26px;
  color: var(--muted);
  font-size: 1.05rem;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.auth-form input {
  min-height: 60px;
  padding: 0 24px;
  font-size: 1.02rem;
}

.privacy-copy {
  margin: 12px 0 8px;
  text-align: left;
  line-height: 1.55;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--accent);
  font-weight: 750;
}

.account-lines {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  text-align: left;
}

.account-lines div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.account-lines span {
  color: var(--muted);
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  text-align: initial;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 95;
  width: min(450px, 100%);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 240ms ease;
}

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

.drawer-head,
.drawer-foot {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.drawer-head h2 {
  margin: 0;
}

.drawer-body {
  overflow: auto;
  padding: 8px 24px;
}

.drawer-foot {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.drawer-foot > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.drawer-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.drawer-item img {
  width: 82px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
}

.drawer-item h3 {
  margin: 0;
  font-size: 1rem;
}

.drawer-item p {
  margin: 4px 0 10px;
  color: var(--accent);
  font-weight: 850;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.qty-control span {
  min-width: 24px;
  text-align: center;
  font-weight: 850;
}

.drawer-empty {
  min-height: 380px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
}

.drawer-empty h3 {
  margin: 0;
  font-size: 1.45rem;
}

#toast-root {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 120;
  pointer-events: none;
}

.toast,
.purchase-pop {
  pointer-events: auto;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.toast {
  padding: 14px 18px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 800;
}

.purchase-pop {
  position: relative;
  width: min(360px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 14px 42px 14px 14px;
}

.purchase-pop img {
  grid-row: span 3;
  width: 76px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
}

.purchase-pop .icon-button {
  position: absolute;
  top: 8px;
  right: 8px;
}

.purchase-pop p,
.purchase-pop h3,
.purchase-pop span {
  margin: 0;
}

.purchase-pop p,
.purchase-pop span {
  color: var(--muted);
  font-size: 0.9rem;
}

.purchase-pop h3 {
  font-size: 1rem;
  line-height: 1.2;
}

#site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.footer-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.65fr 1.25fr;
  gap: clamp(36px, 7vw, 110px);
  padding: clamp(58px, 8vw, 98px) 0 74px;
}

.footer-inner p {
  max-width: 360px;
  color: var(--muted);
}

.footer-inner h3 {
  margin: 0 0 22px;
  font-size: 1.04rem;
  letter-spacing: 0;
  text-transform: none;
}

.footer-inner a,
.footer-inner button {
  display: block;
  width: fit-content;
  margin-top: 16px;
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  text-align: left;
}

.footer-inner a:hover {
  color: var(--ink);
}

.footer-help > p {
  margin-top: 22px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
}

.footer-newsletter p {
  max-width: 620px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px;
  gap: 12px;
  margin-top: 26px;
}

.newsletter-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
}

.newsletter-form input:focus {
  border-color: var(--ink);
}

.newsletter-note {
  margin-top: 18px;
  line-height: 1.65;
}

.newsletter-note a {
  display: inline;
  width: auto;
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  text-decoration: underline;
}

.footer-bottom {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.floating-contact-links {
  position: fixed;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 85;
  display: grid;
  gap: 10px;
}

.floating-contact-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(43, 35, 24, 0.2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.floating-contact-link img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.floating-contact-link--instagram {
  border-color: #d48eaa;
  background: #8f315d;
}

.floating-contact-link--whatsapp {
  border-color: #79c7a6;
  background: #1f8a62;
}
