/* ==========================================================================
   PANELLO E-COMMERCE TEMPLATES STYLESHEET (Cart, PDP, PLP, General Page)
   Pixel-perfect typography, spacings, and responsive layouts
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Global Resets & Utilities for Templates
   -------------------------------------------------------------------------- */
.panello-template-wrapper {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.panello-template-wrapper--narrow {
  max-width: 1040px;
}

.panello-breadcrumbs {
  padding: 16px 0 24px;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #777777;
  letter-spacing: 0.03em;
}

.panello-breadcrumbs a {
  color: #555555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.panello-breadcrumbs a:hover {
  color: #000000;
  text-decoration: underline;
}

.panello-breadcrumbs span.sep {
  margin: 0 8px;
  color: #bbb;
}

.panello-breadcrumbs span.current {
  color: #000000;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   1. PRODUCT DETAIL PAGE (PDP) TEMPLATE
   -------------------------------------------------------------------------- */
.panello-pdp {
  padding-bottom: 70px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}

/* Left: Gallery */
.pdp-gallery-sticky {
  position: sticky;
  top: 100px;
}

.pdp-main-image-wrap {
  position: relative;
  width: 100%;
  background: #fbf9f6;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.pdp-main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease, transform 0.4s ease;
}

.pdp-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #000000;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  text-transform: uppercase;
  z-index: 2;
}

.pdp-badge--sale {
  background: #c8402f;
}

.pdp-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.pdp-thumb-item {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border: 1px solid #e5e0d8;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  background: #fbf9f6;
  transition: border-color 0.2s, opacity 0.2s;
}

.pdp-thumb-item.active,
.pdp-thumb-item:hover {
  border-color: #000000;
}

.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right: Product Info */
.pdp-summary {
  display: flex;
  flex-direction: column;
}

.pdp-brand-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #888888;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pdp-title {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.25;
  color: #111111;
  margin: 0 0 12px;
}

.pdp-review-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pdp-stars {
  color: #111111;
  font-size: 14px;
  letter-spacing: 2px;
}

.pdp-review-count {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #555555;
  text-decoration: underline;
  cursor: pointer;
}

.pdp-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.pdp-current-price {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #000000;
}

.pdp-old-price {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  color: #888888;
  text-decoration: line-through;
}

.pdp-save-badge {
  background: #fbf2f0;
  color: #b93728;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
}

.pdp-financing {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #555555;
  background: #f7f5f2;
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.pdp-financing strong {
  color: #000000;
}

/* Variant options */
.pdp-option-group {
  margin-bottom: 22px;
}

.pdp-option-label {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 10px;
}

.pdp-option-label span {
  font-weight: 400;
  color: #666666;
}

.pdp-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pdp-swatch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #dcd6ce;
  background: #ffffff;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #333333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-swatch-btn:hover {
  border-color: #000000;
}

.pdp-swatch-btn.active {
  border-color: #000000;
  background: #faf8f5;
  font-weight: 700;
  box-shadow: 0 0 0 1px #000000;
}

.pdp-swatch-color {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  display: inline-block;
}

