/* ── SHOP — Oscar custom theme ── */
/* Design tokens: Sage var(--sage) | Gold var(--warm) | Text var(--text) | BG var(--bg) */

/* ── Page wrapper ── */
.shop-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8.5rem 5% 4rem;
}
.shop-page--sidebar { padding-top: 8.5rem; }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.shop-header { margin-bottom: 2rem; }
.shop-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
}
.shop-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--warm);
  margin-top: 0.6rem;
}

/* ── Breadcrumbs ── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0 0 1.5rem;
  margin: 0;
  font-size: 0.82rem;
}
.breadcrumb-item a {
  color: var(--sage);
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: var(--text);
  text-decoration: underline;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '→';
  color: var(--warm);
  margin: 0 0.4rem;
}
.breadcrumb-item.active { color: var(--muted); }

/* ── Alert messages ── */
#messages { margin-bottom: 1.5rem; }
.alert {
  padding: 0.9rem 1.2rem;
  border-radius: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid transparent;
  animation: slideDown 0.3s ease;
}
.alert-success {
  background: var(--sage-light);
  color: var(--text);
  border-color: rgba(var(--sage-rgb), 0.2);
}
.alert-info {
  background: var(--warm-light);
  color: var(--text);
  border-color: rgba(var(--warm-rgb), 0.2);
}
.alert-warning {
  background: #fff8e6;
  color: #7a5f1c;
  border-color: rgba(var(--warm-rgb), 0.3);
}
.alert-danger {
  background: #fce8e8;
  color: var(--error-text);
  border-color: rgba(220,53,69,0.2);
}
.alert .close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.5;
}
.alert .close:hover { opacity: 1; }
.alertinner { display: flex; align-items: center; gap: 0.6rem; flex: 1; }
.alertinner i { font-size: 1.1rem; }

/* ── Sidebar ── */
.shop-sidebar {
  background: var(--bg);
  border: 1px solid rgba(var(--sage-rgb), 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
}
.shop-sidebar h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--sage);
  margin-bottom: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(var(--sage-rgb), 0.12);
}
.side_categories ul { list-style: none; padding: 0; margin: 0; }
.side_categories li { margin: 0; }
.side_categories a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.5;
  display: block;
  padding: 0.5rem 0.6rem;
  border-radius: 0.4rem;
  transition: all 0.2s;
}
.side_categories a:hover {
  color: var(--sage);
  background: var(--sage-light);
  padding-left: 0.9rem;
}
.side_categories strong {
  color: var(--text);
  font-weight: 600;
}
.side_categories ul ul { padding-left: 0.6rem; }
.side_categories ul ul a {
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
}

/* ── Facets ── */
.facet { margin-bottom: 1rem; }
.facet h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.facet ul { list-style: none; padding: 0; margin: 0; }
.facet li { margin-bottom: 0.25rem; }
.facet a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.8rem;
  display: block;
  padding: 0.3rem 0.4rem;
  border-radius: 0.3rem;
  transition: all 0.2s;
}
.facet a:hover {
  color: var(--sage);
  background: var(--sage-light);
  padding-left: 0.6rem;
}

/* ── Empty categories ── */
.empty-categories {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

/* ── Product card ── */
.product-card {
  background: white;
  border: 1px solid rgba(var(--sage-rgb), 0.12);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(var(--sage-rgb), 0.1);
  border-color: rgba(var(--sage-rgb), 0.2);
}

.product-card .image_container {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--warm-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .image_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .image_container img { transform: scale(1.06); }

.product-card .product-info {
  padding: 1.2rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

#product_gallery {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: flex-start;
}

#product_gallery .gallery-thumbs-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

#product_gallery .gallery-thumbs::-webkit-scrollbar { display: none; }

#product_gallery .gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  max-height: 500px;
}

#product_gallery .gallery-thumbs__arrow--up,
#product_gallery .gallery-thumbs__arrow--down {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(var(--sage-rgb), 0.15);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.6rem;
  transition: all 0.2s;
  padding: 0;
  flex-shrink: 0;
}
#product_gallery .gallery-thumbs__arrow--up:hover,
#product_gallery .gallery-thumbs__arrow--down:hover { background: var(--sage); color: #fff; border-color: var(--sage); }
#product_gallery .gallery-thumbs__arrow--hidden { visibility: hidden; }

#product_gallery .gallery-thumbs__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(var(--sage-rgb), 0.15);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.7rem;
  transition: all 0.2s;
  padding: 0;
  flex-shrink: 0;
}
#product_gallery .gallery-thumbs__arrow:hover { background: var(--sage); color: #fff; border-color: var(--sage); }
#product_gallery .gallery-thumbs__arrow--hidden { visibility: hidden; }
#product_gallery .gallery-thumb {
  width: 64px;
  height: 64px;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s;
  padding: 0;
  background: none;
  flex-shrink: 0;
}
#product_gallery .gallery-thumb--active,
#product_gallery .gallery-thumb:hover {
  opacity: 1;
  border-color: var(--sage);
}
#product_gallery .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#product_gallery .gallery-thumb__video {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}
#product_gallery .gallery-thumb__video img {
  object-fit: cover;
  opacity: 0.7;
}
#product_gallery .gallery-thumb__play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  pointer-events: none;
}
#product_gallery .gallery-thumb__video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

#product_gallery .gallery-main {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(var(--sage-rgb), 0.08);
  position: relative;
}
#product_gallery .gallery-main__item {
  display: none;
}
#product_gallery .gallery-main__item--active {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}
#product_gallery .gallery-main__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}
#product_gallery .gallery-main__item--active:hover img {
  transform: scale(1.5);
}
#product_gallery .gallery-main__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
}
#product_gallery .gallery-main__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Product main info ── */
.product_main {
  display: flex;
  flex-direction: column;
}

.product_main__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin: 0.5rem 0 0.25rem;
}

.product_main__info {
  margin-top: 2rem;
  border: 1px solid rgba(var(--sage-rgb), 0.08);
  border-radius: 1rem;
  padding: 0 1.5rem;
}
.product_main__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: #1e2d2a;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.product_main__desc {
  margin-top: 1rem;
}
.product_main__desc p {
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 0;
}
.product_main .price_color {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--sage);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.product_main .price_color .was-price {
  font-size: 0.5rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}
