:root {
  --ink: #182f5b;
  --blue: #182f5b;
  --blue-hover: #102142;
  --cream: #faf6ed;
  --cream-soft: #f4eee2;
  --card-bg: #ffffff;
  --yellow: #f8be35;
  --yellow-hover: #e5ab24;
  --yellow-soft: #fff5dc;
  --pink: #f2bacb;
  --terracotta: #b84c1f;
  --muted: #57657f;
  --muted-light: #7c889e;
  --line: #e3ddd0;
  --line-light: #eee9df;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', 'Trebuchet MS', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-sm: 0 2px 8px -1px rgba(24, 47, 91, 0.05);
  --shadow-card: 0 8px 24px -4px rgba(24, 47, 91, 0.08);
  --shadow-hover: 0 16px 36px -6px rgba(24, 47, 91, 0.13);
  --shadow-modal: 0 25px 60px -10px rgba(16, 33, 66, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, textarea {
  font: inherit;
}

button, a, input, textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button, a {
  touch-action: manipulation;
  transition: background 0.22s, color 0.22s, transform 0.25s var(--ease), box-shadow 0.25s;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
}

h1 {
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

p {
  margin-top: 1.1rem;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.section {
  padding-block: 90px;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* Announcement Bar */
.announcement {
  background: var(--blue);
  color: #fff9f0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 9px 20px;
}

.announcement span {
  padding-inline: 14px;
  color: var(--yellow);
}

/* Header & Sticky Navigation */
.header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 237, 0.94);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-scrolled .header {
  box-shadow: 0 6px 22px rgba(24, 47, 91, 0.07);
  border-bottom-color: rgba(227, 221, 208, 0.6);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}

.wordmark .brand-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.wordmark:hover .brand-icon {
  transform: rotate(6deg) scale(1.08);
}

.wordmark-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.15rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.brand-star {
  color: var(--terracotta);
  font-size: 1.45rem;
  margin-left: 2px;
  display: inline-block;
  vertical-align: 0.08em;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 600;
}

.header nav a {
  text-decoration: none;
  padding: 8px 4px;
  position: relative;
  color: var(--ink);
}

.header nav a:hover, .header nav a[aria-current] {
  color: var(--terracotta);
}

.header nav a[aria-current]:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.festive-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fbf0d8 !important;
  color: #6d2033 !important;
  font-weight: 700 !important;
  padding: 6px 15px !important;
  border-radius: 20px !important;
  border: 1px solid #ebd29f !important;
  transition: all 0.25s ease !important;
}

.festive-nav:hover {
  background: #f7e4be !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(109, 32, 51, 0.12);
}

.festive-nav:after {
  display: none !important;
}

.header-note {
  border: 1.5px solid var(--ink);
  padding: 9px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.25s ease;
}

.header-note:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(248, 190, 53, 0.25);
}

.menu-toggle {
  display: none;
}

/* Button Component */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1.5px solid var(--blue);
  padding: 12px 26px;
  background: var(--blue);
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
}

.button:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.button.light {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.button.light:hover {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  min-height: 660px;
  padding-top: 50px;
  padding-bottom: 60px;
  align-items: center;
}

.hero-copy {
  padding-block: 20px;
}

.hero-copy h1 em {
  font-weight: 400;
  font-style: italic;
  position: relative;
  z-index: 0;
  color: var(--ink);
}

.hero-copy h1 em:after {
  content: '';
  position: absolute;
  background: var(--yellow);
  height: 0.22em;
  bottom: 0.06em;
  left: 0;
  right: -12px;
  z-index: -1;
  transform: rotate(-2.5deg);
  border-radius: 4px;
}

.hero-copy > p {
  max-width: 440px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-copy > .button {
  margin-top: 32px;
}

.hero-bottom {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 36px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.mini-star {
  font-size: 2.4rem;
  color: var(--terracotta);
  line-height: 1;
}

.hero-art {
  position: relative;
  height: 520px;
  margin-right: 20px;
}

.hero-photo {
  width: 78%;
  position: absolute;
  right: 3%;
  top: 0;
  height: 480px;
  background: #eadac3;
  transform: rotate(6deg);
  overflow: hidden;
  border-radius: 160px 160px 8px 8px;
  box-shadow: 0 18px 45px rgba(69, 49, 24, 0.18);
  border: 1px solid rgba(227, 221, 208, 0.6);
}

.hero-photo > img {
  height: 100%;
  object-fit: cover;
}

.photo-caption {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: #3f2713;
  background: rgba(255, 250, 240, 0.85);
  backdrop-filter: blur(4px);
  padding: 8px;
}

.small-photo {
  position: absolute;
  left: -5%;
  bottom: 0;
  width: 42%;
  background: #ffffff;
  padding: 10px 10px 14px;
  transform: rotate(-9deg);
  box-shadow: 0 14px 35px rgba(69, 49, 24, 0.18);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.small-photo img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.small-photo span {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  margin-top: 8px;
  color: var(--ink);
}

.seal {
  position: absolute;
  right: -7%;
  top: 30px;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transform: rotate(12deg);
  border: 1px dashed var(--ink);
  outline: 6px solid var(--yellow);
  box-shadow: 0 8px 24px rgba(248, 190, 53, 0.3);
}

.seal i {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: 0;
  font-style: italic;
}

.art-star {
  position: absolute;
  bottom: 6%;
  right: -4%;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--terracotta);
  transform: rotate(8deg);
}

/* Ribbon */
.ribbon {
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 18px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}

.ribbon span[aria-hidden] {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--terracotta);
}

/* Trust Strip / Value Highlights */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 8px 14px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fdf8ef;
  color: var(--terracotta);
  border: 1.5px solid #ebd9bf;
  box-shadow: 0 4px 12px rgba(184, 80, 66, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.trust-item:hover .trust-icon {
  transform: translateY(-3px) scale(1.06);
  background: #fcf1df;
  border-color: var(--terracotta);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-item h4 {
  font-size: 1.15rem;
  font-family: var(--serif);
  color: var(--ink);
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 0;
}

/* Headings & Links */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.text-link {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  color: var(--ink);
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--terracotta);
}

/* Categories Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category {
  text-decoration: none;
}

.category > div {
  overflow: hidden;
  border-radius: 140px 140px 10px 10px;
  background: #f2e5d2;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.category img {
  aspect-ratio: 1/1.16;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.category:hover img {
  transform: scale(1.06);
}

.category h3 {
  margin-top: 20px;
  font-size: 1.45rem;
  transition: color 0.2s;
}

.category:hover h3 {
  color: var(--terracotta);
}

.category p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Featured / Collection Section */
.featured {
  background: #edf1f8;
  border-block: 1px solid #dbe2ef;
}

.section-aside {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Product Cards & Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
}

.product-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #cfc4b2;
}

.product-image {
  display: block;
  border: 0;
  background: #f6efe3;
  padding: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.product-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-image img {
  transform: scale(1.045);
}

.quick-view {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s;
  box-shadow: 0 4px 12px rgba(24, 47, 91, 0.12);
}

.product-image:hover .quick-view, .product-image:focus-visible .quick-view {
  opacity: 1;
  transform: translateY(0);
}

.product-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin: 14px 0 6px;
  color: var(--muted);
}

.product-title {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.product-title h3 {
  font-size: 1.38rem;
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.2s ease;
}

.product-card:hover .product-title h3 {
  color: var(--terracotta);
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin: 10px 0 14px;
}

.product-price span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  padding-left: 2px;
}

.experimental-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: #fdf5e2;
  color: #94580b;
  border: 1px solid #f2da9f;
  border-radius: 12px;
  padding: 3px 10px;
  margin: 0 0 10px;
  align-self: flex-start;
}

.price-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  background: #f1f4fa;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid #dce2ef;
  transition: all 0.22s ease;
}

.price-link:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* Story Section */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.story-image {
  position: relative;
  padding-right: 20px;
}

.story-image img {
  max-height: 620px;
  object-fit: cover;
  border-radius: 8px 140px 8px 8px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.story-label {
  position: absolute;
  bottom: 35px;
  right: -15px;
  background: var(--yellow);
  padding: 24px 30px;
  transform: rotate(-5deg);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(248, 190, 53, 0.3);
  border: 1px dashed var(--ink);
  border-radius: 4px;
}

.story-copy h2 {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
}

.story-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.story-copy .text-link {
  display: inline-block;
  margin-top: 25px;
}

/* Hello Band CTA */
.hello-band {
  text-align: center;
  padding: 85px 24px 95px;
  background: var(--blue);
  color: var(--cream);
}

.hello-band .eyebrow {
  color: var(--yellow);
}

.hello-band h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.3rem);
  color: #ffffff;
}

