/* =======================================================================
   HYDRELLA — PREMIUM LUXURY THEME, SITE-WIDE PAGES
   Extends hydrella-luxury-home.css (which already defines the --hy-*
   tokens and unscoped base component rules — buttons, .card,
   .product-card, .accordion-*, forms, tables, pagination, breadcrumbs —
   applied globally) to the remaining pages: product detail, category /
   shop-by-concern listing, cart, checkout, account, information/About Us,
   blog, error. No HTML/twig structure, copy, links, or functionality is
   altered by this file — visual overrides only, scoped per page via each
   page's own existing wrapper id/class.
   ======================================================================= */

/* =======================================================================
   LEGACY BLUE/PINK PALETTE NEUTRALIZATION (account pages)
   login.twig / register.twig / account.twig each carry an inline
   <style> block (after {{ header }}, i.e. later in DOM/cascade order
   than this file's <head> <link>) that redeclares :root --logo-blue /
   --logo-pink / --primary / --accent to the old blue/pink brand. That
   inline :root block cascade-wins over this file for the CSS variables
   themselves, so instead of fighting for --primary/--accent we target
   the actual rendered component selectors directly. Structural rules in
   hydrella-inline-shared.css (#column-left/#column-right/.sidebar-module
   layout) are left completely untouched — recolor only, never restructure.
   ======================================================================= */

#account-login, #account-register, #account-account, #account-order,
#account-login *, #account-register *, #account-account *, #account-order * {
  --primary: var(--hy-forest) !important;
  --accent: var(--hy-gold) !important;
  --logo-blue: var(--hy-forest) !important;
  --logo-pink: var(--hy-gold) !important;
}

/* =======================================================================
   PRODUCT DETAIL PAGE  (product/product.twig — scoped via
   .product-content-section, this page's actual root wrapper class)
   ======================================================================= */

.product-content-section {
  background: var(--hy-cream);
}

.product-content-section .content-wrapper {
  background: var(--hy-white) !important;
  border-radius: var(--hy-radius-lg) !important;
  box-shadow: var(--hy-shadow-mid) !important;
}

/* Gallery */
.product-content-section .product-gallery-shell {
  border-radius: var(--hy-radius-md);
  overflow: hidden;
  background: var(--hy-cream-deep);
}

.product-content-section .slideshow-btn {
  background: var(--hy-white);
  color: var(--hy-forest);
  border: 1px solid var(--hy-line);
  box-shadow: var(--hy-shadow-soft);
  transition: background 0.25s var(--hy-ease), color 0.25s var(--hy-ease), transform 0.25s var(--hy-ease);
}

.product-content-section .slideshow-btn:hover {
  background: var(--hy-forest);
  color: var(--hy-white);
  transform: translateY(-50%) scale(1.06);
}

.product-content-section .dot {
  background: var(--hy-line);
  transition: background 0.25s var(--hy-ease), transform 0.25s var(--hy-ease);
}

.product-content-section .dot.active {
  background: var(--hy-gold);
  transform: scale(1.2);
}

.product-content-section .thumbnail-img {
  border: 2px solid transparent;
  transition: border-color 0.25s var(--hy-ease), transform 0.25s var(--hy-ease);
}

.product-content-section .thumbnail-img.active,
.product-content-section .product-gallery-thumb-active {
  border-color: var(--hy-gold) !important;
}

.product-content-section .thumbnail-img:hover {
  transform: translateY(-2px);
}

/* Trust bar */
.product-content-section .foxtale-trust-bar {
  background: var(--hy-sage-light);
  border-radius: var(--hy-radius-md);
  padding: 18px 10px;
}

.product-content-section .trust-icon {
  color: var(--hy-forest);
}

.product-content-section .trust-label {
  color: var(--hy-ink-soft);
  font-weight: 600;
  font-size: 0.78rem;
}

/* "Why You Will Love It" / Skin Match cards */
.product-content-section .product-love-card {
  background: var(--hy-cream-deep) !important;
  border: 1px solid var(--hy-line);
}

