:root {
  --ink: #20231f;
  --muted: #6e746b;
  --paper: #f6f3ed;
  --card: #fffdf8;
  --line: #ded9cf;
  --accent: #455345;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: rgba(246,243,237,.92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: .02em;
}

.site-header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: .95rem;
}

.account-link {
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5vw;
  padding: 6vw 5vw;
  align-items: center;
}

.hero-copy { max-width: 620px; }
.hero h1, .section h2, .login-card h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
}

.hero h1 { font-size: clamp(3rem, 6vw, 6.6rem); margin: 12px 0 24px; }
.hero p { font-size: 1.08rem; line-height: 1.7; color: var(--muted); }

.eyebrow {
  text-transform: uppercase;
  font-size: .72rem !important;
  letter-spacing: .19em;
  font-weight: 700;
  color: var(--accent) !important;
}

.primary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font: inherit;
  cursor: pointer;
}

.hero-image {
  min-height: 62vh;
  border-radius: 30px;
  background:
    linear-gradient(to top, rgba(0,0,0,.08), transparent 45%),
    url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1600&q=82")
    center/cover no-repeat;
}

.section { padding: 7vw 5vw; }
.section-heading { max-width: 700px; margin-bottom: 38px; }
.section h2 { font-size: clamp(2.3rem, 4vw, 4.5rem); margin: 8px 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.decor-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  padding-bottom: 18px;
}

.decor-card h3, .decor-card p { margin-left: 18px; margin-right: 18px; }
.decor-card p { color: var(--muted); line-height: 1.55; }

.decor-photo { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.photo-living { background-image: url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1200&q=82"); }
.photo-bedroom { background-image: url("https://images.unsplash.com/photo-1616594039964-ae9021a400a0?auto=format&fit=crop&w=1200&q=82"); }
.photo-kitchen { background-image: url("https://images.unsplash.com/photo-1556912167-f556f1f39fdf?auto=format&fit=crop&w=1200&q=82"); }

.tips-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 7vw;
}

.tips article {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.tips span { color: var(--muted); font-size: .8rem; }
.tips h3 { margin: 8px 0; }
.tips p { color: var(--muted); line-height: 1.6; }

footer {
  padding: 28px 5vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .9rem;
}

.login-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 30px;
}

.login-card {
  width: min(440px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(37,38,34,.08);
}

.login-card h1 { font-size: 3rem; margin: 10px 0; }
.muted { color: var(--muted); line-height: 1.5; }

.login-card form {
  display: grid;
  gap: 17px;
  margin-top: 28px;
}

.login-card label { font-size: .88rem; font-weight: 600; }
.login-card input {
  width: 100%;
  margin-top: 7px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 14px;
  font: inherit;
  background: white;
}

.form-button { width: 100%; margin-top: 4px; }
.form-button:disabled { opacity: .6; cursor: wait; }

.service-error {
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid #dbcaca;
  border-radius: 12px;
  color: #6f4141;
  background: #faf0f0;
  font-size: .9rem;
}

@media (max-width: 760px) {
  .site-header nav a:not(.account-link) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 12vw; }
  .hero-image { min-height: 48vh; }
  .card-grid, .tips-section { grid-template-columns: 1fr; }
  footer { gap: 14px; flex-direction: column; }
}


/* ======================================================================
   RICH STOREFRONT
   ====================================================================== */
.store-page {
  --store-bg: #f5f1e9;
  --store-card: #fffdf8;
  --store-dark: #1e211e;
  --store-accent: #455345;
  --store-accent-2: #7f6449;
  --store-line: #ded8cc;
  --store-muted: #74766f;
  --store-warm: #ebe2d4;
  background: var(--store-bg);
}

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

.announcement-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 5px 18px;
  background: #242923;
  color: #fff;
  font-size: .76rem;
  letter-spacing: .02em;
}

.store-header {
  min-height: 82px;
  gap: 26px;
  padding: 0 4vw;
  z-index: 50;
}

.store-header .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 230px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--store-dark);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.store-header .brand > span:last-child {
  display: grid;
  gap: 2px;
}

