/* Compact opal buttons, with shopping links grouped on the right. */
.site-header,
.boutique-home .site-header { padding: .85rem clamp(.6rem, 3vw, 2rem) 1rem; }
.site-header .nav,
.boutique-home .site-header .nav {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(.65rem, 1.5vw, 1.3rem);
}
.site-header .nav > a,
.site-header .shop-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 2px .55rem;
  border: 2px solid #ffffffb3;
  border-radius: 18px;
  background: linear-gradient(115deg, #f8efdf, #e3eee9 40%, #eee4f0 75%, #f8efdf);
  box-shadow: 0 2px 5px #16343e26;
  color: #244f59;
  font: italic 600 clamp(1.1rem, 1.4vw, 1.25rem)/1.1 var(--brand-display);
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 1px 0 #fff;
  text-align: center;
  white-space: nowrap;
  transition: transform .15s ease, filter .15s ease;
}
.site-header .nav > a,
.site-header .shop-menu { flex: 0 0 auto; }
.site-header .nav > .nav-home { margin-inline-start: auto; }
/* Anchor the category panel to the full navigation row, not the Shop button. */
.site-header .nav > .shop-menu { position: static; }
.site-header .shop-dropdown,
.boutique-home .site-header .shop-dropdown {
  left: auto;
  right: 0;
  transform: none;
  width: min(320px, calc(100% - 1rem));
  max-width: calc(100% - 1rem);
  overflow-x: hidden;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
}
.site-header .nav > a:hover,
.site-header .shop-menu > summary:hover,
.site-header .shop-menu[open] > summary {
  background: linear-gradient(115deg, #fff7ec, #edf6f0 40%, #f6eef9 75%, #fff7ec);
  border-color: #fff;
  color: #244f59;
  box-shadow: 0 3px 8px #16343e33;
  filter: brightness(1.035);
  transform: translateY(-1px);
}
.site-header .nav > a:active,
.site-header .shop-menu > summary:active { transform: translateY(2px); }
.site-header .nav > a:focus-visible,
.site-header .shop-menu > summary:focus-visible {
  outline: 3px solid #fff0dd;
  outline-offset: 5px;
  border-radius: 18px;
}
.site-header .nav > .cart-nav { gap: .4rem; }
.cart-nav svg { width: 18px; height: 18px; flex: 0 0 auto; }
.cart-nav-count {
  min-width: 1.2rem;
  padding: .15rem .3rem;
  border-radius: 50%;
  background: #244f5914;
  font: 600 .75rem/1.2 system-ui, sans-serif;
  text-shadow: none;
}
.product-cart-actions { margin: 1.2rem 0; }
.product-cart-actions .cart-add-button,
.cart-page .cart-action-button {
  padding: .75rem 1.2rem;
  border: 1px solid #fff4df88;
  border-radius: 10px;
  color: #173e4b;
  background: #f4e6dc;
  font-weight: 500;
}
.product-cart-actions .cart-add-button.is-in-cart { background: #dcf0e9; }
.product-cart-actions p { margin: .65rem 0 0; font-size: .9rem; }
.product-cart-actions [hidden], .cart-page [hidden] { display: none !important; }
.cart-page { max-width: 1120px; padding-bottom: 3rem; }
.cart-intro { text-align: center; margin: 2.5rem auto 2rem; max-width: 42rem; }
.cart-intro p { line-height: 1.7; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 340px); align-items: start; gap: 2rem; }
.cart-items { display: grid; gap: 1.25rem; min-width: 0; }
.cart-item {
  display: grid; grid-template-columns: minmax(100px, 145px) minmax(0, 1fr); gap: 1.35rem;
  padding: 1.25rem; border: 1px solid #e1d8dc88; border-radius: 16px;
  background: #ffffff08;
}
.cart-item-photo { display: block; padding: 1px; border-radius: 10px; background: var(--opal-border); align-self: start; }
.cart-item-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; border-radius: 9px; background: #f8f5ef; }
.cart-item-copy { min-width: 0; }
.cart-item .cart-item-category { margin: 0 0 .5rem; font-size: .73rem; color: var(--muted); letter-spacing: .05em; }
.cart-item h2 { margin: 0 0 .65rem; font-size: 1.25rem; text-align: left; }
.cart-item h2 a { text-decoration: none; }
.cart-item h2 a:hover { text-decoration: underline; }
.cart-item-description { margin-bottom: .6rem; line-height: 1.6; font-size: .9rem; }
.cart-item-sku { font-size: .78rem; color: var(--muted); }
.cart-item-price { margin: .85rem 0 .3rem; font-size: 1.25rem; }
.cart-page .cart-text-button { border: 0; border-radius: 0; padding: .4rem 0; min-height: 44px; font-size: .9rem; font-weight: 400; text-decoration: underline; text-underline-offset: .2em; }
.cart-replace summary { padding: .65rem 0; min-height: 44px; font-size: .85rem; cursor: pointer; }
.cart-replace-form { display: grid; gap: .55rem; padding-top: .4rem; }
.cart-replace-form label { font-size: .85rem; }
.cart-replace-form select { color: #173e4b; background: #fffaf4; border-radius: 8px; font-size: .9rem; min-width: 0; width: 100%; }
.cart-replace-form .cart-action-button { justify-self: start; font-size: .85rem; }
.cart-summary { padding: 1.5rem; border: 1px solid #e1d8dc99; border-radius: 16px; background: #ffffff0d; }
.cart-summary h2 { font-size: 1.5rem; text-align: left; }
.cart-summary dl { margin: 0; }
.cart-summary dl > div { display: flex; justify-content: space-between; gap: 1.2rem; margin: 1rem 0; font-size: .88rem; line-height: 1.5; }
.cart-summary dd { margin: 0; text-align: right; max-width: 60%; }
.cart-summary .cart-subtotal { padding-top: .7rem; border-top: 1px solid #fff3; font-size: 1rem; }
.cart-summary .cart-checkout { width: 100%; margin: 1rem 0 .75rem; color: #173e4b; background: #e6e4df; border-radius: 10px; font-weight: 500; cursor: not-allowed; }
.cart-summary .cart-checkout:hover { transform: none; }
.cart-summary .cart-checkout:not(:disabled) { cursor: pointer; background: #f4e6dc; }
.shipping-form { margin-top: 2rem; padding: 1.5rem; border: 1px solid #e1d8dc88; border-radius: 16px; }
.shipping-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.shipping-form legend { font-size: 1.5rem; padding: 0; }
.shipping-form p { font-size: .9rem; line-height: 1.7; }
.shipping-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-block: 1.25rem; }
.shipping-fields label { display: grid; gap: .4rem; font-size: .9rem; }
.shipping-fields label span { font-size: .8rem; }
.shipping-wide { grid-column: 1 / -1; }
.shipping-fields input, .shipping-fields select { width: 100%; min-width: 0; min-height: 44px; box-sizing: border-box; padding: .7rem; color: #173e4b; background: #fffaf4; border: 1px solid #fff4df88; border-radius: 8px; font: inherit; font-size: 1rem; }
.shipping-form fieldset:disabled { opacity: .75; }
.shipping-form [data-shipping-result] { padding-top: .8rem; border-top: 1px solid #fff3; }
.shipping-blocker, .cart-item-notice { padding: .85rem; border: 1px solid #f7d5a4; border-radius: 10px; background: #152f3980; line-height: 1.6; }
.shipping-blocker { margin-bottom: 1.25rem; }
.shipping-blocker p { margin-top: 0; }
.cart-item-notice, .product-shipping-status { font-size: .85rem; }
.cart-page .cart-action-button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 400px) { .shipping-fields { grid-template-columns: minmax(0,1fr); } .shipping-form { padding: 1rem; } }
.cart-checkout-note, .cart-reservation-note { font-size: .85rem; line-height: 1.6; }
.cart-shipping-details { margin-top: 1.5rem; border-top: 1px solid #fff3; padding-top: .5rem; }
.cart-shipping-details summary { padding: .75rem 0; cursor: pointer; min-height: 44px; }
.cart-shipping-details p { font-size: .85rem; line-height: 1.7; }
.cart-bottom-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 1.25rem 0; }
.cart-empty { max-width: 36rem; margin: 2rem auto 3rem; text-align: center; padding: 2rem 1rem; border: 1px solid #fff4; border-radius: 16px; }
.cart-empty h2 { font-size: 1.6rem; }
.cart-empty p { line-height: 1.8; }
.cart-feedback { margin-bottom: 1rem; }
.cart-feedback p:empty { display: none; }
.cart-feedback p { line-height: 1.6; margin: .7rem 0; }
.cart-storage-warning { padding: 1rem; border: 1px solid #f7d5a4; border-radius: 10px; line-height: 1.6; }
.cart-page :focus-visible, .cart-add-button:focus-visible { outline: 3px solid #fff4df; outline-offset: 4px; }
@media (max-width: 760px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .cart-summary { max-width: none; }
}
@media (max-width: 480px) {
  .cart-item { grid-template-columns: 88px minmax(0, 1fr); gap: .9rem; padding: 1rem; }
  .cart-page { width: calc(100% - 1.5rem); }
  .cart-item h2 { font-size: 1.1rem; }
  .cart-replace-form { margin-left: calc(-88px - .9rem); padding-top: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav > a,
  .site-header .shop-menu > summary { transition: none; }
}

.site-header .shop-dropdown a { font-size: 1.05rem; min-height: 50px; }
.product-cart-actions .cart-add-button { min-height: 52px; font-size: 1.05rem; }

@media (max-width: 900px) {
  .site-header,
  .boutique-home .site-header {
    padding: .65rem .5rem .8rem;
  }
  .site-header .nav,
  .boutique-home .site-header .nav { gap: .4rem; }
  .site-header .nav > a,
  .site-header .shop-menu > summary {
    padding: 2px .35rem;
    border-radius: 10px;
    font-size: clamp(.9rem, 3.8vw, 1.2rem);
    line-height: .95;
  }
  .site-header .nav .cart-nav { gap: .2rem; }
  .site-header .nav .cart-nav-count { font-size: .7rem; min-width: 1em; padding: 0; }
  .cart-nav svg { display: none; }
}

@media (max-width: 600px) {
  .site-header .nav,
  .boutique-home .site-header .nav {
    position: static;
    overflow: visible;
    padding-block: .3rem;
  }
  /* Let the menu open below the header, outside the navigation row. */
  .site-header .nav > .shop-menu { position: static; }
  .site-header .shop-dropdown,
  .boutique-home .site-header .shop-dropdown {
    right: .5rem;
    top: 100%;
  }
}

@media (max-width: 460px) {
  .site-header .nav,
  .boutique-home .site-header .nav { gap: .2rem; }
  .site-header .nav > a,
  .site-header .shop-menu > summary { padding-inline: .2rem; }
}

@media (max-width: 360px) {
  .site-header .nav,
  .boutique-home .site-header .nav { gap: 2px; }
  .site-header .nav > a,
  .site-header .shop-menu > summary {
    padding-inline: .1rem;
    font-size: .85rem;
  }
}

/* Keep category names readable over every page and product image. */
.site-header .shop-dropdown {
  background: #124e52;
  color: #fff;
  opacity: 1;
  border: 1px solid #e6d5c5;
  box-shadow: 0 12px 32px #102f3b66;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header .shop-dropdown a {
  color: #fff;
  background: #124e52;
  font: 600 1.1rem/1.4 system-ui, sans-serif;
  text-shadow: none;
  text-align: left;
  justify-content: flex-start;
}
.site-header .shop-dropdown a:first-child { border-bottom-color: #ffffff55; }
.site-header .shop-dropdown a:hover,
.site-header .shop-dropdown a:focus-visible {
  background: #f6eee6;
  color: #17353a;
}
.site-header .shop-dropdown a:focus-visible { outline: 2px solid #17353a; outline-offset: -3px; }
@media (max-width: 900px) {
  .site-header, .boutique-home .site-header { position: relative; z-index: 100; }
}

/* A compact bundle offer keeps collections and products first. */
.bundle-compact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; width: fit-content; max-width: calc(100% - 2rem); margin: .5rem auto 1.25rem; padding: .5rem .85rem; border: 1px solid #ffffff66; border-radius: 14px; font: 400 1rem/1.4 system-ui, sans-serif; color: #fff; }
.bundle-compact strong { font-weight: 700; }
.bundle-compact details { font-size: .9rem; }
.bundle-compact summary { cursor: pointer; text-decoration: underline; }
.bundle-compact details[open] { flex-basis: 100%; text-align: center; }
.bundle-compact details p { max-width: 38rem; margin: .5rem auto; }
.product-cart-actions .bundle-add-button { display: inline-flex; width: auto; min-height: 32px; padding: .2rem .65rem; margin-left: .5rem; border-radius: 12px; font: 600 1rem/1.3 system-ui, sans-serif; }

.collection-tile .collection-caption h3 { font-size: clamp(1.65rem, 2.6vw, 2.1rem); line-height: 1.2; }
.boutique-home .collection-featured-row { display: contents; }
