﻿:root {
  --bg-main: #ece8df;
  --bg-soft: #f3f0e8;
  --surface: #fcfaf5;
  --surface-rich: #e8e2d4;
  --ink: #1f201d;
  --ink-soft: #5a5a53;
  --line: #cfc8ba;
  --olive: #5f6658;
  --taupe: #85725f;
  --bronze: #75634f;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 16px 36px rgba(31, 32, 29, 0.08);
  --shadow-float: 0 20px 48px rgba(31, 32, 29, 0.15);
  --anchor-offset: 116px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 8% -30%, #f8f6f1, var(--bg-main) 45%), var(--bg-main);
}

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

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

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

button,
input,
select {
  font: inherit;
}

.announcement-bar {
  background: #1c1d1a;
  color: #f3f0e7;
  text-align: center;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.67rem;
  padding: 0.62rem 1rem;
}

.announcement-bar p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background 340ms ease, border-color 340ms ease, backdrop-filter 340ms ease;
}

.site-header.scrolled {
  background: rgba(243, 240, 232, 0.86);
  border-color: rgba(116, 99, 79, 0.24);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.35rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: grid;
  line-height: 1;
}

.brand-core {
  letter-spacing: 0.22em;
  font-size: 0.88rem;
  font-weight: 600;
}

.brand-sub {
  font-family: "Ibarra Real Nova", serif;
  font-size: 1.3rem;
  letter-spacing: 0.07em;
}

.mobile-menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(252, 250, 245, 0.9);
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 1.2rem;
}

.main-nav a {
  position: relative;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: color 220ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.36rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--ink);
  transition: transform 220ms ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  gap: 0.45rem;
}

.icon-btn {
  border: 1px solid rgba(131, 116, 96, 0.4);
  background: rgba(252, 250, 245, 0.88);
  border-radius: 999px;
  padding: 0.5rem 0.84rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: #fff;
}

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.3rem 1.35rem 4rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--olive);
}

.section-header h2,
.hero-overlay h1,
.campaign-quote p,
.editorial-block h2,
.about h2,
.contact-panel h2,
.newsletter h2 {
  font-family: "Ibarra Real Nova", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.3fr 0.72fr;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.hero-campaign {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 640px;
  background: #d5d1c7;
  box-shadow: var(--shadow-float);
}

.hero-campaign img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem;
  background: linear-gradient(180deg, rgba(20, 20, 18, 0.02), rgba(19, 20, 18, 0.7));
  color: #f6f3ea;
}

.hero-overlay .eyebrow {
  color: rgba(246, 243, 234, 0.76);
}

.hero-overlay h1 {
  margin: 0.7rem 0 0.6rem;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.9;
  max-width: 13ch;
}

.hero-overlay p {
  margin: 0;
  max-width: 42ch;
  color: rgba(246, 243, 234, 0.9);
}