/* Action row */
.pdp-actions-row {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.pdp-qty-wrap {
  display: inline-flex !important;
  align-items: center !important;
  border: 1.5px solid #0f172a !important;
  border-radius: 4px !important;
  height: 52px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.pdp-qty-btn {
  width: 46px !important;
  height: 100% !important;
  border: none !important;
  background: #f8fafc !important;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0f172a !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  outline: none !important;
}

.pdp-qty-btn:hover {
  background: #f1f5f9 !important;
  color: #b38244 !important;
}

.pdp-qty-input {
  width: 56px !important;
  height: 100% !important;
  border: none !important;
  border-left: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 50px !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.pdp-add-btn {
  flex: 1;
  height: 48px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.pdp-add-btn:hover {
  background: #3e2328;
  border-color: #3e2328;
}

.pdp-added-message {
  display: none;
  background: #edf7ed;
  color: #1e4620;
  padding: 10px 14px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  border-radius: 4px;
  margin-bottom: 16px;
  animation: fadeIn 0.3s;
}

/* Trust / perks */
.pdp-perks-list {
  list-style: none;
  padding: 18px 0;
  margin: 0 0 20px;
  border-top: 1px solid #eee8df;
  border-bottom: 1px solid #eee8df;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp-perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #333333;
}

.pdp-perk-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Accordions */
.pdp-accordion-group {
  margin-top: 10px;
}

.pdp-acc-item {
  border-bottom: 1px solid #eee8df;
}

.pdp-acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  user-select: none;
}

.pdp-acc-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.pdp-acc-item.open .pdp-acc-icon {
  transform: rotate(45deg);
}

.pdp-acc-content {
  display: none;
  padding: 0 0 18px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}

.pdp-acc-item.open .pdp-acc-content {
  display: block;
}

.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.pdp-specs-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f0ede8;
  font-size: 13px;
}

.pdp-specs-table td:first-child {
  font-weight: 700;
  color: #222;
  width: 40%;
}

/* --------------------------------------------------------------------------
   2. CATEGORY / COLLECTION PAGE (PLP) TEMPLATE
   -------------------------------------------------------------------------- */
.panello-plp {
  padding-bottom: 80px;
}

.plp-header-banner {
  text-align: center;
  padding: 24px 20px 28px;
  background: #fbf9f6;
  margin-bottom: 24px;
  border-radius: 0px;
  border: 1px solid #ede8df;
}

.plp-header-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.plp-mobile-collapse-btn {
  display: none;
}

.plp-title {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.2;
  color: #111111;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.plp-desc {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  color: #555555;
  max-width: 680px;
  margin: 0 auto 18px;
}

.plp-subcategories {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.plp-subcat-pill {
  padding: 8px 16px;
  border: 1px solid #d5cfc6;
  background: #ffffff;
  border-radius: 0px;
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #222222;
  text-decoration: none;
  transition: all 0.2s ease;
}

.plp-subcat-pill:hover,
.plp-subcat-pill.active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* Toolbar */
.plp-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #eee8df;
  border-bottom: 1px solid #eee8df;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}

.plp-filters-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.plp-filter-select {
  padding: 8px 14px;
  border: 1px solid #dcd6ce;
  background: #ffffff;
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 13px;
  color: #222222;
  border-radius: 0px;
  outline: none;
  cursor: pointer;
}

.plp-toolbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.plp-product-count {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 13px;
  color: #555555;
}

.plp-sort-select {
  padding: 8px 14px;
  border: 1px solid #dcd6ce;
  background: #ffffff;
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  border-radius: 0px;
  outline: none;
  cursor: pointer;
}

/* Product Grid */
.plp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}

.plp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.plp-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fbf9f6;
  overflow: hidden;
  border-radius: 3px;
}

.plp-card-media img.primary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.plp-card-media img.secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plp-card:hover .plp-card-media img.secondary {
  opacity: 1;
}

.plp-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #000000;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  text-transform: uppercase;
  z-index: 2;
}

.plp-card-badge--discount {
  background: #b93728;
}