.hello-band p {
  color: #dbe4f4;
  font-size: 1.05rem;
}

.hello-band .button {
  margin-top: 30px;
}

/* Footer */
footer {
  padding: 70px 56px 26px;
  background: #f4eee2;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.4fr;
  gap: 40px;
}

.footer-top h2 {
  font: 700 0.85rem var(--sans);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-top a:not(.wordmark) {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  margin: 10px 0;
  transition: color 0.2s;
}

.footer-top a:hover {
  color: var(--terracotta);
  text-decoration: underline;
}

.footer-top p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-top a.instagram-link {
  display: inline-flex;
  width: max-content;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin: 2px 0 !important;
  padding: 4px 8px 4px 0;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-top a.instagram-link:hover {
  color: var(--terracotta);
  text-decoration: underline;
  transform: translateY(-1px);
}

.footer-top a.instagram-link:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.footer-top a.instagram-link svg {
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .footer-top a.instagram-link {
    transition: none;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 24px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Collection Tools: Filters & Search */
.page-heading {
  padding-block: 60px 40px;
}

.page-heading h1 {
  font-size: clamp(3rem, 5.5vw, 5.4rem);
}

.page-heading > p {
  color: var(--muted);
  max-width: 660px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.collection-main {
  padding-bottom: 75px;
}

.collection-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters button {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 42px;
  padding: 8px 18px;
  color: var(--muted);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.filters button[aria-pressed=true] {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(24, 47, 91, 0.18);
}

.filters button:hover:not([aria-pressed=true]) {
  background: #eee8db;
  color: var(--ink);
}

input, textarea {
  width: 100%;
  padding: 13px 16px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(24, 47, 91, 0.08);
}

input::placeholder, textarea::placeholder {
  color: #838e9f;
}

.search-label {
  width: 260px;
  flex-shrink: 0;
}

.search-label input {
  border-radius: 30px;
  font-size: 0.84rem;
  padding: 11px 20px;
}

.result-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  background: #eee8db;
  border-radius: 20px;
  padding: 5px 16px;
  margin: 22px 0 30px;
}

.collection-note {
  font-size: 0.9rem;
  color: var(--muted);
  padding-top: 40px;
  max-width: 760px;
  line-height: 1.7;
}

.empty {
  text-align: center;
  padding: 70px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.empty .button {
  margin-top: 25px;
}

[hidden] {
  display: none !important;
}

/* About & Team */
.about-story {
  gap: 80px;
}

.about-story h1 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.lead {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.45;
  color: var(--ink);
}

.about-story p:not(.lead) {
  color: var(--muted);
  font-size: 1.05rem;
}

.team {
  padding-top: 10px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.team-grid article {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.person-initial {
  display: flex;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2.3rem;
  margin-bottom: 26px;
}

.person-initial.yellow {
  background: var(--yellow);
  color: var(--ink);
}

.team-grid h3 {
  font-size: 2rem;
}

.team-grid p {
  color: var(--muted);
  max-width: 450px;
  font-size: 0.98rem;
  line-height: 1.75;
}

.team-grid .text-link {
  display: inline-block;
  margin-top: 20px;
}

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 65px;
  align-items: start;
  margin-top: 15px;
}

.contact-card {
  background: #edf1f8;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #dce2ef;
}

.contact-card h2 {
  font-size: 2.5rem;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.email-link {
  display: inline-block;
  margin-top: 25px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* Legal Pages */
.legal {
  max-width: 880px;
  padding-block: 70px 90px;
}

.legal h1 {
  font-size: clamp(3rem, 5.5vw, 4.8rem);
}

.policy-date {
  font-size: 0.85rem;
  color: var(--muted);
}

.policy-notice {
  background: #fdf5e2;
  border-left: 4px solid var(--terracotta);
  padding: 18px 24px;
  font-size: 0.92rem;
  margin-top: 30px;
  border-radius: 0 8px 8px 0;
}

.legal-content section {
  margin: 38px 0;
}

.legal-content h2 {
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}

.legal-content p {
  color: #4a566c;
  font-size: 0.98rem;
  line-height: 1.85;
}

/* FAQs */
.faq-page {
  max-width: 1000px;
  padding-top: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 24px 4px;
}

summary {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  cursor: pointer;
  padding-right: 20px;
  color: var(--ink);
}

details p {
  color: var(--muted);
  max-width: 750px;
  font-size: 1rem;
  line-height: 1.8;
  padding-bottom: 8px;
}

/* Print Catalogue */
.print-catalogue {
  padding-bottom: 65px;
}

.print-catalogue .button {
  margin-top: 25px;
}

.print-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 10px;
}

.print-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.print-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  break-inside: avoid;
}

.print-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fdfaf6;
  padding: 6px;
  box-sizing: border-box;
}

.print-card > div {
  padding: 18px;
}

.print-card span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.print-card h2 {
  font-size: 1.45rem;
  margin-top: 6px;
}

.print-card p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
}

/* Upgraded Boutique Modal Dialog */
dialog {
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  max-width: min(940px, calc(100vw - 32px));
  width: 940px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-modal);
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
}

.dialog-close:hover {
  background: var(--yellow);
  transform: rotate(90deg);
}

#dialog-content {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  max-height: 90vh;
  overflow-y: auto;
}

.dialog-media {
  position: relative;
  background: #f5eee3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-media img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
}

.dialog-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line);
}

.dialog-copy {
  padding: 42px 34px 34px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.dialog-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.product-code-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  background: #edf1f8;
  color: var(--ink);
  border-radius: 12px;
  letter-spacing: 0.05em;
}

.dialog-copy h2 {
  font-size: 2.3rem;
  line-height: 1.15;
}

.dialog-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 14px;
}