.product_main .price_color .now-price {
  color: #c0392b;
  font-weight: 700;
}
.product_main .availability {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}
.product_main .review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}
.product_main .review-stars i {
  color: var(--warm);
  font-size: 0.85rem;
}
.product_main .review-stars__count {
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: 0.25rem;
}
.product_main__actions {
  margin-top: 2rem;
}
/* ── Add to cart form ── */
.add-to-cart {
  background: #f5f7f6;
  border: 1px solid rgba(var(--sage-rgb), 0.1);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}
.add-to-cart__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.add-to-cart__left { line-height: 0; }

.add-to-cart__qty-input {
  width: 56px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(var(--sage-rgb), 0.15);
  border-radius: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  background: white;
  outline: none;
  box-sizing: border-box;
}
.add-to-cart__qty-input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(var(--sage-rgb), 0.1);
}
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 48px;
  padding: 0 1.5rem;
  background: var(--sage);
  color: white;
  border: none;
  border-radius: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}
.btn-add-cart:hover { background: var(--mid); transform: translateY(-1px); }
.btn-add-cart:active { transform: translateY(0); }
.btn-add-cart svg { width: 18px; height: 18px; }
.add-to-cart__note {
  font-size: 0.82rem;
  color: var(--mid);
  margin-bottom: 0.75rem;
}

/* ── Wishlist ── */
.wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 48px;
  padding: 0 1rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(var(--sage-rgb), 0.2);
  border-radius: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.wishlist-btn:hover {
  color: #c0392b;
  border-color: rgba(192,57,43,0.3);
  background: rgba(192,57,43,0.04);
}
.wishlist-btn i { font-size: 0.85rem; }
.wishlist-btn--in {
  color: #c0392b;
  border-color: rgba(192,57,43,0.25);
  background: rgba(192,57,43,0.06);
}
.wishlist-btn--in:hover {
  background: rgba(192,57,43,0.1);
}

/* ── Product detail page ── */
.product_page {
  padding-bottom: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product_page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 0 5% 3rem;
  align-items: start;
}

.product_page__media {
  position: sticky;
  top: 140px;
}

/* ── Product page sections ── */
.product_page__sections {
  display: grid;
  gap: 2.5rem;
  margin: 0 5%;
}
.product-section {
  background: #fff;
  border: 1px solid rgba(var(--sage-rgb), 0.08);
  border-radius: 1rem;
  padding: 1.75rem 2rem;
}
.product-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.product-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1e2d2a;
}
.product-section__empty {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}
.product-section__empty a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Product info table ── */
.product-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.product-info-table th {
  text-align: left;
  padding: 0.7rem 1rem 0.7rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 30%;
  vertical-align: top;
  border-bottom: 1px solid rgba(var(--sage-rgb), 0.06);
}
.product-info-table td {
  padding: 0.7rem 0 0.7rem 1rem;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid rgba(var(--sage-rgb), 0.06);
}
.product-info-table tr:last-child th,
.product-info-table tr:last-child td {
  border-bottom: none;
}

/* ─── Reviews ─── */
.review-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.review-item {
  background: var(--bg);
  border: 1px solid rgba(var(--sage-rgb), 0.08);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.review-item__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.review-item__author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}
.review-item__date {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: auto;
}
.review-item__body {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0;
}
.review-item__stars { color: var(--warm); font-size: 0.85rem; }
.review-item .btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--sage);
  border: 1px solid rgba(var(--sage-rgb), 0.2);
  border-radius: 2rem;
  text-decoration: none;
  transition: all 0.2s;
}
.review-item .btn-ghost:hover {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
}

.review-item__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0.25rem 0 0.5rem;
}
.review-item--own {
  border-color: var(--warm);
  background: #fdfcfa;
}
.review-item--own .badge {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
}
.badge-pending { background: #e8c84a; color: var(--text); }
.review-item__actions {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(var(--sage-rgb), 0.08);
}
.star-rating {
  display: inline-flex;
  gap: 0.1rem;
  color: var(--warm);
  font-size: 0.85rem;
}
.star-rating i { font-size: 0.85rem; }
.product-section__actions {
  margin-top: 1rem;
}
.product-section__footer {
  margin-top: 1rem;
  text-align: center;
}
.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.78rem; }

/* ─── Recommended products ─── */
.product-section .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ─── Recently viewed ─── */
.recently-viewed {
  margin-top: 2.5rem;
}
.recently-viewed__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1e2d2a;
  margin-bottom: 1rem;
}
.recently-viewed__wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.recently-viewed__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
  flex: 1;
}
.recently-viewed__track::-webkit-scrollbar { display: none; }
.recently-viewed__card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(var(--sage-rgb), 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.recently-viewed__card:hover {
  border-color: rgba(var(--sage-rgb), 0.2);
  box-shadow: 0 2px 8px rgba(var(--sage-rgb), 0.06);
}
.recently-viewed__img {
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: var(--bg);
}
.recently-viewed__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recently-viewed__img-placeholder { width: 100%; height: 100%; background: var(--sage-light); }
.recently-viewed__name {
  font-size: 0.75rem;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recently-viewed__price {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage);
}
.recently-viewed__was {
  font-size: 0.7rem;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
  margin-right: 0.3rem;
}
.recently-viewed__arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(var(--sage-rgb), 0.15);
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
  z-index: 1;
}
.recently-viewed__arrow:hover {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

/* ── Variants ── */
.product_page h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 500; color: var(--text); margin-bottom: 0.5rem; }
.product_page h3 + a { display: inline-block; margin-bottom: 0.3rem; color: var(--sage); text-decoration: none; font-size: 0.9rem; }
.product_page h3 + a:hover { text-decoration: underline; }

/* ── Category description ── */
.category-description {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--sage-light);
  border-radius: 0.8rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  border-left: 3px solid var(--sage);
}

/* ── Pagination ── */
.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 2.5rem 0;
  font-size: 0.88rem;
}
.shop-pagination span {
  padding: 0.4rem 1rem;
  background: var(--sage-light);
  border-radius: 2rem;
  color: var(--text);
}
.shop-pagination span strong { color: var(--sage); }
.shop-pagination a {
  color: var(--sage);
  text-decoration: none;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(var(--sage-rgb), 0.25);
  border-radius: 2rem;
  transition: all 0.25s;
  font-size: 0.85rem;
  font-weight: 500;
}
.shop-pagination a:hover {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
}