.product-content-section .product-love-title {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

.product-content-section .product-love-copy,
.product-content-section .product-love-list {
  color: var(--hy-ink-soft);
}

.product-content-section .product-match-card {
  background: linear-gradient(135deg, var(--hy-forest) 0%, var(--hy-forest-dark) 100%) !important;
  border-radius: var(--hy-radius-md);
  color: var(--hy-cream);
}

.product-content-section .product-match-copy {
  color: var(--hy-gold-soft) !important;
}

.product-content-section .product-match-tag {
  background: rgba(255, 255, 255, 0.14);
  color: var(--hy-cream);
  font-size: 0.72rem;
  font-weight: 600;
}

.product-content-section .product-match-btn {
  background: var(--hy-gold) !important;
  color: var(--hy-forest-dark) !important;
  border: none;
  transition: background 0.25s var(--hy-ease), transform 0.25s var(--hy-ease);
}

.product-content-section .product-match-btn:hover {
  background: var(--hy-gold-light) !important;
  transform: translateY(-2px);
}

/* Product info column */
.product-content-section .foxtale-product-title {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
  font-weight: 600 !important;
}

.product-content-section .product-rating-star {
  color: var(--hy-gold);
}

.product-content-section .foxtale-pill {
  background: var(--hy-sage-light);
  color: var(--hy-forest);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-right: 6px;
  display: inline-block;
}

.product-content-section .product-detail-label {
  color: var(--hy-ink-soft) !important;
}

.product-content-section .price-main,
.product-content-section .price-special {
  color: var(--hy-forest) !important;
  font-family: var(--hy-font-display) !important;
}

.product-content-section .price-old {
  color: var(--hy-ink-soft) !important;
}

/* Coupon panel */
.product-content-section .product-coupon-apply-panel {
  background: var(--hy-sage-light) !important;
  border: 1px solid var(--hy-line) !important;
  border-radius: var(--hy-radius-md) !important;
}

/* Quantity + cart buttons */
.product-content-section .qty-control {
  border-color: var(--hy-line) !important;
}

.product-content-section .btn-qty {
  color: var(--hy-forest);
  font-weight: 700;
}

.product-content-section .btn-best-seller {
  background: var(--hy-forest-dark);
  color: var(--hy-gold-soft);
  border: 1px solid var(--hy-forest-dark);
  transition: background 0.25s var(--hy-ease), transform 0.25s var(--hy-ease);
}

.product-content-section .btn-best-seller:hover {
  background: var(--hy-forest);
  color: var(--hy-white);
  transform: translateY(-2px);
}

.product-content-section .product-reassurance-item {
  color: var(--hy-ink-soft) !important;
}

.product-content-section .product-reassurance-item i {
  color: var(--hy-forest) !important;
}

/* Direction of Use / FAQ guide cards */
.product-content-section .guide-faq-card {
  background: var(--hy-cream-deep);
  border-radius: var(--hy-radius-md);
  border: 1px solid var(--hy-line);
}

.product-content-section .product-guide-heading {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

.product-content-section .product-guide-copy {
  color: var(--hy-ink-soft) !important;
}

/* Frequently Bought Together */
.product-content-section .product-fbt-shell {
  background: var(--hy-sage-light);
  border: 1px solid var(--hy-line);
}

.product-content-section .product-fbt-title {
  color: var(--hy-forest);
  font-family: var(--hy-font-display);
  letter-spacing: 0.04em;
}

.product-content-section .fbt-item {
  border-radius: var(--hy-radius-sm) !important;
}

.product-content-section .product-fbt-price {
  color: var(--hy-forest);
}

.product-content-section .product-fbt-saving {
  color: var(--hy-gold);
}

.product-content-section .product-fbt-button {
  background: var(--hy-forest) !important;
  color: var(--hy-cream) !important;
  transition: background 0.25s var(--hy-ease), transform 0.25s var(--hy-ease);
}

.product-content-section .product-fbt-button:hover {
  background: var(--hy-forest-dark) !important;
  transform: translateY(-2px);
}

/* Co-founder note */
.founder-note-section .founder-note-banner {
  background: var(--hy-forest) !important;
  border-radius: var(--hy-radius-sm);
}

.founder-note-section .founder-note-title {
  font-family: var(--hy-font-display) !important;
}

.founder-note-section .founder-note-copy {
  color: var(--hy-ink-soft);
  line-height: 1.7;
}

/* Technical sections: keep in mind / ingredients */
.product-technical-shell .product-technical-title {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

.product-technical-shell .tip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hy-gold);
  flex-shrink: 0;
}

.product-technical-shell .care-notes-content,
.product-technical-shell .product-ingredient-copy {
  color: var(--hy-ink-soft);
  line-height: 1.7;
}

/* Editorial tabs "All About [Product]" */
.foxtale-editorial-main-title {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

.foxtale-tab-switcher .btn-ft-tab {
  background: var(--hy-white);
  color: var(--hy-ink-soft);
  border: 1px solid var(--hy-line);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 600;
  transition: background 0.25s var(--hy-ease), color 0.25s var(--hy-ease), border-color 0.25s var(--hy-ease);
}

.foxtale-tab-switcher .btn-ft-tab:hover {
  border-color: var(--hy-gold);
}

.foxtale-tab-switcher .btn-ft-tab.active {
  background: var(--hy-forest);
  color: var(--hy-cream);
  border-color: var(--hy-forest);
}

.ft-badge {
  display: inline-block;
  background: var(--hy-gold-soft);
  color: var(--hy-forest);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.product-dna-card {
  background: var(--hy-cream-deep);
  border-radius: var(--hy-radius-md);
  border: 1px solid var(--hy-line);
}

.dna-label {
  color: var(--hy-ink-soft);
  font-weight: 600;
  font-size: 0.82rem;
}

.dna-value {
  color: var(--hy-forest);
  font-weight: 600;
}

.dna-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--hy-line);
  padding-bottom: 8px;
}

.snapshot-block h4 {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

.snapshot-callout,
.snapshot-story {
  background: var(--hy-white);
  border-radius: var(--hy-radius-sm);
  padding: 14px 16px;
  border-left: 3px solid var(--hy-gold);
}

.snapshot-eyebrow {
  color: var(--hy-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.love-card {
  background: var(--hy-white);
  border: 1px solid var(--hy-line);
  box-shadow: var(--hy-shadow-soft);
  transition: transform 0.3s var(--hy-ease), box-shadow 0.3s var(--hy-ease);
}

.love-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hy-shadow-mid);
}

.love-card i.text-pink { color: var(--hy-gold) !important; }
.love-card i.text-blue { color: var(--hy-forest) !important; }
.love-card i.text-success { color: var(--hy-sage) !important; }

/* Video shorts */
.product-video-title {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

/* Complete your routine */
.foxtale-routine-visual {
  background: var(--hy-sage-light);
}

.product-routine-heading {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
  letter-spacing: 0.04em;
}

.routine-step-card {
  transition: transform 0.3s var(--hy-ease), box-shadow 0.3s var(--hy-ease);
}

.routine-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hy-shadow-mid) !important;
}

.product-circle-bg {
  background: var(--hy-sage-light);
}

.product-circle-bg-soft-pink {
  background: var(--hy-gold-soft);
}

.btn-plus-round {
  background: var(--hy-forest);
  color: var(--hy-cream);
  width: 34px;
  height: 34px;
  border: none;
  transition: background 0.25s var(--hy-ease), transform 0.25s var(--hy-ease);
}

.btn-plus-round:hover {
  background: var(--hy-forest-dark);
  transform: scale(1.08);
}

/* Product page's own #section-review — distinct from #common-home's.
   review_list.twig is a shared partial; only touch spacing/frame here,
   not the .review-* component internals already styled for home. */
.product-content-section #section-review {
  background: var(--hy-cream-deep);
  border-radius: var(--hy-radius-lg);
  padding: 32px 24px;
  border-top: none !important;
}