.dialog-price-box {
  margin: 18px 0;
  padding: 14px 18px;
  background: #fdf8ec;
  border: 1px solid #fae8be;
  border-radius: 14px;
}

.dialog-price-box .product-price {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.shipping-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

.experimental-note {
  font-size: 0.84rem;
  background: #fdf5e2;
  border-left: 3px solid #94580b;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  color: #784503;
  margin: 12px 0;
}

.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.dialog-actions .button {
  flex: 1;
  min-width: 170px;
  font-size: 0.86rem;
  gap: 8px;
}

.dialog-actions .wa-action {
  background: #128c7e;
  border-color: #128c7e;
  color: #ffffff;
}

.dialog-actions .wa-action:hover {
  background: #075e54;
  border-color: #075e54;
}

.dialog-actions .copy-action {
  background: #ffffff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.dialog-actions .copy-action:hover {
  background: #f5efe2;
}

.action-svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.dialog-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-item strong {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.spec-item span {
  font-weight: 600;
  color: var(--ink);
  margin-top: 2px;
}

.dialog-footer-links {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #182f5b;
  color: #ffffff;
  padding: 11px 24px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
  z-index: 250;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.pricing-notice {
  font-size: 0.88rem;
  color: var(--muted);
  padding-top: 1rem;
  padding-bottom: 2rem;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: -80px;
  left: 15px;
  background: var(--yellow);
  padding: 14px 20px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  z-index: 1000;
}

.skip:focus {
  top: 0;
}

/* Responsive Media Queries */
@media(max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header {
    padding-inline: 32px;
  }
  .header nav {
    gap: 22px;
  }
  .header-note {
    display: none;
  }
  .hero {
    gap: 30px;
    min-height: 600px;
  }
  .hero-art {
    height: 460px;
  }
  .hero-photo {
    height: 410px;
    width: 85%;
  }
  .hero h1 {
    font-size: 5.2rem;
  }
  .category-grid {
    gap: 18px;
  }
  .product-grid {
    gap: 30px 18px;
  }
  .story {
    gap: 55px;
  }
  .collection-tools {
    align-items: flex-start;
    flex-direction: column;
  }
  .search-label {
    width: min(100%, 350px);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
}

@media(max-width: 768px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header {
    height: 76px;
    padding-inline: 18px;
  }
  .wordmark-text {
    font-size: 1.85rem;
  }
  .wordmark .brand-icon {
    width: 40px;
    height: 40px;
  }
  .menu-toggle {
    display: block;
    background: transparent;
    border: 1.5px solid var(--ink);
    border-radius: 25px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 18px;
    min-height: 42px;
  }
  .header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 18px 24px 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(24, 47, 91, 0.12);
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .header nav.is-open {
    display: flex;
  }
  .header nav a {
    padding: 10px 0;
    font-size: 1.05rem;
    width: 100%;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
    padding-bottom: 36px;
    gap: 20px;
    min-height: 0;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-art {
    height: 390px;
    width: min(360px, 92%);
    margin: 10px auto 0;
  }
  .category-grid, .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
  }
  .product-card {
    padding: 10px;
  }
  .product-title h3 {
    font-size: 1.2rem;
  }
  .story {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-image img {
    max-height: 440px;
  }
  .story-label {
    right: 0;
    font-size: 1.3rem;
    padding: 16px 20px;
  }
  .team-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  #dialog-content {
    grid-template-columns: 1fr;
  }
  .dialog-media img {
    max-height: 340px;
  }
  .dialog-copy {
    padding: 26px 20px 24px;
  }
  .dialog-copy h2 {
    font-size: 1.95rem;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 48px 20px 20px;
  }
}

@media(max-width: 480px) {
  .category-grid, .product-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion */
@media(prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Print Styles */
@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }
  body {
    background: #ffffff;
    color: #0f1c36;
    font-size: 9.5pt;
  }
  .header, .announcement, footer, #craftella-auth-gate, .print-action, .print-hint, .skip, dialog, .toast-msg {
    display: none !important;
  }
  .print-catalogue .page-heading > div {
    display: none !important;
  }
  .wrap {
    width: 100%;
    max-width: none;
  }
  .print-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4.5mm;
  }
  .print-card {
    border: 1px solid #d9d0c3;
    border-radius: 3.5mm;
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
    background: #ffffff;
    display: flex;
    flex-direction: column;
  }
  .print-card img {
    width: 100%;
    height: 62mm;
    object-fit: contain;
    background: #fdfaf6;
    padding: 1.5mm;
    box-sizing: border-box;
    display: block;
  }
  .print-card > div {
    padding: 3mm 3.5mm;
  }
  .print-card span {
    font-size: 7.2pt;
    color: #666666;
  }
  .print-card h2 {
    font-size: 10.5pt;
    margin: 1mm 0;
    color: #1a1a1a;
  }
  .print-card p {
    font-size: 9pt;
    font-weight: 700;
    color: #203d79;
    margin-top: 1mm;
  }
}

/* ====================================================
   PAGE TRANSITIONS & CROSS-DOCUMENT MOTION
   ==================================================== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 180ms cubic-bezier(0.2, 0.7, 0.2, 1) both page-leave-kf;
}

::view-transition-new(root) {
  animation: 260ms cubic-bezier(0.2, 0.7, 0.2, 1) both page-arrive-kf;
}

@keyframes page-leave-kf {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes page-arrive-kf {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  animation: page-arrive-kf 0.28s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

body {
  transform: none !important;
}

main.page-is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

/* ====================================================
   HEADER & NAVBAR ALIGNMENT FIX
   ==================================================== */
.header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 48px;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 237, 0.94);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.wordmark {
  margin-right: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-right: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
  flex-shrink: 0;
}

@media(max-width: 1100px) {
  .wordmark {
    margin-right: 28px;
  }
  .header nav {
    gap: 20px;
  }
  .header-actions {
    margin-left: auto;
  }
}

@media(max-width: 768px) {
  .header {
    height: 76px;
    padding-inline: 18px;
    justify-content: space-between;
  }
  .wordmark {
    margin-right: 0;
  }
  .header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 18px 24px 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(24, 47, 91, 0.12);
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
  }
  .header nav.is-open {
    display: flex;
  }
  .header-actions {
    margin-left: auto;
    gap: 8px;
  }
}