/* ── Search / Sort toolbar ── */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--bg);
  border: 1px solid rgba(var(--sage-rgb), 0.1);
  border-radius: 0.8rem;
  font-size: 0.85rem;
  color: var(--mid);
}
.shop-toolbar strong { color: var(--sage); }
.shop-toolbar select {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(var(--sage-rgb), 0.15);
  border-radius: 0.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text);
  background: white;
  outline: none;
  cursor: pointer;
}

.product-edit-link {
  float: right;
  display: inline-block;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.product-edit-link:hover { color: var(--sage); }

.btn-disabled {
  display: inline-block;
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--sage-light);
  color: var(--muted);
  border-radius: 2rem;
  font-size: 0.8rem;
  text-align: center;
  cursor: not-allowed;
  font-family: 'DM Sans', sans-serif;
}

.nonefound {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
  font-size: 1rem;
}

/* ── Animations ── */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Checkout nav ── */
.checkout-nav { margin: 1rem 0 2rem; }
.checkout-nav__steps {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
}
.checkout-nav__step {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--warm-light);
  border-radius: 0.4rem;
  transition: all 0.25s;
  min-width: 0;
}
.checkout-nav__step + .checkout-nav__step { margin-left: 0.25rem; }
.checkout-nav__step--active {
  background: var(--sage);
  color: white;
}
.checkout-nav__step--done {
  background: var(--sage-light);
  color: var(--sage);
}
.checkout-nav__step--pending {
  background: var(--warm-light);
  color: #9aafaa;
}
.checkout-nav__link { color: inherit; text-decoration: none; display: block; }
.checkout-nav__link:hover { text-decoration: underline; }
.checkout-nav__label { display: block; }

/* ── Checkout layout ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}
.checkout-section--full { grid-column: 1 / -1; }
.checkout-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--warm);
  display: inline-block;
}
.checkout-section__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--mid);
  margin: 1.25rem 0 0.75rem;
}
.checkout-section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.checkout-card {
  background: var(--bg);
  border: 1px solid rgba(var(--sage-rgb), 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.checkout-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.checkout-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.checkout-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sage);
  margin: 0.75rem 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.checkout-card__change {
  font-size: 0.78rem;
  color: var(--sage);
  text-decoration: none;
}
.checkout-card__change:hover {
  text-decoration: underline;
}
.checkout-card__address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}
.checkout-card--notice { text-align: center; padding: 2rem; }
.checkout-card--notice p { margin-bottom: 1.25rem; color: var(--muted); }

.checkout-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0.75rem 0;
}
.checkout-address-card {
  background: var(--bg);
  border: 1px solid rgba(var(--sage-rgb), 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checkout-address-card address {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}
.checkout-address-card__select {
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--sage);
  color: white;
  border: none;
  border-radius: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
}
.checkout-address-card__select:hover { background: var(--mid); }
.checkout-address-card__controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  font-size: 0.75rem;
}
.checkout-address-card__edit,
.checkout-address-card__delete {
  color: var(--muted);
  text-decoration: none;
}
.checkout-address-card__edit:hover,
.checkout-address-card__delete:hover {
  color: var(--text);
  text-decoration: underline;
}

.checkout-address-form {
  background: var(--bg);
  border: 1px solid rgba(var(--sage-rgb), 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 640px;
  margin: 0 auto;
}
.checkout-address-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.checkout-address-form .shop-form-error { font-size: 0.75rem; color: var(--error); }
.checkout-address-form__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.checkout-btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: var(--sage);
  color: white;
  border: none;
  border-radius: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
}
.checkout-btn:hover { background: var(--mid); color: white; text-decoration: none; }
.checkout-btn--secondary {
  background: transparent;
  color: var(--sage);
  border: 1px solid rgba(var(--sage-rgb), 0.3);
}
.checkout-btn--secondary:hover {
  background: var(--sage-light);
  border-color: var(--sage);
  color: var(--text);
}
.checkout-btn--large { padding: 0.9rem 2.5rem; font-size: 0.95rem; }

.shipping-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.shipping-method-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid rgba(var(--sage-rgb), 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all 0.25s;
}
.shipping-method-card:hover {
  border-color: rgba(var(--sage-rgb), 0.25);
}
.shipping-method-card__info { flex: 1; }
.shipping-method-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.25rem;
}
.shipping-method-card__desc { font-size: 0.82rem; color: var(--muted); margin: 0; }
.shipping-method-card__discount { font-size: 0.78rem; color: var(--sage); margin: 0.25rem 0 0; }
.shipping-method-card__price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.checkout-gateway { max-width: 500px; margin: 2rem 0; }
.checkout-gateway__field { margin-bottom: 1.25rem; }
.checkout-gateway__field label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mid);
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.checkout-gateway__field input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(var(--sage-rgb), 0.15);
  border-radius: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  outline: none;
}
.checkout-gateway__field input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(var(--sage-rgb), 0.1);
}
.checkout-gateway__options { margin-bottom: 1.5rem; }
.checkout-gateway__option { margin-bottom: 0.75rem; }
.checkout-gateway__radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.checkout-gateway__radio input[type="radio"] { accent-color: var(--sage); width: auto; }
.checkout-gateway__radio-label { font-size: 0.9rem; color: var(--text); }
.checkout-gateway__password { margin-top: 0.5rem; margin-left: 1.5rem; }
.checkout-gateway__input {
  width: 100%;
  max-width: 300px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(var(--sage-rgb), 0.15);
  border-radius: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: white;
  outline: none;
}
.checkout-gateway__input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(var(--sage-rgb), 0.1);
}
.checkout-gateway__forgot {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--sage);
  text-decoration: none;
  margin-top: 0.3rem;
}
.checkout-gateway__forgot:hover { text-decoration: underline; }
.checkout-gateway__error { font-size: 0.75rem; color: var(--error); display: block; margin-top: 0.2rem; }
.checkout-gateway__submit {
  padding: 0.7rem 2rem;
  background: var(--sage);
  color: white;
  border: none;
  border-radius: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.checkout-gateway__submit:hover { background: var(--mid); }

.checkout-order-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(var(--sage-rgb), 0.1);
  margin-bottom: 1.5rem;
}
.checkout-order-table thead { background: var(--sage-light); }
.checkout-order-table th {
  padding: 0.65rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}
.checkout-order-table td {
  padding: 0.7rem 0.8rem;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid rgba(var(--sage-rgb), 0.06);
  background: white;
  vertical-align: middle;
}
.checkout-order-table tr:last-child td { border-bottom: none; }
.checkout-order-table tr:hover td { background: var(--bg); }
.checkout-order-table__thumb { width: 60px; }
.checkout-order-table__img {
  width: 50px; height: 50px; object-fit: cover;
  border-radius: 0.4rem; border: 1px solid rgba(var(--sage-rgb), 0.1);
}
.checkout-order-table__qty { text-align: center; width: 60px; }
.checkout-order-table__total { text-align: right; width: 100px; font-weight: 500; }
.checkout-order-table__product a { color: var(--text); text-decoration: none; font-weight: 500; }
.checkout-order-table__product a:hover { color: var(--sage); }
.checkout-order-table__availability { display: block; font-size: 0.72rem; margin-top: 0.15rem; color: var(--muted); }

.checkout-totals { max-width: 400px; margin-left: auto; }
.checkout-place-order { margin-top: 1.5rem; }
.checkout-place-order__actions { display: flex; justify-content: flex-end; }

.checkout-thankyou__hero {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
  background: var(--sage-light);
  border-radius: 1rem;
  border: 1px solid rgba(var(--sage-rgb), 0.15);
}
.checkout-thankyou__lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 0.5rem;
}
.checkout-thankyou__lead strong { color: var(--sage); }
.checkout-thankyou__note { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ── Cart table ── */
.cart-table-wrapper { overflow-x: auto; margin: 1.5rem 0; }
.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(var(--sage-rgb), 0.1);
}
.cart-table thead { background: var(--sage-light); }
.cart-table th {
  padding: 0.7rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}
