:root {
  --theme-bg: #ece8de;
  --theme-ink: #29201a;
  --theme-gold: #c9a24d;
  --theme-line: #eee;
}

body {
  background-color: var(--theme-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  color: var(--theme-ink);
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif !important;
  overflow-x: hidden;
  transition: background 0.3s ease;
}

.header {
  width: 100%;
  background: #fff !important;
  border-bottom: 1px solid var(--theme-line) !important;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  width: 100%;
  max-width: 1300px;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 102px;
  width: auto;
  display: block;
}

.nav-desktop ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  position: relative;
  display: inline-block;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: inherit;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 1px;
  padding-bottom: 6px;
  padding-left: 0;
  padding-right: 0;
  text-transform: none;
  font-weight: 400;
  line-height: 1.2;
  box-shadow: none !important;
  transition: color 0.22s ease;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--theme-gold);
  transition: width 0.22s ease;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible,
.nav-desktop a.active {
  color: var(--theme-gold);
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after,
.nav-desktop a.active::after {
  width: 100%;
}

.icons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.icons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  position: relative;
}

.icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.logo {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.icons img {
  width: 20px;
  height: 20px;
  display: block;
}

.icon-count {
  position: absolute;
  right: -6px;
  top: -6px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #c9a24d;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 3px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: #000;
  display: block;
}

#menu-toggle {
  display: none;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s;
  z-index: 2147483646;
}

#menu-toggle:checked ~ .mobile-overlay {
  transform: translateX(0);
}

.mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-top img {
  height: 100px;
}

.close-btn {
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav-main a {
  font-size: 20px;
  letter-spacing: 2px;
  padding: 18px 0;
  border-bottom: 1px solid #e6e2d8;
  display: block;
  color: inherit;
  text-decoration: none;
}

.mobile-nav-secondary {
  margin-top: 28px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}

.mobile-nav-secondary a {
  font-size: 16px;
  padding: 0;
  display: inline-block;
  color: #444 !important;
  text-decoration: none;
}

@media (min-width: 769px) {
  .mobile-overlay {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 6px 14px;
    gap: 10px;
  }

  .nav-desktop,
  .icons {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .logo img {
    height: 70px;
  }
}

body.product-page-no-dropdown .hamburger,
body.product-page-no-dropdown .mobile-overlay {
  display: none !important;
}

@media (max-width: 768px) {
  body.product-page-no-dropdown .icons {
    display: flex !important;
  }
}

/* Product image zoom (desktop) */
.mainimg {
  position: relative;
  overflow: visible !important;
}

main.shell.hero {
  align-items: start;
}

.zoom-guide-panel {
  position: relative;
  min-height: 540px;
  border: 3px dotted rgba(25, 25, 25, 0.8);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.zoom-guide-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: #9d9d9f;
  z-index: 2;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.zoom-guide-panel .zoom-guide-hint {
  display: flex;
}

.zoom-guide-panel.is-zooming .zoom-guide-hint {
  opacity: 0 !important;
  display: none !important;
}

.zoom-guide-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid #bcc8d6;
  background: #ffffff;
  position: relative;
}

.zoom-guide-icon::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 24px;
  right: -10px;
  bottom: -10px;
  border-radius: 10px;
  background: #c9a24d;
  transform: rotate(-40deg);
}

.zoom-guide-text {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 36px;
  font-size: clamp(18px, 1.65vw, 34px);
  color: #9d9d9f;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.zoom-lens {
  position: absolute;
  border: 2px solid rgba(120, 120, 120, 0.65);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
  pointer-events: none;
  display: none;
  z-index: 8;
}

.zoom-preview {
  position: absolute;
  top: 0;
  left: calc(100% + 18px);
  width: min(520px, 46vw);
  height: 100%;
  border: 3px dotted rgba(25, 25, 25, 0.8);
  border-radius: 14px;
  background-color: #ffffff;
  background-repeat: no-repeat;
  display: none;
  z-index: 40;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.zoom-guide-panel .zoom-preview.in-panel {
  position: absolute;
  inset: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  display: none;
  box-shadow: none;
  background-color: transparent;
}

.zoom-guide-panel.is-zooming .zoom-preview.in-panel {
  display: block;
}

.mainimg.zoom-active .zoom-lens,
.mainimg.zoom-active .zoom-preview {
  display: block;
}

#order.product-details-below {
  margin-top: 16px;
  margin-bottom: 28px;
}

#order.product-details-below.order-section-enhanced {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 84px;
  align-items: start;
  border: none;
  background: transparent;
  padding: 0;
}