.hero-cta {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-side-panel {
  display: grid;
  gap: 1rem;
}

.hero-side-panel article {
  border: 1px solid rgba(117, 99, 79, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.hero-side-panel img {
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  background: #e8e2d6;
}

.hero-side-panel p {
  margin: 0;
  padding: 0.86rem 0.95rem;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.campaign-quote {
  border: 1px solid rgba(117, 99, 79, 0.25);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, #f8f4ea, #e8dfcf);
  margin-bottom: 1.4rem;
  text-align: center;
  padding: 1.45rem 1rem;
}

.campaign-quote p {
  margin: 0;
  font-size: clamp(1.35rem, 3.1vw, 2.5rem);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.trust-strip article {
  border: 1px solid rgba(117, 99, 79, 0.24);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 0.95rem;
}

.trust-strip h3 {
  margin: 0;
  font-size: 0.84rem;
}

.trust-strip p {
  margin: 0.37rem 0 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.collections {
  margin-bottom: 1.9rem;
}

.section-header h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 0.93;
}

.section-header.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.section-header.row p {
  margin: 0;
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.collection-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
}

.collection-card {
  border: 1px solid rgba(117, 99, 79, 0.35);
  border-radius: 999px;
  background: rgba(252, 250, 245, 0.8);
  padding: 0.62rem 0.58rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  transition: all 220ms ease;
}

.collection-card:hover,
.collection-card.active {
  background: #2b2b28;
  color: #f7f2e9;
  border-color: #2b2b28;
}

.shop-shell {
  margin-bottom: 2rem;
}

.filter-bar {
  margin-top: 1rem;
  border: 1px solid rgba(117, 99, 79, 0.3);
  border-radius: var(--radius-lg);
  background: rgba(252, 250, 245, 0.8);
  padding: 0.85rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.filter-bar label {
  display: grid;
  gap: 0.32rem;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
}

.filter-bar select,
.filter-bar input[type="range"] {
  border: 1px solid rgba(117, 99, 79, 0.36);
  border-radius: 10px;
  background: #fff;
  padding: 0.42rem;
  color: var(--ink);
}

#priceValue {
  font-size: 0.69rem;
  color: var(--ink);
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.66rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: #242420;
  color: #f6f2e9;
}

.button-light {
  background: rgba(252, 250, 245, 0.95);
  border-color: rgba(117, 99, 79, 0.45);
  color: var(--ink);
}

.hero-overlay .button-light {
  background: rgba(252, 250, 245, 0.97);
  color: #1f201d;
}

.button.small {
  font-size: 0.64rem;
  padding: 0.48rem 0.7rem;
}

.product-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-card {
  border: 1px solid rgba(117, 99, 79, 0.32);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #e7e1d4;
  overflow: hidden;
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 360ms ease, transform 360ms ease;
}

.product-image .alt {
  opacity: 0;
}

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

.product-card:hover .product-image .main {
  opacity: 0;
}

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

.product-wishlist {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  border: 1px solid rgba(117, 99, 79, 0.35);
  border-radius: 999px;
  background: rgba(252, 250, 245, 0.9);
  padding: 0.31rem 0.52rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-wishlist.saved {
  background: #292a27;
  border-color: #292a27;
  color: #f7f2ea;
}

.product-info {
  padding: 0.84rem;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
}

.product-info h3 {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.35;
}

.product-price {
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--bronze);
}

.product-meta {
  margin: 0.34rem 0 0.58rem;
  color: var(--ink-soft);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.product-actions button {
  border: 1px solid rgba(117, 99, 79, 0.36);
  border-radius: 999px;
  background: #fff;
  padding: 0.43rem;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.product-actions button.add {
  background: #242420;
  color: #f7f2ea;
  border-color: #242420;
}

.editorial-split {
  margin-bottom: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.editorial-block {
  border: 1px solid rgba(117, 99, 79, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.editorial-block.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 390px;
}

.editorial-block.text {
  padding: 1.8rem;
  display: grid;
  align-content: center;
}

.editorial-block h2 {
  margin: 0.62rem 0 0.65rem;
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
  line-height: 0.94;
  max-width: 15ch;
}

.editorial-block p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40ch;
}

.horizontal-products {
  margin-bottom: 1.65rem;
}

.mini-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.mini-card {
  border: 1px solid rgba(117, 99, 79, 0.32);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(31, 32, 29, 0.12);
}

.mini-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #e7e2d5;
}

.mini-card div {
  padding: 0.65rem;
}

.mini-card h3 {
  margin: 0;
  font-size: 0.77rem;
}

.mini-card p {
  margin: 0.28rem 0 0;
  font-size: 0.71rem;
  color: var(--ink-soft);
}

.materials-band {
  margin-bottom: 1.8rem;
  border: 1px solid rgba(117, 99, 79, 0.3);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, #efe7d8, #e3dac8);
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.materials-band article {
  background: rgba(252, 250, 245, 0.72);
  border: 1px solid rgba(117, 99, 79, 0.24);
  border-radius: 14px;
  padding: 0.8rem;
}

.materials-band h3 {
  margin: 0.48rem 0 0.32rem;
  font-size: 0.9rem;
}

.materials-band p {
  margin: 0;
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.about {
  margin-bottom: 1.8rem;
  border: 1px solid rgba(117, 99, 79, 0.3);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #fcfaf4, #efe8dc);
  padding: 1.65rem;
  display: grid;
  gap: 0.9rem;
}

.about h2 {
  margin: 0.58rem 0 0;
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  max-width: 17ch;
  line-height: 0.94;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.about-points article {
  border: 1px solid rgba(117, 99, 79, 0.28);
  border-radius: var(--radius-md);
  background: rgba(252, 250, 245, 0.88);
  padding: 0.9rem;
}

.about-points h3 {
  margin: 0;
  font-size: 0.84rem;
}

.about-points p {
  margin: 0.36rem 0 0;
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.contact-panel {
  margin-bottom: 1.4rem;
  border: 1px solid rgba(117, 99, 79, 0.3);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, #2a2a26, #39372f);
  color: #f2ede3;
  padding: 1.4rem;
}

.contact-panel .eyebrow {
  color: rgba(242, 237, 227, 0.72);
}

.contact-panel h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 0.96;
}

.contact-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.contact-grid article {
  border: 1px solid rgba(242, 237, 227, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.8rem;
}

.contact-grid h3 {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-grid p {
  margin: 0.4rem 0 0;
  color: rgba(242, 237, 227, 0.86);
  font-size: 0.74rem;
}

.newsletter {
  margin-bottom: 2rem;
  border: 1px solid rgba(117, 99, 79, 0.3);
  border-radius: var(--radius-xl);
  background: var(--surface);
  padding: 1.45rem;
}

.newsletter h2 {
  margin: 0.58rem 0 0;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
}

.newsletter-form {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.newsletter-form input {
  border: 1px solid rgba(117, 99, 79, 0.36);
  border-radius: 999px;
  padding: 0.74rem 0.95rem;
  background: #fff;
}

.newsletter-note {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.product-drawer,
.cart-drawer,
.wishlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  background: #fcfaf5;
  border-left: 1px solid rgba(117, 99, 79, 0.35);
  z-index: 110;
  transform: translateX(102%);
  transition: transform 330ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-drawer.open,
.cart-drawer.open,
.wishlist-drawer.open {
  transform: translateX(0);
}

.product-drawer {
  width: min(1120px, 100vw);
}

.cart-drawer,
.wishlist-drawer {
  width: min(430px, 96vw);
}

.close-btn {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(117, 99, 79, 0.36);
  background: #fff;
  cursor: pointer;
  z-index: 5;
}

.product-detail-layout {
  height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gallery-column,
.product-column {
  overflow: auto;
  padding: 1rem;
}

.gallery-column {
  background: #eee7d9;
  border-right: 1px solid rgba(117, 99, 79, 0.28);
}

.gallery-main-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e1d8c7;
}

.gallery-main {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 300ms ease;
  transform-origin: center;
}

.gallery-main.zoomed {
  transform: scale(1.6);
  cursor: zoom-out;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(117, 99, 79, 0.4);
  background: rgba(252, 250, 245, 0.9);
  cursor: pointer;
}

.gallery-nav.prev {
  left: 0.7rem;
}

.gallery-nav.next {
  right: 0.7rem;
}

.gallery-controls {
  margin-top: 0.62rem;
}

.gallery-thumbs {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.gallery-thumbs button {
  border: 1px solid rgba(117, 99, 79, 0.34);
  border-radius: 10px;
  padding: 0;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.gallery-thumbs button.active {
  border-color: #2a2b27;
}

.product-column h2 {
  margin: 0.48rem 0 0;
  font-family: "Ibarra Real Nova", serif;
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
  line-height: 0.95;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.link-btn {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.detail-price {
  margin: 0.68rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bronze);
}

.detail-sub {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.trust-messages {
  margin: 0.78rem 0;
  border: 1px solid rgba(117, 99, 79, 0.3);
  border-radius: var(--radius-md);
  background: #f4efe5;
  padding: 0.65rem;
}

.trust-messages p {
  margin: 0.22rem 0;
  font-size: 0.69rem;
  color: #484840;
}

.purchase-panel {
  border: 1px solid rgba(117, 99, 79, 0.32);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: grid;
  gap: 0.7rem;
  background: rgba(252, 250, 245, 0.9);
}

.purchase-panel label {
  display: block;
  margin-bottom: 0.38rem;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
}

.size-list {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.size-list button {
  border: 1px solid rgba(117, 99, 79, 0.35);
  border-radius: 999px;
  background: #fff;
  padding: 0.33rem 0.58rem;
  font-size: 0.69rem;
  cursor: pointer;
}

.size-list button.active {
  background: #262723;
  color: #f6f2e9;
  border-color: #262723;
}

.qty-wrap {
  display: inline-flex;
  border: 1px solid rgba(117, 99, 79, 0.36);
  border-radius: 999px;
  overflow: hidden;
}

.qty-wrap button,
.qty-wrap span {
  width: 34px;
  height: 30px;
  border: 0;
  background: #fff;
  display: grid;
  place-items: center;
}

.qty-wrap button {
  cursor: pointer;
}

.purchase-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.accordion {
  margin-top: 0.88rem;
  display: grid;
  gap: 0.45rem;
}

.acc-item {
  border: 1px solid rgba(117, 99, 79, 0.32);
  border-radius: 12px;
  background: #fff;
}

.acc-head {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.68rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.acc-body {
  padding: 0 0.68rem 0.68rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.review-block,
.related-block {
  margin-top: 0.95rem;
}

.review-block h3,
.related-block h3 {
  margin: 0;
  font-size: 0.9rem;
}

.review-item {
  margin-top: 0.4rem;
  border: 1px solid rgba(117, 99, 79, 0.32);
  border-radius: 11px;
  background: #fff;
  padding: 0.54rem 0.62rem;
  font-size: 0.72rem;
}

.review-item p {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
}

.review-form {
  margin-top: 0.58rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 0.34rem;
}

.review-form input,
.review-form select {
  border: 1px solid rgba(117, 99, 79, 0.35);
  border-radius: 999px;
  padding: 0.42rem 0.58rem;
  font-size: 0.69rem;
}

.sticky-add {
  position: sticky;
  bottom: 0;
  height: 72px;
  border-top: 1px solid rgba(117, 99, 79, 0.35);
  background: rgba(252, 250, 245, 0.97);
  backdrop-filter: blur(8px);
  padding: 0.68rem 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-add p {
  margin: 0;
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.sticky-add strong {
  font-size: 0.92rem;
}

.cart-header {
  border-bottom: 1px solid rgba(117, 99, 79, 0.35);
  padding: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  margin: 0;
  font-family: "Ibarra Real Nova", serif;
  font-size: 1.7rem;
}

.cart-items {
  padding: 0.8rem;
  height: calc(100dvh - 176px);
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(117, 99, 79, 0.2);
  padding: 0.48rem 0;
}

.cart-item img {
  border-radius: 10px;
  background: #e8e1d3;
}

.cart-item h4 {
  margin: 0;
  font-size: 0.76rem;
}

.cart-item p {
  margin: 0.23rem 0 0;
  font-size: 0.68rem;
  color: var(--ink-soft);
}

.cart-item .remove {
  border: 1px solid rgba(117, 99, 79, 0.35);
  border-radius: 999px;
  background: #fff;
  height: 28px;
  align-self: center;
  cursor: pointer;
}

.item-actions {
  align-self: center;
  display: grid;
  gap: 0.28rem;
}

.item-actions .move,
.item-actions .remove {
  border: 1px solid rgba(117, 99, 79, 0.35);
  border-radius: 999px;
  background: #fff;
  padding: 0.24rem 0.5rem;
  font-size: 0.66rem;
  cursor: pointer;
}

.item-actions .move {
  background: #242420;
  border-color: #242420;
  color: #f7f2ea;
}

.cart-footer {
  border-top: 1px solid rgba(117, 99, 79, 0.35);
  padding: 0.8rem;
  background: #fcfaf5;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.checkout-note {
  margin: 0 0 0.56rem;
  font-size: 0.68rem;
  color: var(--ink-soft);
}

.button-full {
  width: 100%;
}

.size-guide {
  border: 1px solid rgba(117, 99, 79, 0.35);
  border-radius: var(--radius-md);
  width: min(450px, 92vw);
  padding: 0.95rem;
  background: #fcfaf5;
}

.size-guide::backdrop {
  background: rgba(27, 28, 26, 0.45);
}

.size-guide h3 {
  margin: 0;
  font-family: "Ibarra Real Nova", serif;
  font-size: 1.7rem;
}

.size-guide p {
  margin: 0.4rem 0 0.6rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.size-guide table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.7rem;
  font-size: 0.74rem;
}

.size-guide th,
.size-guide td {
  border: 1px solid rgba(117, 99, 79, 0.3);
  padding: 0.38rem;
  text-align: left;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 27, 24, 0.36);
  backdrop-filter: blur(2px);
  z-index: 100;
}

.site-footer {
  background: #1f201d;
  color: #e7e2d8;
  padding: 2rem 1rem 1rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-inner h4 {
  margin: 0;
  font-family: "Ibarra Real Nova", serif;
  font-size: 1.5rem;
}

.footer-inner h5 {
  margin: 0;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #cbc2b3;
}

.footer-inner p,
.footer-inner a {
  margin: 0.42rem 0 0;
  display: block;
  font-size: 0.74rem;
  color: #d7d0c2;
}

.footer-note {
  max-width: 1240px;
  margin: 1.2rem auto 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(231, 226, 216, 0.2);
  font-size: 0.67rem;
  color: #b7ae9f;
}

.add-toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(14px);
  background: #1f201d;
  color: #f5f2ea;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.8rem;
  z-index: 150;
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease;
}

.add-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1160px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-side-panel {
    grid-template-columns: 1fr 1fr;
  }

  .filter-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .product-detail-layout {
    grid-template-columns: 1fr;
    height: calc(100dvh - 72px);
  }

  .gallery-column {
    border-right: 0;
    border-bottom: 1px solid rgba(117, 99, 79, 0.3);
  }

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

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto auto 1fr auto;
  }

  .mobile-menu-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 90px;
    background: rgba(246, 241, 231, 0.98);
    border-bottom: 1px solid rgba(117, 99, 79, 0.32);
    padding: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  body.menu-open .main-nav {
    display: grid;
  }

  .trust-strip,
  .about-points,
  .contact-grid,
  .materials-band,
  .product-grid,
  .mini-grid,
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header.row {
    flex-direction: column;
    align-items: flex-start;
  }

  .editorial-split {
    grid-template-columns: 1fr;
  }

  .editorial-block.image img {
    min-height: 320px;
  }

  .review-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner,
  main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-campaign {
    min-height: 520px;
  }

  .hero-overlay {
    padding: 1.4rem 1rem;
  }

  .hero-overlay h1 {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }

  .hero-side-panel,
  .trust-strip,
  .about-points,
  .contact-grid,
  .materials-band,
  .product-grid,
  .mini-grid,
  .collection-grid,
  .product-actions,
  .purchase-actions,
  .newsletter-form,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .announcement-bar {
    font-size: 0.61rem;
  }

  .sticky-add {
    padding: 0.55rem 0.7rem;
  }
}

body.drawer-open {
  overflow: hidden;
}