/* Clean modern FAQ styles loaded via hydrella-inline-shared.css */

/* =======================================================================
   CATEGORY / SHOP-BY-CONCERN LISTING  (product/category.twig, scoped via
   #product-category — note cms/blog.twig listing reuses this same id;
   rules here are generic enough (breadcrumb/grid/sidebar chrome) to be
   harmless there too, verified visually)
   ======================================================================= */

#product-category {
  background: var(--hy-cream);
}

#product-category .category-main-container {
  padding-top: 24px;
}

#product-category h1,
#product-category h2 {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

#product-category .category-description {
  color: var(--hy-ink-soft);
  line-height: 1.7;
}

/* Sidebar filters / refine-by panel */
#product-category #column-left .sidebar-module,
#product-category #column-left .list-group {
  background: var(--hy-white);
  border-radius: var(--hy-radius-md);
  border: 1px solid var(--hy-line);
}

#product-category #column-left .module-title,
#product-category #column-left .sidebar-module h3,
#product-category #column-left .sidebar-module h4 {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

#product-category .list-group-item {
  border-color: var(--hy-line) !important;
  color: var(--hy-ink);
  transition: background 0.2s var(--hy-ease), color 0.2s var(--hy-ease);
}

#product-category .list-group-item:hover,
#product-category .list-group-item.active {
  background: var(--hy-sage-light) !important;
  color: var(--hy-forest) !important;
}