.info-col-v3 .collection-pill-v3 {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #3d2f24;
  color: #ffffff;
  font-size: 32px;
  font-size: clamp(14px, 0.95vw, 18px);
  letter-spacing: 0.4px;
  font-weight: 700;
}

.info-col-v3 .title-v3 {
  margin: 18px 0 16px;
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(36px, 2.2vw, 50px);
  font-weight: 700;
  color: #302620;
  line-height: 1.1;
}

.desc-card-v3,
.price-card-v3,
.details-block-v3 {
  background: #ffffff;
  border: 1px solid #e1d5c8;
  border-radius: 16px;
  padding: 22px 28px;
}

.desc-card-v3 p {
  margin: 0;
  color: #5f5449;
  font-size: clamp(18px, 1.05vw, 24px);
  line-height: 1.55;
}

.price-card-v3 {
  margin-top: 16px;
}

.price-label-v3 {
  color: #62584d;
  font-size: 34px;
  font-size: clamp(14px, 0.95vw, 20px);
  margin-bottom: 10px;
}

.price-main-v3 {
  font-size: clamp(34px, 2.1vw, 50px);
  color: #2f251f;
  font-weight: 800;
}

.price-main-v3 small {
  color: #8c8b8b !important;
  font-size: clamp(18px, 1.1vw, 26px);
  margin-right: 12px;
}

.details-grid-v3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.details-accordion-v3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.details-panel-v3 {
  background: #ffffff;
  border: 1px solid #e1d5c8;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}

.details-panel-v3 summary {
  list-style: none;
  cursor: pointer;
  margin: 0;
  padding: 16px 20px;
  font-size: clamp(18px, 1.1vw, 24px);
  color: #362b23;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid #efe3d5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.details-panel-v3 summary::-webkit-details-marker {
  display: none;
}

.sum-icon-v3 {
  font-size: 0.9em;
}

.details-panel-v3 ul {
  margin: 0;
  padding: 14px 20px 18px 38px;
  color: #5f5449;
  line-height: 1.7;
  font-size: clamp(15px, 0.95vw, 20px);
}

.cara-order-list-v3 {
  list-style: none;
  padding-left: 20px !important;
}

.cara-order-panel-v3 {
  grid-column: 1 / -1;
}

.cara-order-list-v3 li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0;
}

.cara-order-list-v3 strong {
  color: #3f332a;
}

.cara-order-icon-v3 {
  width: 20px;
  text-align: center;
  flex: 0 0 20px;
}

.details-block-v3 {
  margin-top: 0;
}

.details-block-v3 h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.25vw, 30px);
  color: #362b23;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.details-block-v3 ul {
  margin: 0;
  padding-left: 20px;
  color: #5f5449;
  line-height: 1.7;
  font-size: clamp(15px, 0.95vw, 20px);
}

.order-col-v3 {
  background: #ffffff;
  border: 1px solid #e0d4c6;
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 340px;
  width: 340px;
  justify-self: end;
  margin-right: 0;
  position: sticky;
  top: 136px;
  margin-top: 8px;
  transform: translateX(20px);
  align-self: start;
}

.order-drop-v3 {
  margin: 0;
}

.order-drop-v3 summary {
  list-style: none;
  margin: 0;
  text-align: center;
  color: #3a3028;
  font-size: clamp(26px, 1.75vw, 44px);
  font-weight: 700;
  padding-bottom: 18px;
  border-bottom: 1px solid #ddd0c2;
  cursor: pointer;
}