.cart-table td {
  padding: 0.8rem;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid rgba(var(--sage-rgb), 0.06);
  background: white;
  vertical-align: middle;
}
.cart-table tr:last-child td { border-bottom: none; }
.cart-table tr:hover td { background: var(--bg); }
.cart-table__thumb { width: 80px; }
.cart-table__img {
  width: 70px; height: 70px; object-fit: cover;
  border-radius: 0.5rem; border: 1px solid rgba(var(--sage-rgb), 0.1);
}
.cart-table__product-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.15rem;
}
.cart-table__product-title a { color: var(--text); text-decoration: none; }
.cart-table__product-title a:hover { color: var(--sage); }
.cart-table__availability { font-size: 0.72rem; color: var(--muted); margin: 0; }
.cart-table__actions { font-size: 0.75rem; margin-top: 0.3rem; }
.cart-table__remove,
.cart-table__save { color: var(--muted); text-decoration: none; }
.cart-table__remove:hover { color: var(--error); text-decoration: underline; }
.cart-table__save:hover { color: var(--sage); text-decoration: underline; }
.cart-table__error { display: block; font-size: 0.72rem; color: var(--error); margin-top: 0.25rem; }
.cart-table__qty { width: 140px; }
.cart-table__qty-form { display: flex; gap: 0.4rem; align-items: center; }
.qty-input-group { display: flex; gap: 0.4rem; align-items: center; }
.qty-input {
  width: 60px; padding: 0.4rem 0.5rem;
  border: 1px solid rgba(var(--sage-rgb), 0.15); border-radius: 0.4rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  text-align: center; color: var(--text); outline: none;
}
.qty-input:focus {
  border-color: var(--sage); box-shadow: 0 0 0 3px rgba(var(--sage-rgb), 0.1);
}
.qty-update-btn {
  padding: 0.4rem 0.7rem; background: var(--sage); color: white;
  border: none; border-radius: 0.4rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 500; cursor: pointer;
  white-space: nowrap;
}
.qty-update-btn:hover { background: var(--mid); }
.qty-update-btn:disabled { opacity: 0.45; cursor: default; background: var(--sage); }
.cart-table__price { width: 90px; text-align: right; font-weight: 500; }
.cart-table__total { width: 90px; text-align: right; font-weight: 500; color: var(--sage); }

.cart-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
}
.cart-footer__voucher { max-width: 100%; }
.cart-footer__totals { max-width: 100%; }

.voucher-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.voucher-toggle { color: var(--sage); text-decoration: none; font-size: 0.88rem; }
.voucher-toggle:hover { text-decoration: underline; }
.voucher-form {
  background: var(--bg); border: 1px solid rgba(var(--sage-rgb), 0.1);
  border-radius: 0.75rem; padding: 1.25rem; margin-top: 0.75rem;
}
.voucher-form label {
  display: block; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--mid); margin-bottom: 0.2rem; font-weight: 500;
}
.voucher-form input {
  width: 100%; padding: 0.5rem 0.7rem;
  border: 1px solid rgba(var(--sage-rgb), 0.15); border-radius: 0.4rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: var(--text); outline: none;
}
.voucher-form input:focus {
  border-color: var(--sage); box-shadow: 0 0 0 3px rgba(var(--sage-rgb), 0.1);
}
.voucher-form__submit {
  padding: 0.5rem 1rem; background: var(--sage); color: white;
  border: none; border-radius: 2rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; font-weight: 500; cursor: pointer; margin-top: 0.5rem;
}
.voucher-form__submit:hover { background: var(--mid); }
.voucher-form__cancel {
  display: inline-block; font-size: 0.78rem; color: var(--muted);
  text-decoration: none; margin-left: 0.5rem;
}
.voucher-form__cancel:hover { color: var(--text); text-decoration: underline; }