/* Header Cart / Bag Toggle Button */
.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
  position: relative;
  white-space: nowrap;
}

.cart-toggle:hover {
  background: var(--yellow-soft);
  border-color: var(--yellow);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(248, 190, 53, 0.22);
}

.cart-icon-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
}

.cart-badge {
  background: var(--terracotta);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge.bump {
  transform: scale(1.35);
}

/* ====================================================
   PRODUCT CARD ACTIONS
   ==================================================== */
.card-action-row {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.card-cart-btn {
  flex: 1;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 20px;
  background: var(--cream);
  color: var(--ink);
  border: 1.5px solid var(--line);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.22s var(--ease);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.card-cart-btn:hover {
  background: #f4ecdf;
  border-color: #c9bea9;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 61, 121, 0.1);
}

.card-cart-btn .cart-btn-icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.card-buy-btn {
  flex: 1.2;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 20px;
  background: var(--ink);
  color: #ffffff;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.22s var(--ease);
  box-shadow: 0 4px 14px rgba(32, 61, 121, 0.2);
  text-decoration: none;
}

.card-buy-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(184, 80, 66, 0.28);
}

.card-buy-btn svg {
  width: 14px;
  height: 14px;
}

/* ====================================================
   MODAL DIALOG STYLING FIX
   ==================================================== */
dialog {
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  max-width: min(940px, calc(100vw - 32px));
  width: 940px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-modal);
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#dialog-content {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  max-height: 90vh;
  overflow-y: auto;
}

.dialog-media {
  position: relative;
  background: #f5eee3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-media img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
}

.dialog-copy {
  padding: 40px 34px 34px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.dialog-copy h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 6px;
}

.dialog-price-box {
  margin: 14px 0 16px;
  padding: 14px 18px;
  background: #fdf8ec;
  border: 1px solid #fae8be;
  border-radius: 14px;
}

.dialog-price-box .product-price {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.shipping-note {
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  line-height: 1.4;
}

.dialog-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 16px;
}

.qty-control-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 16px;
  margin-bottom: 18px;
}

