:root {
  --ink: #23203e;
  --yellow: #f5cd3c;
  --paper: #f8f7f3;
  --muted: #73717c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    15px/1.5 Arial,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.demo {
  background: var(--ink);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 12px;
}
.wrap {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
}
header {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}
.brand {
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: bold;
  white-space: nowrap;
}
.brand span {
  color: #ad8410;
}
.brand small {
  display: block;
  font: 9px Arial;
  letter-spacing: 3px;
}
.search {
  flex: 1;
  position: relative;
}
.search input {
  width: 100%;
  border: 1px solid #dddbe2;
  border-radius: 30px;
  background: white;
  padding: 13px 20px;
}
button {
  border: 0;
  border-radius: 9px;
  padding: 12px 19px;
  background: var(--ink);
  color: white;
  font-weight: 600;
}
button.yellow {
  background: var(--yellow);
  color: var(--ink);
}
button.light {
  background: white;
  color: var(--ink);
  border: 1px solid #dedce5;
}
.nav {
  display: flex;
  gap: 28px;
  border-top: 1px solid #e8e5de;
  padding: 15px 0;
  overflow: auto;
  white-space: nowrap;
  font-size: 13px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  color: white;
  min-height: 390px;
}
.hero-copy {
  padding: 46px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--yellow);
  font-weight: bold;
}
h1 {
  font:
    48px/1.08 Georgia,
    serif;
  margin: 20px 0;
}
h1 em {
  color: var(--yellow);
  font-weight: normal;
}
p {
  color: var(--muted);
}
.hero p {
  color: #d2cedf;
  max-width: 370px;
  margin-bottom: 27px;
}
.hero-photo {
  position: relative;
  min-height: 350px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
.stamp {
  position: absolute;
  bottom: 23px;
  left: 23px;
  background: white;
  color: var(--ink);
  padding: 14px 20px;
  border-radius: 10px;
}
.stamp small {
  display: block;
  color: var(--muted);
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 25px 0;
  border-bottom: 1px solid #e4e1db;
  gap: 20px;
  font-size: 13px;
}
.benefits span {
  color: #a18522;
  margin-right: 10px;
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 40px 0 20px;
}
.sectionhead h2 {
  font: 30px Georgia;
  margin: 0;
}
.sectionhead p {
  margin: 6px 0 0;
  font-size: 13px;
}
.chips {
  display: flex;
  gap: 9px;
  overflow: auto;
  padding: 0 0 22px;
}
.chips button {
  white-space: nowrap;
  border-radius: 25px;
  background: white;
  color: var(--muted);
  border: 1px solid #e1dfe4;
  font-size: 12px;
  padding: 10px 17px;
}
.chips button.active {
  background: var(--ink);
  color: white;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: white;
  border: 1px solid #e9e6df;
  border-radius: 13px;
  overflow: hidden;
}
.photo {
  height: 235px;
  overflow: hidden;
  position: relative;
}
.photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.card:hover img {
  transform: scale(1.04);
}
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff8d8;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
}
.info {
  padding: 17px;
}
.info small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
h3 {
  font-size: 16px;
  margin: 7px 0 10px;
}
.price {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 15px;
}
.info button {
  width: 100%;
  font-size: 12px;
}
.story {
  margin: 50px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  background: #eeece4;
  border-radius: 16px;
  overflow: hidden;
}
.story img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.story div {
  padding: 25px;
}
.story h2 {
  font: 30px Georgia;
}
.story p {
  font-size: 14px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding-bottom: 45px;
}
.steps b {
  font: 28px Georgia;
  color: #ad8410;
}
.steps h3 {
  margin-bottom: 5px;
}
.steps p {
  font-size: 13px;
  margin: 0;
}
footer {
  border-top: 1px solid #ddd9d0;
  padding: 25px 0;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
dialog {
  border: 0;
  border-radius: 16px;
  width: 480px;
  max-width: calc(100% - 24px);
  padding: 28px;
  color: var(--ink);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #17132cb0;
  backdrop-filter: blur(4px);
}
.close {
  float: right;
  background: #efedf3;
  color: var(--ink);
  padding: 5px 12px;
}
.field {
  display: block;
  margin: 14px 0;
  font-size: 12px;
  font-weight: bold;
}
.field input,
.field select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 13px;
  border: 1px solid #d7d3df;
  border-radius: 7px;
  background: white;
}
.line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.line div {
  flex: 1;
}
.line small {
  display: block;
  color: var(--muted);
}
.line button {
  padding: 4px 10px;
}
.note {
  font-size: 12px;
  background: #fff7dc;
  border-radius: 8px;
  padding: 12px;
}
.full {
  width: 100%;
  margin-top: 15px;
}
.empty {
  grid-column: 1/-1;
  padding: 45px;
  text-align: center;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 13px 24px;
  border-radius: 10px;
  z-index: 9;
  display: none;
}
@media (max-width: 800px) {
  .wrap {
    padding: 0 20px;
  }
  header {
    gap: 15px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 25px;
  }
  .search {
    order: 3;
    flex-basis: 100%;
  }
  header > button {
    margin-left: auto;
  }
  .nav {
    gap: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 30px;
  }
  h1 {
    font-size: 39px;
  }
  .hero-photo {
    min-height: 230px;
  }
  .benefits {
    font-size: 11px;
    gap: 8px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .photo {
    height: 190px;
  }
  .info {
    padding: 12px;
  }
  h3 {
    font-size: 14px;
  }
  .sectionhead h2 {
    font-size: 26px;
  }
  .sectionhead > span {
    display: none;
  }
  .story {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .story img {
    height: 220px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  footer {
    gap: 20px;
  }
  .hero p {
    font-size: 14px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  font-family: Arial, sans-serif;
}
button,
.btn {
  min-height: 44px;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px #23203e15;
}
button:active {
  transform: scale(0.97);
}
:focus-visible {
  outline: 3px solid #aa7e00;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
}
.yellow {
  background: var(--yellow);
  color: var(--ink);
}
.light {
  background: white;
  color: var(--ink);
  border: 1px solid #ddd;
}
.icon {
  width: 23px;
  height: 23px;
  vertical-align: middle;
  flex-shrink: 0;
}
header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #f8f7f3f5;
  backdrop-filter: blur(14px);
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
#cartbtn {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 30px;
}
.badge {
  border-radius: 50%;
  background: var(--yellow);
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
}
.hero {
  border-radius: 24px;
  box-shadow: 0 14px 44px #23203e18;
}
.hero-copy {
  background: radial-gradient(ellipse at top left, #44365d, var(--ink) 75%);
}
.benefits > div {
  display: flex;
  align-items: center;
}
.card {
  border-radius: 18px;
  box-shadow: 0 5px 16px #23203e05;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  animation: rise 0.4s ease both;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px #23203e15;
}
.photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #eeece4;
}
.card .photo:hover {
  transform: none;
}
.info h3 {
  min-height: 42px;
}
.info button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: white;
}
.card-image {
  position: relative;
}
.fav {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 0;
  width: 40px;
  min-height: 40px;
  background: white;
  color: var(--ink);
  border-radius: 50%;
  font-size: 23px;
}
.fav[aria-pressed="true"] {
  color: #8c244a;
  background: #fff0f5;
}
.catalogue-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  margin: 15px 0;
}
.textbtn {
  background: transparent;
  color: var(--ink);
  padding: 5px 0;
}
.chips {
  scrollbar-width: none;
}
.chips button {
  font-size: 13px;
}
.mobile-nav {
  display: none;
}
.faq {
  margin: 35px 0 45px;
}
.faq h2 {
  font: 30px Georgia;
}
.faq details {
  border-bottom: 1px solid #ddd8e0;
  padding: 17px 0;
}
.faq summary {
  font-weight: bold;
  cursor: pointer;
}
.faq p {
  max-width: 750px;
  font-size: 14px;
}
.dialoghead {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialoghead h2 {
  margin: 4px 0 18px;
  font: 30px Georgia;
}
.dialoghead .eyebrow {
  color: #8a6710;
}
.close {
  min-width: 44px;
  min-height: 44px;
  font-size: 26px;
  border-radius: 50%;
}
.progress {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 12px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  color: var(--muted);
}
.progress b {
  color: var(--ink);
}
dialog {
  width: 550px;
  padding: 26px;
  border-radius: 22px;
  box-shadow: 0 25px 100px #0004;
}
dialog[open] {
  animation: rise 0.25s ease;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.line {
  gap: 12px;
}
.line img {
  width: 54px;
  height: 64px;
  object-fit: cover;
  border-radius: 9px;
}
.line strong {
  font-size: 13px;
}
.line button {
  min-width: 36px;
  min-height: 36px;
  background: #f2eff5;
  color: var(--ink);
  padding: 5px;
}
.line .quantity {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0;
}
.remove {
  background: none !important;
  font-size: 11px;
  text-decoration: underline;
  color: var(--muted) !important;
}
.subtotal {
  display: flex;
  justify-content: space-between;
  padding-top: 17px;
  font-weight: bold;
}
.small {
  font-size: 12px;
  line-height: 1.6;
}
.fieldrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  font-size: 13px;
}
.field input,
.field select,
.field textarea {
  font: 16px Arial;
  width: 100%;
  padding: 14px;
  border: 1px solid #d7d3df;
  border-radius: 10px;
  margin-top: 6px;
  background: #fff;
}
.field textarea {
  resize: vertical;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: #625d70;
}
.consent input {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  accent-color: var(--ink);
}
#summary {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 13px/1.7 Arial;
  background: #f7f5f9;
  border: 1px solid #e8e3ed;
  border-radius: 12px;
  padding: 18px;
}
.full {
  display: flex;
  justify-content: center;
  gap: 10px;
}
#toast {
  bottom: 25px;
  max-width: 90vw;
  text-align: center;
  font-size: 13px;
  box-shadow: 0 6px 24px #0003;
}
.detailphoto {
  width: 100%;
  max-height: 370px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 14px;
}
.empty .icon {
  width: 64px;
  height: 64px;
  color: #ada6ba;
}
.empty h3 {
  font: 24px Georgia;
}
.bump {
  animation: bump 0.35s ease;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bump {
  50% {
    transform: scale(1.18);
  }
}
@media (max-width: 800px) {
  body {
    padding-bottom: 85px;
  }
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  header {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    gap: 10px;
  }
  .brand {
    font-size: 23px;
  }
  .brand small {
    font-size: 8px;
  }
  .cart-label {
    display: none;
  }
  #cartbtn {
    padding: 9px 12px;
  }
  .nav {
    font-size: 12px;
    gap: 20px;
  }
  .hero {
    margin-top: 6px;
  }
  .hero-copy {
    padding: 30px 25px;
  }
  h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .hero-photo {
    min-height: 230px;
  }
  .stamp {
    left: 15px;
    bottom: 15px;
    padding: 12px;
    font-size: 12px;
  }
  .benefits {
    gap: 12px;
    align-items: start;
  }
  .benefits > div {
    display: block;
    font-size: 11px;
  }
  .benefits span {
    display: block;
    font-size: 17px;
    margin-bottom: 6px;
  }
  .sectionhead {
    margin-top: 30px;
  }
  .sectionhead p {
    line-height: 1.7;
  }
  .photo {
    height: 210px;
  }
  .info h3 {
    font-size: 14px;
  }
  .info button {
    font-size: 12px;
    padding: 10px 5px;
  }
  .info button .icon {
    width: 18px;
  }
  .tag {
    font-size: 9px;
    top: auto;
    bottom: 10px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    justify-content: space-around;
    background: #fffefcf5;
    backdrop-filter: blur(15px);
    border-top: 1px solid #e4e0e9;
    padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
    box-shadow: 0 -5px 25px #23203e08;
  }
  .mobile-nav a,
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    color: var(--ink);
    font-size: 10px;
    font-weight: 600;
    padding: 0;
    position: relative;
    min-width: 55px;
  }
  .mobile-nav #mobilecount {
    position: absolute;
    top: -5px;
    right: 3px;
    background: var(--yellow);
    border-radius: 20px;
    padding: 1px 5px;
    font-size: 9px;
  }
  #toast {
    bottom: 95px;
  }
  dialog {
    max-width: 100%;
    width: 100%;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
    padding: 22px 18px calc(24px + env(safe-area-inset-bottom));
  }
  .line {
    gap: 8px;
  }
  .line strong {
    font-size: 12px;
  }
  .line .quantity {
    gap: 5px;
  }
  .fieldrow {
    gap: 10px;
  }
  .story {
    margin: 35px 0;
  }
  .story h2 {
    font-size: 28px;
  }
  footer {
    flex-direction: column;
    gap: 5px;
  }
  .faq h2 {
    font-size: 27px;
  }
}
@media (max-width: 370px) {
  .photo {
    height: 175px;
  }
  .info {
    padding: 10px;
  }
  .hero-copy {
    padding: 25px 20px;
  }
  h1 {
    font-size: 35px;
  }
  .line img {
    width: 42px;
    height: 55px;
  }
  .fieldrow {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.product-thumbnails {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px 1px 18px;
}
.product-thumbnails button {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  padding: 3px;
  background: #fff;
  border: 1px solid #e0dce8;
  border-radius: 10px;
}
.product-thumbnails button[aria-pressed="true"] {
  border: 2px solid #d7a82d;
}
.product-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.product-video {
  width: 100%;
  max-height: 340px;
  border-radius: 12px;
  margin-bottom: 20px;
  background: #211e32;
}
.detailphoto {
  object-fit: contain !important;
  background: #f8f7fb;
}
#detail {
  max-height: 92dvh;
}
/* V3.3 catalogue and checkout */
.price del {
  font-size: 13px;
  color: #777;
  font-weight: 400;
  display: block;
}
.featured-label {
  color: #735700;
  background: #fff4c6;
  border-radius: 5px;
  padding: 4px 8px;
  display: inline-block;
  margin-bottom: 10px;
}
#zone-notice {
  grid-column: 1/-1;
  font-size: 13px;
}
#tracking-form {
  max-width: 750px;
}
#tracking-result {
  font-weight: 600;
}
#variant-choice {
  width: 100%;
  padding: 14px;
  border: 1px solid #d7d5e0;
  border-radius: 9px;
  background: white;
}

/* Official supplied logo: intrinsic proportions preserved */
header .brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
header .official-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 720px) {
  header .official-logo {
    width: 155px;
  }
}
@media (max-width: 400px) {
  header .official-logo {
    width: 135px;
  }
}

/* Checkout feedback must stay inside the modal top layer. */
.checkout-error {
  padding: 14px 16px;
  margin: 16px 0;
  background: #fff1f0;
  border: 1px solid #f2b8b5;
  border-radius: 10px;
  color: #8e2323;
  font-size: 14px;
  line-height: 1.5;
}
.checkout-error[hidden] {
  display: none;
}
.payment-caption {
  font-size: 13px;
  color: #686477;
  margin: 14px 0;
}
[aria-invalid="true"] {
  border-color: #b52c2c !important;
}
@media (max-width: 720px) {
  #checkout .fieldrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  #checkout .field,
  #checkout .field input,
  #checkout .field select {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
}