.order-drop-v3 summary::-webkit-details-marker {
  display: none;
}

.guide-link-v3 {
  display: block;
  text-align: center;
  margin: 20px 0 16px;
  color: #4f4640;
  font-size: clamp(16px, 1.02vw, 22px);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.order-btn-v3 {
  display: inline-block;
  width: auto;
  max-width: 100%;
  text-align: center;
  font-size: clamp(16px, 1vw, 20px);
  padding: 11px 14px;
  border-radius: 16px;
  margin: 12px auto 0;
  letter-spacing: 0.4px;
  background: #3f3025 !important;
  border-color: #3f3025 !important;
  color: #ffffff !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.order-btn-v3 span {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.2em;
}

.order-actions-v3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.add-cart-v3 {
  border: 1px solid #c9a24d !important;
  background: #ffffff !important;
  color: #3f3025 !important;
  border-radius: 16px;
  font-size: clamp(14px, 0.9vw, 18px);
  font-weight: 700;
  padding: 10px 12px;
  text-align: center;
  cursor: pointer;
}

.add-cart-v3.is-added {
  background: #f3e7d2 !important;
  border-color: #b48a45 !important;
}

.meta-list-v3 {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #ddd0c2;
}

.meta-list-v3 p {
  margin: 10px 0;
  color: #5d5247;
  font-size: clamp(15px, 0.96vw, 21px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-list-v3 strong {
  color: #42372f;
}

.meta-icon-v3 {
  width: 20px;
  text-align: center;
  flex: 0 0 20px;
}

@media (max-width: 1200px) {
  .zoom-preview {
    left: calc(100% + 14px);
    width: min(420px, 42vw);
  }

  .zoom-guide-panel {
    min-height: 480px;
  }
}

@media (max-width: 900px) {
  .zoom-guide-panel {
    min-height: 360px;
  }

  .zoom-guide-text {
    white-space: normal;
    text-align: center;
  }

  #order.product-details-below.order-section-enhanced {
    grid-template-columns: 1fr;
  }

  .details-grid-v3 {
    grid-template-columns: 1fr;
  }

  .details-accordion-v3 {
    grid-template-columns: 1fr;
  }

  .order-col-v3 {
    justify-self: end;
    max-width: 340px;
    width: min(82%, 340px);
    margin-left: auto;
    margin-right: 0;
    margin-top: 26px;
    position: static;
    transform: none;
  }

  .order-actions-v3 {
    grid-template-columns: 1fr;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 560px) {
  .zoom-lens,
  .zoom-preview {
    display: none !important;
  }
}

.mainimg img {
  cursor: zoom-in;
  object-fit: contain !important;
  object-position: center center;
  background: #f3f0eb;
}

.thumbs img {
  object-fit: cover !important;
  object-position: center center;
  background: #f3f0eb;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 1;
  filter: grayscale(0%);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, filter 0.18s ease;
}

.thumbs img.is-dim {
  opacity: 0.3 !important;
  filter: grayscale(35%) !important;
}

.thumbs img.is-clear {
  opacity: 1 !important;
  filter: grayscale(0%) !important;
}

.thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.thumbs.thumbs-centered-row {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 18px;
}

.thumbs img {
  width: 110px;
  height: 110px;
}

.thumbs img:hover:not(.is-selected) {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.96), 0 0 18px rgba(255, 255, 255, 0.82), 0 10px 16px rgba(0, 0, 0, 0.16);
}

.thumbs img.is-hovered {
  opacity: 1 !important;
}

.thumbs img.is-hovered:not(.is-selected) {
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.96), 0 0 18px rgba(255, 255, 255, 0.82), 0 10px 16px rgba(0, 0, 0, 0.16);
}

.thumbs img:focus-visible {
  opacity: 1 !important;
}

.thumbs img.is-selected {
  border-color: #151515;
  box-shadow: 0 0 0 1px rgba(21, 21, 21, 0.9), 0 10px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.thumbs img.is-selected:hover,
.thumbs img.is-selected:focus-visible,
.thumbs img.is-selected.is-hovered {
  opacity: 1 !important;
}

.thumbs img.select-pop {
  animation: thumbSelectPop 220ms ease;
}

@keyframes thumbSelectPop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 24px;
}

.zoom-modal.open {
  display: flex;
}

.zoom-modal img {
  width: auto;
  height: auto;
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  object-position: center top;
  image-rendering: auto;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}

.zoom-modal-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #111;
  font-size: 22px;
  cursor: pointer;
}