.qty-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

.qty-btn:hover:not(:disabled) {
  background: var(--yellow);
  color: var(--ink);
}

.qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-input {
  width: 44px;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
}

.modal-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.buy-now-btn-modal {
  width: 100%;
  min-height: 52px;
  background: var(--blue, #182f5b);
  color: #ffffff;
  border: 1.5px solid var(--blue, #182f5b);
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(24, 47, 91, 0.28);
  transition: all 0.25s var(--ease);
}

.buy-now-btn-modal:hover {
  background: #102142;
  border-color: #102142;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(24, 47, 91, 0.38);
}

.buy-now-btn-modal:active {
  transform: scale(0.97);
}

.add-cart-btn-modal {
  width: 100%;
  min-height: 48px;
  background: var(--yellow);
  color: var(--ink);
  border: 1.5px solid var(--yellow);
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(248, 190, 53, 0.28);
  transition: all 0.25s var(--ease);
}

.add-cart-btn-modal:hover {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(248, 190, 53, 0.35);
}

.modal-secondary-actions {
  display: flex;
  gap: 10px;
}

.modal-secondary-actions .button {
  flex: 1;
  min-height: 44px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 25px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.modal-secondary-actions .wa-action {
  background: #12664f;
  border: 1.5px solid #12664f;
  color: #ffffff;
}

.modal-secondary-actions .wa-action:hover {
  background: #0d4e3c;
  border-color: #0d4e3c;
  transform: translateY(-1px);
}

.modal-secondary-actions .email-action {
  background: var(--cream);
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.modal-secondary-actions .email-action:hover {
  background: #ffffff;
  border-color: var(--ink);
  transform: translateY(-1px);
}

.copy-details-btn {
  margin-top: 14px;
  align-self: center;
  font-size: 0.8rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.copy-details-btn:hover {
  color: var(--ink);
}

@media(max-width: 768px) {
  #dialog-content {
    grid-template-columns: 1fr;
  }
  .dialog-media img {
    max-height: 340px;
  }
  .dialog-copy {
    padding: 24px 18px 24px;
  }
  .dialog-copy h2 {
    font-size: 1.85rem;
  }
}

/* ====================================================
   CRAFTELLA THEMED SHOPPING BAG / CART DRAWER
   ==================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.32s ease;
}

.cart-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.cart-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
  z-index: 1;
}

.cart-drawer.open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(450px, 100vw);
  height: 100vh;
  max-height: 100vh;
  background: var(--cream);
  box-shadow: -12px 0 45px rgba(24, 47, 91, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 2;
  border-left: 1px solid var(--line);
  overflow-y: auto;
  overflow-x: hidden;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 246, 237, 0.98);
  flex-shrink: 0;
}

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-header-title h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.cart-items-tag {
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--yellow-soft);
  color: var(--terracotta);
  border: 1px solid rgba(184, 76, 31, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
}

.cart-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}

.cart-close:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: rotate(90deg);
}

.cart-body {
  flex: 1 1 auto;
  min-height: 100px;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.cart-empty-icon {
  font-size: 3.2rem;
  margin-bottom: 12px;
  display: block;
}

.cart-empty h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.cart-empty p {
  font-size: 0.94rem;
  line-height: 1.6;
  max-width: 280px;
  margin-inline: auto;
}

.cart-empty .button {
  margin-top: 24px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-item:hover {
  border-color: #d8cebc;
  box-shadow: var(--shadow-card);
}

.cart-item-img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  background: #f6efe3;
  flex-shrink: 0;
  border: 1px solid var(--line-light);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}

.cart-item-info h4 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 3px 0 4px;
}

.cart-item-price-unit {
  font-size: 0.82rem;
  color: var(--muted);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 8px;
}

.qty-stepper.compact {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.qty-stepper.compact .cart-qty-btn {
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
  font-weight: 700;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-stepper.compact .cart-qty-btn:hover:not(:disabled) {
  background: var(--yellow);
}

.qty-stepper.compact .cart-qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-stepper.compact .cart-qty-val {
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0 8px;
  color: var(--ink);
  min-width: 20px;
  text-align: center;
}

.cart-item-total {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.cart-item-remove {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.cart-item-remove:hover {
  background: #fde8ed;
  color: var(--terracotta);
}

.cart-item-remove svg {
  width: 17px;
  height: 17px;
}

.cart-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 -4px 18px rgba(24, 47, 91, 0.06);
  z-index: 5;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.cart-subtotal-row span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.cart-subtotal-row strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}

.cart-shipping-notice {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 18px;
  line-height: 1.45;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-wa-checkout {
  background: #12664f;
  border: 1.5px solid #12664f;
  color: #ffffff;
  border-radius: 30px;
  min-height: 48px;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 14px rgba(18, 102, 79, 0.2);
}

.cart-wa-checkout:hover {
  background: #0d4e3c;
  border-color: #0d4e3c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 102, 79, 0.3);
}

.cart-email-checkout {
  background: var(--cream);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: 30px;
  min-height: 46px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.cart-email-checkout:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  transform: translateY(-2px);
}

.cart-clear-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 12px;
  display: block;
  width: 100%;
  text-align: center;
  transition: color 0.2s;
}

.cart-clear-btn:hover {
  color: var(--terracotta);
}


/* Custom Vector Icons & Non-Emoji Brand Accents */
.brand-star {
  color: var(--terracotta);
  width: 14px;
  height: 14px;
  margin-left: 3px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.4s var(--spring, cubic-bezier(0.175, 0.885, 0.32, 1.275));
}

.wordmark:hover .brand-star {
  transform: rotate(45deg) scale(1.15);
}

.announcement-star {
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
  color: var(--yellow);
}

.ribbon-star {
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
  color: var(--yellow);
}

.quick-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.quick-view-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.cart-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface-warm, #fdf8f4);
  color: var(--terracotta);
}

.cart-empty-icon-svg {
  width: 38px;
  height: 38px;
  stroke: var(--terracotta);
}

.note-sparkle-svg {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 4px;
  color: #94580b;
}

.copy-svg {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 4px;
}

.checkout-header-svg {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
  color: var(--navy);
}