/* Sort / limit toolbar */
#product-category .category-toolbar,
#product-category .product-list-toolbar {
  background: var(--hy-white);
  border-radius: var(--hy-radius-md);
  border: 1px solid var(--hy-line);
  padding: 12px 18px;
}

/* Category page FAQ accordion (#cf...) — shares the generic accordion
   classes already styled globally; just re-theme the section banner */
#product-category .grey_bgcol {
  background: var(--hy-forest) !important;
}

#product-category .grey_bgcol h2,
#product-category .grey_bgcol .category-section-title {
  color: var(--hy-cream) !important;
}

/* Category page's own review section (#category-review-section) */
#product-category #category-review-section,
.category-review-box {
  background: #F6F6F4;
  border-radius: var(--hy-radius-lg);
  padding: 32px 16px;
  position: relative;
  overflow: hidden;
  border: none !important;
}

#product-category #category-review-section .review-panel,
.category-review-box .review-panel {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: none;
  margin: 0;
}

#product-category #category-review-section .review-header-row,
.category-review-box .review-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 10px;
}

#product-category #category-review-section .review-header-title,
.category-review-box .review-header-title {
  font-family: var(--hy-font-display) !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: var(--hy-forest) !important;
  margin: 0;
}

#product-category #category-review-section .hy-review-viewport,
.category-review-box .hy-review-viewport {
  position: relative;
  padding: 0 48px;
  width: 100%;
}

#product-category #category-review-section .review-card-grid,
.category-review-box .review-card-grid {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 6px 0 16px !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#product-category #category-review-section .review-card-grid::-webkit-scrollbar,
.category-review-box .review-card-grid::-webkit-scrollbar { display: none; }

#product-category #category-review-section .review-card,
.category-review-box .review-card {
  flex: 0 0 auto !important;
  width: 270px !important;
  scroll-snap-align: start;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  background: var(--hy-white) !important;
  border: 1px solid var(--hy-line) !important;
  border-radius: var(--hy-radius-lg) !important;
  padding: 22px 18px 24px !important;
  box-shadow: var(--hy-shadow-soft) !important;
  transition: transform 0.35s var(--hy-ease), box-shadow 0.35s var(--hy-ease), border-color 0.35s var(--hy-ease);
}

#product-category #category-review-section .review-card:hover,
.category-review-box .review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hy-shadow-lift);
  border-color: var(--hy-gold-light);
}

