:root {
  --ink: #171915;
  --paper: #f4f0e8;
  --paper-deep: #e8e1d4;
  --white: #fffdf8;
  --acid: #d8ff5f;
  --line: rgba(23, 25, 21, 0.18);
  --muted: #696b64;
  --radius: 22px;
  --shadow: 0 22px 65px rgba(23, 25, 21, 0.14);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
}

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

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

.announcement {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.announcement-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--acid);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 232, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 50px);
  font-size: 13px;
  font-weight: 650;
}

.header-actions a {
  position: relative;
}

.header-actions a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.header-actions a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.bag-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 7px 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.bag-count {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
}

.hero {
  display: grid;
  min-height: min(720px, calc(100vh - 108px));
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: 1.05fr 0.95fr;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 7vw, 115px) clamp(24px, 6vw, 96px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(58px, 7.2vw, 116px);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.hero h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 380px;
  margin: clamp(34px, 5vw, 64px) 0 28px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.45;
}

.text-link {
  position: relative;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  margin-left: 8px;
}

.hero-art {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 44%, rgba(216, 255, 95, 0.24), transparent 31%),
    linear-gradient(145deg, #d6cbbd 0%, #c2b3a2 100%);
}

.hero-custom-image {
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
}

.hero-art.has-image::before,
.hero-art.has-image .hero-orb,
.hero-art.has-image .hero-plinth,
.hero-art.has-image > p {
  display: none;
}

.hero-art::before {
  position: absolute;
  width: 84%;
  height: 84%;
  border: 1px solid rgba(23, 25, 21, 0.18);
  border-radius: 50%;
  content: "";
  inset: 8%;
}