/* ── Totals box ── */
.totals-box {
  background: #fff;
  border: 1px solid rgba(var(--sage-rgb), 0.12);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.totals-box__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--sage);
}
.totals-box__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin: 0.6rem 0 0.4rem;
}
.totals-box__hint { font-size: 0.72rem; color: var(--muted); margin: 0 0 0.5rem; }
.totals-box__tax-note { font-size: 0.72rem; color: var(--muted); margin: 0.5rem 0 0; font-style: italic; }
.totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--text);
}
.totals-row__label { color: var(--mid); }
.totals-row__value { font-weight: 500; color: var(--text); }
.totals-row--discount .totals-row__label { color: var(--muted); }
.totals-row--discount .totals-row__value { color: var(--warm); }
.totals-row--final {
  font-weight: 600;
  font-size: 0.9rem;
  padding-top: 0.4rem;
  margin-top: 0.2rem;
  border-top: 1px solid rgba(var(--sage-rgb), 0.08);
}
.totals-row--order-total {
  padding: 0.75rem 0 0;
  margin-top: 0.2rem;
  border-top: 2px solid rgba(var(--sage-rgb), 0.15);
}
.totals-row--order-total .totals-row__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.totals-row__value--large {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sage);
}
.totals-row__remove-form { display: inline; margin-left: 0.5rem; }
.totals-row__remove-btn {
  background: none; border: none; color: rgba(220,53,69,0.6);
  cursor: pointer; font-size: 0.7rem; padding: 0; text-decoration: underline;
}
.totals-row__remove-btn:hover { color: var(--error); }
.totals-divider { height: 1px; background: rgba(var(--sage-rgb), 0.08); margin: 0.4rem 0; }

.cart-actions { display: flex; justify-content: flex-end; margin: 1.5rem 0; }
.cart-checkout-btn {
  display: inline-block; padding: 0.85rem 2.5rem; background: var(--sage);
  color: white; border: none; border-radius: 2rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 500; cursor: pointer; letter-spacing: 0.04em; text-decoration: none;
}
.cart-checkout-btn:hover { background: var(--mid); color: white; text-decoration: none; }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty__link {
  display: inline-block; margin-top: 1rem; padding: 0.7rem 1.8rem;
  background: var(--sage); color: white; border-radius: 2rem; text-decoration: none;
}
.cart-empty__link:hover { background: var(--mid); color: white; }

.cart-saved {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--sage-rgb), 0.12);
}
.cart-saved__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400; color: var(--text);
  margin-bottom: 1rem; position: relative; padding-bottom: 0.4rem;
}
.cart-saved__title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 40px; height: 2px; background: var(--warm);
}
.cart-table__move-btn {
  display: inline-block; padding: 0.4rem 0.8rem; background: var(--sage);
  color: white; border-radius: 0.4rem; font-size: 0.72rem; text-decoration: none;
}
.cart-table__move-btn:hover { background: var(--mid); color: white; }
.cart-table__actions-col { width: 140px; text-align: center; }
.cart-table__actions-col-group { display: flex; gap: 0.5rem; align-items: center; justify-content: center; }

.cart-remove-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(220,53,69,0.08); color: #dc3545;
  border-radius: 0.4rem; text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}
.cart-remove-btn:hover { background: #dc3545; color: white; }

.upsell-box {
  background: var(--warm-light); border: 1px solid rgba(var(--warm-rgb), 0.25);
  border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.upsell-box h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1rem;
  font-weight: 400; color: var(--text); margin: 0 0 0.25rem;
}
.upsell-box .warning { font-size: 0.85rem; color: #7a5f1c; }
.upsell-box .warning a { color: var(--sage); }
.cart-warnings { margin-bottom: 1.5rem; }

/* ── Shop form elements ── */
.shop-form-group { margin-bottom: 1rem; }
.shop-form-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mid);
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.shop-form-label--required::after {
  content: ' *';
  color: var(--error);
}
.shop-form-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(var(--sage-rgb), 0.15);
  border-radius: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.shop-form-input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(var(--sage-rgb), 0.1);
}
.shop-form-input--error { border-color: var(--error); }
select.shop-form-input { cursor: pointer; }
textarea.shop-form-input { min-height: 100px; resize: vertical; }
.shop-form-error {
  display: block;
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 0.2rem;
}
.shop-form-help {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.shop-form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text);
}
.shop-form-checkbox__input { accent-color: var(--sage); width: auto; }

/* ── Shop button ── */
.shop-btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: var(--sage);
  color: white;
  border: none;
  border-radius: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  transition: background 0.25s;
}
.shop-btn:hover { background: var(--mid); color: white; text-decoration: none; }
.shop-btn--secondary {
  background: transparent;
  color: var(--sage);
  border: 1px solid rgba(var(--sage-rgb), 0.3);
}
.shop-btn--secondary:hover {
  background: var(--sage-light);
  color: var(--text);
  border-color: var(--sage);
}

/* ── Customer account nav ── */
.account-nav { list-style: none; padding: 0; margin: 0; }
.account-nav__link {
  display: block;
  padding: 0.5rem 0.6rem;
  color: var(--mid);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 0.4rem;
  transition: all 0.2s;
}
.account-nav__link:hover {
  color: var(--sage);
  background: var(--sage-light);
  padding-left: 0.9rem;
}

/* ── Customer forms ── */
.customer-form { max-width: 500px; }
.customer-form__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.customer-form__forgot { font-size: 0.85rem; }
.customer-form__forgot a { color: var(--sage); text-decoration: none; }
.customer-form__forgot a:hover { text-decoration: underline; }

.customer-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
}
.customer-form-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--warm);
  display: inline-block;
}