/* ===== SHARED FOOTER ===== */
.site-footer {
  background: #fff;
  border-top: 1px solid #e2e2e2;
  margin-top: 60px;
}
.footer-grid {
  padding: 64px 52px 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(1300px, 92vw);
  margin: 0 auto;
}
.footer-grid .col {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-grid .col strong {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #232323;
}
.footer-grid .col a {
  font-size: 1rem;
  color: #1f1f1f;
  position: relative;
  width: fit-content;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}
.footer-grid .col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #b08d57;
  transition: width 0.22s ease;
}
@media (hover: hover) and (pointer: fine) {
  .footer-grid .col a:hover { transform: translateX(3px); }
  .footer-grid .col a:hover::after { width: 100%; }
}
.site-footer .copyright {
  border-top: 1px solid #e2e2e2;
  padding: 26px 24px 24px;
  text-align: center;
  color: #6a6a6a;
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    padding: 40px 24px 32px;
    gap: 24px;
  }
}

/* ===== INNER PAGE SHELL ===== */
.page-shell {
  width: min(960px, 92vw);
  margin: 0 auto;
  padding: 40px 0 60px;
  background: transparent !important;
}
.page-shell h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 10px;
  color: #29201a;
}
.page-shell .page-intro {
  color: #6d5f51;
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.page-card {
  background: #fff;
  border: 1px solid #e8dcc9;
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 18px;
}
.card {
  background: #ffffff;
  border: 1px solid #e8dcc9;
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 18px;
}

/* ===== SHARED INTERACTION MOTION ===== */
:root {
  --motion-fast: 220ms;
  --motion-mid: 420ms;
  --motion-slow: 560ms;
  --motion-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

body.motion-enabled .page-shell .page-card,
body.motion-enabled .page-shell .card,
body.motion-enabled main .page-card,
body.motion-enabled main .card,
body.motion-enabled main section,
body.motion-enabled main article {
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  body.motion-enabled .page-shell .page-card:hover,
  body.motion-enabled .page-shell .card:hover,
  body.motion-enabled main .page-card:hover,
  body.motion-enabled main .card:hover,
  body.motion-enabled main section:hover,
  body.motion-enabled main article:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(24, 18, 12, 0.08);
    border-color: #deceb9;
  }
}

body.motion-enabled.motion-ready .reveal-fade,
body.motion-enabled.motion-ready .reveal-up,
body.motion-enabled.motion-ready .reveal-left,
body.motion-enabled.motion-ready .reveal-right {
  opacity: 0;
  filter: blur(2px);
  transition: opacity var(--motion-mid) var(--motion-smooth), transform var(--motion-mid) var(--motion-smooth), filter var(--motion-slow) var(--motion-smooth);
}

body.motion-enabled.motion-ready .reveal-up {
  transform: translateY(22px);
}

body.motion-enabled.motion-ready .reveal-left {
  transform: translateX(-24px);
}

body.motion-enabled.motion-ready .reveal-right {
  transform: translateX(24px);
}

body.motion-enabled.motion-ready .reveal-fade.in-view,
body.motion-enabled.motion-ready .reveal-up.in-view,
body.motion-enabled.motion-ready .reveal-left.in-view,
body.motion-enabled.motion-ready .reveal-right.in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

body.motion-enabled .site-footer {
  position: relative;
  overflow: hidden;
}

body.motion-enabled .site-footer::before {
  content: "";
  position: absolute;
  inset: -100px auto auto -120px;
  width: 320px;
  height: 320px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 77, 0.2), rgba(201, 162, 77, 0));
}

