:root {
  --ivory: #F7F2E8;
  --island-green: #173F35;
  --Deep-ocean: #073B4C;
  --champagne-gold: #B89A5A;
  --charcoal: #22221F;
  --sand: #E8DCC7;
  --olive: #6F7650;
  --espresso: #2B211B;
  --ivory-strong: #FFFDF9;
  --muted: #625c55;
  --line: rgba(23, 63, 53, 0.12);
  --line-soft: rgba(184, 154, 90, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

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

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

.site-header {
  height: 180px;
  background: var(--island-green);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(184, 154, 90, 0.28);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 165px;
  width: auto;
  max-width: 70vw;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

.site-header nav {
  display: flex;
  gap: 36px;
  position: absolute;
  left: 8%;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--ivory);
}


.site-header nav a {
  position: relative;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--champagne-gold);
}

.site-header nav a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--champagne-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-header nav a:hover:after,
.site-header nav a:focus-visible:after {
  transform: scaleX(1);
}

.actions {
  position: absolute;
  right: 7%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
}

.actions a,
.actions .logout-action {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  border: 1px solid transparent;
  border-radius: 50%;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.actions .account-action {
  width: auto;
  min-width: 42px;
  padding: 0 10px;
  border-radius: 22px;
  gap: 7px;
}

.account-menu {
  position: relative;
}

.logout-action-form {
  margin: 0;
  display: flex;
}

.logout-action {
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.mobile-staff-menu,
.mobile-home-action,
.mobile-jewellery-action {
  display: none;
}

.mobile-navigation-heading {
  display: none;
}

.notification-menu {
  position: relative;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  width: 300px;
  z-index: 40;
  background: #fffdf9;
  border: 1px solid var(--line-soft);
  box-shadow: 0 12px 30px rgba(23, 63, 53, 0.28);
}

.notification-menu:hover .notification-dropdown,
.notification-menu:focus-within .notification-dropdown {
  display: block;
}

.notification-heading {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--island-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.notification-dropdown .notification-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--charcoal);
  font-size: 12px;
  text-align: left;
}

.notification-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notification-list li {
  border-bottom: 1px solid var(--line);
}

.notification-list li:last-child {
  border-bottom: 0;
}

.notification-dropdown .notification-row:hover {
  background: rgba(184, 154, 90, 0.1);
  color: var(--charcoal);
}

.notification-row strong {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 9px;
  background: #d43f3f;
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.notification-row.is-empty strong {
  background: transparent;
  color: var(--muted);
  font-weight: 600;
}

.account-label {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.actions a:hover,
.actions .logout-action:hover,
.actions .logout-action:focus-visible {
  color: var(--champagne-gold);
  border-color: rgba(184, 154, 90, 0.55);
  background: rgba(255, 253, 249, 0.08);
}

.action-icon {
  display: block;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--ivory);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.actions small {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #d43f3f;
  color: #fff;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  font-weight: 700;
}

.notification-action small {
  box-shadow: 0 0 0 rgba(212, 63, 63, 0.55);
  animation: notification-pulse 2s ease-out infinite;
}

@keyframes notification-pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 63, 63, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(212, 63, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 63, 63, 0); }
}

.menu-toggle {
  display: none;
}

.messages {
  position: fixed;
  right: 28px;
  top: 205px;
  max-width: min(380px, calc(100vw - 40px));
  z-index: 30;
}

.message {
  background: var(--ivory-strong);
  color: var(--island-green);
  border: 1px solid var(--champagne-gold);
  border-left: 4px solid var(--champagne-gold);
  box-shadow: 0 12px 30px rgba(23, 63, 53, 0.16);
  padding: 15px 20px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.message.is-hidden {
  opacity: 0;
  transform: translateX(18px);
}

.checkout-email-note {
  margin-top: 14px;
  color: var(--island-green);
  font-size: 14px;
}

.order-pdf-link {
  margin: 18px 0;
}

.order-pdf-link > label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.order-pdf-link > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.order-pdf-link input {
  min-width: 240px;
  flex: 1;
}

.message-action {
  display: inline-block;
  margin: 0;
  color: var(--island-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 10px;
}

.message-continue {
  color: var(--island-green);
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: clamp(460px, 36vw, 620px);
  min-height: 460px;
  overflow: hidden;
  background: var(--island-green);
}

.hero-banner__image,
.hero-banner__overlay {
  position: absolute;
  inset: 0;
}

.hero-banner__image {
  z-index: -2;
  background-image: url('/static/images/banner.png?v=20261001-2');
  background-position: 90% center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-banner__overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(247, 242, 232, 0.96) 0%, rgba(247, 242, 232, 0.88) 37%, rgba(247, 242, 232, 0.48) 54%, rgba(247, 242, 232, 0) 76%);
}

.hero-banner__content {
  position: relative;
  z-index: 2;
  width: min(54%, 660px);
  padding: 48px 0 48px clamp(36px, 8vw, 132px);
  color: var(--island-green);
  text-align: left;
}

.hero-banner__content .eyebrow {
  margin: 0;
  color: #9d7d3f;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 2px;
}

.hero-banner__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 240px);
  margin: 16px 0 14px;
  color: var(--champagne-gold);
}

.hero-banner__divider::before,
.hero-banner__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
}

.hero-banner__divider span {
  font-size: 17px;
  line-height: 1;
}

.hero-banner__content h1 {
  margin: 0;
  color: var(--island-green);
  font: 600 clamp(72px, 9vw, 122px)/0.88 'Playfair Display', serif;
  letter-spacing: 0;
}

.hero-banner__content h2 {
  margin: 3px 0 14px;
  color: var(--island-green);
  font: 500 clamp(29px, 4vw, 48px)/1.05 'Cormorant Garamond', serif;
}

.hero-banner__content > p:not(.eyebrow) {
  margin: 0 0 20px;
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.hero-banner__content .button {
  min-width: 244px;
  text-align: center;
}

.featured-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

.featured-collection-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) 1fr;
  min-height: 220px;
  border: 1px solid var(--line-soft);
  background: var(--ivory-strong);
  color: var(--charcoal);
}

.featured-collection-card__image {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 14px;
  background: var(--sand);
  color: var(--island-green);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  text-align: center;
}

.featured-collection-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-collection-card:hover .featured-collection-card__image img {
  transform: scale(1.04);
}

.featured-collection-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.featured-collection-card__copy h3 {
  margin: 0 0 8px;
  color: var(--island-green);
  font: 600 24px/1.1 'Cormorant Garamond', serif;
}

.featured-collection-card__copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.featured-collection-card__copy > span {
  margin-top: auto;
  color: var(--island-green);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

@media(max-width: 800px) {
  .hero-banner {
    height: auto;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ivory);
  }

  .hero-banner__image {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 2137 / 736;
    background-position: center;
  }

  .hero-banner__overlay {
    display: none;
  }

  .hero-banner__content {
    width: min(100%, 700px);
    margin: 0 auto;
    padding: 34px 7% 44px;
  }
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--champagne-gold);
  font-weight: 700;
  text-transform: uppercase;
}

.page-head h1,
.product-copy h1 {
  font: 600 clamp(48px, 7vw, 84px)/0.9 'Cormorant Garamond', serif;
  letter-spacing: 2px;
  margin: 18px 0 10px;
  color: var(--island-green);
}

.photo-panel:before,
.custom .craft:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,63,53,0) 55%, rgba(23,63,53,0.28) 100%);
  pointer-events: none;
  z-index: 1;
}

.media-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(184, 154, 90, 0.35);
  transition: transform 0.6s ease;
}

.photo-panel:hover .media-photo,
.custom .craft:hover .media-photo {
  transform: scale(1.045);
}

.banner {
  position: relative;
  width: 100%;
  height: clamp(260px, 40vw, 560px);
  overflow: hidden;
  line-height: 0;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  border: 1px solid rgba(184, 154, 90, 0.35);
}

.button {
  display: inline-block;
  border: 1px solid var(--island-green);
  background: var(--island-green);
  color: var(--ivory);
  padding: 13px 22px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.button:hover {
  background: var(--champagne-gold);
  border-color: var(--champagne-gold);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(23, 63, 53, 0.18);
}

.outline {
  background: transparent;
  color: var(--island-green);
}

.outline:hover {
  color: var(--charcoal);
}

.heritage-video-banner {
  position: relative;
  width: 100%;
  height: clamp(320px, 48vw, 680px);
  overflow: hidden;
  background-color: var(--island-green);
  background-position: center;
  background-size: cover;
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
}

.legal-page-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-page-header h1 {
  margin: 12px 0;
  color: var(--island-green);
  font: 600 clamp(38px, 6vw, 60px)/1 'Cormorant Garamond', Georgia, serif;
}

.legal-page-header p:last-child,
.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--charcoal);
  font: 600 28px/1.15 'Cormorant Garamond', Georgia, serif;
}

.legal-section a {
  color: var(--island-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section ul {
  padding-left: 20px;
}

.heritage-culture {
  padding: clamp(55px, 8vw, 100px) 9%;
  background: var(--sand);
}

.heritage-culture-copy {
  max-width: 900px;
  margin: 0 auto;
}

.heritage-culture-copy .eyebrow {
  margin-top: 0;
}

.heritage-culture-copy h2,
.heritage-closing h2 {
  margin: 14px 0 22px;
  color: var(--charcoal);
  font: 600 clamp(32px, 4vw, 52px)/1 'Cormorant Garamond', serif;
}

.heritage-culture-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}

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

.heritage-pillar-grid article {
  padding: 24px 0;
  border-top: 2px solid var(--champagne-gold);
}

.heritage-pillar-grid article > span {
  color: var(--champagne-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}

.heritage-pillar-grid h3 {
  margin: 18px 0 8px;
  color: var(--island-green);
  font: 600 28px/1 'Cormorant Garamond', serif;
}

.heritage-pillar-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.heritage-closing {
  padding: 100px 8%;
  background: var(--sand);
  color: var(--charcoal);
  text-align: center;
}

.heritage-closing h2 {
  color: var(--charcoal);
}

.heritage-signature-artwork {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  border-radius: 8px;
  box-shadow: 0 0 28px 4px rgba(184, 154, 90, 0.3);
}

.heritage-signature-artwork::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 clamp(20px, 3vw, 40px) clamp(8px, 1.8vw, 24px) var(--sand);
  pointer-events: none;
}

.heritage-signature-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.split,
.custom {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 340px;
  border-bottom: 1px solid var(--line);
}

.split {
  background: var(--ivory);
}

#heritage.split .photo-panel {
  order: 1;
}

#heritage.split .copy {
  order: 2;
}

#heritage.split .photo-panel:before {
  background: linear-gradient(90deg, rgba(247, 242, 232, 0) 76%, var(--ivory) 100%),
              linear-gradient(180deg, rgba(23, 63, 53, 0) 55%, rgba(23, 63, 53, 0.2) 100%);
}

#heritage.split .photo-panel .media-photo {
  border: 0;
  object-fit: cover;
  object-position: 50% 50%;
}

#heritage.split {
  grid-template-columns: 50% 50%;
}

.custom {
  background: var(--sand);
}

.copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 11%;
}

.copy h2,
.section-head h2 {
  font: 600 clamp(28px, 3.2vw, 38px)/1.1 'Cormorant Garamond', serif;
  margin: 12px 0 20px;
  color: var(--charcoal);
}