.plp-card-content {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plp-card-swatches {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.plp-card-swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.15s;
}

.plp-card-swatch-dot:hover {
  transform: scale(1.15);
}

.plp-card-title {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #111111;
  margin: 0 0 6px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.plp-card:hover .plp-card-title {
  text-decoration: underline;
}

.plp-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.plp-card-price {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
}

.plp-card-old-price {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #888888;
  text-decoration: line-through;
}

.plp-load-more-wrap {
  text-align: center;
  margin-top: 48px;
}

.plp-load-more-btn {
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 12px 36px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.plp-load-more-btn:hover {
  background: #000000;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. CART / BASKET PAGE TEMPLATE
   -------------------------------------------------------------------------- */
.panello-cart-page {
  padding-bottom: 80px;
}

.cart-free-shipping-bar {
  background: #fbf9f6;
  border: 1px solid #eee8df;
  border-radius: 0px;
  padding: 16px 20px;
  margin-bottom: 30px;
  text-align: center;
}

.cart-free-shipping-text {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 14px;
  color: #222222;
  margin-bottom: 10px;
}

.cart-free-shipping-progress {
  width: 100%;
  max-width: 480px;
  height: 6px;
  background: #e6e0d6;
  border-radius: 0px;
  margin: 0 auto;
  overflow: hidden;
}

.cart-free-shipping-fill {
  width: 100%;
  height: 100%;
  background: #3e2328;
  border-radius: 0px;
  transition: width 0.3s ease;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* Cart items list */
.cart-items-table {
  width: 100%;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 3.5fr 1.2fr 1.5fr 1.2fr;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee8df;
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777777;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 3.5fr 1.2fr 1.5fr 1.2fr;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #eee8df;
}

.cart-item-product {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cart-item-image {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  background: #fbf9f6;
  border-radius: 0px;
  border: 1px solid #eee8df;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  margin-bottom: 4px;
}

.cart-item-title:hover {
  text-decoration: underline;
}

.cart-item-variant {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 12px;
  color: #666666;
  margin-bottom: 8px;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #888888;
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  align-self: flex-start;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: #b93728;
}

.cart-item-price,
.cart-item-total {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
}

.cart-item-qty {
  display: flex;
  align-items: center !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0px !important;
  width: 104px !important;
  height: 40px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.cart-qty-btn {
  width: 32px !important;
  height: 100% !important;
  border: none !important;
  background: #f8fafc !important;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0f172a !important;
  padding: 0 !important;
  transition: all 0.15s ease !important;
}

.cart-qty-btn:hover {
  background: #f1f5f9 !important;
  color: #b38244 !important;
}

.cart-qty-input {
  width: 40px !important;
  height: 100% !important;
  border: none !important;
  border-left: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-family: 'Lato-2', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 38px !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Cart footer notes & continue shopping */
.cart-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.cart-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  transition: color 0.2s;
}

.cart-continue-btn:hover {
  text-decoration: underline;
}

/* Order Summary Box */
.cart-summary-box {
  background: #fbf9f6;
  border: 1px solid #eee8df;
  border-radius: 0px;
  padding: 28px 24px;
  position: sticky;
  top: 100px;
}

.cart-summary-title {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #111111;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee8df;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #444444;
}

.cart-summary-row--total {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #eee8df;
}

.cart-checkout-btn {
  width: 100%;
  height: 50px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
}

.cart-checkout-btn:hover {
  background: #3e2328;
  border-color: #3e2328;
}

.cart-summary-trust {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #eee8df;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #666666;
}

.cart-summary-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Empty cart state */
.cart-empty-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.cart-empty-title {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 28px;
  margin-bottom: 14px;
}

.cart-empty-subtext {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   4. GENERAL PAGE / ABOUT US TEMPLATE
   -------------------------------------------------------------------------- */
.panello-editorial-page {
  padding-bottom: 90px;
}

.editorial-hero {
  background: #f5f0e9;
  padding: 70px 20px;
  text-align: center;
  margin-bottom: 60px;
  border-radius: 4px;
}

.editorial-hero-tag {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #888888;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.editorial-hero-heading {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 1.2;
  color: #111111;
  margin: 0 auto 16px;
  max-width: 820px;
}

.editorial-hero-lead {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #555555;
  max-width: 650px;
  margin: 0 auto;
}

/* 2-col story split */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.editorial-split--reverse {
  direction: rtl;
}

.editorial-split--reverse > * {
  direction: ltr;
}

.editorial-split-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: #fbf9f6;
}

.editorial-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.editorial-split-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editorial-split-title {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 30px;
  font-weight: 300;
  color: #111111;
  margin: 0;
  line-height: 1.25;
}

.editorial-split-p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
  margin: 0;
}

/* Brand pillars 4-cards */
.editorial-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.editorial-pillar-card {
  background: #fbf9f6;
  padding: 32px 24px;
  border-radius: 4px;
  text-align: center;
}

.editorial-pillar-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: inline-block;
}

.editorial-pillar-title {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 10px;
  color: #111111;
}

.editorial-pillar-desc {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

/* Stats milestone bar */
.editorial-stats-bar {
  background: #3e2328;
  color: #ffffff;
  padding: 48px 30px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-bottom: 80px;
}

.editorial-stat-num {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 6px;
}

.editorial-stat-label {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Quote banner */
.editorial-quote-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.editorial-quote-text {
  font-family: 'Lato-2', 'Lato', sans-serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.5;
  color: #222222;
  margin-bottom: 16px;
}

.editorial-quote-author {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777777;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE MEDIA QUERIES (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pdp-gallery-sticky {
    position: static;
  }
  .plp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary-box {
    position: static;
  }
  .editorial-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .editorial-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .editorial-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .plp-header-banner {
    text-align: left;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: #fbf9f6;
    border: 1px solid #e6e0d6;
    border-radius: 0px;
  }
  .plp-header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .plp-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
  }
  .plp-mobile-collapse-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: #ffffff;
    border: 1px solid #d5cfc6;
    border-radius: 0px;
    font-family: 'Lato-2', 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #111111;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .plp-mobile-collapse-btn .toggle-icon {
    transition: transform 0.25s ease;
  }
  .plp-header-banner.is-open .plp-mobile-collapse-btn {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
  }
  .plp-header-banner.is-open .plp-mobile-collapse-btn .toggle-icon {
    transform: rotate(180deg);
  }
  .plp-collapsible-body {
    display: none;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e6e0d6;
  }
  .plp-header-banner.is-open .plp-collapsible-body {
    display: block;
  }
  .plp-desc {
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 12px 0;
    text-align: left;
  }
  .plp-subcategories {
    justify-content: flex-start;
    gap: 6px;
  }
  .plp-subcat-pill {
    padding: 6px 11px;
    font-size: 11.5px;
    border-radius: 0px;
  }
  .plp-toolbar {
    padding: 10px 0;
    margin-bottom: 18px;
    gap: 10px;
  }
  .plp-filters-bar,
  .plp-toolbar-right {
    width: 100%;
    justify-content: space-between;
  }
  .plp-filter-select,
  .plp-sort-select {
    flex: 1;
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .plp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  .plp-card-media {
    aspect-ratio: 4 / 3 !important;
    background: #F4EFEA !important;
    border-radius: 0px !important;
  }
  .plp-card-media img.primary,
  .plp-card-media img.secondary {
    object-fit: contain !important;
    background: #F4EFEA !important;
    padding: 4px;
    box-sizing: border-box;
  }
  .editorial-hero {
    padding: 40px 16px;
  }
  .editorial-hero-heading {
    font-size: 30px;
  }
  .pdp-title {
    font-size: 24px;
  }
  .pdp-actions-row {
    flex-direction: column;
  }
  .pdp-qty-wrap {
    width: 100%;
    justify-content: center;
  }
  .cart-table-header {
    display: none;
  }
  .cart-item-row {
    grid-template-columns: 1fr;
    gap: 14px;
    position: relative;
  }
  .cart-item-product {
    align-items: flex-start;
  }
  .cart-item-qty {
    margin-top: 6px;
  }
}

/* ==========================================================================
   SOLID HEADER OVERRIDES FOR NON-HOMEPAGE TEMPLATES
   Ensures inner pages have a pristine, solid white, non-overlapping header
   ========================================================================== */
#header-wrapper,
.solid-header,
body:not(.templateIndex) #transparent-header {
  position: relative !important;
  background: #ffffff !important;
  width: 100% !important;
  z-index: 100 !important;
}

#header-wrapper #new-header-section,
.solid-header #new-header-section,
body:not(.templateIndex) #new-header-section,
body:not(.templateIndex) #new-header-section.width-no,
.solid-header #new-header-section.width-no {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  background: #ffffff !important;
  border-bottom: 1px solid #ebe6df !important;
  z-index: 100 !important;
}

#header-wrapper .header-main-conatiner,
#header-wrapper .header-megamenu-container,
.solid-header .header-main-conatiner,
.solid-header .header-megamenu-container,
body:not(.templateIndex) .header-main-conatiner,
body:not(.templateIndex) .header-megamenu-container {
  background: #ffffff !important;
  position: relative !important;
}

#header-wrapper .header-megamenu-container .megamenu-wrapper ul.megemenu-list li.megamenu-item a,
.solid-header .header-megamenu-container .megamenu-wrapper ul.megemenu-list li.megamenu-item a,
body:not(.templateIndex) .header-megamenu-container .megamenu-wrapper ul.megemenu-list li.megamenu-item a {
  color: #111111 !important;
  font-weight: 500 !important;
  transition: color 0.2s ease;
}

#header-wrapper .header-megamenu-container .megamenu-wrapper ul.megemenu-list li.megamenu-item:hover > a,
.solid-header .header-megamenu-container .megamenu-wrapper ul.megemenu-list li.megamenu-item:hover > a {
  color: #8c7355 !important;
}

#header-wrapper .nt-logo,
.solid-header .nt-logo,
body:not(.templateIndex) .header-main-conatiner .nt-logo,
body:not(.templateIndex) .nt-logo {
  filter: none !important;
  display: block !important;
  opacity: 1 !important;
}

#header-wrapper .transparent-logo,
.solid-header .transparent-logo,
body:not(.templateIndex) .transparent-logo {
  display: none !important;
}

#header-wrapper svg path,
.solid-header svg path,
body:not(.templateIndex) .header-main-conatiner svg path {
  stroke: #111111 !important;
}

#header-wrapper .search-button svg path,
.solid-header .search-button svg path,
body:not(.templateIndex) .search-button svg path {
  stroke: #828282 !important;
}

#header-wrapper .cart-title,
.solid-header .cart-title,
body:not(.templateIndex) .header-main-conatiner .cart-title {
  color: #111111 !important;
}

#header-wrapper .right-options .phone p,
#header-wrapper .right-options .phone p a,
.solid-header .right-options .phone p,
.solid-header .right-options .phone p a,
body:not(.templateIndex) .right-options .phone p,
body:not(.templateIndex) .right-options .phone p a {
  color: #111111 !important;
}

#header-wrapper div .search-form,
.solid-header div .search-form,
body:not(.templateIndex) .header-main-conatiner div .search-form {
  background: #f4f2ee !important;
  border: 1px solid #ded8cf !important;
}

#header-wrapper div .search-form .search-input,
.solid-header div .search-form .search-input,
body:not(.templateIndex) .header-main-conatiner div .search-form .search-input {
  color: #111111 !important;
}

#header-wrapper div .search-form .search-input::placeholder,
.solid-header div .search-form .search-input::placeholder,
body:not(.templateIndex) .header-main-conatiner div .search-form .search-input::placeholder {
  color: #777777 !important;
}

/* Mobile Solid Header Overrides */
#header-wrapper .header-main-conatiner__mobile,
.solid-header .header-main-conatiner__mobile,
body:not(.templateIndex) .header-main-conatiner__mobile {
  background: #ffffff !important;
}

#header-wrapper .header-main-conatiner__mobile .nt-logo,
.solid-header .header-main-conatiner__mobile .nt-logo,
body:not(.templateIndex) .header-main-conatiner__mobile .nt-logo {
  filter: none !important;
  display: block !important;
  opacity: 1 !important;
}

#header-wrapper .header-main-conatiner__mobile svg path,
.solid-header .header-main-conatiner__mobile svg path,
body:not(.templateIndex) .header-main-conatiner__mobile svg path {
  stroke: #111111 !important;
}

#header-wrapper .header-main-conatiner__mobile div .search-form,
.solid-header .header-main-conatiner__mobile div .search-form,
body:not(.templateIndex) .header-main-conatiner__mobile div .search-form {
  background: #f4f2ee !important;
}