.store-header .brand strong {
  font-family: Georgia, serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.store-header .brand small {
  font-family: Inter, sans-serif;
  font-size: .54rem;
  letter-spacing: .2em;
  color: var(--store-muted);
}

.header-search {
  flex: 1;
  max-width: 720px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}

.header-search svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--store-muted);
  stroke-width: 1.7;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--store-dark);
}

.header-search input::placeholder { color: #9a9b95; }

.header-actions-store {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-icon-button {
  position: relative;
  min-width: 60px;
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 4px 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.header-icon-button:hover { background: rgba(69,83,69,.07); }
.header-icon-button > span { font-size: 1.25rem; line-height: 1; }
.header-icon-button > small { font-size: .62rem; color: var(--store-muted); }

.action-count {
  position: absolute;
  top: 1px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #8f4c3c;
  color: #fff;
  font-size: .62rem;
}

.action-count[hidden] { display: none; }

.category-nav {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 4vw;
  overflow-x: auto;
  background: #fffdf8;
  border-bottom: 1px solid var(--store-line);
  scrollbar-width: none;
  position: sticky;
  top: 82px;
  z-index: 40;
}

.category-nav::-webkit-scrollbar { display: none; }
.category-nav button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: .82rem;
}
.category-nav button:hover,
.category-nav button.active {
  background: #ece7dd;
}

.store-hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 5vw;
  align-items: center;
  padding: 5.2vw 5vw 4.5vw;
}

.store-hero .hero-copy { max-width: 650px; }

.store-hero h1 {
  margin: 10px 0 22px;
  font-family: Georgia, serif;
  font-size: clamp(3.7rem, 6.4vw, 7rem);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.035em;
}

.store-hero .hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--store-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.secondary-button {
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  cursor: pointer;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 25px;
  color: var(--store-muted);
  font-size: .78rem;
}

.hero-image-wrap {
  position: relative;
  min-height: 64vh;
}

.store-hero .hero-image {
  width: 100%;
  min-height: 64vh;
  border-radius: 32px;
  background:
    linear-gradient(to top, rgba(18,21,18,.12), transparent 50%),
    url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1600&q=85")
    center/cover no-repeat;
}

.hero-floating-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,253,248,.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

.hero-floating-label {
  color: var(--store-accent-2);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.store-page .section { padding: 5.8vw 5vw; }

.split-heading {
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  gap: 6vw;
  align-items: end;
  max-width: none;
}

.split-heading > p {
  color: var(--store-muted);
  line-height: 1.65;
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.category-card {
  position: relative;
  min-height: 290px;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
  padding: 20px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  background-position: center;
  background-size: cover;
  transition: transform .2s ease;
}

.category-card:hover { transform: translateY(-3px); }

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.67), rgba(0,0,0,.04) 65%);
}

.category-card span {
  font-family: Georgia, serif;
  font-size: 2rem;
}

.category-card small {
  margin-top: 4px;
  color: rgba(255,255,255,.82);
}

.cat-living { background-image: url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1000&q=82"); }
.cat-dining { background-image: url("https://images.unsplash.com/photo-1617806118233-18e1de247200?auto=format&fit=crop&w=1000&q=82"); }
.cat-bedroom { background-image: url("https://images.unsplash.com/photo-1616594039964-ae9021a400a0?auto=format&fit=crop&w=1000&q=82"); }
.cat-office { background-image: url("https://images.unsplash.com/photo-1518455027359-f3f8164ba6bd?auto=format&fit=crop&w=1000&q=82"); }
.cat-lighting { background-image: url("https://images.unsplash.com/photo-1507473885765-e6ed057f782c?auto=format&fit=crop&w=1000&q=82"); }
.cat-decor { background-image: url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1000&q=82"); }

.promo-strip {
  margin: 0 5vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--store-line);
  border-bottom: 1px solid var(--store-line);
}

.promo-strip > div {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 10px;
  align-items: center;
  padding: 24px 18px;
  border-right: 1px solid var(--store-line);
}

.promo-strip > div:last-child { border-right: 0; }
.promo-icon { font-size: 1.45rem; }
.promo-strip strong { display: block; font-size: .82rem; }
.promo-strip small { display: block; margin-top: 3px; color: var(--store-muted); line-height: 1.35; }

.products-heading {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}

.result-count {
  color: var(--store-muted);
  font-size: .9rem;
  white-space: nowrap;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
}

.catalog-filters {
  position: sticky;
  top: 145px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--store-line);
  border-radius: 18px;
  background: rgba(255,253,248,.72);
}