#product-category #category-review-section .review-card-product-media,
.category-review-box .review-card-product-media {
  order: 1;
  width: 76px;
  height: 76px;
  border-radius: var(--hy-radius-md);
  background: var(--hy-sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}

#product-category #category-review-section .review-card-product-image,
.category-review-box .review-card-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

#product-category #category-review-section .ft-review-body,
.category-review-box .ft-review-body {
  order: 2;
  margin-bottom: 12px;
  height: 66px;
  overflow: hidden;
}

#product-category #category-review-section .review-card-text,
.category-review-box .review-card-text {
  font-family: var(--hy-font-body);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--hy-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#product-category #category-review-section .review-card-text::before,
.category-review-box .review-card-text::before {
  content: '\201C';
  margin-right: 1px;
}

#product-category #category-review-section .review-card-text::after,
.category-review-box .review-card-text::after {
  content: '\201D';
  margin-left: 1px;
}

#product-category #category-review-section .review-card-stars,
.category-review-box .review-card-stars {
  order: 3;
  color: var(--hy-gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

#product-category #category-review-section .review-card-head,
.category-review-box .review-card-head {
  order: 5;
  display: flex;
  align-items: center;
  gap: 6px;
}

#product-category #category-review-section .review-card-author,
.category-review-box .review-card-author {
  font-family: var(--hy-font-body);
  font-weight: 500;
  font-size: 0.76rem;
  color: var(--hy-ink-soft);
}

#product-category #category-review-section .review-verified-badge,
.category-review-box .review-verified-badge {
  background: var(--hy-sage-light);
  color: var(--hy-forest);
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 999px;
}

#product-category #category-review-section .review-card-footer,
.category-review-box .review-card-footer { display: none; }

#product-category #category-review-section .hy-review-arrow,
.category-review-box .hy-review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hy-line);
  background: var(--hy-white);
  color: var(--hy-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--hy-shadow-soft);
  transition: all 0.25s var(--hy-ease);
  z-index: 3;
}

#product-category #category-review-section .hy-review-arrow:hover,
.category-review-box .hy-review-arrow:hover {
  background: var(--hy-forest);
  color: var(--hy-cream);
  transform: translateY(-50%) scale(1.06);
}

#product-category #category-review-section .hy-review-arrow-prev,
.category-review-box .hy-review-arrow-prev { left: 0; }

#product-category #category-review-section .hy-review-arrow-next,
.category-review-box .hy-review-arrow-next { right: 0; }

#product-category #category-review-section .hy-review-pagination-native,
.category-review-box .hy-review-pagination-native { display: none !important; }

/* =======================================================================
   CART & CHECKOUT  (checkout/cart.twig → #checkout-cart,
   checkout/checkout.twig → #checkout-checkout)
   ======================================================================= */

#checkout-cart,
#checkout-checkout {
  background: var(--hy-cream);
}

#checkout-cart h1,
#checkout-checkout h1,
#checkout-checkout h2,
#checkout-checkout h3 {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

/* Cart line-item table */
#checkout-cart .table,
#checkout-cart table {
  background: var(--hy-white);
  border-radius: var(--hy-radius-md);
  overflow: hidden;
}

#checkout-cart .table img,
.cart-list-table img {
  border-radius: var(--hy-radius-sm);
}

/* Checkout step cards / accordion panels */
#checkout-checkout .card,
#checkout-checkout .checkout-step,
#checkout-checkout .panel {
  background: var(--hy-white);
  border-radius: var(--hy-radius-md) !important;
  border: 1px solid var(--hy-line) !important;
  box-shadow: var(--hy-shadow-soft) !important;
}

#checkout-checkout .card-header,
#checkout-checkout .panel-heading {
  background: var(--hy-sage-light) !important;
  color: var(--hy-forest) !important;
  font-weight: 600;
  border-bottom: 1px solid var(--hy-line) !important;
}