.hero-orb {
  position: absolute;
  z-index: 2;
  top: 24%;
  left: 50%;
  width: clamp(200px, 25vw, 365px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 27%, #fff9dd 0, #f5deb1 28%, #d9a979 66%, #a96d48 100%);
  box-shadow: inset -34px -32px 50px rgba(84, 43, 24, 0.17), 0 42px 80px rgba(66, 44, 30, 0.25);
  transform: translateX(-50%);
}

.hero-plinth {
  position: absolute;
  bottom: -10%;
  left: 50%;
  width: 58%;
  height: 52%;
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
  background: linear-gradient(110deg, #564a40, #837264);
  box-shadow: 0 -24px 60px rgba(48, 37, 29, 0.15);
  transform: translateX(-50%);
}

.hero-art > p {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.collection {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(84px, 9vw, 150px) clamp(20px, 4vw, 64px);
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 50px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 74px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.category-tabs {
  display: flex;
  gap: 8px;
  margin: 54px 0 32px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: 160ms ease;
}

.category-tab[aria-selected="true"],
.category-tab:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

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

.product-card {
  min-width: 0;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  background: var(--paper-deep);
}

.product-image-wrap::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(23, 25, 21, 0.16));
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-image {
  transform: scale(1.025);
}

.product-card:hover .product-image-wrap::after {
  opacity: 1;
}

.product-number {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  display: grid;
  min-width: 29px;
  height: 29px;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.84);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.quick-add {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 30px rgba(23, 25, 21, 0.16);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: 200ms ease;
}

.quick-add svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.quick-add.is-added {
  background: var(--acid);
}

.product-card:hover .quick-add,
.quick-add:focus-visible,
.quick-add.is-added {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  display: grid;
  padding: 17px 2px 0;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
}

.product-info h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 400;
}

.product-price {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.product-category {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.loading-card {
  aspect-ratio: 4 / 5;
  background: linear-gradient(90deg, var(--paper-deep), #f0ebe1, var(--paper-deep));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.empty-state {
  padding: 90px 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

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

.text-button {
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.service-strip {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.service-strip article {
  min-height: 250px;
  padding: 45px clamp(24px, 4vw, 55px);
  border-right: 1px solid var(--line);
}

.service-strip article > span {
  display: block;
  margin-bottom: 54px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.service-strip h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}

.service-strip p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  min-height: 310px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px clamp(20px, 4vw, 64px) 38px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 34px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.footer-note {
  align-self: end;
}

.copyright {
  text-transform: uppercase;
}

.mobile-bag-bar {
  position: fixed;
  z-index: 18;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
}

.mobile-bag-bar button {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 12px 38px rgba(23, 25, 21, 0.28);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
}

.mobile-bag-bar strong {
  display: inline-grid;
  width: 25px;
  height: 25px;
  margin-right: 6px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
}

.drawer-backdrop {
  position: fixed;
  z-index: 49;
  background: rgba(23, 25, 21, 0.45);
  backdrop-filter: blur(3px);
  inset: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
}

.bag-drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  display: flex;
  width: min(100%, 510px);
  height: 100%;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(101%);
  transition: transform 320ms cubic-bezier(0.22, 0.9, 0.3, 1);
}

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

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

.drawer-header .eyebrow {
  margin-bottom: 10px;
}

.drawer-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.bag-items {
  flex: 1;
  overflow-y: auto;
}

.bag-item {
  display: grid;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 82px 1fr auto;
  gap: 14px;
}

.bag-item img {
  width: 82px;
  height: 98px;
  background: var(--paper-deep);
  object-fit: cover;
}

.bag-item h3 {
  margin: 2px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
}

.bag-item-price {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity-control button {
  width: 31px;
  height: 29px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quantity-control span {
  min-width: 22px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.remove-item {
  align-self: start;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bag-empty {
  display: flex;
  flex: 1;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 50px 20px;
  text-align: center;
}

.bag-empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 25px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 28px;
}

.bag-empty h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.bag-empty p {
  max-width: 280px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.secondary-button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.bag-summary {
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.bag-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.bag-total strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
}

.bag-summary > p {
  margin: 11px 0 17px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.whatsapp-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: #1fbd66;
  color: #07180e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: 180ms ease;
}

.whatsapp-button:hover {
  background: #28d979;
  transform: translateY(-1px);
}

.whatsapp-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.whatsapp-button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.bag-summary .privacy-note {
  margin: 9px 0 0;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: 200ms ease;
}

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

.noscript {
  position: fixed;
  z-index: 1000;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px;
  background: #b42318;
  color: white;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 560px;
  }

  .hero-art {
    min-height: 560px;
  }

  .section-heading {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-heading > p {
    max-width: 520px;
  }

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

  .quick-add {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .announcement {
    min-height: 27px;
    gap: 7px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .brand {
    font-size: 22px;
  }

  .header-actions > a {
    display: none;
  }

  .bag-button {
    min-height: 38px;
    font-size: 11px;
  }

  .hero {
    border: 0;
  }

  .hero-copy {
    min-height: 500px;
    padding: 74px 20px 70px;
  }

  .hero h1 {
    font-size: clamp(58px, 20vw, 78px);
  }

  .hero-intro {
    margin-top: 40px;
    font-size: 19px;
  }

  .hero-art {
    min-height: 430px;
  }

  .hero-orb {
    width: 58vw;
  }

  .hero-plinth {
    width: 68%;
  }

  .collection {
    padding: 88px 14px;
  }

  .section-heading {
    padding: 0 6px;
  }

  .section-heading h2 {
    font-size: 43px;
  }

  .section-heading > p {
    font-size: 13px;
  }

  .category-tabs {
    margin: 38px -14px 25px;
    padding: 0 20px;
  }

  .product-grid {
    gap: 40px 8px;
  }

  .product-image-wrap {
    aspect-ratio: 3 / 4;
  }

  .product-number {
    top: 9px;
    left: 9px;
    min-width: 24px;
    height: 24px;
    font-size: 8px;
  }

  .quick-add {
    right: 8px;
    bottom: 8px;
    width: 40px;
    height: 40px;
  }

  .product-info {
    display: block;
    padding: 13px 3px 0;
  }

  .product-info h3 {
    min-height: 40px;
    font-size: 16px;
    line-height: 1.2;
  }

  .product-price {
    margin-top: 7px;
    font-size: 12px;
  }

  .product-description {
    display: none;
  }

  .product-category {
    margin-top: 7px;
    font-size: 8px;
  }

  .service-strip {
    border-left: 0;
    grid-template-columns: 1fr;
  }

  .service-strip article {
    display: grid;
    min-height: auto;
    padding: 30px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 44px 1fr;
    gap: 0 10px;
  }

  .service-strip article > span {
    margin: 7px 0 0;
    grid-row: 1 / 3;
  }

  .service-strip h3 {
    margin-bottom: 7px;
    font-size: 20px;
  }

  .site-footer {
    min-height: 340px;
    align-items: start;
    padding: 60px 20px 100px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-note {
    align-self: start;
  }

  .bag-drawer {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(90dvh, 780px);
    padding: 24px 20px calc(18px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    transform: translateY(101%);
  }

  .bag-drawer.is-open {
    transform: translateY(0);
  }

  .drawer-header h2 {
    font-size: 28px;
  }

  .drawer-header .eyebrow {
    display: none;
  }

  .mobile-bag-bar:not([hidden]) {
    display: block;
  }

  .toast {
    bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