.filter-block {
  padding: 4px 0 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--store-line);
}

.filter-title {
  margin-bottom: 12px;
  font-size: .86rem;
  font-weight: 700;
}

.filter-options { display: grid; gap: 9px; }

.filter-radio {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  font-size: .81rem;
}

.filter-radio small { color: var(--store-muted); }
.filter-radio input { accent-color: var(--store-accent); }

.price-range { display: grid; gap: 10px; color: var(--store-muted); font-size: .8rem; }
.price-range input { width: 100%; accent-color: var(--store-accent); }

.check-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 9px 0;
  cursor: pointer;
  font-size: .82rem;
}
.check-row input { accent-color: var(--store-accent); }

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--store-accent);
  text-decoration: underline;
  cursor: pointer;
  font-size: .78rem;
}

.catalog-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.catalog-toolbar select {
  min-height: 38px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--store-line);
  border-radius: 11px;
  background: #fffdf8;
  color: var(--store-dark);
}

.mobile-filter-button {
  display: none;
  margin-right: auto;
  border: 1px solid var(--store-line);
  border-radius: 10px;
  background: #fffdf8;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: 20px;
  background: var(--store-card);
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(35,39,34,.09);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  background: #eee9df;
}

.product-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform .35s ease;
}
.product-card:hover .product-image-wrap > img { transform: scale(1.025); }

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 60px);
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(32,35,31,.88);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.wishlist-toggle {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  font-size: 1.3rem;
  cursor: pointer;
}
.wishlist-toggle.active { color: #9f443c; }

.quick-view {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translate(-50%, 12px);
  opacity: 0;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  color: var(--store-dark);
  cursor: pointer;
  transition: .18s ease;
  white-space: nowrap;
  font-size: .72rem;
}
.product-card:hover .quick-view { opacity: 1; transform: translate(-50%, 0); }

.product-info { padding: 15px; }
.product-category {
  color: var(--store-muted);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-info h3 {
  margin: 6px 0 7px;
  min-height: 2.3em;
  font-family: Georgia, serif;
  font-size: 1.22rem;
  font-weight: 500;
  cursor: pointer;
}

.rating-row {
  color: var(--store-muted);
  font-size: .72rem;
}
.rating-row span, .stars { color: #a87730; }
.rating-row small { color: #aaa59b; }

.product-price-row {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.product-price-row strong { font-size: 1.05rem; }
.product-price-row del { color: #a6a099; font-size: .78rem; }
.product-price-row em {
  padding: 3px 6px;
  border-radius: 999px;
  background: #f1ddd6;
  color: #9b4c3a;
  font-style: normal;
  font-size: .62rem;
  font-weight: 700;
}

.stock-line {
  margin: 6px 0 12px;
  font-size: .68rem;
}
.stock-line.in-stock { color: #557452; }
.stock-line.made-order { color: #9a7545; }

.add-cart-button {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  background: var(--store-accent);
  color: #fff;
  cursor: pointer;
}

.empty-products {
  padding: 80px 20px;
  text-align: center;
  border: 1px dashed var(--store-line);
  border-radius: 18px;
  color: var(--store-muted);
}
.empty-products button {
  margin-left: 10px;
  border: 0;
  background: transparent;
  color: var(--store-accent);
  text-decoration: underline;
  cursor: pointer;
}

.inspiration-section { background: #ebe6dc; }

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

.editorial-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fffdf8;
}

.editorial-image {
  min-height: 380px;
  background-size: cover;
  background-position: center;
}

.editorial-warm .editorial-image { background-image: url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1000&q=82"); }
.editorial-dark .editorial-image { background-image: url("https://images.unsplash.com/photo-1593062096033-9a26b09da705?auto=format&fit=crop&w=1000&q=82"); }
.editorial-soft .editorial-image { background-image: url("https://images.unsplash.com/photo-1566665797739-1674de7a421a?auto=format&fit=crop&w=1000&q=82"); }

.editorial-copy { padding: 20px; }
.editorial-copy > span {
  color: var(--store-muted);
  font-size: .68rem;
  letter-spacing: .08em;
}
.editorial-copy h3 {
  margin: 8px 0 16px;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
}
.editorial-copy button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--store-accent);
  cursor: pointer;
  font-weight: 700;
}

.room-planner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 5vw;
  align-items: center;
}

.room-planner-image {
  min-height: 560px;
  border-radius: 28px;
  background: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1400&q=82") center/cover;
}
.room-planner-copy { max-width: 560px; }
.room-planner-copy h2 {
  margin: 8px 0 18px;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  line-height: 1;
}
.room-planner-copy > p { color: var(--store-muted); line-height: 1.7; }
.planner-points {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.planner-points span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.planner-points b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e1dbcf;
  color: var(--store-accent);
  font-size: .75rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.reviews-grid article {
  padding: 26px;
  border: 1px solid var(--store-line);
  border-radius: 20px;
  background: #fffdf8;
}
.reviews-grid p { line-height: 1.65; }
.reviews-grid strong { color: var(--store-muted); font-size: .76rem; }

.newsletter {
  margin: 2vw 5vw 6vw;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, .8fr);
  gap: 30px;
  align-items: center;
  border-radius: 28px;
  background: #273027;
  color: #fff;
}
.newsletter .eyebrow { color: #bcc9b7 !important; }
.newsletter h2 {
  margin: 7px 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 2.5rem;
}
.newsletter p { color: rgba(255,255,255,.68); }
.newsletter form {
  display: flex;
  gap: 8px;
}
.newsletter input {
  flex: 1;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
}
.newsletter button {
  min-width: 110px;
  border: 0;
  border-radius: 999px;
  background: #e8dfd0;
  color: #273027;
  cursor: pointer;
}
.newsletter-message {
  grid-column: 2;
  min-height: 18px;
  color: #d9e7d2;
  font-size: .78rem;
}

.faq-section .section-heading { max-width: 760px; }
.faq-list { max-width: 900px; }
.faq-list details {
  border-top: 1px solid var(--store-line);
  padding: 18px 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}
.faq-list p {
  max-width: 760px;
  color: var(--store-muted);
  line-height: 1.65;
}

.store-footer {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 45px;
  padding: 48px 5vw 22px;
  background: #1f231f;
  color: #fff;
}
.store-footer h4 { margin: 0 0 12px; }
.store-footer > div:not(.footer-brand):not(.footer-bottom) {
  display: grid;
  align-content: start;
  gap: 8px;
}
.store-footer button,
.store-footer a,
.store-footer span {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255,255,255,.66);
  text-align: left;
  font-size: .79rem;
  cursor: pointer;
}
.footer-brand strong {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
}
.footer-brand p {
  max-width: 340px;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
}
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,.11);
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  width: min(430px, 92vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  background: #fffdf8;
  box-shadow: -20px 0 50px rgba(0,0,0,.15);
  transition: transform .22s ease;
}
.side-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--store-line);
}
.drawer-head h3 {
  margin: 3px 0 0;
  font-family: Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
}
.drawer-close, .modal-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eee9df;
  cursor: pointer;
  font-size: 1.35rem;
}
.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}
.drawer-empty {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 40px;
  color: var(--store-muted);
}
.drawer-empty[hidden] { display: none; }

.drawer-product {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--store-line);
}
.drawer-product img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 11px;
}
.drawer-product > div { display: grid; align-content: start; gap: 4px; }
.drawer-product span { color: var(--store-muted); font-size: .62rem; text-transform: uppercase; }
.drawer-product strong { font-size: .86rem; }
.drawer-product small { color: var(--store-muted); }
.remove-item {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #f0ece5;
  cursor: pointer;
}
.qty-control {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  padding: 2px 6px;
}
.qty-control button {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.wishlist-add-cart {
  width: fit-content;
  margin-top: 5px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--store-accent);
  cursor: pointer;
  text-decoration: underline;
  font-size: .72rem;
}

