:root {
  --page: #fff8f0;
  --paper: #fffdf9;
  --soft: #f6eadf;
  --soft-strong: #ead0bd;
  --bar: #b4683f;
  --bar-dark: #8d4628;
  --text: #2a2520;
  --muted: #6d6259;
  --line: #eadccf;
  --shadow: 0 20px 60px rgba(120, 62, 34, 0.16);
  --radius: 8px;
  --max: 1240px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  padding-bottom: 56px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 248, 240, 0.94);
  box-shadow: 0 1px 0 rgba(180, 104, 63, 0.18);
  backdrop-filter: blur(16px);
}

.utility-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  min-height: 58px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 22px;
}

.utility-left,
.utility-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #44382f;
  font-size: 12px;
  font-weight: 760;
}

.utility-left button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

.utility-actions {
  justify-content: end;
}

.utility-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.brand-lockup {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 280px;
  line-height: 1.1;
}

.brand-lockup strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
}

.brand-lockup span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.cart-pill,
.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cart-pill,
.primary-button {
  background: var(--bar-dark);
  color: #fff8f0;
}

.secondary-button {
  border-color: var(--line);
  background: var(--paper);
  color: var(--text);
}

.text-button {
  min-height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--bar-dark);
  text-decoration: underline;
  text-transform: none;
}

.category-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  min-height: 43px;
  align-items: center;
  background: var(--bar);
  color: #fff8f0;
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.category-nav a {
  opacity: 0.96;
}

.category-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  height: clamp(288px, 34vh, 330px);
  min-height: 0;
  width: min(100%, var(--max));
  margin: 0 auto;
  background: linear-gradient(90deg, #fff8ef 0%, #fdebdc 48%, #f2d0b5 100%);
  overflow: hidden;
}

.hero-copy {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3.6vw, 38px);
}

.hero-copy h1 {
  max-width: 380px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.06;
  font-weight: 500;
}

.hero-copy p {
  max-width: 280px;
  margin: 14px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.hero-copy .primary-button {
  align-self: flex-start;
  border-radius: 0;
  min-height: 40px;
  padding-inline: 26px;
}

.hero-image {
  position: relative;
  min-height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  background: linear-gradient(90deg, #fff8ef 0%, rgba(255, 248, 239, 0) 100%);
  pointer-events: none;
}

.service-card {
  position: absolute;
  right: clamp(22px, 3vw, 42px);
  top: 56%;
  display: grid;
  width: 198px;
  transform: translateY(-50%);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.service-card div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(132, 87, 58, 0.26);
}

.service-card div:last-child {
  border-bottom: 0;
}

.service-card strong {
  display: block;
  font-size: 12px;
  line-height: 1.15;
}

.service-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.section-block {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 14px clamp(24px, 5vw, 66px);
  background: var(--paper);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-circles {
  display: grid;
  grid-template-columns: repeat(8, minmax(84px, 1fr));
  gap: clamp(8px, 1.4vw, 18px);
  align-items: start;
}

.category-item {
  display: grid;
  gap: 9px;
  justify-items: center;
  border: 0;
  background: transparent;
  color: var(--text);
}

.category-thumb {
  width: 66px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background-color: #eadfd4;
  background-image: url("/assets/product-sprite.png");
  background-repeat: no-repeat;
  background-size: 300% 400%;
}

.category-item span:last-child {
  font-size: 11px;
  font-weight: 780;
}

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

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

.product-media,
.sprite-media {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border-radius: 5px;
  overflow: hidden;
  background-color: #eee6dd;
  background-image: url("/assets/product-sprite.png");
  background-repeat: no-repeat;
  background-size: 300% 400%;
  box-shadow: inset 0 0 0 1px rgba(120, 62, 34, 0.05);
}

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

.sprite-1 { background-position: 0% 0%; }
.sprite-2 { background-position: 50% 0%; }
.sprite-3 { background-position: 100% 0%; }
.sprite-4 { background-position: 0% 33.333%; }
.sprite-5 { background-position: 50% 33.333%; }
.sprite-6 { background-position: 100% 33.333%; }
.sprite-7 { background-position: 0% 66.666%; }
.sprite-8 { background-position: 50% 66.666%; }
.sprite-9 { background-position: 100% 66.666%; }
.sprite-10 { background-position: 0% 100%; }
.sprite-11 { background-position: 50% 100%; }
.sprite-12 { background-position: 100% 100%; }

.product-card h3 {
  margin: 12px 0 5px;
  font-size: 14px;
  line-height: 1.25;
}

.product-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.45;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.add-button {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--bar-dark);
  font-size: 12px;
  font-weight: 820;
}

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

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-bottom: 70px;
}

.inquiry-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 500;
}