/* ── Mini cart ── */
.mini-cart {
  min-width: 280px;
  font-size: 0.85rem;
}
.mini-cart__items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mini-cart__item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(var(--sage-rgb), 0.08);
}
.mini-cart__item:last-child { border-bottom: none; }
.mini-cart__thumb { flex-shrink: 0; }
.mini-cart__img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 0.4rem;
  border: 1px solid rgba(var(--sage-rgb), 0.1);
}
.mini-cart__info {
  flex: 1;
  min-width: 0;
}
.mini-cart__name {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-cart__name:hover { color: var(--sage); }
.mini-cart__qty { font-size: 0.72rem; color: var(--muted); }
.mini-cart__price {
  font-weight: 500;
  color: var(--sage);
  white-space: nowrap;
}
.mini-cart__footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(var(--sage-rgb), 0.1);
  margin-top: 0.5rem;
}
.mini-cart__total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.mini-cart__total-value { font-weight: 600; color: var(--sage); }
.mini-cart__actions {
  display: flex;
  gap: 0.5rem;
}
.mini-cart__btn {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0.8rem;
  background: white;
  color: var(--sage);
  border: 1px solid rgba(var(--sage-rgb), 0.3);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.mini-cart__btn:hover { background: var(--sage-light); color: var(--text); }
.mini-cart__btn--primary {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
}
.mini-cart__btn--primary:hover { background: var(--mid); color: white; }
.mini-cart__empty {
  text-align: center;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Search params toolbar ── */
.search-params { margin-bottom: 1.5rem; }
.search-params .shop-form-group { margin-bottom: 0; }

/* ── Sidebar toggle (mobile) ── */
.shop-sidebar-toggle {
  display: none;
}
.shop-sidebar-backdrop,
.shop-sidebar-content__header,
.shop-sidebar-content__close {
  display: none;
}

/* ── TOP NAVBAR ── */
.top-navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  padding: 0.2rem 5%;
  background: var(--dark);
  max-height: 32px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}
.top-navbar--hidden {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}
.top-navbar a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.top-navbar a:hover {
  color: rgba(255,255,255,0.85);
}

/* ── TICKER BAR ── */
.ticker-bar {
  width: 100%;
  overflow: hidden;
  background: var(--sage-light);
  border-bottom: 1px solid rgba(var(--sage-rgb), 0.15);
  height: 32px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  animation: tickerScroll 20s linear infinite;
}
.ticker-item {
  font-size: 0.78rem;
  color: var(--sage);
  letter-spacing: 0.03em;
  flex-shrink: 0;
  margin-right: 4rem;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ── Nav container fix (escapes nav-custom stacking context) ── */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90000;
}

/* nav-custom is now a child of nav-container — don't re-fix it */
.nav-custom {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: auto !important;
}

/* Desktop: nav-links overlaid on nav bar right side */
@media (min-width: 861px) {
  .nav-custom,
  .nav-custom--scrolled {
    padding-right: calc(5% + 440px);
  }
  .nav-links {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    background: none;
    z-index: 1;
  }
}

/* ── Mobile nav hamburger & dropdown fix ── */
@media (max-width: 860px) {
  .nav-toggle__bar {
    background: #fff !important;
    height: 2.5px;
  }

  .nav-links {
    display: none;
    position: fixed !important;
    top: 110px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: rgba(26, 35, 32, 0.97);
    z-index: 100;
    padding: 0.75rem 0;
    margin: 0;
    overflow-y: auto;
  }
  .nav-links--open {
    display: flex !important;
  }
  .nav-links li {
    margin: 0 !important;
    list-style: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .nav-links > li {
    display: block !important;
    width: 100%;
  }
  .nav-links > li > a,
  .nav-links > li > .nav-cart-link,
  .nav-links > li > .nav-user-link,
  .nav-links > li > .nav-user-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1rem 5% !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    background: none !important;
    width: 100% !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.4 !important;
  }
  .nav-links > li > a:hover,
  .nav-links > li > .nav-cart-link:hover,
  .nav-links > li > .nav-user-link:hover,
  .nav-links > li > .nav-user-btn:hover {
    background: rgba(255,255,255,0.06) !important;
  }
  .nav-links > li:last-child > a,
  .nav-links > li:last-child > .nav-cart-link,
  .nav-links > li:last-child > .nav-user-link,
  .nav-links > li:last-child > .nav-user-btn {
    border-bottom: none !important;
  }

  .nav-links .nav-cart,
  .nav-links .nav-user {
    position: static;
  }
  .nav-links .nav-cart-badge {
    position: static;
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    font-size: 0.75rem;
    line-height: 22px;
  }
  .nav-links .nav-cart-link svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .nav-links .nav-user-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }
  .nav-links .nav-user-chevron {
    display: none;
  }
  .nav-links .nav-user-icon svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  .nav-links .nav-user-dropdown {
    position: static;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: rgba(255,255,255,0.04);
    display: none;
    padding: 0;
  }
  .nav-links .nav-user-dropdown a {
    padding: 0.85rem 5% 0.85rem calc(5% + 2.75rem) !important;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links .nav-user-dropdown a:hover {
    background: rgba(255,255,255,0.06);
  }
  .nav-links .nav-user-btn[aria-expanded="true"] + .nav-user-dropdown {
    display: block;
  }

  .nav-links .nav-cta {
    background: transparent !important;
    border: none;
    border-radius: 0;
    padding: 1rem 5% !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    text-transform: none;
    letter-spacing: 0.04em;
    font-weight: 400;
    animation: none;
    overflow: visible;
  }
  .nav-links .nav-cta:after {
    display: none;
  }
  .nav-links .nav-cta:hover {
    background: rgba(255,255,255,0.06) !important;
    transform: none;
  }
}

@media (max-width: 768px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: static;
    padding: 0;
    border: none;
    background: none;
  }

  .breadcrumb {
    padding-top: 52px;
  }

  .shop-sidebar-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--sage);
    border: none;
    border-radius: 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    position: fixed;
    top: 6rem;
    left: 5%;
    right: 5%;
    z-index: 50;
    margin-bottom: 0;
    width: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .shop-sidebar-toggle:hover {
    background: var(--sage-light);
  }
  .shop-sidebar-toggle__arrow {
    margin-left: auto;
    transition: transform 0.25s ease;
    font-size: 0.7rem;
    color: var(--mid);
  }
  .shop-sidebar.is-open .shop-sidebar-toggle__arrow {
    transform: rotate(180deg);
  }

  .shop-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 199;
  }
  .shop-sidebar.is-open .shop-sidebar-backdrop {
    display: block;
  }

  .shop-sidebar-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    z-index: 200;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  }
  .shop-sidebar.is-open .shop-sidebar-content {
    transform: translateX(0);
  }

  .shop-sidebar-content__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(var(--sage-rgb), 0.1);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }
  .shop-sidebar-content__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
  }
  .shop-sidebar-content__close:hover {
    background: var(--sage-light);
    color: var(--text);
  }

  .shop-sidebar-content .side_categories {
    padding: 0.5rem 0;
  }
  .shop-sidebar-content .side_categories h4 {
    padding: 0.75rem 1.25rem 0.5rem;
    margin-bottom: 0;
  }
  .shop-sidebar-content .side_categories ul {
    padding: 0 0.5rem;
  }
  .shop-sidebar-content .side_categories a {
    padding: 0.6rem 0.75rem;
    font-size: 0.88rem;
  }

  .product_page__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product_page__media { position: static; }
  #product_gallery { flex-direction: column; }
  #product_gallery .gallery-thumbs-col { flex-direction: row; }
  #product_gallery .gallery-thumbs { flex-direction: row; overflow-x: auto; max-height: none; }
  #product_gallery .gallery-thumbs__arrow--up,
  #product_gallery .gallery-thumbs__arrow--down { display: none; }
  .product_page .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .checkout-nav__steps { gap: 0.15rem; }
  .checkout-nav__step { font-size: 0.65rem; padding: 0.4rem 0.3rem; }
  .checkout-layout { display: flex; flex-direction: column; gap: 1.5rem; }
  .checkout-address-grid { grid-template-columns: 1fr; }
  .checkout-address-form__row { grid-template-columns: 1fr; }
  .customer-form-grid { grid-template-columns: 1fr; }
  .checkout-place-order__actions { justify-content: center; }
  .checkout-btn--large { width: 100%; text-align: center; }
  .cart-table__qty { width: 110px; }
  .qty-input { width: 50px; }
  .cart-table__thumb { width: 60px; }
  .cart-table__img { width: 50px; height: 50px; }
  .cart-table td { padding: 0.5rem; font-size: 0.82rem; }
  .cart-table th { padding: 0.5rem; font-size: 0.65rem; }
  .cart-table__product-title { font-size: 0.85rem; }
  .cart-checkout-btn { width: 100%; text-align: center; }
  .cart-actions { justify-content: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .product_page__grid { grid-template-columns: 1fr; gap: 1rem; }
  #product_gallery { flex-direction: column; }
  #product_gallery .gallery-thumbs-col { flex-direction: row; }
  #product_gallery .gallery-thumbs { flex-direction: row; overflow-x: auto; max-height: none; }
  #product_gallery .gallery-thumbs__arrow--up,
  #product_gallery .gallery-thumbs__arrow--down { display: none; }
  .product_page .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .product-card .product-info { padding: 0.75rem; }
  .product-card h3 { font-size: 0.9rem; }
  .product-card .price_color { font-size: 0.85rem; }
}