body.motion-enabled .btn,
body.motion-enabled button,
body.motion-enabled a.btn {
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, filter var(--motion-fast) ease;
}

body.motion-enabled .page-shell a.btn,
body.motion-enabled .page-shell button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #c9a24d;
  background: linear-gradient(180deg, #f8f1e3, #f1e6d5);
  color: #3a2d22 !important;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 14px rgba(35, 24, 14, 0.1);
}

@media (hover: hover) and (pointer: fine) {
  body.motion-enabled .page-shell a.btn:hover,
  body.motion-enabled .page-shell button.btn:hover {
    background: linear-gradient(180deg, #fff7ea, #efdfc8);
    border-color: #b9923f;
  }
}

body.motion-enabled .page-shell a.btn:active,
body.motion-enabled .page-shell button.btn:active,
a.link-chip:active {
  transform: translateY(0) scale(0.99);
}

body.motion-enabled .page-shell a.btn + a.btn,
body.motion-enabled .page-shell button.btn + button.btn,
body.motion-enabled .page-shell a.btn + button.btn,
body.motion-enabled .page-shell button.btn + a.btn {
  margin-left: 10px;
}

a.link-chip,
a.link-chip:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #d6c6b1;
  background: linear-gradient(180deg, #ffffff, #f7f1e8);
  color: #3a2d22 !important;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(26, 18, 10, 0.08);
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease, background-color var(--motion-fast) ease;
}

a.link-chip::after {
  content: ">";
  font-size: 0.78em;
  opacity: 0.72;
  transform: translateX(0);
  transition: transform var(--motion-fast) ease, opacity var(--motion-fast) ease;
}

@media (hover: hover) and (pointer: fine) {
  a.link-chip:hover {
    transform: translateY(-2px);
    border-color: #c9a24d;
    background: linear-gradient(180deg, #fffdfa, #f5ecdf);
    box-shadow: 0 10px 18px rgba(26, 18, 10, 0.12);
  }

  a.link-chip:hover::after {
    opacity: 1;
    transform: translateX(3px);
  }
}

a.link-chip:focus-visible {
  outline: 2px solid rgba(201, 162, 77, 0.7);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  body.motion-enabled .page-shell p a.btn,
  body.motion-enabled .page-shell .card p a.btn {
    margin-top: 8px;
  }

  body.motion-enabled .page-shell a.btn + a.btn,
  body.motion-enabled .page-shell button.btn + button.btn,
  body.motion-enabled .page-shell a.btn + button.btn,
  body.motion-enabled .page-shell button.btn + a.btn {
    margin-left: 8px;
  }
}

body.motion-enabled .page-shell h1,
body.motion-enabled .page-shell h2,
body.motion-enabled .page-shell h3 {
  position: relative;
  letter-spacing: 0.01em;
  transition: color var(--motion-fast) ease;
}

body.motion-enabled .page-shell h1::after,
body.motion-enabled .page-shell h2::after,
body.motion-enabled .page-shell h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: min(94px, 28%);
  height: 2px;
  background: linear-gradient(90deg, #c9a24d, rgba(201, 162, 77, 0));
  transform-origin: left center;
  transform: scaleX(0.45);
  transition: transform var(--motion-mid) var(--motion-smooth);
}

body.motion-enabled .reveal-up.in-view h1::after,
body.motion-enabled .reveal-up.in-view h2::after,
body.motion-enabled .reveal-up.in-view h3::after,
body.motion-enabled h1.reveal-up.in-view::after,
body.motion-enabled h2.reveal-up.in-view::after,
body.motion-enabled h3.reveal-up.in-view::after {
  transform: scaleX(1);
}

body.motion-enabled .card p,
body.motion-enabled .card li,
body.motion-enabled .page-card p,
body.motion-enabled .page-card li,
body.motion-enabled .page-shell p,
body.motion-enabled .page-shell li {
  transition: color var(--motion-fast) ease, transform var(--motion-fast) ease;
}

@media (hover: hover) and (pointer: fine) {
  body.motion-enabled .card:hover p,
  body.motion-enabled .card:hover li,
  body.motion-enabled .page-card:hover p,
  body.motion-enabled .page-card:hover li {
    color: #3f342b;
    transform: translateX(2px);
  }
}

body.gallery-footer-motion .site-footer {
  position: relative;
  overflow: hidden;
}

body.gallery-footer-motion .site-footer::before {
  content: "";
  position: absolute;
  inset: -100px auto auto -120px;
  width: 320px;
  height: 320px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 77, 0.2), rgba(201, 162, 77, 0));
}