.inquiry-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--text);
  padding: 12px 13px;
  font-size: 14px;
  text-transform: none;
}

.form-status,
.cart-actions p {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.trust-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 28;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 52px;
  background: linear-gradient(90deg, #e9c4aa, #e6c8b3);
  color: #fffaf5;
  box-shadow: 0 -1px 0 rgba(120, 62, 34, 0.08);
}

.trust-bar div {
  display: grid;
  grid-template-columns: 34px auto;
  align-content: center;
  justify-content: center;
  column-gap: 10px;
}

.trust-bar strong,
.trust-bar small {
  grid-column: 2;
}

.trust-bar strong {
  font-size: 12px;
}

.trust-bar small {
  font-size: 10px;
  font-weight: 700;
}

.trust-icon,
.service-icon {
  grid-row: 1 / span 2;
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: currentColor;
}

.trust-icon::before,
.service-icon::before,
.icon-pencil::before,
.chat-float span::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
}

.heart-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.8 5.7c-1.6-1.9-4.5-1.7-6.1.2L12 9.1 9.3 5.9C7.7 4 4.8 3.8 3.2 5.7c-1.8 2.1-1.4 5.2.7 7.1L12 20l8.1-7.2c2.1-1.9 2.5-5 .7-7.1Z'/%3E%3C/svg%3E"); }
.plane-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 3 9.4 15.6'/%3E%3Cpath d='m22 3-7 19-4-8-8-4 19-7Z'/%3E%3C/svg%3E"); }
.headset-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 13a8 8 0 0 1 16 0'/%3E%3Cpath d='M4 13v4a2 2 0 0 0 2 2h1v-8H6a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M20 13v4a2 2 0 0 1-2 2h-1v-8h1a2 2 0 0 1 2 2Z'/%3E%3Cpath d='M16 19c-.7 1.2-1.9 2-4 2h-1'/%3E%3C/svg%3E"); }
.user-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E"); }
.lock-icon { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3Cpath d='M12 15v2'/%3E%3C/svg%3E"); }
.icon-pencil { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5Z'/%3E%3C/svg%3E"); }

.chat-float {
  position: fixed;
  right: 28px;
  bottom: 66px;
  z-index: 40;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--bar);
  color: #fff;
  box-shadow: 0 16px 34px rgba(141, 70, 40, 0.28);
}

.chat-float span::before {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16v11H8l-4 4V5Z'/%3E%3C/svg%3E");
  width: 28px;
  height: 28px;
}

.cart-drawer,
.contact-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: flex;
  width: min(430px, 100vw);
  height: 100vh;
  flex-direction: column;
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -28px 0 70px rgba(44, 33, 24, 0.16);
  transform: translateX(104%);
  transition: transform 0.22s ease;
}

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

.drawer-head {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-head strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
}

.drawer-head span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.drawer-head button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-size: 20px;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 16px 20px;
}

.cart-empty {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.cart-item strong {
  display: block;
  font-size: 14px;
}

.cart-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.cart-item button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.cart-actions {
  display: grid;
  gap: 10px;
  padding: 18px 20px 24px;
  border-top: 1px solid var(--line);
}

.contact-list {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.contact-list p {
  margin: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
}

.contact-list strong,
.contact-list span {
  display: block;
}

.contact-list span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(47, 34, 25, 0.3);
}

.overlay.is-open {
  display: block;
}

@media (max-width: 980px) {
  .utility-bar {
    grid-template-columns: 1fr auto;
  }

  .utility-left {
    display: none;
  }

  .brand-lockup {
    justify-items: start;
    min-width: 0;
  }

  .category-nav {
    justify-content: start;
    overflow-x: auto;
    padding: 0 18px;
  }

  .hero-section,
  .inquiry-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    height: auto;
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 24px;
  }

  .hero-image {
    min-height: 420px;
  }

  .category-circles {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .service-card {
    right: 24px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding-bottom: 0;
  }

  .utility-bar {
    min-height: 62px;
    padding: 0 14px;
  }

  .utility-actions a {
    display: none;
  }

  .brand-lockup strong {
    font-size: 19px;
  }

  .category-nav {
    gap: 22px;
  }

  .hero-copy {
    padding: 34px 22px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-image {
    min-height: 320px;
  }

  .service-card {
    position: static;
    width: auto;
    margin: -76px 18px 18px;
    transform: none;
  }

  .section-block {
    padding: 30px 18px;
  }

  .category-circles {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .trust-bar {
    position: static;
    grid-template-columns: 1fr;
  }

  .trust-bar div {
    min-height: 66px;
    justify-content: start;
    padding-left: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .chat-float {
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
  }
}