/* Order summary / totals panel */
#checkout-cart .cart-totals,
#checkout-checkout .order-summary,
#checkout-checkout .checkout-totals {
  background: var(--hy-sage-light);
  border-radius: var(--hy-radius-md);
  padding: 20px;
}

#checkout-cart .cart-totals .total,
#checkout-checkout .order-summary .total {
  color: var(--hy-forest);
  font-family: var(--hy-font-display);
  font-weight: 700;
}

/* =======================================================================
   ACCOUNT PAGES  (login/register/account dashboard/order list, scoped
   via #account-login / #account-register / #account-account /
   #account-order — legacy blue/pink neutralization already applied
   above via --primary/--accent overrides)
   ======================================================================= */

#account-login,
#account-register,
#account-account,
#account-order {
  background: var(--hy-cream);
}

#account-login h1, #account-login h2,
#account-register h1, #account-register h2,
#account-account h1, #account-account h2,
#account-order h1, #account-order h2 {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

/* Login/register cards (these pages build their own card chrome via
   the inline <style> block's .login-container/.form-card-style classes
   driven by --primary/--accent — already forest/gold via the override
   at the top of this file) */
#account-login .card,
#account-register .card,
#account-account .card {
  border-radius: var(--hy-radius-md) !important;
  box-shadow: var(--hy-shadow-soft) !important;
}

/* Account dashboard nav/tiles */
#account-account .list-group-item,
#account-account .account-nav .list-group-item {
  border-color: var(--hy-line) !important;
}

#account-account .list-group-item:hover {
  background: var(--hy-sage-light) !important;
  color: var(--hy-forest) !important;
}

/* Order list/history cards */
#account-order .table,
#account-order table {
  background: var(--hy-white);
  border-radius: var(--hy-radius-md);
  overflow: hidden;
}

/* =======================================================================
   ABOUT US / INFORMATION CMS PAGES  (information/information.twig —
   no id, scoped via .page-hero-section / .page-content-section;
   information/contact.twig scoped via .hyd-contact-page)
   ======================================================================= */

.page-hero-section {
  background: linear-gradient(135deg, var(--hy-forest) 0%, var(--hy-forest-dark) 100%) !important;
}

.page-hero-section .page-title,
.page-hero-section h1 {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-cream) !important;
}

.page-content-section {
  background: var(--hy-cream);
}

.page-content-section .content-wrapper {
  background: var(--hy-white) !important;
  border-radius: var(--hy-radius-lg) !important;
  box-shadow: var(--hy-shadow-mid) !important;
}

.page-content-section .content-body {
  color: var(--hy-ink-soft);
  line-height: 1.8;
}

.page-content-section .content-body h2,
.page-content-section .content-body h3 {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

#right-image-section .card {
  border-radius: var(--hy-radius-md) !important;
  box-shadow: var(--hy-shadow-soft) !important;
}

/* Contact page */
.hyd-contact-page {
  background: var(--hy-cream);
}

.hyd-contact-page h1,
.hyd-contact-page h2 {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

.hyd-contact-page .card,
.hyd-contact-page .contact-info-card,
.hyd-contact-page .contact-form-card {
  background: var(--hy-white) !important;
  border-radius: var(--hy-radius-md) !important;
  box-shadow: var(--hy-shadow-soft) !important;
  border: 1px solid var(--hy-line) !important;
}

/* =======================================================================
   BLOG  (cms/blog.twig listing — shares #product-category id, generic
   rules above already apply; cms/blog_info.twig single post → #cms-blog)
   ======================================================================= */

#cms-blog {
  background: var(--hy-cream);
}

#cms-blog h1,
#cms-blog .blog-title {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

#cms-blog .blog-content,
#cms-blog .article-body {
  color: var(--hy-ink-soft);
  line-height: 1.85;
  font-size: 1.02rem;
}