body.gallery-footer-motion .footer-grid .col {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--motion-mid) var(--motion-smooth), transform var(--motion-mid) var(--motion-smooth);
}

body.gallery-footer-motion .footer-grid .col.in-view {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  body.motion-enabled .btn:hover,
  body.motion-enabled button:hover,
  body.motion-enabled a.btn:hover {
    transform: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body.motion-enabled.motion-ready .reveal-fade,
  body.motion-enabled.motion-ready .reveal-up,
  body.motion-enabled.motion-ready .reveal-left,
  body.motion-enabled.motion-ready .reveal-right,
  body.gallery-footer-motion .footer-grid .col {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Shared cart drawer for non-home pages */
.shared-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 3200;
}

.shared-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 96vw);
  height: 100vh;
  background: #fff;
  border-left: 1px solid #e7dbca;
  box-shadow: -14px 0 36px rgba(29, 22, 15, 0.18);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  z-index: 3201;
  display: flex;
  flex-direction: column;
}

body.shared-cart-open {
  overflow: hidden;
}

body.shared-cart-open .shared-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.shared-cart-open .shared-cart-drawer {
  transform: translateX(0);
}

.shared-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid #ece3d6;
}

.shared-cart-head h2 {
  margin: 0;
  font-size: 1.16rem;
  font-family: Georgia, serif;
}

.shared-cart-head button {
  border: none;
  border-radius: 999px;
  background: #f6efe5;
  width: 34px;
  height: 34px;
  cursor: pointer;
  color: #3f3025;
  font-weight: 700;
}

.shared-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.shared-cart-empty {
  margin: 8px 0;
  color: #7a6a5b;
}

.shared-cart-item {
  background: #fffaf4;
  border: 1px solid #ecdfcf;
  border-radius: 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 10px;
  align-items: start;
}

.shared-item-thumb {
  width: 70px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2d3c0;
}

.shared-item-title {
  font-weight: 700;
  color: #2e2319;
  font-size: 0.95rem;
}

.shared-item-sub,
.shared-item-price,
.shared-item-subtotal {
  color: #6e5d4e;
  font-size: 0.82rem;
  margin-top: 3px;
}

.shared-item-qty {
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.shared-item-qty button {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #d9c7ad;
  background: #fff;
  color: #3f3025;
  cursor: pointer;
  font-weight: 700;
}

.shared-item-remove {
  border: 1px solid #dfc8a8;
  background: #fff;
  color: #8f6730;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.shared-cart-foot {
  border-top: 1px solid #ece3d6;
  padding: 14px;
  display: grid;
  gap: 10px;
  background: #fff;
}

.shared-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3a2e23;
  font-weight: 700;
}

.shared-cart-checkout {
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 11px 12px;
  background: #b08d57;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 420px) {
  .shared-cart-item {
    grid-template-columns: 62px 1fr;
  }

  .shared-item-thumb {
    width: 62px;
    height: 76px;
  }

  .shared-item-remove {
    justify-self: start;
    margin-top: 6px;
  }
}

/* About page specific styles */
.about-stage {
  background: transparent !important;
}

/* Terms page specific styles */
.terms-section {
  background: #f9f7f4;
}