.copy p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.photo-panel {
  background: linear-gradient(135deg, #d8c7a9, #c39b61 42%, #7a8661 66%, #173f35 100%);
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.section {
  padding: 55px 9%;
  background: var(--ivory);
}

.home-signature-section,
.preorder-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.home-signature-section .section-head,
.preorder-section .section-head {
  margin-bottom: 24px;
}

@media(max-width: 650px) {
  .home-signature-section,
  .preorder-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .home-signature-section .section-head,
  .preorder-section .section-head {
    margin-bottom: 18px;
  }
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 34px);
  margin: 10px 0 5px;
  position: relative;
  display: inline-block;
}

.home-section-kicker {
  font-size: 13px;
  letter-spacing: 2px;
}

#heritage .copy h2,
.home-signature-section .section-head h2,
.preorder-section .section-head h2 {
  font-size: 44px;
}

.section-head h2:after {
  content: '';
  display: block;
  width: 46px;
  height: 2px;
  margin: 14px auto 0;
  background: var(--champagne-gold);
}

.section-head > p:last-child {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.interest-form {
  display: flex;
  align-items: end;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.preorder-section .interest-form {
  justify-content: center;
}

.interest-form label {
  flex: 1;
  color: var(--island-green);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.interest-form input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid rgba(23,63,53,0.15);
  border-radius: 0;
  background: rgba(255,255,255,0.45);
  color: var(--charcoal);
}

.interest-form .button {
  white-space: nowrap;
}

.interest-register-prompt {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.interest-register-prompt a {
  color: var(--island-green);
  font-weight: 600;
}

.collection-preorder-note {
  color: var(--island-green) !important;
  font-weight: 600;
}

.product-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 7px;
  background: var(--island-green);
  color: var(--ivory);
  font-size: 8px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.product-notify-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-notify-action .interest-register-prompt {
  margin: 8px 0 0;
  text-align: left;
}

.soldout {
  padding: 18px;
  border: 1px solid rgba(184,154,90,0.35);
  background: rgba(255,255,255,0.35);
}

.soldout p {
  margin: 0 0 8px;
}

.soldout-label {
  color: #dc2626 !important;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.soldout .interest-form {
  margin: 18px 0 0;
}

.custom-design-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 42px;
  max-width: 1100px;
  margin: auto;
}

.custom-design-form,
.custom-design-notes {
  padding: 28px;
  border: 1px solid var(--line-soft);
  background: var(--ivory-strong);
}

.custom-design-form h2,
.custom-design-notes h2 {
  margin-top: 0;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
}

.custom-design-form form {
  display: grid;
  gap: 14px;
}

.custom-design-form label {
  display: grid;
  gap: 6px;
  color: var(--island-green);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.custom-design-form input,
.custom-design-form textarea,
.custom-design-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(23,63,53,.16);
  border-radius: 0;
  background: rgba(255,255,255,.5);
  padding: 11px 12px;
  color: var(--charcoal);
  font: inherit;
}

.custom-design-form small,
.form-intro,
.custom-design-notes p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.custom-request-card {
  display: grid;
  gap: 10px;
  margin: 0 auto 16px;
  max-width: 900px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  background: var(--ivory-strong);
}

.custom-request-card h3 { margin: 5px 0; color: var(--island-green); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 25px; }
.custom-request-card time { color: var(--muted); font-size: 11px; }
.custom-request-reply,
.custom-request-admin-reply { padding: 12px; border-left: 2px solid var(--champagne-gold); background: rgba(184,154,90,.08); font-size: 12px; }
.custom-request-reply p,
.custom-request-admin-reply p { margin: 5px 0; }

.custom-request-action-form { display: grid; gap: 8px; min-width: 230px; }
.custom-request-action-form select,
.custom-request-action-form textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(23,63,53,.16); border-radius: 0; background: var(--ivory-strong); padding: 9px; }
.product-table td small { display: block; margin-top: 5px; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.product-card {
  min-width: 0;
  background: rgba(255,255,255,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(23, 63, 53, 0.14);
}

.bag-recommendations .product-card {
  display: flex;
  flex-direction: column;
}

.bag-recommendations .product-card form {
  margin-top: auto;
  padding-top: 12px;
}

.bag-recommendations .product-card .button {
  width: 100%;
}

.product-image {
  display: block;
  position: relative;
  height: 270px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f2ead7 0%, #e8d9b8 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.product-image span {
  font-size: 80px;
  color: var(--champagne-gold);
}

.product-image .product-badge {
  font-size: 8px;
  color: var(--ivory);
}

.product-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 10px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.product-info h3 {
  font: 600 22px 'Cormorant Garamond', serif;
  margin: 0;
  color: var(--charcoal);
}

.product-info p {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 6px 0 0;
}

.product-info strong {
  color: var(--champagne-gold);
  white-space: nowrap;
  font-size: 15px;
}

.custom .craft {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(135deg, #d8c7a9, #b79260 42%, #173f35 100%);
}

.page-head {
  text-align: center;
  padding: 75px 10% 55px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(232,220,199,0.38), rgba(247,242,232,0.2));
}

.page-head h1 {
  font-size: 65px;
  margin: 12px 0;
  color: var(--island-green);
}

.page-head p:last-child {
  color: var(--muted);
  max-width: 650px;
  margin: auto;
  line-height: 1.7;
}

.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.filters input,
.filters select,
.form-section input,
.form-section textarea,
.form-section select,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.product-copy input {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(23,63,53,0.15);
  color: var(--charcoal);
  padding: 12px;
  width: 100%;
  border-radius: 0;
}

.filters input {
  max-width: 380px;
  border-color: var(--island-green);
  background: var(--island-green);
  color: var(--ivory);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.filters input::placeholder {
  color: rgba(247, 242, 232, 0.75);
  opacity: 1;
}

.filters input:hover,
.filters input:focus-visible {
  border-color: var(--champagne-gold);
  background: var(--champagne-gold);
  color: var(--charcoal);
}

.filters input:focus-visible {
  outline: 2px solid var(--champagne-gold);
  outline-offset: 2px;
}

.filters input:hover::placeholder,
.filters input:focus-visible::placeholder {
  color: rgba(34, 34, 31, 0.72);
}

.filters select[name="sort"] {
  width: 190px;
}

.filters select {
  border-color: var(--island-green);
  background: var(--island-green);
  color: var(--ivory);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.filters select:hover,
.filters select:focus-visible {
  border-color: var(--champagne-gold);
  background: var(--champagne-gold);
  color: var(--charcoal);
}

.filters select option {
  background: var(--ivory-strong);
  color: var(--charcoal);
}

.jewellery-filters {
  display: grid;
  padding: 24px;
  border: 1px solid rgba(23,63,53,0.15);
  border-radius: 14px;
  background: var(--ivory);
  gap: 20px;
}

.jewellery-filter-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.jewellery-filter-controls label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.jewellery-filters select,
.jewellery-filters select[name="sort"] {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
}

.jewellery-tag-filter {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.jewellery-tag-filter legend {
  font-weight: 600;
}

.jewellery-tag-filter p {
  margin: 8px 0 12px;
}

.jewellery-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-picker { position: relative; min-width: 0; }
.tag-picker-label { display: block; margin-bottom: 8px; font-weight: 600; }
.tag-picker-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 6px 52px 6px 10px;
  border: 1px solid var(--island-green);
  border-radius: 8px;
  background: var(--ivory-strong);
  position: relative;
}
.tag-picker-chips { display: contents; }
.tag-picker-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border-radius: 20px;
  padding-left: 12px;
  background: var(--island-green);
  color: var(--ivory);
  overflow-wrap: anywhere;
}
.tag-picker-chip button,
.tag-picker-toggle {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 22px;
  cursor: pointer;
}
.tag-picker-toggle { position: absolute; right: 4px; top: 6px; color: var(--island-green); }
.tag-picker .tag-picker-search,
.tag-picker .tag-picker-search:hover,
.tag-picker .tag-picker-search:focus-visible {
  flex: 1 1 160px;
  min-width: 0;
  max-width: 100%;
  width: auto;
  min-height: 44px;
  padding: 8px 4px;
  background: transparent;
  border: 0;
  color: var(--charcoal);
  outline: none;
}
.tag-picker .tag-picker-search::placeholder { color: var(--charcoal); opacity: .7; }
.tag-picker-box:focus-within {
  outline: 2px solid var(--champagne-gold);
  outline-offset: 3px;
}
.tag-picker-dropdown {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--island-green);
  border-radius: 8px;
  background: var(--ivory-strong);
  box-shadow: 0 8px 20px rgba(23,63,53,.15);
}
.tag-picker-dropdown [role="option"] { padding: 12px; min-height: 48px; cursor: pointer; overflow-wrap: anywhere; }
.tag-picker-dropdown [role="option"]:hover,
.tag-picker-dropdown .is-active { background: var(--island-green); color: var(--ivory); }
.tag-picker [hidden] { display: none !important; }
.tag-picker-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.filter-errors {
  color: #a12b2b;
}

@media (max-width: 480px) {
  .jewellery-filters {
    padding: 16px;
  }

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

  .jewellery-filter-actions .button {
    flex: 1 1 100%;
    text-align: center;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 9%;
  background: var(--sand);
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--island-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--champagne-gold);
}

.breadcrumb-sep {
  color: var(--champagne-gold);
  font-size: 11px;
}

.breadcrumbs span[aria-current] {
  color: var(--charcoal);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

.operations-page-head { padding-top: 32px; padding-bottom: 28px; }
.operations-dashboard { width: 100%; max-width: 1680px; margin: auto; padding: 24px clamp(16px, 3vw, 48px) 60px; background: #fafbf8; }
.operations-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.operations-summary > div { padding: 12px 20px 24px; border-right: 1px solid var(--line); }
.operations-summary > div:last-child { border-right: 0; }
.operations-summary span, .operations-summary small { display: block; color: var(--muted); font-size: 12px; }
.operations-summary strong { display: block; margin: 6px 0; font: 600 38px/1.15 'Cormorant Garamond', Georgia, serif; color: var(--island-green); }
.operations-section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.operations-section:last-child { border-bottom: 0; }
.operations-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.operations-section-heading .eyebrow { margin: 0 0 6px; }
.operations-section-heading h2 { margin: 0; font: 600 30px/1.15 'Cormorant Garamond', Georgia, serif; color: var(--island-green); }
.operations-section-heading > a { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.operations-section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; margin-bottom: 20px; }
.operations-chart { position: relative; min-width: 0; margin: 0; }
.operations-chart figcaption { font-size: 13px; font-weight: 600; margin-bottom: 12px; color: var(--charcoal); }
.operations-chart-canvas { position: relative; width: 100%; height: 290px; }
.operations-chart-canvas canvas { width: 100%; height: 100%; }
.operations-chart-canvas canvas[hidden] { display: none; }
.operations-donut-total { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none; }
.operations-donut-total strong { font-size: 28px; line-height: 1.2; color: var(--island-green); }
.operations-donut-total > span { max-width: 120px; margin-top: 4px; text-align: center; font-size: 11px; color: var(--muted); }
.operations-chart-legend { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; max-height: 160px; overflow-y: auto; }
.operations-chart-legend li { display: flex; align-items: center; gap: 8px; font-size: 12px; overflow-wrap: anywhere; }
.operations-legend-swatch { width: 10px; height: 10px; flex: 0 0 10px; }
.operations-chart-legend[hidden], .operations-donut-total[hidden] { display: none; }
.operations-chart-status { position: absolute; top: 42%; left: 16px; right: 16px; font-size: 12px; text-align: center; color: var(--muted); }
.operations-chart-status[hidden], [data-chart-retry][hidden] { display: none; }
[data-chart-retry] { display: block; margin: 0 auto; border: 1px solid var(--line); background: #fff; padding: 8px 16px; cursor: pointer; color: var(--island-green); }
.operations-detail { min-width: 0; }
.operations-detail h3 { margin: 0 0 16px; font-size: 14px; color: var(--charcoal); }
.operations-inline-metrics, .operations-stage-counts { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 20px; }
.operations-inline-metrics strong { display: block; font-size: 24px; color: var(--island-green); }
.operations-inline-metrics span { display: block; font-size: 11px; color: var(--muted); }
.operations-stage-counts { gap: 12px 28px; }
.operations-stage-counts > div { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.operations-stage-counts strong { font-size: 20px; }
.stage-marker { width: 8px; height: 8px; flex: 0 0 8px; background: #77857b; }
.stage-marker.is-warning { background: #bf9547; }
.stage-marker.is-processing { background: #367c96; }
.stage-marker.is-ready { background: #286b56; }
.operations-duration-list { margin: 0; }
.operations-duration-list > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.operations-duration-list dd { margin: 0; font-weight: 600; }
.operations-table-wrap { overflow-x: auto; }
.operations-table { width: 100%; border-collapse: collapse; }
.operations-table caption { text-align: left; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.operations-table th, .operations-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 12px; vertical-align: middle; }
.operations-table th { font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.operations-table td:first-child { min-width: 150px; overflow-wrap: anywhere; }
.operations-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.operations-table a { text-decoration: underline; text-underline-offset: 3px; }
.operations-status { font-size: 11px; white-space: nowrap; }
.operations-status.is-alert { color: #a84343; }
.operations-status.is-warning { color: #916a25; }
.operations-status.is-ready { color: #286b56; }
@media (max-width: 900px) {
  .operations-section-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .operations-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operations-summary > div:nth-child(2) { border-right: 0; }
  .operations-summary > div { padding-left: 12px; padding-right: 12px; }
  .operations-chart-canvas { height: 260px; }
}

.finance-period-filter, .finance-sync { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 20px 0; }
.page-head.finance-page-head h1 { font-size: 40px; line-height: 1.15; overflow-wrap: anywhere; }
.finance-period-filter label { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.finance-period-filter select, .finance-entry-form input, .finance-entry-form select { max-width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid var(--line); background: #fff; }
.finance-dashboard .operations-summary strong { font-size: 27px; overflow-wrap: anywhere; }
.finance-notice { padding: 12px 16px; border-left: 3px solid #bf9547; background: #f5efdf; color: #5d4e2e; font-size: 12px; }
.finance-data-note, .finance-sync > span { font-size: 12px; color: var(--muted); }
.finance-entry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; max-width: 900px; }
.finance-entry-form > div { display: grid; gap: 6px; min-width: 0; }
.finance-entry-form label { font-size: 12px; color: var(--charcoal); }
.finance-entry-form input[type='checkbox'] { width: 18px; min-height: 18px; padding: 0; }
.finance-entry-form .errorlist { font-size: 12px; color: #a84343; grid-column: 1 / -1; }
.finance-entry-form > button { justify-self: start; }
.finance-dashboard .operations-chart { margin: 20px 0; }
.finance-dashboard .operations-chart-canvas { height: 340px; }
.finance-dashboard .operations-table { min-width: 800px; }
.finance-detail-table td:nth-child(2) { min-width: 230px; overflow-wrap: anywhere; }
.finance-refund-notes { display: grid; gap: 8px; min-width: 260px; }
.finance-refund-notes label { font-size: 12px; }
.finance-refund-notes textarea { width: 100%; padding: 10px; border: 1px solid var(--line); background: #fff; resize: vertical; }
.finance-refund-notes .button { justify-self: start; }
.finance-refund-notes .errorlist { color: #a84343; font-size: 12px; }
.staff-auth { max-width: 720px; margin: 40px auto; }
.staff-auth .btn { display: inline-block; margin: 8px 8px 8px 0; padding: 12px 18px; border: 1px solid var(--line); cursor: pointer; }
.staff-auth .btn-primary { background: var(--island-green); color: #fff; }
.staff-auth input:not([type='hidden']):not([type='submit']) { max-width: 100%; padding: 10px; border: 1px solid var(--line); }
.staff-auth td, .staff-auth th { padding: 8px; text-align: left; }
.staff-auth .errorlist { color: #a84343; }
.finance-dashboard .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 600px) { .page-head.finance-page-head h1 { font-size: 32px; } .finance-entry-form { grid-template-columns: minmax(0, 1fr); } .finance-dashboard .operations-chart-canvas { height: 300px; } }

.users-table { min-width: 1200px; }
.users-table td:first-child { min-width: 220px; }
.users-table td:nth-child(5) { min-width: 170px; }
.users-table td:nth-child(7) { min-width: 140px; white-space: nowrap; }
.users-actions { min-width: 160px; }
.users-actions > form { display: inline-block; margin-left: 12px; }
.operations-status.is-staff { color: #367c96; font-weight: 600; }
.users-dashboard .pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.users-dashboard .operations-section-heading h2 { font-size: 25px; }

.fulfilment-dashboard { margin: 32px 0; }
.fulfilment-dashboard h2 { font-size: 26px; }
.fulfilment-dashboard h3 { margin-top: 28px; font-size: 18px; }
.fulfilment-duration-metrics strong { font-size: 18px; overflow-wrap: anywhere; }

.error-header {
  display: flex;
  justify-content: center;
  padding: 18px;
  background: var(--island-green);
}

.error-header img { display: block; object-fit: contain; }
.error-page { max-width: 720px; margin: 64px auto; padding: 0 24px; text-align: center; }
.error-page h1 { font: 600 36px/1.15 'Cormorant Garamond', Georgia, serif; }
.error-page p { overflow-wrap: anywhere; }
.error-page .button { margin-top: 16px; }

.product-detail {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 650px;
  background: var(--ivory);
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  align-self: start;
  min-width: 0;
  gap: 10px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(232,220,199,0.5), rgba(247,242,232,0));
}

.gallery > img {
  width: 100%;
  max-width: 520px;
  height: 430px;
  justify-self: center;
  object-fit: contain;
  cursor: zoom-in;
  border: 1px solid rgba(23,63,53,0.08);
}

.gallery > img[hidden] {
  display: none;
}

.gallery {
  position: relative;
}

.gallery-single {
  grid-template-columns: 1fr;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-single > img {
  width: auto;
  max-width: 100%;
  height: 430px;
  object-fit: contain;
  border: 0;
}

.gallery-button {
  position: absolute;
  top: 46%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--island-green);
  color: var(--ivory);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.gallery-previous { left: 45px; }
.gallery-next { right: 45px; }

.gallery-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: center;
}

.gallery-thumbnails button {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  background: var(--ivory);
  cursor: pointer;
}

.gallery-thumbnails button.is-active { border-color: var(--champagne-gold); }
.gallery-thumbnails img { width: 100%; height: 100%; object-fit: cover; border: 0; }

.gallery-lightbox {
  width: min(1100px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 52px 46px 32px;
  border: 0;
  border-radius: 8px;
  background: var(--ivory);
}

.gallery-lightbox:not([open]) { display: none; }
.gallery-lightbox::backdrop { background: rgba(0, 0, 0, 0.75); }

.gallery-lightbox-image {
  display: block;
  width: 100%;
  height: min(70dvh, 760px);
  object-fit: contain;
}

.gallery-lightbox button {
  position: absolute;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--island-green);
  color: var(--ivory);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-close { top: 8px; right: 8px; }
.gallery-lightbox-previous { top: 50%; left: 8px; }
.gallery-lightbox-next { top: 50%; right: 8px; }
.gallery-lightbox button[hidden] { display: none; }
.gallery-lightbox-count { position: absolute; top: 14px; left: 20px; color: var(--charcoal); font-size: 12px; }

.placeholder {
  min-height: 500px;
  display: grid;
  place-items: center;
  font-size: 150px;
  background: #f3e8d5;
  color: var(--champagne-gold);
}

.product-copy {
  padding: 64px 10%;
  background: #fff;
}

.product-copy h1 {
  font-size: 48px;
  line-height: 1;
  color: var(--island-green);
}

.price {
  font: 600 30px 'Cormorant Garamond', serif;
  color: var(--champagne-gold);
  margin: 20px 0;
}

.product-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.product-copy dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  font-size: 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--charcoal);
}

.product-copy dt {
  color: var(--island-green);
  font-weight: 700;
}

.product-copy dd {
  margin: 0;
}

.product-copy .product-purchase-form {
  display: grid;
  gap: 16px;
  margin: 24px 0 28px;
  max-width: 540px;
}

.product-copy .product-purchase-guidance {
  margin: 0;
  color: var(--charcoal);
  font-size: 13px;
  line-height: 1.5;
}

.product-copy .product-option-guidance {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 63, 53, 0.12);
  background: rgba(243, 232, 213, 0.2);
}

.product-copy .product-option-guidance-label {
  margin: 0 0 6px;
  color: var(--island-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-copy .product-option-guidance-copy {
  margin: 0;
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.6;
}

.product-copy label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--island-green);
}

.product-copy input {
  width: 90px;
  margin-top: 6px;
}

.product-option-fields {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(243, 232, 213, 0.28);
}

.product-option-field {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.product-copy .product-option-field select {
  display: block;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 14px 46px 14px 16px;
  border: 1px solid rgba(23, 63, 53, 0.22);
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23173f35' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center;
  appearance: none;
  color: var(--charcoal);
  font: 400 17px 'Montserrat', sans-serif;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.product-copy .product-option-field select:focus {
  outline: 2px solid var(--champagne-gold);
  outline-offset: 1px;
}

.product-copy .product-price-breakdown {
  margin: -6px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.product-quantity-field {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.product-copy .product-quantity-field > span,
.product-copy .product-option-field > span {
  font-size: 11px;
}

.product-copy .product-quantity-field input {
  width: 120px;
  min-height: 52px;
  margin: 0;
  font-size: 17px;
  letter-spacing: 0;
}

.product-copy .product-add-button {
  width: 100%;
  min-height: 56px;
}

.product-option-note {
  margin: 0;
  font-size: 12px;
}

.product-option-note:empty {
  display: none;
}

.product-option-manager {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 16px;
  margin: 0 0 16px;
}

.product-option-manager legend {
  padding: 0 6px;
  color: var(--island-green);
  font-weight: 700;
}

.product-option-help {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.product-option-errors,
.product-option-row-errors {
  color: #9b2c2c;
  font-size: 13px;
}

.product-option-head,
.product-option-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(140px, 1.3fr) minmax(160px, 1.6fr) minmax(100px, 0.9fr) 64px 64px;
  gap: 10px;
  align-items: start;
}

.product-option-head {
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
  color: var(--island-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-option-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.product-modal-panel .product-option-cell {
  margin: 0;
}

.product-option-cell textarea,
.product-option-cell input,
.product-option-cell input[type="checkbox"] {
  width: 100%;
}

.product-option-cell textarea {
  min-height: 72px;
  resize: vertical;
}

.product-option-cell-label {
  display: none;
}

.product-option-row-errors {
  grid-column: 1 / -1;
}

.product-option-check {
  text-align: center;
}

.product-modal-panel .product-option-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--island-green);
}

.product-option-empty {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.product-option-add-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.product-overview summary h2 {
  margin: 0;
  color: inherit;
  font: inherit;
}

.product-overview .product-accordion-content p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.product-accordion-content a {
  color: var(--island-green);
  overflow-wrap: anywhere;
}

.product-accordion-content p {
  margin: 0;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.6;
}

.product-accordions {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-accordion {
  border-bottom: 1px solid var(--line);
}

.product-accordion:last-child {
  border-bottom: 0;
}

.product-accordion summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--charcoal);
  cursor: pointer;
  font-size: 16px;
  list-style: none;
}

.product-accordion summary::-webkit-details-marker {
  display: none;
}

.product-accordion summary:focus-visible {
  outline: 2px solid var(--champagne-gold);
  outline-offset: 2px;
}

.product-accordion summary::after {
  content: '+';
  color: var(--charcoal);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.product-accordion[open] summary::after {
  content: '-';
}

.product-accordion-content {
  padding: 0 0 18px;
}

.product-accordion-content dl {
  grid-template-columns: minmax(90px, 0.55fr) 1fr;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
}

.product-accordion-content h3 {
  margin: 16px 0 8px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 600;
}

.product-accordion-content p + p {
  margin-top: 8px;
}

.bag-row {
  display: grid;
  grid-template-columns: 1fr 180px 100px 100px;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.order-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 18px 0;
  text-align: left;
}

.order-row:hover {
  background: rgba(184, 154, 90, 0.08);
}

.order-row strong { color: var(--island-green); }
.order-row p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }

.order-modal[hidden] { display: none; }

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 63, 53, 0.52);
}

.order-modal-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--ivory-strong);
  box-shadow: 0 20px 60px rgba(23, 63, 53, 0.24);
}

.order-modal-content { padding: 30px; }
.order-modal-heading { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.order-modal-heading h2 { margin: 5px 0; color: var(--island-green); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 36px; }
.order-modal-heading p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.modal-close { border: 0; background: transparent; color: var(--island-green); cursor: pointer; font-size: 28px; line-height: 1; }
.order-modal-status { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; }
.order-modal-status span { padding: 8px 10px; background: #e4e4df; color: var(--island-green); font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.order-modal-content h3 { margin: 20px 0 10px; color: var(--island-green); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; }
.order-modal-item, .order-modal-totals p { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.order-modal-totals { margin-top: 10px; }
.order-modal-totals p:last-child { color: var(--island-green); font-weight: 700; }
.order-modal-content > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.tracking-number { padding: 14px; border-left: 3px solid var(--champagne-gold); background: rgba(184, 154, 90, 0.12); }
.tracking-number strong { color: var(--island-green); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.tracking-pending { padding: 14px; background: #e4e4df; }
.modal-open { overflow: hidden; }

.control-products-toolbar {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 20px;
  padding-bottom: 0;
}

.catalogue-search {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
}

.catalogue-search label {
  display: grid;
  gap: 6px;
  color: var(--island-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.catalogue-search input {
  width: min(420px, 42vw);
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: 0;
  background: var(--ivory-strong);
  padding: 11px 12px;
}

.catalogue-search select {
  width: 190px;
  max-width: 100%;
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: 0;
  background: var(--ivory-strong);
  color: var(--charcoal);
  padding: 11px 12px;
}

.product-catalogue-section {
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 32px 0 55px;
}

.product-catalogue-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.product-catalogue-heading h2 {
  margin: 0;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
}

.product-catalogue-actions { display: flex; align-items: center; gap: 14px; }
.product-catalogue-actions > span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.product-catalogue-actions .product-add-button { min-height: 44px; padding: 10px 16px; border-radius: 22px; font-size: 12px; white-space: nowrap; }
@media (max-width: 480px) {
  .product-catalogue-heading { gap: 8px; }
  .product-catalogue-heading h2 { font-size: 24px; }
  .product-catalogue-actions { gap: 8px; }
  .product-catalogue-actions > span { font-size: 11px; }
  .product-catalogue-actions .product-add-button { padding: 8px 10px; font-size: 11px; }
}

.product-table-wrap { overflow-x: auto; background: var(--ivory-strong); border: 1px solid var(--line); }
.product-table { width: max-content; min-width: 100%; border-collapse: collapse; text-align: left; }
.product-table th, .product-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; vertical-align: middle; white-space: nowrap; }
.product-table th { color: var(--island-green); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.product-table tbody tr:last-child td { border-bottom: 0; }
.product-table tbody tr:hover { background: rgba(232, 220, 199, 0.35); }
.product-table td:first-child { min-width: 360px; max-width: 420px; white-space: normal; }
.product-table td:first-child strong, .product-table td:first-child small { display: block; }
.product-table td:first-child strong { color: var(--island-green); font-size: 16px; }
.product-table td:first-child small { margin-top: 4px; color: var(--muted); line-height: 1.4; }
.product-table td span, .product-table td small { display: block; }
.product-table td small { margin-top: 3px; color: var(--muted); line-height: 1.4; }
.product-table td small a { color: var(--island-green); text-decoration: underline; text-underline-offset: 2px; }
.product-stock, .product-pending, .product-status { display: inline-block; min-width: 58px; padding: 7px 9px; text-align: center; background: #e4e4df; color: var(--island-green); font-size: 10px; font-weight: 700; }
.product-stock.is-low { background: rgba(184, 154, 90, 0.24); }
.product-stock.is-empty { background: rgba(150, 60, 45, 0.12); color: #963c2d; }
.product-pending { background: rgba(184, 154, 90, 0.18); }
.product-status.is-active { background: rgba(23, 63, 53, 0.12); }
.product-status.is-hidden { color: var(--muted); }
.product-table .product-stock, .product-table .product-pending, .product-table .product-status { font-size: 13px; }
.product-table .table-action { font-size: 13px; min-height: 44px; }
.product-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.product-actions form { margin: 0; }
.table-action { display: inline-block; border: 0; padding: 8px 10px; background: transparent; color: var(--island-green); font: 600 10px 'Montserrat', sans-serif; letter-spacing: .7px; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.table-action:hover { color: var(--champagne-gold); }
.table-action.danger { color: #963c2d; }
.empty-table { padding: 35px 16px !important; text-align: center; color: var(--muted) !important; }

.product-modal[hidden] { display: none; }

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 63, 53, 0.52);
}

.product-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  background: var(--ivory-strong);
  box-shadow: 0 20px 60px rgba(23, 63, 53, 0.24);
}

.product-modal-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.product-modal-heading h2 { margin: 0; color: var(--island-green); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 36px; }
.product-modal-panel form { display: grid; gap: 8px; }
.product-modal-panel label { display: block; margin-bottom: 6px; color: var(--island-green); font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.product-modal-panel input, .product-modal-panel textarea, .product-modal-panel select { width: 100%; border: 1px solid rgba(23, 63, 53, 0.16); border-radius: 0; background: var(--ivory-strong); padding: 11px 12px; }
.product-tag-field { margin-bottom: 20px; }
.product-modal-panel .tag-picker-dropdown { position: static; margin-top: 4px; }
.control-product-filters { flex: 1 1 100%; min-width: 0; display: grid; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--ivory); }
.control-product-filter-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.control-product-filter-fields label { display: block; margin-bottom: 8px; font-weight: 600; }
.control-product-filter-fields input, .control-product-filter-fields select { width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--island-green); border-radius: 8px; background: var(--ivory-strong); color: var(--charcoal); }
@media (max-width: 800px) { .control-product-filter-fields { grid-template-columns: 1fr; } .control-product-filters { width: 100%; padding: 16px; } .product-catalogue-section { width: calc(100% - 24px); } }
.product-modal-panel .helptext, .product-modal-panel .errorlist { color: var(--muted); font-size: 11px; }
.product-modal-actions { display: flex; gap: 10px; margin-top: 12px; }

.product-image-manager { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.product-image-manager-label { display: block; margin-bottom: 10px; color: var(--island-green); font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.product-image-manager-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.product-image-manager-item { width: 100px; }
.product-image-manager-item img { width: 100px; height: 100px; object-fit: cover; border: 1px solid var(--line); }
.product-image-manager-item form { margin-top: 6px; }
.product-image-manager-item .table-action { padding: 4px 0; }

.bag-row h3 {
  font: 600 21px 'Cormorant Garamond', serif;
  margin: 0;
  color: var(--charcoal);
}

.bag-row p {
  color: var(--muted);
  font-size: 11px;
}

.bag-row input {
  width: 70px;
  background: #fffdf8;
  border: 1px solid rgba(184,154,90,0.55);
  color: var(--charcoal);
  padding: 8px;
}

.bag-row button {
  background: none;
  border: 0;
  color: var(--champagne-gold);
  cursor: pointer;
}

.summary {
  max-width: 430px;
  margin: 35px 0 0 auto;
  border-top: 1px solid var(--champagne-gold);
  padding-top: 20px;
}

.summary p, 
.summary h2 {
  display: flex;
  justify-content: space-between;
}

.summary small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bag-row-options {
  margin: 6px 0 10px;
}

.bag-row-option {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.bag-row-option dt {
  color: var(--muted);
}

.bag-row-option dt::after {
  content: ':';
}

.bag-row-option dd {
  margin: 0;
  color: var(--island-green);
  font-weight: 600;
}

.product-shipping-methods {
  margin: 8px 0 16px;
  padding: 0;
  list-style: none;
}

.product-shipping-methods li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.5;
}

.product-shipping-methods li:last-child {
  border-bottom: 0;
}

.checkout-phone-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.checkout-form .checkout-phone-fields select,
.checkout-form .checkout-phone-fields input[type="tel"] {
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
}

.checkout-phone-heading {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.checkout-form .checkout-phone-number label {
  margin-bottom: 7px;
}

.checkout-form .checkout-phone-heading input[type="tel"] {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  margin-top: 0;
  font-size: 12px;
}

.checkout-form .checkout-phone-heading input::placeholder {
  font-size: 12px;
}

.checkout-form .checkout-phone-heading .phone-info {
  flex: 0 0 16px;
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  margin: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--island-green);
  font-weight: 600;
  font-size: 10px;
  line-height: 14px;
  cursor: help;
}

.checkout-phone-help {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 5;
  margin: 6px 0 0;
  padding: 12px;
  border: 1px solid var(--island-green);
  border-radius: 6px;
  background: #fff;
  color: var(--island-green);
  font-size: 12px;
  line-height: 1.5;
}

.phone-info:hover + .checkout-phone-help,
.phone-info:focus + .checkout-phone-help,
.checkout-phone-heading[data-phone-help-open] .checkout-phone-help,
.checkout-phone-heading[data-phone-error] .checkout-phone-help {
  display: block;
}

.checkout-phone-heading[data-phone-error] .checkout-phone-help {
  position: static;
  flex-basis: 100%;
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .checkout-phone-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

.checkout-step {
  margin-bottom: 10px;
}

.checkout-delivery-hint {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.delivery-group-heading {
  margin: 22px 0 8px;
  color: var(--island-green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.delivery-group-empty {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.checkout {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 55px;
  max-width: 1050px;
  margin: auto;
  padding: 55px 7%;
}

.checkout-form label,
.form-section label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 15px;
  color: var(--island-green);
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  display: block;
  margin-top: 7px;
}

.checkout-form .saved-address-field select {
  background: #e4e4df;
  border-color: rgba(23, 63, 53, 0.24);
  color: var(--island-green);
  font-weight: 600;
}

.checkout-address-fields {
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checkout-address-fields h2 {
  margin: 0 0 18px;
  color: var(--charcoal);
  font: 600 26px/1.1 'Cormorant Garamond', serif;
}

.checkout-form label.checkout-different-address {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  color: var(--charcoal);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.checkout-different-address input {
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--island-green);
}

.checkout-address-summary {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(23, 63, 53, 0.16);
  background: #e4e4df;
  color: var(--muted);
  font-size: 12px;
}

.checkout-address-summary strong {
  margin-bottom: 5px;
  color: var(--island-green);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.checkout-address-summary a {
  width: fit-content;
  margin-top: 7px;
  color: var(--island-green);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-form small {
  color: #9d5f5f;
}

.checkout-required {
  color: #b42318;
  font-weight: 700;
}

.checkout-required[hidden] {
  display: none;
}

.checkout-form input[aria-invalid="true"],
.checkout-form select[aria-invalid="true"],
.checkout-form textarea[aria-invalid="true"],
.checkout-validation-attempted input:invalid,
.checkout-validation-attempted select:invalid,
.checkout-validation-attempted textarea:invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 1px #b42318;
}

.checkout-form .errorlist {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: #b42318;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

@media(max-width: 760px) {
  .checkout-form input:not([type="checkbox"]),
  .checkout-form select,
  .checkout-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .checkout-form > .button {
    width: 100%;
    min-height: 48px;
  }
}

.order-summary {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

.order-summary p {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--charcoal);
}

.form-section {
  max-width: 700px;
  margin: auto;
}

.account-identity {
  color: var(--muted);
  font-size: 12px;
}

.account-section {
  max-width: 1050px;
  margin: auto;
}

.account-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.account-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 12px 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.account-tab:hover,
.account-tab.is-active {
  border-bottom-color: var(--champagne-gold);
  color: var(--island-green);
}

.account-tab-panel[hidden] {
  display: none;
}

.account-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.account-toolbar h2 {
  margin: 0;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 38px;
  font-weight: 600;
}

.account-details {
  max-width: 700px;
  margin-bottom: 65px;
}

.profile-form {
  display: grid;
  gap: 8px;
}

.profile-field {
  display: grid;
  gap: 7px;
}

.profile-field-wide,
.profile-actions {
  grid-column: 1 / -1;
}

.profile-field label {
  display: block;
  color: var(--island-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-field input,
.profile-field textarea,
.profile-field select {
  width: 100%;
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: 0;
  background: var(--ivory-strong);
  color: var(--charcoal);
  padding: 13px 14px;
}

.profile-field textarea {
  resize: vertical;
}

.profile-help {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.profile-field .errorlist,
.profile-form > .errorlist {
  margin: 0;
  padding: 0;
  color: #9d5f5f;
  font-size: 11px;
  list-style: none;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 253, 249, 0.5);
}

.details-table tr {
  border-bottom: 1px solid var(--line);
}

.details-table tr:last-child {
  border-bottom: 0;
}

.details-table th,
.details-table td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
}

.details-table th {
  width: 34%;
  color: var(--island-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.details-table td {
  color: var(--charcoal);
  font-size: 13px;
}

.account-helper,
.privacy-panel p {
  color: var(--muted);
  font-size: 12px;
}

.profile-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
}

.profile-form p {
  margin: 0;
}

.profile-form p:first-child,
.profile-form button {
  grid-column: 1 / -1;
}

.profile-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--island-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-form input,
.profile-form textarea,
.profile-form select {
  width: 100%;
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: 0;
  background: var(--ivory-strong);
  color: var(--charcoal);
  padding: 13px 14px;
}

.profile-form textarea {
  resize: vertical;
}

.profile-form .helptext,
.profile-form ul,
.profile-form .errorlist {
  color: var(--muted);
  font-size: 11px;
}

.privacy-panel {
  max-width: 700px;
  margin-bottom: 65px;
  padding: 28px 30px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 249, 0.5);
}

.privacy-panel h2 {
  margin: 0 0 8px;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
}

.privacy-status {
  color: var(--island-green) !important;
  font-weight: 600;
}

.control-panel {
  max-width: 1100px;
  margin: auto;
}

.control-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1500px, 94vw);
  max-width: none;
  margin: 0 auto 12px;
  padding: 0;
}

.control-nav a {
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
  background: var(--ivory-strong);
  color: var(--island-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.control-nav a:hover,
.control-nav a:focus-visible {
  background: var(--island-green);
  color: var(--ivory);
}

.control-stats,
.control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.control-stats {
  margin-bottom: 28px;
}

.control-stats div {
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: var(--ivory-strong);
}

.control-stats strong,
.control-stats span {
  display: block;
}

.control-stats strong {
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
}

.control-stats span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.control-card {
  display: block;
  padding: 30px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 249, 0.55);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.control-card:hover {
  border-color: var(--champagne-gold);
  box-shadow: 0 12px 28px rgba(23, 63, 53, 0.1);
  transform: translateY(-2px);
}

.control-card h2 {
  margin: 8px 0;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
}

.control-card p {
  min-height: 42px;
  color: var(--muted);
  font-size: 12px;
}

.control-link {
  color: var(--island-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.management-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.orders-management {
  width: 100%;
  max-width: 1680px;
  margin: auto;
  padding: 40px clamp(16px, 3vw, 48px);
}

.order-search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.order-search-bar label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.order-search-bar input,
.order-search-bar select {
  flex: 1;
  min-height: 46px;
  border: 1px solid rgba(23, 63, 53, 0.16);
  background: var(--ivory-strong);
  padding: 12px 14px;
}

.order-search-bar select { flex: 0 1 auto; width: 180px; max-width: 100%; }

.order-status-filters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 12px 0; border: 0; }
.order-status-filters legend { font-size: 12px; color: var(--island-green); }
.order-search-bar .order-status-filters label { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.order-search-bar .order-status-filters input { flex: none; width: 16px; height: 16px; min-height: 0; padding: 0; accent-color: var(--island-green); }

.order-date-filters { flex-basis: 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 8px 0; border: 0; }
.order-date-filters legend { font-size: 12px; color: var(--island-green); }
.order-search-bar .order-date-filters label { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; }
.order-search-bar .order-date-filters input { flex: none; width: 180px; max-width: 100%; min-width: 0; }
.order-results-count { margin: 18px 0 10px; font-size: 12px; color: var(--muted); }
.orders-management .pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }

.orders-table-form {
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 249, 0.55);
}

.batch-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.batch-toolbar strong {
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 27px;
}

.batch-selection {
  flex: 1;
  color: var(--muted);
  font-size: 11px;
}

.batch-toolbar select,
.modal-form select,
.modal-form input {
  border: 1px solid rgba(23, 63, 53, 0.2);
  border-radius: 0;
  background: var(--ivory-strong);
  padding: 10px;
}

.modal-form input.is-required-error {
  border: 2px solid #b34b4b;
  background: #fff4f2;
}

.modal-form label.is-required-error {
  color: #9b3838;
}

.modal-form [data-order-save]:disabled {
  background: #b8b8b2;
  border-color: #b8b8b2;
  color: #666660;
  cursor: not-allowed;
  opacity: 1;
}

.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
}

.orders-table th {
  color: var(--island-green);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.orders-management .orders-table { min-width: 1240px; }
.orders-management .orders-table th,
.orders-management .orders-table td { padding: 18px 14px; font-size: 13px; }
.orders-management .orders-table th { font-size: 11px; }
.orders-management .orders-table th:nth-child(3),
.orders-management .orders-table td:nth-child(3) { min-width: 210px; }
.orders-management .orders-table th:nth-child(5),
.orders-management .orders-table td:nth-child(5) { min-width: 170px; white-space: nowrap; }
.orders-management .orders-table th:nth-child(8),
.orders-management .orders-table td:nth-child(8) { min-width: 150px; }
.orders-management .order-status { font-size: 12px; }

.order-table-row {
  cursor: pointer;
  transition: background 0.2s ease;
}

.order-table-row:hover {
  background: rgba(184, 154, 90, 0.1);
}

.order-table-row td strong {
  color: var(--island-green);
}

.order-table-row td span,
.order-table-row td small {
  display: block;
}

.order-table-row td small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.order-status {
  width: fit-content;
  padding: 5px 7px;
  background: #e4e4df;
  color: var(--island-green);
  font-size: 10px;
  font-weight: 600;
}

.status-paid,
.status-completed { background: rgba(23, 63, 53, 0.14); }
.status-cancelled { background: rgba(157, 95, 95, 0.16); color: #7b4444; }

.table-action {
  border: 0;
  background: transparent;
  color: var(--island-green);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-management-modal {
  padding: 30px;
}

.order-dispatch-form {
  margin-top: 20px;
}

.order-dispatch-form h3,
.order-dispatch-form p {
  margin: 0 0 10px;
}

.order-dispatch-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.order-dispatch-fields p:last-child {
  grid-column: 1 / -1;
}

.order-dispatch-form .order-dispatch-fields select,
.order-dispatch-form .order-dispatch-fields input {
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
}

.order-dispatch-form details {
  margin-top: 12px;
}

.order-dispatch-form summary {
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 700px) {
  .order-dispatch-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

.order-management-progress,
.shipment-copy-details {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
}

.order-progress-summary,
.order-copy-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.order-progress-steps,
.shipment-copy-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.order-progress-steps {
  padding: 0;
  list-style: none;
}

.order-progress-steps li {
  padding: 12px;
  border-top: 4px solid var(--line);
}

.order-progress-steps .is-complete,
.order-progress-steps .is-current {
  border-color: var(--island-green);
}

.order-progress-steps .is-current {
  background: var(--island-green);
  color: #fff;
}

.order-progress-steps .is-current strong,
.order-progress-steps .is-current small {
  color: #fff;
}

.order-progress-steps small,
.order-copy-field label,
.copy-feedback {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.shipment-copy-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-copy-field {
  margin: 12px 0;
  min-width: 0;
}

.order-copy-control input {
  flex: 1 1 160px;
  min-width: 0;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 12px;
}

.order-copy-control .button {
  padding: 10px 12px;
}

@media (max-width: 700px) {
  .shipment-copy-contact,
  .shipment-copy-details .modal-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-progress-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.modal-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.modal-heading h2 {
  margin: 5px 0 0;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
}

.modal-order-summary {
  display: grid;
  gap: 4px;
  margin: 20px 0;
  padding: 15px;
  background: #e4e4df;
  color: var(--muted);
  font-size: 12px;
}

.modal-order-summary strong { color: var(--island-green); }

.modal-summary-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--charcoal);
  font-size: 12px;
}

.modal-summary-table th,
.modal-summary-table td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(23, 63, 53, 0.12);
  vertical-align: top;
}

.modal-summary-table th {
  width: 34%;
  color: var(--muted);
  font-weight: 500;
  text-align: left;
}

.modal-summary-table td {
  text-align: right;
}

.modal-summary-table .summary-total th,
.modal-summary-table .summary-total td {
  border-top: 2px solid var(--champagne-gold);
  color: var(--island-green);
  font-weight: 600;
}

.modal-detail-grid section {
  padding: 14px;
  border: 1px solid var(--line-soft);
  background: var(--ivory-strong);
}

.modal-detail-grid .modal-summary-table td {
  text-align: left;
}

.modal-detail-grid .payment-panel {
  border-color: rgba(184, 154, 90, 0.55);
  background: rgba(184, 154, 90, 0.1);
}

.modal-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}

.modal-detail-grid h3 {
  margin: 0 0 8px;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.modal-refund-table {
  margin-top: 18px;
}

.modal-summary-table .transaction-value {
  overflow-wrap: anywhere;
}

.dispatch-email-status {
  color: var(--muted);
  font-size: 10px;
}

.dispatch-email-status.is-sent {
  color: var(--island-green);
  font-weight: 600;
}

.dispatch-email-status.is-pending {
  color: #8a6a32;
  font-weight: 600;
}

.modal-form { display: grid; gap: 8px; }
.modal-form label { color: var(--island-green); font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.modal-form textarea {
  border: 1px solid rgba(23, 63, 53, 0.2);
  background: var(--ivory-strong);
  color: var(--charcoal);
  font: inherit;
  padding: 10px 12px;
  resize: vertical;
}

.feedback-thread {
  display: grid;
  gap: 10px;
  margin: 12px 0 20px;
  max-height: 280px;
  overflow-y: auto;
}

.feedback-message {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #e4e4df;
}

.feedback-message-staff {
  margin-left: 20px;
  border-color: var(--line-soft);
  background: rgba(184, 154, 90, 0.12);
}

.feedback-message strong {
  color: var(--island-green);
  font-size: 11px;
  letter-spacing: 0.4px;
}

.feedback-message p {
  margin: 6px 0;
  color: var(--charcoal);
  font-size: 12px;
  line-height: 1.6;
}

.feedback-message small {
  color: var(--muted);
  font-size: 10px;
}

.management-form,
.management-list {
  padding: 28px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 249, 0.55);
}

.management-form h2,
.management-list h2 {
  margin: 0 0 22px;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
}

.management-form form {
  display: grid;
  gap: 8px;
}

.management-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--island-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.management-form input,
.management-form textarea,
.management-form select {
  width: 100%;
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: 0;
  background: var(--ivory-strong);
  padding: 11px 12px;
}

.management-form ul,
.management-form .helptext,
.management-form .errorlist {
  color: var(--muted);
  font-size: 11px;
}

.management-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.management-row:last-child {
  border-bottom: 0;
}

.management-row strong,
.management-row span {
  display: block;
}

.management-row strong {
  color: var(--island-green);
  font-size: 13px;
}

.management-row span {
  color: var(--muted);
}

.management-row a,
.management-row button {
  border: 0;
  background: transparent;
  color: var(--island-green);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.management-row form {
  margin: 0;
}

.shipping-configuration {
  gap: 24px;
}

.shipping-rate-list {
  padding-top: 20px;
}

.shipping-product-list {
  display: grid;
}

.shipping-product-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.shipping-product-row h3 {
  margin: 0 0 12px;
  color: var(--island-green);
  font: 600 21px/1.2 'Cormorant Garamond', serif;
}

.shipping-product-row h3 small {
  margin-left: 8px;
  color: var(--muted);
  font: 500 10px 'Montserrat', sans-serif;
}

.shipping-product-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr)) auto;
  align-items: end;
  gap: 12px;
}

.shipping-product-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}

.shipping-product-fields input {
  width: 100%;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line-soft);
  background: var(--ivory-strong);
  color: var(--charcoal);
}

.shipping-product-fields .button {
  white-space: nowrap;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #8b2f25;
  font-size: 11px;
}

.delivery-rate-note {
  display: block;
  margin: -6px 0 10px;
  color: var(--muted);
  font-size: 11px;
}

.stock-dashboard {
  width: 100%;
  max-width: 1680px;
  margin: auto;
  padding: 40px clamp(16px, 3vw, 48px);
}

section.analytics-dashboard {
  max-width: none;
  width: min(1700px, 96vw);
  padding-left: 0;
  padding-right: 0;
}

.stock-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stock-stats div {
  padding: 22px;
  border: 1px solid var(--line-soft);
  background: var(--ivory-strong);
}

.stock-stats strong,
.stock-stats span {
  display: block;
}

.stock-stats strong {
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
}

.stock-stats span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stock-search {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin-bottom: 24px;
}

.stock-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.stock-search input {
  flex: 1;
  min-width: 180px;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23, 63, 53, 0.16);
  background: var(--ivory-strong);
  padding: 12px 14px;
}

.stock-search select { width: 190px; max-width: 100%; min-height: 46px; padding: 10px; border: 1px solid rgba(23, 63, 53, 0.16); background: var(--ivory-strong); }
.stock-table td small { display: block; font-size: 11px; margin-top: 4px; color: var(--muted); }
.stock-history-link { display: inline-block; margin-top: 6px; font-size: 11px; text-decoration: underline; }
.stock-history-table { min-width: 1200px; }
.stock-dashboard .pagination { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
@media (max-width: 600px) {
  .stock-search input, .stock-search select { width: 100%; }
}

.stock-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 249, 0.55);
}

.stock-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

.stock-table th,
.stock-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.stock-table th {
  color: var(--island-green);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.stock-inventory-table { min-width: 1460px; }
.stock-inventory-table th:first-child,
.stock-inventory-table td:first-child { min-width: 260px; }
.stock-inventory-table th:nth-child(2),
.stock-inventory-table td:nth-child(2) { min-width: 120px; }
.stock-inventory-table th:nth-child(8),
.stock-inventory-table td:nth-child(8) { min-width: 180px; }
.stock-inventory-table th:last-child,
.stock-inventory-table td:last-child { min-width: 320px; }
.stock-inventory-table td:not(:first-child) { white-space: nowrap; }

.analytics-row:hover {
  background: rgba(184, 154, 90, 0.1);
}

.analytics-row[hidden] {
  display: none;
}

.analytics-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.analytics-filter-bar label {
  color: var(--island-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.analytics-filter-bar input {
  flex: 1;
  min-width: 180px;
  max-width: 420px;
  min-height: 40px;
  border: 1px solid rgba(23, 63, 53, 0.16);
  background: var(--ivory-strong);
  padding: 9px 12px;
}

.orders-table th.is-sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 20px;
}

.orders-table th.is-sortable:after {
  content: '↕';
  position: absolute;
  right: 6px;
  color: var(--muted);
  font-size: 10px;
}

.orders-table th.is-sortable.is-sorted-asc:after {
  content: '↑';
  color: var(--champagne-gold);
}

.orders-table th.is-sortable.is-sorted-desc:after {
  content: '↓';
  color: var(--champagne-gold);
}

.analytics-path {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-type-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #e4e4df;
  color: var(--island-green);
}

.event-type-click {
  background: rgba(184, 154, 90, 0.2);
}

.stock-table td strong {
  color: var(--island-green);
}

.stock-table input[type='number'] {
  width: 80px;
  padding: 9px;
  border: 1px solid rgba(23, 63, 53, 0.2);
  background: var(--ivory-strong);
}

.stock-inline-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.stock-active {
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
}

.stock-empty td,
.stock-empty td strong {
  color: #9d5f5f;
}

.analytics-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 28px 0; }
.analytics-chart-grid .operations-chart { padding: 16px 0; border-top: 1px solid var(--line); }
.analytics-chart-grid .operations-chart-canvas { height: 320px; }
@media (max-width: 900px) { .analytics-chart-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } .analytics-chart-grid .operations-chart-canvas { height: 280px; } }

.analytics-charts {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  margin-bottom: 28px;
}

.analytics-chart {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 249, 0.55);
}

.analytics-chart h2 {
  margin: 0 0 22px;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
}

.activity-chart {
  display: flex;
  align-items: end;
  justify-content: space-around;
  height: 145px;
  border-bottom: 1px solid var(--line);
}

.activity-day {
  display: grid;
  justify-items: center;
  gap: 8px;
  height: 100%;
  color: var(--muted);
  font-size: 10px;
}

.activity-bars {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 120px;
}

.activity-bars i {
  display: block;
  width: 9px;
  min-height: 2px;
  max-height: 120px;
}

.view-bar { background: var(--island-green); }
.click-bar { background: var(--champagne-gold); }

.chart-legend {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
}

.chart-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
}

.view-dot { background: var(--island-green); }
.click-dot { background: var(--champagne-gold); }

.page-bar {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
}

.page-bar div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.page-bar i {
  display: block;
  height: 8px;
  min-width: 3px;
  background: var(--champagne-gold);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
}

.pagination a {
  color: var(--island-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: auto;
}

.review-card {
  padding: 30px 26px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 249, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(23, 63, 53, 0.1);
}

.review-rating {
  color: var(--champagne-gold);
  letter-spacing: 3px;
}

.review-card h3 {
  margin: 10px 0;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 25px;
}

.review-card p,
.review-admin-row p {
  color: var(--muted);
  font-size: 12px;
}

.review-card strong {
  color: var(--island-green);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.review-admin-row {
  display: grid;
  gap: 7px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.review-admin-row strong,
.review-admin-row span {
  color: var(--island-green);
  font-size: 12px;
}

.review-admin-row form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.review-admin-row select {
  padding: 9px;
  border: 1px solid rgba(23, 63, 53, 0.2);
  background: #e4e4df;
}

.review-admin-row textarea {
  flex: 1 1 100%;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 63, 53, 0.2);
  background: var(--ivory-strong);
  color: var(--charcoal);
  font: inherit;
  resize: vertical;
}

.stock-low td,
.stock-low td strong {
  background: rgba(184, 154, 90, 0.08);
}

@media(max-width: 800px) {
  .heritage-video-banner {
    height: clamp(280px, 56vw, 480px);
  }

  .heritage-culture {
    padding: 48px 8%;
  }

  .control-products-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .catalogue-search {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .catalogue-search label {
    width: 100%;
  }

  .catalogue-search input {
    width: 100%;
    flex: 1 1 100%;
  }

  .catalogue-search select {
    width: 100%;
    flex: 1 1 100%;
  }

  .control-products-toolbar > .button {
    align-self: center;
  }

  .management-layout {
    grid-template-columns: 1fr;
  }

  .management-row {
    grid-template-columns: 1fr auto;
  }

  .order-search-bar,
  .batch-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .order-search-bar input {
    flex-basis: 100%;
  }

  .batch-selection {
    flex-basis: 100%;
  }

  .order-management-modal {
    padding: 22px;
  }
}

.form-section form {
  display: grid;
  gap: 8px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 1050px;
  margin: auto;
}

.auth-panel {
  padding: 34px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 249, 0.5);
}

.auth-panel h2 {
  margin: 0 0 25px;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.05;
  white-space: nowrap;
}

.auth-intro {
  min-height: 38px;
  margin: -15px 0 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.auth-field {
  display: grid;
  gap: 7px;
  margin-bottom: 8px;
}

.auth-field label {
  display: block;
  color: var(--island-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.auth-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: 0;
  background: var(--ivory-strong);
  color: var(--charcoal);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus {
  border-color: var(--champagne-gold);
  box-shadow: 0 0 0 3px rgba(184, 154, 90, 0.16);
}

.auth-field .errorlist,
.auth-panel > .errorlist {
  margin: 0;
  padding: 0;
  color: #9d5f5f;
  font-size: 11px;
  list-style: none;
}

.auth-help {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.auth-help ul {
  margin: 0;
  padding-left: 17px;
}

.auth-panel .button {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.auth-panel form {
  display: grid;
  gap: 8px;
}

.auth-panel ul,
.auth-panel .helptext {
  color: var(--muted);
  font-size: 11px;
}

.auth-switch {
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
}

.auth-switch a {
  color: var(--island-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.success {
  padding-bottom: 100px;
}

.order-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  text-align: left;
}

.order-details-panel {
  border-top: 2px solid var(--island-green);
  padding-top: 14px;
}

.order-details-panel h2 {
  margin: 0 0 12px;
  color: var(--island-green);
  font-size: 18px;
  text-align: center;
}

.order-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.order-details-table th,
.order-details-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.order-details-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 500;
  text-align: left;
}

.order-details-table td {
  color: var(--ink);
  text-align: right;
}

.transaction-value {
  overflow-wrap: anywhere;
}

.success .button {
  display: inline-block;
  margin-top: 24px;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 34px 8% 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--island-green);
  color: rgba(247,242,232,0.9);
  font-size: 10px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-brand p {
  margin: 8px 0 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 16px;
  text-align: right;
}

footer a {
  color: rgba(247,242,232,0.9);
}

footer a:hover {
  color: var(--champagne-gold);
}

footer img {
  width: 80px;
  height: 60px;
  object-fit: contain;
}

footer .footer-social span:last-child {
  color: var(--champagne-gold);
}

code {
  color: var(--island-green);
}

@media(max-width: 900px) {
  .site-header nav {
    gap: 15px;
    left: 3%;
  }

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

  #heritage.split,
  .split,
  .custom, 
  .custom-design-layout,
  .checkout {
    grid-template-columns: 1fr;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    min-height: 0;
  }

  .photo-panel, 
  .custom .craft {
    min-height: 280px;
  }

  .gallery > img {
    height: clamp(280px, 38vw, 360px);
  }

  .gallery {
    grid-template-columns: 1fr;
    min-width: 0;
    padding: 20px 16px;
  }

  .gallery-single > img {
    width: 100%;
    height: clamp(280px, 38vw, 360px);
  }

  .product-copy {
    min-width: 0;
    padding: 36px 24px;
  }

  .product-copy h1 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }

  .shipping-product-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bag-row {
    grid-template-columns: 1fr 100px 80px;
  }

  .bag-row form:last-child {
    grid-column: 2 / 4;
  }

  .checkout {
    padding: 35px;
  }

  .order-summary {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0;
  }
}

@media(max-width: 650px) {
  .home-section-kicker {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  #heritage .copy h2,
  .home-signature-section .section-head h2,
  .preorder-section .section-head h2 {
    font-size: 34px;
  }

  .featured-collection-card {
    grid-template-columns: minmax(105px, 0.72fr) 1fr;
    min-height: 190px;
  }

  .featured-collection-card__image {
    min-height: 190px;
  }

  .featured-collection-card__copy {
    padding: 18px 16px;
  }

  .featured-collection-card__copy h3 {
    font-size: 21px;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .gallery {
    min-height: 0;
    padding: 18px 16px 0;
  }

  .gallery > img,
  .gallery-single > img {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .gallery-single {
    min-height: 0;
  }

  .product-copy {
    padding: 28px 22px 44px;
  }

  .product-copy h1 {
    font-size: 34px;
  }

  .product-option-fields {
    padding: 14px;
  }

  .product-copy .product-quantity-field input {
    width: 100%;
    min-height: 56px;
  }

  .product-copy .product-purchase-form .button {
    min-height: 48px;
    padding: 12px;
    white-space: normal;
  }

  .product-option-head {
    display: none;
  }

  .product-option-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-option-cell-label {
    display: block;
    margin-bottom: 4px;
  }

  .product-option-check {
    display: flex;
    gap: 8px;
    align-items: center;
    text-align: left;
  }

  .product-option-check .product-option-cell-label {
    margin: 0;
  }

  .product-accordion summary {
    min-height: 56px;
    padding: 4px 0;
    font-size: 15px;
  }

  .product-accordion-content {
    padding-bottom: 16px;
  }

  .product-accordion-content p {
    font-size: 14px;
  }

  .product-overview .product-accordion-content p {
    font-size: 18px;
  }

  .product-accordion-content dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .product-accordion-content dd {
    margin-bottom: 8px;
  }

}

@media(max-width: 650px) {
  .site-header {
    height: 108px;
  }

  .modal-detail-grid {
    grid-template-columns: 1fr;
  }

  .order-details-grid {
    grid-template-columns: 1fr;
  }

  .shipping-product-fields {
    grid-template-columns: 1fr 1fr;
  }

  .shipping-product-fields .button {
    grid-column: 1 / -1;
  }

  .heritage-pillar-grid {
    grid-template-columns: 1fr;
  }

  .heritage-closing {
    padding-top: 70px;
    padding-bottom: 70px;
  }

}

@media(max-width: 1024px) {
  .brand {
    height: 94px;
    max-width: calc(100vw - 112px);
    padding: 0;
  }

  .site-header nav {
    display: none;
    top: calc(100% + 4px);
    left: 12px;
    right: auto;
    width: min(360px, calc(100% - 24px));
    position: absolute;
    background: var(--ivory-strong);
    color: var(--island-green);
    padding: 16px;
    border: 1px solid var(--champagne-gold);
    border-radius: 14px;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100dvh - 124px);
    overflow-y: auto;
    box-sizing: border-box;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .site-header nav.open {
    display: flex;
  }

  .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 10px;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--island-green);
    border-radius: 6px;
  }

  .site-header nav a:hover,
  .site-header nav a:focus-visible {
    background: rgba(23, 63, 53, 0.06);
    color: var(--island-green);
  }

  .mobile-navigation-heading {
    display: block;
    margin: 0 0 8px;
    padding: 12px 10px 16px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--island-green);
  }

  .site-header nav a:after {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: var(--champagne-gold);
    font-size: 22px;
    width: 44px;
    height: 52px;
    padding: 0;
    cursor: pointer;
  }

  .menu-toggle-icon {
    width: 36px;
    height: 36px;
  }

  .menu-toggle:focus-visible,
  .mobile-home-action:focus-visible {
    outline: 2px solid var(--champagne-gold);
    outline-offset: 2px;
  }

  .actions {
    right: 15px;
    gap: 12px;
  }

  .actions .account-action {
    width: 42px;
    padding: 0;
  }

  .site-header.signed-in-header {
    height: 156px;
  }

  .signed-in-header .brand {
    top: 0;
    transform: translateX(-50%);
    height: 94px;
  }

  .signed-in-header .menu-toggle {
    top: 47px;
  }

  .signed-in-header .actions {
    right: 50%;
    bottom: 8px;
    transform: translateX(50%);
    gap: 10px;
  }

  .signed-in-header .actions a,
  .signed-in-header .actions .logout-action {
    width: 44px;
    height: 44px;
  }

  .site-header.staff-header {
    height: 108px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 144px;
  }

  .staff-header .brand {
    position: static;
    grid-column: 2;
    transform: none;
    height: 88px;
    max-width: 100%;
    justify-self: center;
  }

  .staff-header .menu-toggle {
    top: 50%;
    left: 4px;
    width: 44px;
    height: 52px;
    padding: 0;
    font-size: 30px;
  }

  .staff-header .mobile-home-action {
    position: absolute;
    left: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  .staff-header .actions {
    right: 4px;
    bottom: auto;
    transform: none;
    gap: 4px;
  }

  .staff-header .actions > a:not(.cart-action):not(.search-action),
  .staff-header .actions > .account-menu,
  .staff-header .actions > .notification-menu,
  .staff-header .actions > .logout-action-form {
    display: none;
  }

  .staff-header .mobile-staff-menu {
    display: block;
  }

  .mobile-staff-menu summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 44px;
    height: 52px;
    color: var(--champagne-gold);
    cursor: pointer;
    list-style: none;
    border-radius: 50%;
  }

  .mobile-staff-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-staff-menu summary .action-icon {
    width: 36px;
    height: 36px;
  }

  .mobile-staff-menu summary:focus-visible {
    outline: 2px solid var(--champagne-gold);
    outline-offset: 2px;
  }

  .mobile-staff-panel {
    box-sizing: border-box;
    position: fixed;
    left: auto;
    right: 12px;
    top: 112px;
    width: min(360px, calc(100% - 24px));
    max-height: calc(100dvh - 124px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--champagne-gold);
    border-radius: 14px;
    background: var(--ivory-strong);
    color: var(--island-green);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .staff-header .actions .mobile-staff-panel a,
  .mobile-staff-panel button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 12px 10px;
    margin-bottom: 8px;
    box-sizing: border-box;
    border: 0;
    border-radius: 6px;
    color: var(--island-green);
    background: transparent;
    font: inherit;
    font-size: 16px;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
  }

  .mobile-staff-panel a:hover,
  .mobile-staff-panel button:hover,
  .mobile-staff-panel a:focus-visible,
  .mobile-staff-panel button:focus-visible {
    color: var(--island-green);
    background: rgba(23, 63, 53, 0.06);
  }

  .mobile-staff-panel form {
    margin: 8px 0 0;
    border-top: 1px solid var(--line-soft);
  }

  .account-label {
    display: none;
  }

  .site-header,
  .site-header.staff-header,
  .site-header.signed-in-header {
    height: 108px;
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 188px;
  }

  .site-header.staff-header {
    grid-template-columns: 140px minmax(0, 1fr) 148px;
  }

  .site-header .brand {
    position: static;
    grid-column: 2;
    transform: none;
    height: 88px;
    max-width: 100%;
    justify-self: center;
  }

  .site-header .mobile-home-action,
  .site-header .mobile-jewellery-action {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  .site-header .mobile-home-action {
    left: 48px;
  }

  .site-header .mobile-jewellery-action {
    left: 92px;
  }

  .site-header .menu-toggle {
    left: 4px;
    top: 50%;
  }

  .site-header .actions {
    right: 4px;
    bottom: auto;
    transform: none;
    gap: 4px;
  }

  .site-header .actions > a,
  .site-header .actions .account-action,
  .site-header .actions .logout-action {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .site-header nav .desktop-navigation-link {
    display: none;
  }
}

@media(max-width: 480px) {
  .site-header,
  .site-header.staff-header,
  .site-header.signed-in-header {
    height: 152px;
    display: flex;
  }

  .site-header .brand {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 92px;
    max-width: calc(100% - 24px);
  }

  .site-header .mobile-home-action,
  .site-header .mobile-jewellery-action,
  .site-header .menu-toggle {
    top: auto;
    bottom: 8px;
    transform: none;
  }

  .site-header .menu-toggle {
    height: 44px;
  }

  .site-header .menu-toggle-icon {
    width: 36px;
    height: 36px;
  }

  .site-header .actions {
    bottom: 8px;
  }

  .site-header:not(.staff-header) .actions > .search-action {
    display: none;
  }

  .site-header nav {
    max-height: calc(100dvh - 168px);
  }

  .mobile-staff-menu summary {
    height: 44px;
  }

  .mobile-staff-panel {
    top: 156px;
    max-height: calc(100dvh - 168px);
  }
}

@media(max-width: 650px) {
  .hero-banner__image {
    aspect-ratio: 4 / 3;
    background-position: right center;
    background-size: auto 100%;
  }

  .hero-banner__content h1 {
    font-size: clamp(62px, 16vw, 90px);
  }

  .hero-banner__content h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .hero-banner__content .eyebrow {
    max-width: 300px;
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  .hero-banner__content {
    width: min(100%, 510px);
    padding: 30px 22px 38px;
  }

  .hero-banner__content .button {
    min-width: 0;
    max-width: 100%;
    padding: 13px 14px;
    font-size: 9px;
  }

  .hero-banner__content > p:not(.eyebrow) {
    max-width: 280px;
    font-size: 14px;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    padding: 25px;
  }

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

  .details-table th,
  .details-table td {
    display: block;
    width: 100%;
    padding: 8px 14px;
  }

  .order-row {
    grid-template-columns: 1fr auto;
  }

  .order-row > strong {
    grid-column: 2;
    grid-row: 1;
  }

  .order-modal-content {
    padding: 22px;
  }

  .details-table th {
    padding-top: 14px;
    padding-bottom: 2px;
  }

  .details-table td {
    padding-bottom: 14px;
  }

  .profile-form p:first-child,
  .profile-form button {
    grid-column: auto;
  }

  .privacy-panel {
    padding: 24px;
  }

  .control-stats,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .stock-stats {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .analytics-charts {
    grid-template-columns: 1fr;
  }

  .stock-search {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .stock-search input {
    flex-basis: 100%;
  }

  .control-card {
    padding: 25px;
  }

  .hero h1 {
    font-size: 65px;
  }

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

  .filters {
    flex-direction: column;
  }

  .filters input {
    max-width: none;
  }

  .filters select[name="sort"] {
    width: 100%;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery > img {
    height: 420px;
  }

  .product-copy h1 {
    font-size: 36px;
  }

  .bag-row {
    grid-template-columns: 1fr 80px;
  }

  .bag-row > strong {
    grid-column: 1;
  }

  .bag-row form:last-child {
    grid-column: 2;
  }

  .checkout {
    padding: 30px 6%;
  }

  footer {
    padding: 28px 7% 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }

  .footer-links,
  .footer-social {
    justify-content: center;
    text-align: center;
  }

  .store-chat {
    bottom: 72px;
  }
}

@media(max-width: 420px) {
  .brand {
    height: 82px;
    max-width: calc(100vw - 100px);
  }

  .actions {
    gap: 8px;
  }

  .actions a {
    width: 36px;
    height: 36px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.store-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  font-family: 'Montserrat', Arial, sans-serif;
}

.store-chat-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--champagne-gold);
  border-radius: 999px;
  background: var(--island-green);
  color: var(--ivory);
  box-shadow: 0 8px 24px rgba(23, 63, 53, 0.24);
  cursor: pointer;
}

.store-chat-toggle svg,
.store-chat-form button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-chat-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto auto;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100dvh - 110px));
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ivory-strong);
  box-shadow: 0 16px 48px rgba(23, 63, 53, 0.22);
}

.store-chat-panel[hidden] {
  display: none;
}

.store-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  background: var(--island-green);
  color: var(--ivory);
}

.store-chat-header div {
  display: grid;
  gap: 2px;
}

.store-chat-header strong {
  font: 600 21px/1.15 'Cormorant Garamond', serif;
}

.store-chat-header span,
.store-chat-note {
  font-size: 10px;
}

.store-chat-close {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 24px;
  cursor: pointer;
}

.store-chat-messages {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
}

.store-chat-message {
  max-width: 92%;
  margin: 0;
  padding: 10px 12px;
  background: var(--sand);
  color: var(--charcoal);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.store-chat-message.customer {
  align-self: flex-end;
  background: var(--island-green);
  color: var(--ivory);
}

.store-chat-link {
  color: var(--island-green);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 12px;
}

.store-chat-suggestions button {
  padding: 7px 9px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--island-green);
  font-size: 10px;
  cursor: pointer;
}

.store-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.store-chat-form input,
.store-chat-order-form input,
.store-chat-contact-form input,
.store-chat-contact-form textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line-soft);
  background: white;
  color: var(--charcoal);
  font: inherit;
  font-size: 12px;
}

.store-chat-form input {
  padding: 10px;
}

.store-chat-form button {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  border: 0;
  background: var(--island-green);
  color: var(--ivory);
  cursor: pointer;
}

.store-chat-form button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.store-chat-order-form,
.store-chat-contact-form {
  display: grid;
  align-self: stretch;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: var(--ivory);
}

.store-chat-order-form label,
.store-chat-contact-form label {
  display: grid;
  gap: 4px;
  color: var(--charcoal);
  font-size: 10px;
}

.store-chat-order-form input,
.store-chat-contact-form input,
.store-chat-contact-form textarea {
  padding: 8px;
}

.store-chat-contact-form textarea {
  min-height: 72px;
  max-height: 130px;
  resize: vertical;
}

.store-chat-order-form button,
.store-chat-contact-form button {
  justify-self: start;
  padding: 9px 12px;
  border: 0;
  background: var(--island-green);
  color: var(--ivory);
  font-size: 10px;
  cursor: pointer;
}

.store-chat-note {
  margin: 0;
  padding: 0 14px 10px;
  color: var(--muted);
}

.store-chat-ai-notice {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.store-chat-ai-notice.is-required {
  background: rgba(184, 154, 90, 0.12);
}

.store-chat-ai-notice input {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin: 1px 0 0;
  accent-color: var(--island-green);
}

@media(max-width: 480px) {
  .store-chat {
    right: 12px;
    bottom: 12px;
  }

  .store-chat-panel {
    right: -4px;
    bottom: 62px;
    width: min(380px, calc(100vw - 24px));
    height: min(560px, calc(100dvh - 90px));
  }
}

.cookie-settings-trigger,
.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--island-green);
  font: inherit;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-notice {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  width: min(390px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: var(--ivory-strong);
  color: var(--charcoal);
  box-shadow: 0 14px 38px rgba(23, 63, 53, 0.2);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice h2 {
  margin: 5px 0 8px;
  color: var(--island-green);
  font: 600 25px/1.1 'Cormorant Garamond', serif;
}

.cookie-notice > p:not(.eyebrow) {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.cookie-notice-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-notice-actions button:not(.cookie-settings-link),
.cookie-preferences button {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--island-green);
  background: transparent;
  color: var(--island-green);
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-notice-actions [data-cookie-accept] {
  background: var(--island-green) !important;
  color: var(--ivory) !important;
}

.cookie-preferences {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cookie-preferences[hidden] {
  display: none;
}

.cookie-preferences label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--charcoal);
  font-size: 11px;
}

.cookie-preferences input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--island-green);
}

@media(max-width: 480px) {
  .cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 76px;
    width: auto;
    padding: 16px;
  }
}

.order-tracking-page {
  width: min(960px, calc(100% - 32px));
  margin-inline: auto;
  padding: 40px 0 55px;
}

.order-tracking-lookup,
.order-tracking-card,
.order-tracking-empty {
  margin: 0 0 24px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--ivory-strong);
  box-shadow: 0 8px 28px rgba(23, 63, 53, 0.05);
}

.order-tracking-lookup,
.order-tracking-empty {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.order-tracking-lookup h2,
.order-tracking-empty h2,
.order-tracking-heading h2 {
  margin: 0;
  color: var(--island-green);
  font: 600 30px/1.1 'Cormorant Garamond', Georgia, serif;
}

.order-tracking-form {
  display: grid;
  gap: 20px;
  max-width: 440px;
  margin: 26px auto 0;
  text-align: left;
}

.order-tracking-form label {
  display: block;
  color: var(--island-green);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.order-tracking-form input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--island-green);
  border-radius: 4px;
  background: #fff;
  color: var(--charcoal);
  font-size: 16px;
}

.order-tracking-form input:focus-visible {
  outline: 2px solid var(--island-green);
  outline-offset: 2px;
}

.order-tracking-form small {
  display: block;
  margin-top: 6px;
  color: #b42318;
  font-weight: 400;
}

.order-tracking-form .button {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  text-align: center;
}

.order-tracking-account-prompt,
.order-tracking-empty p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.order-tracking-account-prompt {
  max-width: 440px;
  margin: 24px auto 0;
}

.order-tracking-account-prompt a {
  color: var(--island-green);
  font-weight: 600;
  text-underline-offset: 3px;
}

.order-tracking-message,
.order-tracking-notice {
  padding: 12px 14px;
  border-left: 3px solid var(--champagne-gold);
  background: rgba(184, 154, 90, 0.12);
  color: var(--charcoal);
  font-size: 12px;
  line-height: 1.6;
}

.order-tracking-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.order-tracking-heading .eyebrow {
  margin: 0 0 7px;
}

.order-tracking-status {
  flex: 0 0 auto;
  padding: 8px 12px;
  background: #e8eee9;
  color: var(--island-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.order-journey {
  display: grid;
  gap: 24px;
  padding-top: 24px;
}

.order-journey-chart-wrap {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.order-journey-pie {
  display: grid;
  width: 142px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(23, 63, 53, 0.08);
  color: var(--island-green);
  font-size: 20px;
  font-weight: 700;
}

.order-journey-pie span {
  display: grid;
  width: 68px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--ivory-strong);
}

.order-journey-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-journey-legend li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  gap: 3px 8px;
  color: var(--muted);
  font-size: 11px;
}

.order-journey-legend li > span {
  grid-row: span 2;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e3e9e5;
}

.order-journey-legend li.is-complete > span { background: #315e48; }
.order-journey-legend li.is-current > span { background: #c18a44; }

.order-journey-legend small {
  color: var(--muted);
  font-size: 9px;
}

.order-journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-journey-timeline li {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px 10px 0 0;
  border-top: 2px solid var(--line);
  color: var(--muted);
}

.order-journey-timeline li::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ivory-strong);
  border-radius: 50%;
  background: #d9dfdb;
  content: '';
}

.order-journey-timeline li.is-complete,
.order-journey-timeline li.is-current {
  border-top-color: #719a67;
}

.order-journey-timeline li.is-complete::before { background: #315e48; }
.order-journey-timeline li.is-current::before { background: #c18a44; }

.order-journey-timeline li > div {
  display: grid;
  gap: 3px;
}

.order-journey-timeline strong {
  color: var(--island-green);
  font-size: 10px;
}

.order-journey-timeline span,
.order-journey-timeline time {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.order-tracking-parcel {
  padding: 18px;
  background: #f2f5f1;
}

.order-tracking-parcel h3,
.order-tracking-parcel h4 {
  margin: 0 0 12px;
  color: var(--island-green);
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.order-tracking-parcel h3 { font-size: 24px; }
.order-tracking-parcel h4 { margin-top: 20px; font-size: 20px; }

.order-tracking-parcel p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 12px;
}

.order-tracking-number {
  overflow-wrap: anywhere;
  color: var(--island-green);
  font-weight: 700;
}

.order-tracking-source {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.order-tracking-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 11px;
}

@media(max-width: 620px) {
  .order-journey-chart-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .order-journey-legend {
    width: 100%;
  }

  .order-journey-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 12px;
  }

  .order-journey-timeline li {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 54px;
    padding: 8px 0 8px 18px;
    border-top: 0;
    border-left: 2px solid var(--line);
  }

  .order-journey-timeline li.is-complete,
  .order-journey-timeline li.is-current {
    border-left-color: #719a67;
  }

  .order-journey-timeline li::before {
    top: 50%;
    left: -7px;
    transform: translateY(-50%);
  }

  .order-tracking-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-tracking-pagination {
    flex-wrap: wrap;
  }
}