#cms-blog .blog-content h2,
#cms-blog .blog-content h3,
#cms-blog .article-body h2,
#cms-blog .article-body h3 {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
}

#cms-blog .blog-meta,
#cms-blog .article-meta {
  color: var(--hy-ink-soft);
  font-size: 0.85rem;
}

/* Blog article cards (listing page, shares .product-card-like grid) */
.hyd-blog-container .card,
.blog-article-card {
  border-radius: var(--hy-radius-md) !important;
  box-shadow: var(--hy-shadow-soft) !important;
  transition: transform 0.3s var(--hy-ease), box-shadow 0.3s var(--hy-ease);
}

.hyd-blog-container .card:hover,
.blog-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hy-shadow-mid) !important;
}

/* Comments */
#cms-blog .comment-item,
.blog-comment {
  background: var(--hy-cream-deep);
  border-radius: var(--hy-radius-sm);
  padding: 14px 18px;
}

/* =======================================================================
   404 / ERROR PAGE  (error/not_found.twig → #error-not-found)
   ======================================================================= */

#error-not-found {
  background: var(--hy-cream);
  text-align: center;
  padding: 60px 20px;
}

#error-not-found h1 {
  font-family: var(--hy-font-display) !important;
  color: var(--hy-forest) !important;
  font-size: 2.4rem;
}

#error-not-found p {
  color: var(--hy-ink-soft);
}

/* ==========================================================================
   Hydrella Luxury About Us Page Styling
   ========================================================================== */