.cart-summary {
  padding: 20px;
  border-top: 1px solid var(--store-line);
}
.cart-summary[hidden] { display: none; }
.cart-summary > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cart-summary small { color: var(--store-muted); line-height: 1.45; }
.checkout-button {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--store-accent);
  color: #fff;
  cursor: pointer;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(25,26,24,.4);
  opacity: 0;
  transition: opacity .18s ease;
}
.drawer-backdrop.show { opacity: 1; }

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow-y: auto;
  background: rgba(25,26,24,.56);
  backdrop-filter: blur(4px);
}
.product-modal[hidden] { display: none !important; }
.product-modal-card {
  position: relative;
  width: min(980px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 24px;
  background: #fffdf8;
}
.product-modal-card > .modal-close,
.checkout-card > .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

.modal-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal-product-image {
  min-height: 620px;
  background: #eee9df;
}
.modal-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-product-copy {
  padding: 50px 38px 36px;
}
.modal-product-copy h2 {
  margin: 10px 0;
  font-family: Georgia, serif;
  font-size: 2.7rem;
  font-weight: 400;
}
.rating-row.large { margin: 8px 0 16px; }
.modal-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-price strong { font-size: 1.55rem; }
.modal-price del { color: #a29d95; }
.modal-price em {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1ddd6;
  color: #9b4c3a;
  font-style: normal;
  font-size: .68rem;
}
.modal-product-copy > p {
  color: var(--store-muted);
  line-height: 1.65;
}
.product-specs {
  margin: 20px 0;
  border-top: 1px solid var(--store-line);
}
.product-specs > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--store-line);
}
.product-specs dt { color: var(--store-muted); font-size: .76rem; }
.product-specs dd { margin: 0; font-size: .8rem; }
.modal-actions { display: flex; gap: 9px; }
.modal-actions .primary-button { flex: 1; }
.modal-fav {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
.modal-fav.active { color: #9f443c; }
.delivery-note {
  margin-top: 16px;
  color: var(--store-muted);
  font-size: .72rem;
  line-height: 1.6;
}

.checkout-card {
  position: relative;
  width: min(720px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 36px;
  border-radius: 24px;
  background: #fffdf8;
}
.checkout-card h2 {
  margin: 7px 0;
  font-family: Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
}
.checkout-card > p {
  color: var(--store-muted);
  line-height: 1.55;
}
.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--store-muted);
  font-size: .76rem;
}
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--store-line);
  border-radius: 11px;
  padding: 11px 12px;
  background: #fff;
}
.full-row { grid-column: 1 / -1; }
.checkout-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--store-line);
}
.checkout-success {
  padding: 35px 10px 15px;
  text-align: center;
}
.success-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #dce9d9;
  color: #456143;
  font-size: 1.6rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 180;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 11px 16px;
  border-radius: 999px;
  background: #232723;
  color: #fff;
  pointer-events: none;
  transition: .2s ease;
  box-shadow: 0 8px 26px rgba(0,0,0,.18);
  font-size: .8rem;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