@media (max-width: 540px) {
  .cart-table th:nth-child(4),
  .cart-table td:nth-child(4) { display: none; }
  .cart-table__qty-form { flex-direction: column; gap: 0.3rem; }
  .qty-input-group { flex-direction: column; gap: 0.3rem; }
  .qty-update-btn { width: 100%; }
  .cart-table__total { width: auto; }
}

/* ── Cart mobile refinements ── */
@media (max-width: 768px) {
  .cart-footer {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .cart-footer__voucher {
    order: 1;
  }
  .cart-footer__totals {
    order: 2;
  }

  .cart-saved .cart-table__thumb {
    width: 50px;
  }
  .cart-saved .cart-table__img {
    width: 40px;
    height: 40px;
  }
  .cart-saved .cart-table td {
    padding: 0.4rem 0.5rem;
    font-size: 0.78rem;
  }
  .cart-saved .cart-table__product-title {
    font-size: 0.8rem;
  }
  .cart-saved .cart-table__actions-col {
    width: auto;
  }
  .cart-saved .cart-table__actions-col-group {
    flex-direction: column;
    gap: 0.3rem;
  }
  .cart-saved .cart-table__move-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
    text-align: center;
  }
  .cart-saved .cart-remove-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .cart-table th,
  .cart-table td {
    padding: 0.35rem 0.4rem;
    font-size: 0.72rem;
  }
  .cart-table__thumb {
    width: 44px;
  }
  .cart-table__img {
    width: 36px;
    height: 36px;
  }
  .cart-table__product-title {
    font-size: 0.78rem;
  }
  .cart-table__availability {
    font-size: 0.62rem;
  }
  .cart-table__qty {
    width: 80px;
  }
  .qty-input {
    width: 40px;
    font-size: 0.78rem;
    padding: 0.25rem;
  }
  .qty-update-btn {
    font-size: 0.62rem;
    padding: 0.25rem 0.4rem;
  }
  .cart-remove-btn {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
  .cart-table__total {
    font-size: 0.78rem;
  }

  .cart-saved .cart-table__product-title {
    font-size: 0.72rem;
  }
  .cart-saved .cart-table td {
    padding: 0.3rem 0.35rem;
    font-size: 0.72rem;
  }

  .voucher-form {
    padding: 0.8rem;
  }
  .voucher-form__submit {
    width: 100%;
  }
  .voucher-form__cancel {
    display: block;
    text-align: center;
    margin: 0.5rem 0 0;
  }
  .totals-box {
    padding: 1rem;
  }
  .totals-row__value--large {
    font-size: 1.1rem;
  }
}

/* ── Checkout / preview mobile refinements ── */
@media (max-width: 768px) {
  .checkout-card {
    padding: 1rem;
  }
  .checkout-order-table__thumb {
    width: 44px;
  }
  .checkout-order-table__img {
    width: 36px;
    height: 36px;
  }
  .checkout-order-table th,
  .checkout-order-table td {
    padding: 0.5rem 0.4rem;
    font-size: 0.78rem;
  }
  .checkout-order-table__qty {
    width: auto;
  }
  .checkout-order-table__total {
    width: auto;
  }
  .checkout-totals {
    max-width: 100%;
  }
  .checkout-section--full {
    overflow-x: auto;
  }
  .checkout-order-table {
    min-width: 0;
  }
  .checkout-address-form {
    padding: 1.25rem;
  }
  .shipping-method-card {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .shipping-method-card__info {
    flex: 1 1 100%;
  }
  .shipping-method-card__price {
    white-space: normal;
  }
  .checkout-gateway {
    max-width: 100%;
    padding: 0 1rem;
  }
  .checkout-gateway .form-group {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .checkout-order-table th,
  .checkout-order-table td {
    padding: 0.35rem 0.3rem;
    font-size: 0.72rem;
  }
  .checkout-order-table__thumb {
    width: 36px;
  }
  .checkout-order-table__img {
    width: 28px;
    height: 28px;
  }
  .checkout-card {
    padding: 0.8rem;
  }
  .checkout-card__header {
    flex-direction: column;
    gap: 0.3rem;
  }
  .checkout-card__change {
    align-self: flex-start;
  }
  .checkout-address-form {
    padding: 1rem;
  }
  .checkout-btn--large {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
  .shipping-method-card {
    padding: 0.8rem;
  }
  .shipping-method-card__select {
    width: 100%;
  }
  .checkout-gateway .radio {
    padding: 0.5rem 0;
  }
  .checkout-gateway .radio input[type="radio"] {
    margin-right: 0.5rem;
  }
  .checkout-thankyou__hero {
    padding: 1.5rem;
  }
}

/* ── Hide Oscar's management form clutter ── */
#cart_formset input[type="hidden"],
.cart-table__qty-form input[type="hidden"] { display: none; }

/* ── Breadcrumb active state ── */
.breadcrumb-item.active { color: var(--muted); }

/* ── Tables ── */
.shop-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.shop-table th, .shop-table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--sage-light); }
.shop-table thead th { background: var(--sage-light); color: var(--text); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.shop-table tbody tr:hover { background: var(--warm-light); }
.shop-table--bordered { border: 1px solid var(--sage-light); }
.shop-table--bordered th, .shop-table--bordered td { border: 1px solid var(--sage-light); }
.shop-table caption { caption-side: top; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--sage); }

/* ── Buttons ── */
.btn { display: inline-block; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 0.85rem; padding: 0.55rem 1.2rem; border-radius: 6px; text-decoration: none; cursor: pointer; border: none; line-height: 1.4; transition: all 0.2s; }
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--mid); color: #fff; }
.btn-secondary { background: var(--sage-light); color: var(--sage); }
.btn-secondary:hover { background: #d0e0dc; color: #3a6b5f; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #a93226; }
.btn-lg { padding: 0.65rem 1.8rem; font-size: 0.95rem; }
.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.78rem; }
.btn + .btn { margin-left: 0.4rem; }

/* ── Badges ── */
.badge { display: inline-block; padding: 0.2rem 0.55rem; font-size: 0.75rem; font-weight: 600; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
.badge-success { background: var(--sage); color: #fff; }
.badge-info { background: #d1ecf1; color: #0c5460; }
.badge-warning { background: var(--warm); color: #fff; }
.badge-danger { background: #c0392b; color: #fff; }

/* ── Cards ── */
.card { background: #fff; border: 1px solid var(--sage-light); border-radius: 8px; padding: 1.25rem; margin-bottom: 1rem; }
.card-body { padding: 0; }
.bg-light { background: var(--bg); }

/* ── Address display ── */
address { font-style: normal; line-height: 1.7; color: #333; }

/* ── Form action groups ── */
.form-actions { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--sage-light); }

/* ── Review Form ── */
.review-form-page {
  max-width: 640px;
  margin: 0 auto;
}
.review-form-page__product {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: 0.75rem;
}
.review-form-page__product h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.review-form-page__product img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 0.5rem;
  background: white;
}
.star-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0;
}
.star-rating-input input { display: none; }
.star-rating-input .star-label {
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0 0.15rem;
  color: #ccc;
  transition: color 0.15s;
  position: relative;
}
.star-rating-input .star-label .fa-solid { display: none; }
.star-rating-input .star-label .fa-regular { display: inline; }
.star-rating-input input:checked ~ .star-label .fa-solid,
.star-rating-input .star-label:hover ~ .star-label .fa-solid,
.star-rating-input .star-label:hover .fa-solid { display: inline; }
.star-rating-input input:checked ~ .star-label .fa-regular,
.star-rating-input .star-label:hover ~ .star-label .fa-regular,
.star-rating-input .star-label:hover .fa-regular { display: none; }
.star-rating-input input:checked ~ .star-label,
.star-rating-input .star-label:hover,
.star-rating-input .star-label:hover ~ .star-label { color: var(--warm); }
.review-form {
  background: white;
  padding: 2rem;
  border: 1px solid var(--sage-light);
  border-radius: 0.75rem;
}
.review-form .form-group {
  margin-bottom: 1.25rem;
}
.review-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.review-form .form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #d0ddd9;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.2s;
}
.review-form .form-control:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 2px rgba(var(--sage-rgb), 0.15);
}
.review-form .invalid-feedback {
  color: #c0392b;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}
.review-form .alert-danger {
  background: #fdf0ef;
  border: 1px solid #c0392b;
  color: #c0392b;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.review-form .alert-danger p:last-child { margin-bottom: 0; }
.review-form .form-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.review-form .btn-primary,
.review-form-page .btn-primary {
  background: var(--sage);
  color: #fff;
  border: none;
  padding: 0.55rem 1.5rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.review-form .btn-primary:hover,
.review-form-page .btn-primary:hover {
  background: #3a6b5f;
}
.review-form .btn-ghost,
.review-form-page .btn-ghost {
  color: var(--sage);
  background: transparent;
  border: 1px solid rgba(var(--sage-rgb), 0.2);
  padding: 0.55rem 1.5rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.review-form .btn-ghost:hover,
.review-form-page .btn-ghost:hover {
  background: var(--sage);
  color: #fff;
}

/* ── Contact / Booking / Consultancy mobile ── */
@media (max-width: 768px) {
  section[style*="padding: 4rem 5%"] {
    padding: 2.5rem 1.5rem !important;
  }
  .booking-form h2[style*="font-size"],
  .booking-info h2[style*="font-size"] {
    font-size: 1.5rem !important;
  }
  .booking-form,
  .booking-info {
    width: 100% !important;
  }
}

@media (max-width: 540px) {
  ol.process-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 1.5rem"][style*="text-align: left"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .booking-form h2[style*="font-size"],
  .booking-info h2[style*="font-size"] {
    font-size: 1.35rem !important;
  }
  .page-hero__subtitle {
    font-size: 0.9rem;
  }
  section[style*="padding: 4rem 5%"] {
    padding: 2rem 1.25rem !important;
  }
  .contact-item {
    gap: 0.75rem;
  }
  .contact-item-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .booking .form-group {
    margin-bottom: 1rem;
  }
}

/* Force booking children full width on all mobile breakpoints,
   overriding align-items: start from source.css */
@media (max-width: 480px) {
  .booking {
    align-items: stretch !important;
  }
}