.about-luxury-wrapper {
  background: var(--hy-cream, #faf7f2);
  color: var(--hy-forest, #132e1f);
  width: 100%;
}

/* Enforce max-width 1180px & responsive left-right side padding across all About Us sections */
.about-luxury-wrapper .container-xl,
.about-luxury-wrapper .container {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

@media (min-width: 576px) {
  .about-luxury-wrapper .container-xl,
  .about-luxury-wrapper .container {
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
}

@media (min-width: 992px) {
  .about-luxury-wrapper .container-xl,
  .about-luxury-wrapper .container {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}

@media (min-width: 1200px) {
  .about-luxury-wrapper .container-xl,
  .about-luxury-wrapper .container {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
}

/* Hero Section */
.about-luxury-hero {
  background: linear-gradient(145deg, #0e2418 0%, #132e1f 60%, #1e4a34 100%) !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.about-hero-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.about-badge-gold {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  color: #d4af37 !important;
  border: 1px solid rgba(197, 160, 89, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
}

.about-hero-title {
  font-family: var(--hy-font-display, 'Playfair Display', serif) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  line-height: 1.18 !important;
}

.about-hero-subtitle {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.65;
}

/* Section Headings */
.about-section-heading {
  font-family: var(--hy-font-display, 'Playfair Display', serif) !important;
  font-weight: 700 !important;
  color: #132e1f !important;
  letter-spacing: -0.01em !important;
}

/* Card Stats */
.about-card-stat {
  background: #ffffff;
  border: 1px solid #eee4dc;
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.about-card-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(19, 46, 31, 0.08);
  border-color: #c5a059;
}

/* Philosophy Section */
.about-philosophy-section {
  background: #f5f0e6 !important;
}

.about-quote-box {
  background: #ffffff;
  border-left: 4px solid #c5a059;
  border-radius: 16px;
  padding: 2.25rem 2.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.about-quote-text {
  font-family: var(--hy-font-display, 'Playfair Display', serif);
  font-style: italic;
  font-size: 1.35rem;
  color: #132e1f;
  line-height: 1.5;
}

/* Purpose Cards */
.about-purpose-card {
  background: #ffffff;
  border: 1px solid #eae2da;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.about-purpose-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(19, 46, 31, 0.09);
  border-color: #c5a059;
}

.about-purpose-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(19, 46, 31, 0.06);
  color: #132e1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

/* Credential Pills */
.about-credential-pill {
  background: #ffffff;
  border: 1px solid #e2d8cd;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.25s ease;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.about-credential-pill:hover {
  border-color: #132e1f;
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(19, 46, 31, 0.07);
}

/* CTA Banner */
.about-cta-banner {
  background: linear-gradient(135deg, #132e1f 0%, #1e4a34 100%) !important;
  color: #ffffff !important;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(19, 46, 31, 0.25);
}

.about-btn-gold {
  background: linear-gradient(135deg, #c5a059 0%, #b68a4e 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
  text-decoration: none !important;
  display: inline-block;
}

.about-btn-gold:hover {
  background: linear-gradient(135deg, #d4af37 0%, #c5a059 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.45);
}

/* ==========================================================================
   Hydrella Luxury Legal & Policy Pages (Privacy Policy, Terms & Conditions)
   ========================================================================== */

.legal-luxury-wrapper,
.return-luxury-wrapper,
.terms-luxury-wrapper {
  background: var(--hy-cream, #faf7f2);
  width: 100%;
}

.legal-luxury-wrapper .container-xl,
.legal-luxury-wrapper .container,
.return-luxury-wrapper .container-xl,
.return-luxury-wrapper .container,
.terms-luxury-wrapper .container-xl,
.terms-luxury-wrapper .container {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

@media (min-width: 576px) {
  .legal-luxury-wrapper .container-xl,
  .legal-luxury-wrapper .container,
  .return-luxury-wrapper .container-xl,
  .return-luxury-wrapper .container,
  .terms-luxury-wrapper .container-xl,
  .terms-luxury-wrapper .container {
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
}

@media (min-width: 992px) {
  .legal-luxury-wrapper .container-xl,
  .legal-luxury-wrapper .container,
  .return-luxury-wrapper .container-xl,
  .return-luxury-wrapper .container,
  .terms-luxury-wrapper .container-xl,
  .terms-luxury-wrapper .container {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}

@media (min-width: 1200px) {
  .legal-luxury-wrapper .container-xl,
  .legal-luxury-wrapper .container,
  .return-luxury-wrapper .container-xl,
  .return-luxury-wrapper .container,
  .terms-luxury-wrapper .container-xl,
  .terms-luxury-wrapper .container {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
}

.legal-container {
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

@media (min-width: 576px) {
  .legal-container {
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
}

@media (min-width: 992px) {
  .legal-container {
    padding-left: 48px !important;
    padding-right: 48px !important;
  }
}

.legal-card {
  border-color: #eee4dc !important;
  box-shadow: 0 10px 30px rgba(19, 46, 31, 0.04) !important;
}

.legal-body h2 {
  font-family: var(--hy-font-display, 'Playfair Display', serif) !important;
  color: #132e1f !important;
  margin-top: 2rem !important;
  letter-spacing: -0.01em !important;
}

.legal-body p,
.legal-body li {
  line-height: 1.75 !important;
}

/* Return Policy Hero Box */
.return-hero-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Feature Cards */
.return-feature-card {
  border-color: #eee4dc !important;
  transition: all 0.3s ease;
}

.return-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(19, 46, 31, 0.08) !important;
  border-color: #c5a059 !important;
}

.return-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step Cards */
.return-step-card {
  border-color: #eae2da !important;
  transition: all 0.3s ease;
}

.return-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(19, 46, 31, 0.08) !important;
  border-color: #c5a059 !important;
  background: #ffffff !important;
}

.return-step-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #132e1f;
  color: #d4af37;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.return-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(19, 46, 31, 0.05);
  margin: 0.5rem auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Payment Box */
.return-payment-box {
  border-color: #eee4dc !important;
  transition: all 0.25s ease;
}

.return-payment-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(19, 46, 31, 0.06) !important;
  border-color: #132e1f !important;
  background: #ffffff !important;
}

/* Typography Utilities */
.tracking-wider {
  letter-spacing: 0.08em;
}

.extra-small {
  font-size: 0.76rem;
}

.shadow-xs {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