body.drawer-open,
body.modal-open { overflow: hidden; }

@media (max-width: 1100px) {
  .store-header { gap: 10px; }
  .store-header .brand { min-width: auto; }
  .store-header .brand strong { display: none; }
  .store-header .brand small { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-strip { grid-template-columns: repeat(2, 1fr); }
  .promo-strip > div:nth-child(2) { border-right: 0; }
  .promo-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--store-line); }
}

@media (max-width: 820px) {
  .announcement-hide-mobile { display: none; }
  .store-header {
    min-height: 70px;
    padding: 8px 12px;
    flex-wrap: wrap;
  }
  .store-header .brand { order: 1; }
  .header-actions-store { order: 2; margin-left: auto; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .header-icon-button { min-width: 46px; min-height: 44px; }
  .header-icon-button > small { display: none; }
  .category-nav { top: 116px; justify-content: flex-start; padding: 0 10px; }

  .store-hero {
    grid-template-columns: 1fr;
    padding: 48px 18px 36px;
  }
  .store-hero h1 { font-size: clamp(3.3rem, 15vw, 5.2rem); }
  .hero-image-wrap, .store-hero .hero-image { min-height: 52vh; }

  .store-page .section { padding: 55px 18px; }
  .split-heading { grid-template-columns: 1fr; gap: 8px; }
  .category-card-grid { grid-template-columns: 1fr 1fr; }
  .category-card { grid-column: auto; min-height: 220px; }

  .catalog-layout { grid-template-columns: 1fr; gap: 14px; }
  .catalog-filters {
    position: static;
    display: none;
  }
  .catalog-filters.mobile-open { display: block; }
  .mobile-filter-button {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
  }
  .products-heading { align-items: start; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-image { min-height: 320px; }

  .room-planner { grid-template-columns: 1fr; }
  .room-planner-image { min-height: 430px; }
  .reviews-grid { grid-template-columns: 1fr; }

  .newsletter {
    margin: 0 18px 50px;
    padding: 28px 22px;
    grid-template-columns: 1fr;
  }
  .newsletter form { flex-direction: column; }
  .newsletter-message { grid-column: 1; }

  .store-footer { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  .modal-product-grid { grid-template-columns: 1fr; }
  .modal-product-image { min-height: 48vh; }
  .modal-product-copy { padding: 30px 22px; }
}

@media (max-width: 560px) {
  .announcement-bar { justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  
  .category-card-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 260px; }
  .promo-strip {
    margin: 0 18px;
    grid-template-columns: 1fr;
  }
  .promo-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--store-line);
  }
  .promo-strip > div:last-child { border-bottom: 0; }

  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .product-card { border-radius: 14px; }
  .product-info { padding: 11px; }
  .product-info h3 { font-size: 1rem; }
  .product-price-row { flex-wrap: wrap; gap: 5px; }
  .add-cart-button { font-size: .72rem; }
  .quick-view { display: none; }

  .store-footer { grid-template-columns: 1fr; }
  .footer-brand, .footer-bottom { grid-column: 1; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .checkout-card { padding: 30px 18px; }
  .checkout-form { grid-template-columns: 1fr; }
  .checkout-form > * { grid-column: 1 !important; }
}


/* ============================================================
   FINAL HEADER / ACCOUNT POLISH
   ============================================================ */

.store-header {
  position: sticky;
  top: 0;
  background: rgba(245,241,233,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(222,216,204,.72);
}

.header-actions-store {
  margin-left: auto;
}

.account-store-link {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid #d8d1c5;
  border-radius: 999px;
  background: #fffdf8;
  color: #1e211e;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(38,40,36,.04);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.account-store-link:hover {
  background: #ebe6dc;
  border-color: #cfc6b8;
  transform: translateY(-1px);
}

.account-store-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 820px) {
  .store-header {
    position: sticky;
    top: 0;
  }

  .account-store-link {
    min-height: 40px;
    padding: 0 12px;
  }

  .account-store-link span {
    display: inline !important;
  }

  .category-nav {
    top: 116px;
  }
}

@media (max-width: 560px) {
  /* Keep Λογαριασμός visible, unlike the earlier mobile rule. */
  .account-store-link {
    display: inline-flex !important;
    min-height: 38px;
    padding: 0 10px;
    font-size: .72rem;
  }

  .account-store-link svg {
    width: 16px;
    height: 16px;
  }

  .header-actions-store {
    gap: 4px;
  }

  .header-icon-button {
    min-width: 42px;
  }
}
