:root {
  --navy: #0B3765;
  --blue: #166CC4;
  --interactive: #1976D2;
  --light-blue: #EAF4FC;
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --text: #172B3A;
  --muted: #66788A;
  --border: #E5EAF0;
  --success: #15803D;
  --warning: #D97706;
  --danger: #DC2626;
  --brand-accent: #7A5746;
  --shadow: 0 18px 46px rgba(11, 55, 101, 0.10);
  --soft-shadow: 0 10px 28px rgba(11, 55, 101, 0.07);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.eyebrow { color: var(--blue); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: 0; margin: 0 0 8px; }
.muted { color: var(--muted); }
.btn, button {
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 46px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover, button:hover { transform: translateY(-2px); box-shadow: var(--soft-shadow); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.wide { width: 100%; text-align: center; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: var(--white);
}
input:focus, select:focus, button:focus, a:focus { outline: 3px solid rgba(25, 118, 210, .24); outline-offset: 2px; }

body.preloader-active {
  overflow: hidden;
}

body.preloader-active .site-header,
body.preloader-active main,
body.preloader-active .site-footer {
  opacity: 0;
  transform: translateY(8px);
}

body.site-revealed .site-header,
body.site-revealed main,
body.site-revealed .site-footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .62s ease, transform .62s ease;
}

#phoenix-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  width: 100vw;
  min-height: 100vh;
  height: 100dvh;
  background: radial-gradient(circle at center, rgba(14, 58, 102, .08), rgba(255,255,255,0) 45%), #FAFAF7;
  transform: translateY(0);
  opacity: 1;
  transition: opacity .52s ease, transform .52s cubic-bezier(.22, 1, .36, 1);
}

#phoenix-preloader.is-skipped {
  display: none;
}

#phoenix-preloader.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.phoenix-loader-content {
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translateY(12px) scale(.88);
  opacity: 0;
  animation: phoenixLoaderIn .72s cubic-bezier(.16, 1, .3, 1) .08s forwards;
}

.phoenix-loader-logo {
  width: clamp(130px, 14vw, 210px);
  height: auto;
  margin-bottom: 10px;
}

.phoenix-loader-brand { margin: 0; color: #071B33; font-size: clamp(.72rem, 1vw, .9rem); font-weight: 700; letter-spacing: .18em; text-align: center; }
.phoenix-loader-tagline { margin: 2px 0 20px; color: #687483; font-size: clamp(.86rem, 1.2vw, 1rem); font-weight: 500; letter-spacing: .02em; text-align: center; }

.phoenix-loader-track {
  width: clamp(150px, 12vw, 190px);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: #E6EEF5;
}

.phoenix-loader-progress {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #071B33, #0E3A66);
  transform: scaleX(0);
  transform-origin: left center;
  animation: phoenixLoaderProgress 1.15s cubic-bezier(.65, 0, .35, 1) .35s forwards;
}

@keyframes phoenixLoaderIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes phoenixLoaderProgress {
  to { transform: scaleX(1); }
}

@keyframes announcementTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  body.preloader-active .site-header,
  body.preloader-active main,
  body.preloader-active .site-footer,
  body.site-revealed .site-header,
  body.site-revealed main,
  body.site-revealed .site-footer,
  #phoenix-preloader,
  .phoenix-loader-content,
  .phoenix-loader-logo,
  .phoenix-loader-progress {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .16s !important;
  }

  .phoenix-loader-logo { animation: none !important; }
  .phoenix-loader-content { animation: none !important; opacity: 1 !important; transform: none !important; }

  .announcement-track {
    width: 100%;
    justify-content: center;
    animation: none !important;
    transform: none !important;
  }

  .announcement-set {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .announcement-set + .announcement-set,
  .announcement-set span:nth-child(n + 4) {
    display: none;
  }
}

/* Keep the hero artwork edge-to-edge for every grid height. */
.hero-premium-grid { min-height: min(760px, 82vh); }
.hero-photo-card { height: 100%; min-height: 0; }
.hero-photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
@media (max-width: 720px) {
  .hero-photo-card { height: 430px; min-height: 430px; }
  .hero-photo-card img { min-height: 430px; }
}

/* Responsive finishing pass */
.mobile-shop-actions, .filter-close, .mobile-drawer-backdrop { display: none; }
.drawer-open { overflow: hidden; }
@media (max-width: 1100px) {
  .container { width: min(100% - 32px, 1320px); }
  .main-header { column-gap: 14px; }
  .hero-premium-grid { min-height: 620px; }
  .hero h1 { font-size: clamp(3rem, 5vw, 4.8rem); }
  .hero-copy { padding-top: 54px; padding-bottom: 54px; }
  .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero-premium-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 58px 0 44px; }
  .hero-photo-card { height: 430px; min-height: 430px; }
  .hero-photo-card img { min-height: 430px; }
  .editorial-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 220px); }
  .editorial-category-grid .category-feature { grid-column: span 2; grid-row: span 1; }
  .editorial-category-grid .category-card:nth-child(4), .editorial-category-grid .category-card:nth-child(5) { grid-column: span 1; grid-row: auto; }
  .featured-product-grid, .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inspiration-grid, .why-grid { gap: 36px; }
  .cart-item { grid-template-columns: 80px 1fr 110px; }
  .cart-item > :nth-child(4), .cart-item > :nth-child(5) { grid-column: 2 / -1; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1320px); }
  .main-header { min-height: 112px; }
  .primary-nav-inner { padding: 8px 0; }
  .hero h1 { font-size: clamp(2.65rem, 11.5vw, 3.35rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .section { padding: 64px 0; }
  .editorial-category-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 210px); }
  .editorial-category-grid .category-feature { grid-column: span 2; }
  .category-overlay { padding: 16px; }
  .category-overlay strong { font-size: 1.08rem; }
  .featured-product-grid, .shop-product-grid { gap: 12px; }
  .product-card-image-wrapper, .shop-product-grid .product-card-image-wrapper { height: 200px; }
  .product-card-body { padding: 13px; }
  .product-card h3 { min-height: 48px; font-size: .95rem; }
  .product-meta { gap: 6px; font-size: .9rem; flex-wrap: wrap; }
  .product-card .stock { font-size: .76rem; }
  .space-grid { display: flex; overflow-x: auto; gap: 12px; margin-right: 0; padding-right: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .space-grid::-webkit-scrollbar, .material-image-list::-webkit-scrollbar, .compact-products::-webkit-scrollbar { display: none; }
  .space-card, .space-card:first-child, .space-card:last-child { flex: 0 0 78vw; height: 220px; min-height: 220px; grid-column: auto; grid-row: auto; scroll-snap-align: start; }
  .material-image-list { display: flex; overflow-x: auto; gap: 12px; padding-right: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .material-image-list a { flex: 0 0 56vw; scroll-snap-align: start; }
  .compact-products { display: flex; overflow-x: auto; gap: 12px; padding-right: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .compact-products .product-card { flex: 0 0 78vw; scroll-snap-align: start; }
  .material-strip { padding: 48px 0; }
  .inspiration-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 130px; }
  .inspiration-gallery .inspiration-main { grid-column: span 2; grid-row: auto; }
  .why-image { height: 320px; }
  .shop-hero { padding: 42px 0; }
  .shop-layout { display: block; }
  .shop-results { width: 100%; }
  .mobile-shop-actions { display: flex; gap: 8px; }
  .mobile-filter-trigger, .mobile-sort-trigger { display: inline-flex; min-height: 42px; padding: 9px 15px; }
  .filters { display: none; }
  .filters.is-mobile-open { position: fixed; inset: auto 0 0; z-index: 200; display: block; max-height: min(82vh, 700px); overflow-y: auto; border-radius: 16px 16px 0 0; background: var(--white); box-shadow: 0 -18px 50px rgba(7,27,51,.2); }
  .filter-close { display: inline-grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--navy); font-size: 1.5rem; }
  .mobile-drawer-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 190; background: rgba(7,27,51,.38); }
  .filters.is-mobile-open form { padding-bottom: 10px; }
  .filters.is-mobile-open form button { position: sticky; bottom: 0; z-index: 1; }
  .main-image, .main-image img { min-height: 360px; }
  .purchase-panel { padding-top: 22px; }
  .thumb-row { overflow-x: auto; padding-bottom: 4px; }
  .cart-layout { display: block; }
  .summary-card { margin-top: 24px; }
  .cart-item { grid-template-columns: 72px 1fr; gap: 12px; }
  .cart-item > :nth-child(3), .cart-item > :nth-child(4), .cart-item > :nth-child(5) { grid-column: 2; }
  input, select, textarea { font-size: 16px; }
  .site-footer { padding-top: 48px; }
  .site-footer a, .site-footer p { overflow-wrap: anywhere; }
  .phoenix-chatbot { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .container { width: min(100% - 28px, 1320px); }
  .featured-product-grid, .shop-product-grid { grid-template-columns: 1fr; }
  .product-card-image-wrapper, .shop-product-grid .product-card-image-wrapper { height: 230px; }
  .hero h1 { font-size: 2.5rem; }
}

/* Admin navigation owns its full-height background in normal document flow. */
.dashboard-shell { min-height: 100vh; align-items: stretch; }
.dashboard-sidebar { position: static; align-self: stretch; height: auto; min-height: 100vh; max-height: none; overflow: visible; }
.dashboard-main { min-height: 100vh; }
@media (max-width: 1100px) {
  .dashboard-sidebar { position: static; min-height: auto; overflow: visible; }
}

@media (max-width: 720px) {
  .shop-section { padding-top: 48px; }
  .mobile-filter-trigger { display: inline-flex; min-height: 36px; padding: 7px 12px; }
  .filters { scroll-margin-top: 20px; }
  .shop-product-grid .product-card-image-wrapper { height: 210px; }
  .main-image, .main-image img { min-height: 380px; }
  .purchase-panel { padding: 22px 0 0; border: 0; }
  .detail-tabs section { padding: 0; }
  .cart-item { padding: 12px; }
}

.announcement-bar { height: 36px; display: flex; align-items: center; overflow: hidden; background: #0B3158; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.12); }
.announcement-track { display: flex; width: max-content; min-width: 200%; animation: announcementTicker 24s linear infinite; will-change: transform; }
.announcement-bar:hover .announcement-track { animation-play-state: paused; }
.announcement-set { display: flex; align-items: center; flex: 0 0 auto; white-space: nowrap; }
.announcement-set span { display: inline-flex; align-items: center; min-height: 36px; color: var(--white); font-size: .82rem; font-weight: 700; line-height: 1; letter-spacing: 0; }
.announcement-set span::after { content: "•"; padding: 0 28px; color: #D6E8F7; font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--border); transition: box-shadow .18s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(15, 23, 42, .06); }
.main-header { min-height: 72px; display: grid; grid-template-columns: 140px minmax(320px, 560px) auto; align-items: center; justify-content: space-between; column-gap: clamp(28px, 4vw, 56px); padding: 0; }
.phoenix-brand-logo { display: block; width: auto; height: auto; max-width: 100%; object-fit: contain; }
.brand .phoenix-brand-logo { width: clamp(78px, 6.5vw, 96px); max-height: 56px; }
.search-form { width: min(100%, 560px); justify-self: center; display: flex; gap: 0; border: 1px solid #DCE5EC; border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: none; transition: border-color .18s ease, box-shadow .18s ease; }
.search-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,93,160,.08); }
.search-form input { border: 0; min-height: 46px; border-radius: 0; color: var(--text); }
.search-form input::placeholder { color: #64748B; }
.search-form button { min-width: 50px; border-radius: 0; background: var(--navy); color: var(--white); font-size: 1.15rem; }
.search-form button:hover { background: var(--blue); box-shadow: none; transform: none; }
.search-submit span { width: 14px; height: 14px; display: inline-block; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.search-submit span::after { content: ""; position: absolute; width: 7px; height: 2px; background: currentColor; right: -6px; bottom: -3px; transform: rotate(45deg); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.header-action { position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--navy); transition: color .18s ease, background-color .18s ease; }
.header-action:hover { color: var(--blue); background: rgba(20, 93, 160, .08); }
.header-action svg { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.header-action-cart svg { width: 21px; height: 21px; }
.cart-count-badge { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; border-radius: 999px; border: 1px solid var(--white); background: var(--light-blue); color: var(--navy); font-size: .68rem; font-weight: 800; line-height: 1; }
.menu-toggle { display: none; width: 42px; min-height: 42px; padding: 0; place-items: center; background: var(--white); border-color: var(--border); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(4px); }
.primary-nav { border-top: 1px solid #E7EEF4; border-bottom: 1px solid #E7EEF4; background: var(--white); }
.primary-nav-inner { display: flex; align-items: center; justify-content: center; gap: clamp(34px, 5vw, 72px); min-height: 44px; font-size: .88rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.primary-nav-inner > a, .nav-dropdown-toggle, .shop-trigger { color: var(--navy); }
.nav-dropdown { position: relative; }
.primary-nav-inner > a, .nav-dropdown-toggle, .shop-trigger { position: relative; min-height: 44px; display: inline-flex; align-items: center; }
.primary-nav-inner > a::after, .nav-dropdown-toggle::after, .shop-trigger::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.primary-nav-inner > a:hover::after, .primary-nav-inner > a.is-active::after, .nav-dropdown:hover .nav-dropdown-toggle::after, .nav-dropdown.is-open .nav-dropdown-toggle::after, .shop-catalog:hover .shop-trigger::after, .shop-catalog.is-open .shop-trigger::after, .shop-trigger.is-active::after { transform: scaleX(1); }
.nav-dropdown-toggle { padding: 0; background: transparent; border: 0; text-transform: none; letter-spacing: 0; box-shadow: none; font-size: inherit; font-weight: inherit; }
.nav-dropdown-toggle:hover { box-shadow: none; }
.mega-menu { position: absolute; top: calc(100% + 1px); left: 50%; transform: translate(-50%, -5px); width: min(760px, calc(100vw - 48px)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 22px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 36px rgba(15, 23, 42, .09); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; text-transform: none; letter-spacing: 0; }
.nav-dropdown:hover .mega-menu, .nav-dropdown.is-open .mega-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.mega-menu a { display: block; padding: 7px 0; color: var(--text); font-weight: 500; font-size: .9rem; }
.mega-menu a:hover { color: var(--blue); }
.mobile-menu-contact { display: none; }
.shop-catalog { position: relative; }
.catalog-dropdown { position: absolute; top: calc(100% + 1px); left: 50%; z-index: 80; display: grid; grid-template-columns: 290px; align-items: start; transform: translate(-50%, -5px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.catalog-dropdown:not(.has-panel) { grid-template-columns: 290px; }
.shop-catalog:hover .catalog-dropdown, .shop-catalog:focus-within .catalog-dropdown, .shop-catalog.is-open .catalog-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.catalog-main-list, .catalog-panel { background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 36px rgba(15, 23, 42, .09); padding: 8px; }
.catalog-main-list { width: 290px; }
.catalog-main-item { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 0; border-radius: 8px; background: transparent; color: var(--navy); box-shadow: none; padding: 11px 12px; text-align: left; font: inherit; font-weight: 600; }
.catalog-main-item:hover, .catalog-main-item:focus, .catalog-main-item.is-active { background: var(--light-blue); color: var(--navy); box-shadow: none; transform: none; }
.catalog-main-item .catalog-label { flex: 1 1 auto; min-width: 0; color: inherit; font-weight: inherit; overflow-wrap: anywhere; }
.catalog-main-item > span[aria-hidden] { flex: 0 0 auto; color: var(--blue); font-weight: 800; }
.catalog-empty { display: block; padding: 12px; color: var(--muted); }
.catalog-panel-list { position: absolute; top: 0; left: calc(100% + 2px); z-index: 81; width: 280px; }
.catalog-panel-list { display: none; }
.catalog-panel-list.is-visible { display: block; }
.catalog-panel { display: none; max-height: min(520px, calc(100vh - 180px)); overflow-y: auto; }
.catalog-panel.is-active { display: grid; gap: 2px; }
.catalog-panel p { margin: 4px 10px 8px; color: var(--navy); font-weight: 800; font-size: .92rem; }
.catalog-panel-title { color: var(--navy) !important; font-weight: 800 !important; }
.catalog-panel a { display: block; border-radius: 8px; padding: 9px 10px; color: var(--text); font-weight: 500; font-size: .9rem; }
.catalog-panel a:hover, .catalog-panel a:focus { color: var(--blue); background: rgba(20, 93, 160, .08); }
.catalog-back { display: none; }

.hero { background: var(--bg); padding: 0; }
.hero-premium { min-height: 560px; display: grid; align-items: center; border-bottom: 1px solid var(--border); }
.hero-premium-grid { display: grid; grid-template-columns: minmax(390px, .82fr) minmax(520px, 1.18fr); gap: 54px; align-items: center; padding: 46px 0; }
.hero h1, .page-hero h1 { font-size: clamp(3rem, 4.35vw, 4rem); line-height: 1.04; margin: 0 0 18px; color: var(--navy); letter-spacing: 0; }
.hero p { max-width: 610px; font-size: 1.06rem; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-photo-card { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 28px 70px rgba(11,55,101,.18); min-height: 460px; background: var(--white); }
.hero-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,55,101,.18), transparent 45%); pointer-events: none; }
.hero-photo-card img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }

.section { padding: 94px 0; }
.soft { background: var(--bg); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.section h2, .section-head h2, .promo-inner h2 { color: var(--navy); line-height: 1.2; margin: 0; }
.section-head h2 { font-size: clamp(2rem, 3vw, 2.75rem); }
.section-head.centered { justify-content: center; text-align: center; }
.section-head.centered p:not(.eyebrow) { max-width: 720px; margin: 12px auto 0; color: var(--muted); }
.category-grid, .product-grid, .trust-grid, .application-grid, .stat-grid, .chart-grid { display: grid; gap: 24px; }
.category-grid { grid-template-columns: repeat(4, 1fr); }
.premium-category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; }
.category-card, .product-card, .trust-grid > div, .summary-card, .form-card, .auth-card, .panel, .stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(11, 49, 88, .05);
}
.category-card { padding: 0; color: var(--text); transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease; overflow: hidden; min-height: 100%; display: grid; grid-template-rows: auto 1fr; }
.category-card:hover { border-color: rgba(20, 93, 160, .42); transform: translateY(-3px); box-shadow: var(--shadow); }
.category-art { display: block; aspect-ratio: 4 / 3.15; border-radius: 0; margin-bottom: 0; border: 0; background: #F6F9FC; overflow: hidden; }
.premium-category-grid .category-art { height: clamp(220px, 12.5vw, 250px); aspect-ratio: auto; }
.category-art img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .22s ease; }
.category-card:hover .category-art img { transform: scale(1.03); }
.category-card strong { display: block; font-size: 1.08rem; color: var(--navy); }
.category-card small { display: block; color: var(--muted); margin-top: 7px; transition: color .2s ease; }
.category-card:hover small { color: var(--blue); }
.category-card-foot { display: flex; flex-direction: column; justify-content: center; gap: 0; align-items: flex-start; padding: 18px; }
.category-tone-1 .category-art { background: linear-gradient(135deg, rgba(11,55,101,.25), transparent 35%), url("../img/phoenix-hero-interior.50c9060774ba.png") center/cover; }
.category-tone-2 .category-art { background: linear-gradient(135deg, #f6f2ed, #d9c8ba); }
.category-tone-3 .category-art { background: repeating-linear-gradient(90deg, #8a604c 0, #8a604c 9px, #d9c0ac 9px, #d9c0ac 18px); }
.category-tone-4 .category-art { background: linear-gradient(135deg, #f6f7f9 0 35%, #d9e0e6 35% 42%, #fff 42% 62%, #c9d2db 62% 100%); }
.category-tone-5 .category-art { background: repeating-linear-gradient(90deg, #2f231d 0, #2f231d 8px, #79523f 8px, #79523f 16px); }
.category-tone-6 .category-art { background: linear-gradient(135deg, #eef3f8, #ffffff 48%, #dac8b8); }
.category-tone-7 .category-art { background: linear-gradient(135deg, #172b3a, #7a5746); }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.product-card { overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(20, 93, 160, .25); }
.product-image, .main-image, .cart-thumb { background: linear-gradient(135deg, var(--light-blue), #fff); display: grid; place-items: center; color: var(--blue); font-weight: 800; text-align: center; }
.product-image { position: relative; overflow: hidden; }
.product-card-image-wrapper { width: 100%; height: 210px; background: #F6F9FC; }
.product-card-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-image em { position: absolute; left: 14px; right: 14px; bottom: 14px; display: block; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.9); color: var(--navy); opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease; font-style: normal; font-weight: 800; }
.product-card:hover .product-image em { opacity: 1; transform: translateY(0); }
.product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 22px; background: #F6F9FC; color: var(--muted); font-weight: 700; }
.product-card-body { padding: 18px; }
.product-card h3 { min-height: 54px; margin: 2px 0 12px; line-height: 1.25; font-size: 1.08rem; }
.product-card form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.product-label { color: var(--blue); font-size: .78rem; font-weight: 800; text-transform: uppercase; margin: 0 0 4px; }
.product-meta { display: flex; gap: 10px; align-items: baseline; }
.product-meta span { color: var(--muted); text-decoration: line-through; }
.product-meta small { color: var(--success); font-size: .76rem; font-weight: 800; }
.stock { color: var(--success); font-weight: 700; }
.warning { color: var(--warning); }
.danger, .link-danger { color: var(--danger); }
.trust-grid { grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 28px; }
.trust-grid.refined > div { box-shadow: none; }
.line-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; color: var(--brand-accent); font-weight: 800; font-size: 1.1rem; }
.application-grid { grid-template-columns: repeat(5, 1fr); }
.application-grid a { padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; color: var(--navy); font-weight: 800; }
.promo-band { background: var(--navy); color: var(--white); padding: 42px 0; }
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.promo-inner .eyebrow, .promo-inner h2 { color: var(--white); }

.editorial-grid, .about-grid, .project-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.editorial-media { border-radius: 18px; overflow: hidden; min-height: 440px; box-shadow: var(--shadow); }
.editorial-media img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.editorial-copy { max-width: 540px; }
.editorial-copy h2, .about-grid h2, .project-cta h2 { color: var(--navy); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.12; margin: 0 0 18px; }
.about-section { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-top: 78px; padding-bottom: 78px; }
.about-grid { align-items: center; }
.about-grid p { color: var(--muted); font-size: 1.04rem; }
.about-support { max-width: 460px; margin: 0; color: #66788A; }
.about-copy { display: grid; gap: 14px; }
.about-copy p { margin: 0; }
.project-cta { padding: 78px 0; background: linear-gradient(135deg, var(--navy), #082844); color: var(--white); }
.project-cta .eyebrow, .project-cta h2 { color: var(--white); }
.project-cta p { color: rgba(255,255,255,.78); }
.project-cta .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
.text-link { font-weight: 800; color: var(--navy); }

.page-hero { background: var(--bg); padding: 46px 0; border-bottom: 1px solid var(--border); }
.compact h1 { margin-bottom: 8px; }
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start; }
.filters { position: sticky; top: 12px; border: 1px solid var(--border); border-radius: 14px; padding: 18px; background: var(--white); }
.filters form, .form-card, .auth-card, .buy-form { display: grid; gap: 12px; }
.clear-link { display: inline-block; margin-top: 4px; }
.pagination { display: flex; justify-content: center; gap: 16px; padding-top: 24px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 440px; gap: 34px; align-items: start; }
.main-image { min-height: 470px; border-radius: 16px; border: 1px solid var(--border); }
.thumb-row { display: flex; gap: 10px; margin-top: 12px; }
.thumb-row span { min-width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }
.thumb-row img { width: 100%; height: 100%; object-fit: cover; }
.gallery { min-width: 0; }
.main-image { position: relative; aspect-ratio: 1 / 1; min-height: 0; max-height: 680px; overflow: hidden; cursor: zoom-in; }
.main-image > img { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy); box-shadow: 0 6px 18px rgba(7,27,51,.18); font-size: 1.25rem; transform: translateY(-50%); }
.gallery-arrow:hover { background: var(--navy); color: var(--white); transform: translateY(-50%) scale(1.04); }
.gallery-arrow:focus-visible { outline: 3px solid rgba(20,93,160,.45); outline-offset: 2px; }
.gallery-arrow-prev { left: 14px; }
.gallery-arrow-next { right: 14px; }
.thumb-row { overflow-x: auto; scrollbar-width: none; }
.thumb-row::-webkit-scrollbar { display: none; }
.product-thumbnail { flex: 0 0 78px; width: 78px; height: 78px; min-height: 78px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 4px; background: var(--white); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnail.active { border-color: #B89A64; box-shadow: 0 0 0 2px var(--navy); }
.gallery-lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 24px; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox-backdrop { position: absolute; inset: 0; background: rgba(4,15,29,.9); }
.gallery-lightbox-content { position: relative; display: flex; align-items: center; justify-content: center; width: min(1100px, 100%); height: min(88vh, 820px); }
.gallery-lightbox-content img { max-width: 90vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; cursor: default; }
.gallery-lightbox-close { position: absolute; top: 0; right: 0; z-index: 2; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font-size: 1.5rem; }
.gallery-lightbox-close:hover { background: var(--white); color: var(--navy); }
.gallery-lightbox-prev { left: 0; background: rgba(255,255,255,.9); }
.gallery-lightbox-next { right: 0; background: rgba(255,255,255,.9); }
.gallery-counter { position: absolute; bottom: 0; left: 50%; padding: 5px 10px; border-radius: 5px; background: rgba(0,0,0,.45); color: var(--white); font-size: .85rem; transform: translateX(-50%); }
.gallery-lightbox-open { overflow: hidden; }
.purchase-panel { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.purchase-panel h1 { color: var(--navy); margin: 0; line-height: 1.15; }
.price { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.detail-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.detail-price span { color: var(--muted); font-size: 1.15rem; text-decoration: line-through; }
.detail-price strong { color: var(--navy); font-size: 1.9rem; line-height: 1; }
.detail-price small { color: var(--muted); }
.detail-price em { padding: 4px 8px; border-radius: 8px; background: var(--light-blue); color: var(--success); font-style: normal; font-weight: 800; font-size: .78rem; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec-grid span { border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.spec-grid strong { display: block; color: var(--muted); font-size: .82rem; }
.variant-selectors { display: grid; gap: 10px; margin: 22px 0; }
.variant-selector-label { margin: 0; color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.variant-options { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-card { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 82px; min-height: 46px; padding: 10px 14px; border: 1px solid rgba(7,27,51,.2); border-radius: 7px; background: var(--white); color: var(--navy); font-size: .92rem; font-weight: 800; }
.variant-card:hover { border-color: var(--navy); background: var(--light-blue); transform: none; box-shadow: none; }
.variant-card.is-selected { border-color: var(--navy); background: var(--navy); color: var(--white); }
.variant-card.is-unavailable { opacity: .48; cursor: not-allowed; text-decoration: line-through; }
.variant-card.is-unavailable small { font-size: .68rem; font-weight: 700; text-decoration: none; }
@media (max-width: 720px) { .variant-card { min-width: 88px; min-height: 46px; } }
.detail-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.detail-tabs section { border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.cart-items { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 92px 1fr 130px 120px 80px; gap: 16px; align-items: center; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.cart-thumb { width: 92px; height: 92px; border-radius: 10px; }
.qty-form { display: grid; gap: 8px; }
.summary-card, .form-card { padding: 22px; }
.summary-card p { display: flex; justify-content: space-between; gap: 16px; }
.decision-note, .field-error { color: var(--muted); }
.field-error { color: var(--danger); }
.check-row { display: flex; align-items: center; gap: 10px; margin: 12px 0 18px; color: var(--text); font-weight: 700; }
.check-row input { width: auto; min-height: auto; }
.auth-page { min-height: 620px; display: grid; place-items: center; background: var(--bg); padding: 42px 16px; }
.auth-card { width: min(460px, 100%); padding: 28px; }
.auth-help-link { color: var(--navy); font-size: .9rem; font-weight: 700; margin-top: -4px; }
.role-auth-body { min-height: 100vh; background: var(--bg); }
.role-auth-page { min-height: 100vh; display: grid; place-items: center; padding: 34px 16px; }
.role-auth-card { width: min(450px, 100%); display: grid; gap: 12px; padding: 30px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.role-auth-card img { width: 128px; margin: 0 auto 6px; }
.role-auth-card h1 { margin: 0 0 10px; color: var(--navy); line-height: 1.15; text-align: center; }
.role-auth-card .eyebrow { text-align: center; }
.role-auth-card label { color: var(--navy); font-weight: 800; font-size: .9rem; }
.password-field { position: relative; display: flex; align-items: center; }
.password-field input { padding-right: 74px; }
.password-field button { position: absolute; right: 6px; min-height: 34px; padding: 6px 10px; border-radius: 8px; background: var(--light-blue); color: var(--navy); font-size: .78rem; box-shadow: none; }
.password-field button:hover { background: var(--navy); color: var(--white); transform: none; box-shadow: none; }

.dashboard-body { background: var(--bg); }
.dashboard-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.dashboard-sidebar { background: var(--white); border-right: 1px solid var(--border); padding: 22px; position: static; height: auto; min-height: 100vh; max-height: none; overflow: visible; }
.side-nav { display: grid; gap: 6px; margin-top: 28px; }
.side-nav a { padding: 11px 12px; border-radius: 10px; color: var(--text); font-weight: 700; }
.side-nav a:hover { background: var(--light-blue); color: var(--blue); }
.side-nav form { margin: 0; }
.side-nav button { width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-weight: 700; text-align: left; }
.side-nav button:hover { background: var(--light-blue); color: var(--blue); box-shadow: none; transform: none; }
.dashboard-topbar form { margin: 0; }
.dashboard-main { padding: 28px; min-width: 0; }
.dashboard-topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.dashboard-topbar h1 { margin: 0; color: var(--navy); }
.stat-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; }
.stat-card { padding: 18px; }
.stat-card span { color: var(--muted); display: block; }
.stat-card strong { color: var(--navy); font-size: 1.7rem; }
.stat-card .wallet-balance { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 2px; }
.stat-card .wallet-points { display: block; }
.stat-card .wallet-value { display: block; color: var(--muted); line-height: 1.2; }
.panel { padding: 20px; margin-bottom: 18px; }
.page-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.page-panel-head h2 { margin: 0; color: var(--navy); }
.filter-form { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)) auto; gap: 10px; align-items: end; margin-bottom: 18px; }
.management-form { display: grid; gap: 16px; }
.form-label { display: inline-flex; align-items: baseline; gap: 3px; }
.required-marker { display: inline; color: var(--danger); margin-left: 0; font-weight: 700; }
.management-form [data-save-product]:disabled { cursor: wait; opacity: .72; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid label { display: grid; gap: 7px; color: var(--navy); font-weight: 800; }
.form-grid textarea { resize: vertical; }
.check-grid { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 16px; }
.check-grid label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); }
.check-grid input { width: auto; min-height: auto; }
.compact-btn { min-height: 34px; padding: 7px 10px; border-radius: 8px; font-size: .82rem; }
.action-cell { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.action-cell form { margin: 0; }
.btn-danger { border-color: rgba(220,38,38,.45); background: #FFF5F5; color: #B42318; }
.btn-danger:hover { border-color: #B42318; background: #B42318; color: var(--white); }
.admin-modal-open { overflow: hidden; }
.admin-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.admin-modal[hidden] { display: none; }
.admin-modal-backdrop { position: absolute; inset: 0; background: rgba(7,27,51,.54); }
.admin-modal-dialog { position: relative; width: min(460px, 100%); padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); box-shadow: 0 24px 70px rgba(7,27,51,.24); }
.admin-modal-dialog h2 { margin: 0 0 12px; color: var(--navy); }
.admin-modal-close { position: absolute; top: 12px; right: 12px; width: 34px; min-height: 34px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; }
.delete-product-summary { display: grid; gap: 2px; margin: 18px 0; padding: 14px; border-left: 3px solid #D6B579; background: var(--bg); }
.delete-product-summary strong { color: var(--navy); }
.delete-product-summary span { color: var(--muted); font-size: .86rem; }
.admin-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.table-thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); background: var(--light-blue); }
.image-preview-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.image-preview-row img { width: 86px; height: 86px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.product-images-panel { display: grid; gap: 12px; }
.product-image-upload input[type="file"] { width: 100%; padding: 12px; border: 1px dashed var(--blue); border-radius: 10px; background: var(--light-blue); }
.image-subheading { margin: 10px 0 0; color: var(--navy); font-size: .9rem; }
.product-image-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; max-width: 680px; }
.product-image-preview { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.product-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-label { position: absolute; left: 7px; bottom: 7px; max-width: calc(100% - 14px); padding: 3px 6px; border-radius: 5px; background: rgba(7,27,51,.78); color: var(--white); font-size: .7rem; font-weight: 700; }
.image-preview-remove { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 28px; height: 28px; min-height: 28px; padding: 0; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: var(--white); color: var(--danger); font-size: 1.15rem; line-height: 1; box-shadow: 0 2px 8px rgba(7,27,51,.2); }
.image-preview-remove:hover { background: var(--danger); color: var(--white); transform: none; }
.image-preview-remove:focus-visible { outline: 3px solid rgba(20,93,160,.35); outline-offset: 2px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.category-tree { display: grid; gap: 14px; }
.category-tree article { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--white); }
.category-tree header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--light-blue); }
.category-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.category-tree strong { display: block; color: var(--navy); }
.category-tree span, .category-tree small { color: var(--muted); }
.category-tree ul { list-style: none; margin: 0; padding: 8px 16px 14px; }
.category-tree li { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.category-tree li:last-child { border-bottom: 0; }
.category-tree li a { font-weight: 800; }
.category-parent { margin: 0 0 14px; }
@media (max-width: 720px) {
  .category-tree header { align-items: flex-start; flex-direction: column; }
  .category-actions { width: 100%; justify-content: flex-start; }
  .category-tree li { grid-template-columns: 1fr; gap: 8px; }
  .category-tree li a { justify-self: start; }
}
.detail-grid p { margin: 0; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.detail-grid span { display: block; color: var(--muted); font-size: .82rem; font-weight: 700; }
.detail-grid strong { display: block; color: var(--navy); margin-top: 3px; }
.address-display { display: grid; gap: 6px; margin: 12px 0 20px; color: var(--text); line-height: 1.55; }
.address-display strong { color: var(--navy); font-size: 1.06rem; }
.address-display span { display: block; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-size: .86rem; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 8px; background: var(--light-blue); color: var(--blue); font-weight: 700; font-size: .82rem; }
.inline-form { display: flex; gap: 10px; margin-bottom: 14px; }
.table-form { display: flex; gap: 8px; min-width: 240px; }
.chart-grid { grid-template-columns: repeat(2, 1fr); }
.simple-chart { height: 190px; display: flex; align-items: end; gap: 12px; border-bottom: 1px solid var(--border); padding: 12px; }
.simple-chart span { flex: 1; background: var(--brand-accent); border-radius: 8px 8px 0 0; opacity: .72; }
.simple-chart.blue span { background: var(--interactive); }
.alert { padding: 12px 14px; border-radius: 10px; margin: 14px 0; border: 1px solid var(--border); background: var(--light-blue); }
.product-error-summary { border-color: rgba(198, 40, 40, .35); background: #fff6f6; color: #8f1d1d; }
.product-error-summary ul { margin: 8px 0 0 18px; padding: 0; }
.ajax-field-error { display: block; color: var(--danger); font-size: .84rem; font-weight: 600; }
.management-form .has-error > input,
.management-form .has-error > select,
.management-form .has-error > textarea { border-color: var(--danger); }
.variant-row.has-error { border-color: rgba(198, 40, 40, .6); }
.empty-state { border: 1px dashed var(--border); border-radius: 14px; padding: 28px; color: var(--muted); background: var(--white); }

.site-footer { background: #082844; color: var(--white); padding: 60px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-logo-wrap { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.96); }
.footer-logo { width: 120px; margin: 0; }
.site-footer a, .site-footer p { color: rgba(255,255,255,.86); display: block; margin: 6px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 34px; padding-top: 18px; color: rgba(255,255,255,.72); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

.whatsapp-float { position: fixed; left: 24px; bottom: 24px; z-index: 119; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 14px 30px rgba(10, 74, 35, .25); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.whatsapp-float svg { width: 30px; height: 30px; display: block; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-2px) scale(1.03); background: #20BD5B; color: #fff; box-shadow: 0 18px 36px rgba(10, 74, 35, .32); }
.whatsapp-float:focus-visible { outline: 3px solid rgba(37, 211, 102, .42); outline-offset: 3px; }

.phoenix-chatbot { position: fixed; right: 24px; bottom: 24px; z-index: 120; font-family: inherit; }
.chatbot-nudge { position: absolute; right: 68px; bottom: 8px; width: max-content; max-width: 210px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--navy); box-shadow: 0 12px 28px rgba(11, 49, 88, .12); font-size: .86rem; font-weight: 700; opacity: 1; transform: translateY(0); transition: opacity .18s ease, transform .18s ease; }
.phoenix-chatbot.is-open .chatbot-nudge, .phoenix-chatbot.has-used .chatbot-nudge { opacity: 0; pointer-events: none; transform: translateY(5px); }
.chatbot-launcher { width: 58px; min-height: 58px; padding: 0; display: grid; place-items: center; border-radius: 16px; border: 1px solid rgba(255,255,255,.26); background: var(--navy); color: var(--white); box-shadow: 0 16px 34px rgba(11, 49, 88, .24); }
.chatbot-launcher:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 18px 38px rgba(11, 49, 88, .28); }
.chatbot-launcher span { position: relative; width: 26px; height: 20px; display: block; border: 2px solid currentColor; border-radius: 8px; }
.chatbot-launcher span::after { content: ""; position: absolute; left: 5px; bottom: -7px; width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; background: inherit; transform: rotate(-22deg); }
.chatbot-panel { position: absolute; right: 0; bottom: 76px; width: min(390px, calc(100vw - 32px)); height: min(590px, calc(100vh - 112px)); display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; border: 1px solid rgba(221, 231, 239, .96); border-radius: 18px; background: var(--white); box-shadow: 0 24px 70px rgba(11, 49, 88, .24); }
.chatbot-panel[hidden] { display: none; }
.chatbot-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: var(--navy); color: var(--white); }
.chatbot-header h2 { margin: 0; font-size: 1rem; line-height: 1.2; color: var(--white); }
.chatbot-header p { margin: 3px 0 0; font-size: .82rem; color: rgba(255,255,255,.78); }
.chatbot-close { width: 34px; min-height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: transparent; color: var(--white); font-size: 1.3rem; line-height: 1; box-shadow: none; }
.chatbot-close:hover { background: rgba(255,255,255,.12); transform: none; box-shadow: none; }
.chatbot-messages { display: flex; flex-direction: column; gap: 12px; padding: 18px; overflow-y: auto; background: #FBFDFF; }
.chatbot-message { max-width: 86%; display: grid; gap: 8px; }
.chatbot-message.is-user { align-self: flex-end; }
.chatbot-bubble { padding: 11px 13px; border-radius: 14px; background: #F1F6FA; color: var(--text); font-size: .92rem; line-height: 1.45; white-space: pre-wrap; }
.chatbot-message.is-user .chatbot-bubble { background: var(--blue); color: var(--white); border-bottom-right-radius: 6px; }
.chatbot-message.is-assistant .chatbot-bubble { border-bottom-left-radius: 6px; }
.chatbot-typing { display: inline-flex; gap: 4px; align-items: center; }
.chatbot-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: chatbotPulse 1s infinite ease-in-out; }
.chatbot-typing span:nth-child(2) { animation-delay: .14s; }
.chatbot-typing span:nth-child(3) { animation-delay: .28s; }
@keyframes chatbotPulse { 0%, 80%, 100% { opacity: .32; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.chatbot-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.chatbot-actions a { display: inline-flex; align-items: center; min-height: 32px; padding: 7px 10px; border: 1px solid rgba(20, 93, 160, .22); border-radius: 10px; background: var(--white); color: var(--blue); font-size: .82rem; font-weight: 800; }
.chatbot-actions a:hover { background: var(--light-blue); color: var(--navy); }
.chatbot-products { display: grid; gap: 8px; }
.chatbot-product { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--text); }
.chatbot-product:hover { border-color: rgba(20, 93, 160, .32); box-shadow: 0 8px 18px rgba(11, 49, 88, .08); }
.chatbot-product img, .chatbot-product-placeholder { width: 54px; height: 54px; border-radius: 9px; object-fit: cover; background: var(--light-blue); display: grid; place-items: center; color: var(--blue); font-weight: 900; }
.chatbot-product strong { display: block; color: var(--navy); font-size: .86rem; line-height: 1.25; }
.chatbot-product small { display: block; margin-top: 2px; color: var(--muted); font-size: .76rem; }
.chatbot-suggestions { display: flex; gap: 8px; overflow-x: auto; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--white); }
.chatbot-suggestions button { flex: 0 0 auto; min-height: 34px; padding: 7px 10px; border: 1px solid rgba(20, 93, 160, .2); border-radius: 10px; background: var(--light-blue); color: var(--navy); box-shadow: none; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.chatbot-suggestions button:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: none; box-shadow: none; }
.chatbot-form { display: grid; grid-template-columns: 1fr 42px; gap: 8px; align-items: end; padding: 12px 14px 14px; border-top: 1px solid var(--border); background: var(--white); }
.chatbot-form textarea { min-height: 42px; max-height: 94px; resize: none; border-radius: 12px; padding: 11px 12px; font-size: .92rem; line-height: 1.35; }
.chatbot-form button { min-height: 42px; padding: 0; border-radius: 12px; background: var(--navy); color: var(--white); box-shadow: none; }
.chatbot-form button:disabled { opacity: .6; cursor: not-allowed; }

@media (max-width: 1100px) {
  .container { width: min(100% - 36px, 1320px); }
  .main-header { min-height: 78px; grid-template-columns: 112px minmax(260px, 1fr) auto auto; column-gap: 18px; }
  .brand .phoenix-brand-logo { width: 88px; max-height: 52px; }
  .search-form { width: min(100%, 470px); grid-column: auto; grid-row: auto; }
  .header-actions { grid-column: auto; grid-row: auto; justify-content: flex-end; gap: 16px; }
  .menu-toggle { display: inline-grid; grid-column: auto; grid-row: auto; }
  .primary-nav { display: none; border-top: 1px solid var(--border); }
  .primary-nav.is-open { display: block; }
  .primary-nav-inner { align-items: stretch; flex-direction: column; gap: 0; padding: 10px 0; min-height: 0; text-align: left; }
  .primary-nav-inner > a, .nav-dropdown-toggle, .shop-trigger { min-height: 42px; display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .primary-nav-inner > a::after, .nav-dropdown-toggle::after, .shop-trigger::after { display: none; }
  .mega-menu { position: static; width: 100%; grid-template-columns: repeat(2, 1fr); transform: none; opacity: 1; pointer-events: auto; display: none; box-shadow: none; border-radius: 12px; padding: 16px; margin: 4px 0 12px; }
  .nav-dropdown.is-open .mega-menu, .nav-dropdown:hover .mega-menu { display: grid; transform: none; }
  .mobile-menu-contact { display: grid; gap: 7px; margin-top: 10px; padding: 16px; border-radius: 12px; background: var(--bg); color: var(--text); }
  .mobile-menu-contact a { color: var(--muted); font-size: .88rem; }
  .shop-catalog { width: 100%; }
  .shop-trigger::before { content: ">"; order: 2; color: var(--blue); font-weight: 800; }
  .catalog-dropdown, .catalog-dropdown:not(.has-panel) { position: static; width: 100%; max-width: 100%; display: block; grid-template-columns: minmax(0, 1fr); transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: none; overflow: hidden; }
  .shop-catalog:hover .catalog-dropdown, .shop-catalog:focus-within .catalog-dropdown, .shop-catalog.is-open .catalog-dropdown { transform: none; }
  .shop-catalog:not(.is-open) .catalog-dropdown { display: none; }
  .catalog-main-list, .catalog-panel-list, .catalog-panel { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  .catalog-panel-list { position: static; }
  .catalog-main-list, .catalog-panel { box-shadow: none; }
  .catalog-dropdown { margin: 2px 0 12px; }
  .catalog-main-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 8px; }
  .catalog-main-item { min-width: 0; overflow: hidden; }
  .catalog-panel-list { display: none; }
  .shop-catalog.is-panel-open .catalog-main-list { display: grid; }
  .shop-catalog.is-panel-open .catalog-panel-list { display: block; }
  .catalog-panel { max-height: min(460px, calc(100vh - 170px)); overflow-x: hidden; }
  .catalog-panel a, .catalog-panel p { min-width: 0; overflow-wrap: anywhere; }
  .catalog-panel-title { display: block; margin: 0 10px 8px; padding: 0 !important; }
  .catalog-back { display: inline-flex; align-items: center; width: max-content; min-height: 34px; margin: 0 0 8px; padding: 6px 8px; border: 0; background: transparent; color: var(--blue); box-shadow: none; font-weight: 800; }
  .catalog-back:hover { transform: none; box-shadow: none; }
  .hero-premium { min-height: auto; }
  .hero-premium-grid, .hero-grid, .product-detail-grid, .cart-layout, .checkout-layout, .dashboard-shell, .editorial-grid, .about-grid, .project-cta-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-premium-grid { padding: 52px 0; gap: 36px; }
  .category-grid, .product-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-category-grid { grid-template-columns: repeat(3, 1fr); }
  .premium-category-grid .category-art { height: clamp(205px, 28vw, 225px); }
  .application-grid, .stat-grid, .chart-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-sidebar { position: static; height: auto; }
  .side-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 2200px) {
  .container { width: min(92vw, 2200px); }
  .hero-premium-grid { grid-template-columns: minmax(620px, .8fr) minmax(920px, 1.2fr); }
  .hero-photo-card, .hero-photo-card img { min-height: 620px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1320px); }
  .announcement-bar { height: 34px; }
  .announcement-track { animation-duration: 20s; }
  .announcement-set span { min-height: 34px; font-size: .78rem; }
  .announcement-set span::after { padding: 0 22px; }
  .main-header { min-height: 106px; grid-template-columns: 42px minmax(96px, 1fr) auto; gap: 12px; padding: 8px 0; align-content: center; }
  .brand { justify-self: center; }
  .brand .phoenix-brand-logo { width: clamp(68px, 20vw, 82px); max-height: 48px; }
  .search-form { grid-column: 1 / -1; grid-row: 2; }
  .header-actions { grid-column: 3; grid-row: 1; justify-content: end; gap: 14px; }
  .header-action { width: 38px; height: 38px; }
  .header-action svg { width: 21px; height: 21px; }
  .cart-count-badge { top: 3px; right: 2px; min-width: 17px; height: 17px; font-size: .65rem; }
  .menu-toggle { grid-column: 1; grid-row: 1; }
  .whatsapp-float { left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .phoenix-chatbot { right: 14px; bottom: 14px; }
  .chatbot-nudge { display: none; }
  .chatbot-launcher { width: 54px; min-height: 54px; border-radius: 15px; }
  .chatbot-panel { right: 0; bottom: 68px; width: calc(100vw - 28px); height: min(620px, calc(100vh - 92px)); border-radius: 16px; }
  .chatbot-messages { padding: 14px; }
  .chatbot-message { max-width: 92%; }
  .mega-menu { grid-template-columns: 1fr; }
  .shop-layout, .cart-item { grid-template-columns: 1fr; }
  .filters { position: static; }
  .category-grid, .product-grid, .trust-grid, .application-grid, .stat-grid, .chart-grid, .detail-tabs, .footer-grid { grid-template-columns: 1fr; }
  .premium-category-grid { grid-template-columns: minmax(0, 1fr); }
  .premium-category-grid .category-art { height: clamp(190px, 52vw, 215px); }
  .section { padding: 54px 0; }
  .about-section { padding-top: 56px; padding-bottom: 56px; }
  .product-card-image-wrapper { height: 190px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.5rem, 12vw, 3.35rem); }
  .hero p { font-size: 1rem; }
  .hero-photo-card, .hero-photo-card img { min-height: 330px; }
  .main-image { min-height: 300px; }
  .dashboard-main { padding: 18px; }
  .side-nav { grid-template-columns: 1fr 1fr; }
  .filter-form, .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .page-panel-head { flex-direction: column; }
  .inline-form, .promo-inner { flex-direction: column; align-items: stretch; }
  .footer-bottom { flex-direction: column; }
}

/* Premium showroom layer */
:root { --navy: #071B33; --blue: #145DA0; --bg: #F7F5F0; --text: #1C1F24; --muted: #687483; --border: #E4E3DF; --brand-accent: #B89A64; --shadow: 0 20px 46px rgba(7,27,51,.12); }
.site-header { box-shadow: 0 1px 0 rgba(7,27,51,.12); }
.hero-premium { min-height: min(760px, 82vh); background: var(--navy); color: var(--white); }
.hero-premium-grid { min-height: inherit; grid-template-columns: minmax(360px,.86fr) minmax(520px,1.14fr); gap: 0; padding: 0; }
.hero-copy { padding: 72px clamp(28px,5vw,76px) 72px 0; }
.hero-copy .eyebrow { color: #D6B579; }
.hero h1 { color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem,5.5vw,6.2rem); line-height: .98; letter-spacing: -.02em; margin-bottom: 26px; }
.hero h1 em { color: #D6B579; font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 480px; color: rgba(255,255,255,.75); font-size: 1rem; }
.hero-copy .btn-primary { background: #B89A64; color: var(--navy); border-color: #B89A64; }
.hero-copy .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.52); }
.hero-photo-card { min-height: 100%; border-radius: 0; box-shadow: none; }
.hero-photo-card img { min-height: 100%; }
.hero-photo-card::after { background: linear-gradient(90deg, rgba(7,27,51,.46), transparent 38%); }
.hero-photo-caption { position: absolute; right: 30px; bottom: 28px; z-index: 2; color: var(--white); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-photo-caption small { color: rgba(255,255,255,.7); letter-spacing: .02em; text-transform: none; }
.section { padding: 112px 0; }
.section-head { margin-bottom: 38px; }
.section-head h2, .section h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem,3.3vw,3.55rem); letter-spacing: -.02em; }
.eyebrow { color: var(--brand-accent); letter-spacing: .09em; font-size: .7rem; }
.text-link { color: var(--navy); font-size: .86rem; }
.text-link span { color: var(--brand-accent); margin-left: 5px; }
.editorial-category-grid { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; }
.editorial-category-grid .category-card { min-height: 0; border: 0; border-radius: 2px; }
.editorial-category-grid .category-feature { grid-row: span 2; }
.editorial-category-grid .category-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.editorial-category-grid .category-card:nth-child(5) { grid-column: 3; grid-row: 2; }
.category-art, .premium-category-grid .category-art { height: 100%; aspect-ratio: auto; }
.category-overlay { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: end; padding: 24px; color: var(--white); background: linear-gradient(0deg, rgba(7,27,51,.72), transparent 62%); }
.category-card { position: relative; }
.category-overlay strong { color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; line-height: 1.08; }
.category-overlay small { margin-top: 9px; color: rgba(255,255,255,.78); }
.category-overlay b { color: #D6B579; margin-left: 5px; transition: margin .2s ease; }
.category-card:hover .category-overlay b { margin-left: 10px; }
.category-card:hover .category-art img { transform: scale(1.05); }
.soft { background: var(--bg); }
.featured-product-grid { grid-template-columns: repeat(4,1fr); }
.product-card { border-radius: 2px; border-color: #E6E4DF; box-shadow: none; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card-image-wrapper { height: 290px; }
.product-card-body { padding: 20px; }
.product-card h3 { min-height: 50px; font-family: Georgia, "Times New Roman", serif; font-size: 1.13rem; }
.product-quick-view { position: absolute; left: 14px; right: auto; bottom: 14px; padding: 8px 11px; background: var(--white); color: var(--navy); opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; font-size: .76rem; font-weight: 800; }
.product-card:hover .product-quick-view { opacity: 1; transform: translateY(0); }
.product-discount-badge { position: absolute; top: 12px; right: 12px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; padding: 5px 9px; border: 1px solid rgba(24,117,58,.14); border-radius: 999px; background: #EAF7EE; color: #18753A; font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; transition: transform .2s ease; }
.product-card:hover .product-discount-badge { transform: translateY(-1px); }
.discount-badge { position: absolute; top: 12px; left: 12px; padding: 5px 7px; background: #B89A64; color: var(--navy); font-size: .72rem; font-weight: 800; font-style: normal; }
.product-image em:not(.discount-badge) { display: none; }
.space-section { background: var(--white); }
.section-intro { max-width: 270px; color: var(--muted); font-size: .92rem; }
.space-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; }
.space-card { position: relative; overflow: hidden; color: var(--white); border-radius: 2px; }
.space-card:first-child { grid-row: span 2; }
.space-card:last-child { grid-column: span 2; }
.space-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.space-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,51,.78), transparent 66%); }
.space-card span { position: absolute; z-index: 1; left: 22px; bottom: 20px; }
.space-card strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.space-card small { color: rgba(255,255,255,.75); }
.space-card b { color: #D6B579; }
.space-card:hover img { transform: scale(1.05); }
.material-strip { padding: 56px 0; background: #E9E7E2; }
.material-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.material-strip h2 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.material-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; }
.material-list a { color: var(--navy); font-weight: 800; font-size: .9rem; }
.material-list span { color: var(--brand-accent); }
.material-image-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.material-image-list a { position: relative; min-height: 150px; overflow: hidden; color: var(--white); }
.material-image-list img { width: 100%; height: 150px; object-fit: cover; transition: transform .35s ease; }
.material-image-list a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,51,.76), transparent 68%); }
.material-image-list strong { position: absolute; z-index: 1; left: 14px; bottom: 13px; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.material-image-list strong span { color: #D6B579; margin-left: 5px; }
.material-image-list a:hover img { transform: scale(1.06); }
.inspiration-section { background: var(--navy); color: var(--white); }
.inspiration-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; align-items: center; }
.inspiration-copy h2 { color: var(--white); }
.inspiration-copy p:not(.eyebrow) { color: rgba(255,255,255,.7); max-width: 390px; }
.inspiration-copy .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.42); }
.inspiration-gallery { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 190px 190px; gap: 10px; }
.inspiration-gallery img { width: 100%; height: 100%; object-fit: cover; }
.inspiration-gallery .inspiration-main { grid-row: span 2; }
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-image { height: 590px; overflow: hidden; }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-copy h2 { color: var(--navy); }
.why-copy > p:not(.eyebrow) { color: var(--muted); max-width: 470px; }
.why-copy ol { list-style: none; padding: 12px 0 0; margin: 28px 0 0; border-top: 1px solid var(--border); }
.why-copy li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.why-copy li > b { color: var(--brand-accent); font-size: .82rem; }
.why-copy li strong { display: block; color: var(--navy); }
.why-copy li span { color: var(--muted); font-size: .88rem; }
.project-cta { background: var(--navy); padding: 82px 0; }
.project-cta h2 { color: var(--white); }
.project-cta .eyebrow { color: #D6B579; }
.project-cta .btn-secondary { color: var(--navy); background: #D6B579; border-color: #D6B579; }
.site-footer { background: var(--navy); }
.footer-logo { background: transparent; padding: 0; border-radius: 0; }
.breadcrumb { display: flex; gap: 10px; color: var(--muted); font-size: .78rem; margin: 0 0 22px; }
.breadcrumb a { color: var(--navy); }
.shop-hero { background: var(--bg); padding: 58px 0; }
.shop-hero h1 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: clamp(2.6rem,5vw,4.6rem); margin: 0 0 8px; }
.shop-hero p:last-child { color: var(--muted); margin: 0; }
.shop-section { padding-top: 74px; }
.filter-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--border); margin-bottom: 18px; padding-bottom: 14px; }
.filter-heading h2 { margin: 0; font-size: 1.25rem; font-family: Georgia, "Times New Roman", serif; color: var(--navy); }
.filter-heading span { color: var(--muted); font-size: .76rem; }
.filters label { display: grid; gap: 7px; color: var(--navy); font-size: .78rem; font-weight: 800; }
.filters form { gap: 16px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.results-bar p { margin: 0; color: var(--muted); font-size: .82rem; }
.results-bar strong { color: var(--navy); }
.mobile-filter-trigger { display: none; }
.shop-product-grid { grid-template-columns: repeat(3, 1fr); }
.product-whatsapp { display: block; padding: 12px 0; border-top: 1px solid var(--border); color: var(--navy); font-weight: 800; font-size: .86rem; }
.product-whatsapp span { color: var(--brand-accent); float: right; }
.shop-layout { grid-template-columns: 250px 1fr; gap: 42px; }
.filters { top: 92px; border-radius: 2px; padding: 20px; box-shadow: none; }
.shop-product-grid { gap: 18px; }
.shop-product-grid .product-card-image-wrapper { height: 245px; }
.main-image { min-height: 590px; border-radius: 2px; background: #F1F0EC; }
.main-image img { width: 100%; height: 100%; min-height: 590px; object-fit: cover; }
.thumb-row span { width: 74px; height: 74px; border-radius: 2px; }
.purchase-panel { border-radius: 2px; box-shadow: none; padding: 30px; }
.purchase-panel h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,3vw,3rem); }
.sku { color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
.buy-form .btn { border-radius: 2px; }
.detail-tabs { border-top: 1px solid var(--border); padding-top: 34px; }
.detail-tabs section { border: 0; border-radius: 0; padding: 0 18px 0 0; }
.detail-tabs h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.cart-item { border-radius: 2px; box-shadow: none; }
.cart-thumb { border-radius: 2px; background: #F1F0EC; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.summary-card { border-radius: 2px; box-shadow: none; border-color: var(--navy); }
.summary-card h2 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); }

@media (max-width: 1100px) {
  .hero-premium-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-right: 32px; }
  .editorial-category-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: 250px 250px 250px; }
  .editorial-category-grid .category-feature { grid-row: span 2; }
  .editorial-category-grid .category-card:nth-child(4), .editorial-category-grid .category-card:nth-child(5) { grid-column: span 1; }
  .featured-product-grid { grid-template-columns: repeat(3,1fr); }
  .space-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: 240px 240px; }
  .space-card:first-child, .space-card:last-child { grid-row: span 1; grid-column: span 1; }
  .material-image-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .hero-premium { min-height: 0; }
  .hero-premium-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 64px 0 46px; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 3.35rem); line-height: 1.02; }
  .hero-photo-card, .hero-photo-card img { min-height: 430px; }
  .hero-photo-caption { right: 18px; bottom: 18px; }
  .section { padding: 72px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .editorial-category-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5,220px); }
  .editorial-category-grid .category-feature, .editorial-category-grid .category-card:nth-child(4), .editorial-category-grid .category-card:nth-child(5) { grid-row: auto; grid-column: span 1; }
  .featured-product-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .product-card-image-wrapper { height: 210px; }
  .product-card-body { padding: 14px; }
  .product-card h3 { font-size: 1rem; min-height: 52px; }
  .product-card form { grid-template-columns: 1fr; }
  .product-card form .btn-ghost { display: none; }
  .space-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4,220px); }
  .material-strip-inner, .inspiration-grid, .why-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .material-list { justify-content: flex-start; }
  .material-image-list { grid-template-columns: repeat(2, 1fr); }
  .inspiration-gallery { grid-template-rows: 190px 140px; }
  .why-image { height: 380px; }
  .project-cta-inner { gap: 28px; }
}

@media (max-width: 720px) {
  .product-discount-badge { top: 9px; right: 9px; padding: 4px 7px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .category-art img, .space-card img, .product-card-image, .product-quick-view { transition: none; }
}

/* Shop cards keep their own responsive rhythm instead of inheriting the
   compact homepage product rules at narrow widths. */
@media (max-width: 1199px) {
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .shop-hero { padding: 40px 0; }
  .shop-hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); line-height: 1.08; }
  .shop-hero p:last-child { max-width: 42rem; }
  .shop-section { padding-top: 48px; }
  .shop-layout { display: block; }
  .shop-results { width: 100%; min-width: 0; }
  .results-bar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .results-bar p { max-width: 100%; }
  .mobile-shop-actions { width: 100%; }
  .mobile-filter-trigger, .mobile-sort-trigger { display: inline-flex; min-height: 42px; }
  .mobile-shop-actions .btn { flex: 1 1 0; }
  .shop-product-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .shop-product-grid .product-card { min-width: 0; }
  .shop-product-grid .product-card-image-wrapper { height: auto; aspect-ratio: 1 / 1; }
  .shop-product-grid .product-card-image { object-fit: contain; }
  .shop-product-grid .product-card-body { padding: 16px; }
  .shop-product-grid .product-card h3 { min-height: 0; max-width: 100%; font-size: 1.05rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .shop-product-grid .product-card form { grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
  .shop-product-grid .product-card form .btn { min-width: 0; padding-inline: 12px; }
  .shop-product-grid .product-card form .btn-ghost { display: inline-flex; }
  .filters.is-mobile-open { width: 100%; max-width: 100%; box-sizing: border-box; }
}

@media (max-width: 359px) {
  .shop-product-grid .product-card form { grid-template-columns: 1fr; }
}

/* Compact project handoff and footer treatment. */
.project-cta { padding: 72px 0; background: var(--navy); background-image: none; border-bottom: 1px solid rgba(255,255,255,.1); }
.project-cta-inner { grid-template-columns: minmax(0, 1.65fr) minmax(220px, .9fr); gap: 48px; }

/* Keep admin navigation usable on touch screens without changing the desktop shell. */
.dashboard-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dashboard-drawer-close, .dashboard-menu-toggle, .dashboard-drawer-backdrop { display: none; }
.side-nav a.is-active, .side-nav button.is-active { background: var(--light-blue); color: var(--navy); box-shadow: inset 3px 0 0 var(--blue); }

@media (max-width: 1100px) {
  .dashboard-body { overflow-x: hidden; }
  .dashboard-shell { display: block; min-height: 100vh; }
  .dashboard-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 240; width: min(85vw, 300px); min-height: 100vh; max-height: none; padding: 20px; overflow-y: auto; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 16px 0 40px rgba(7,27,51,.16); }
  .dashboard-sidebar.is-open { transform: translateX(0); }
  .dashboard-drawer-close { display: inline-grid; place-items: center; width: 38px; min-height: 38px; padding: 0; border: 1px solid var(--border); border-radius: 9px; background: var(--white); color: var(--navy); font-size: 1.45rem; line-height: 1; }
  .dashboard-menu-toggle { display: inline-grid; place-items: center; width: 42px; min-height: 42px; padding: 0; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 9px; background: var(--white); color: var(--navy); font-size: 1.25rem; line-height: 1; box-shadow: none; }
  .dashboard-menu-toggle:hover, .dashboard-drawer-close:hover { transform: none; box-shadow: none; background: var(--light-blue); }
  .dashboard-drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 230; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(7,27,51,.45); }
  .dashboard-drawer-backdrop[hidden] { display: none; }
  .dashboard-main { min-height: 100vh; padding: 24px; }
  .side-nav { grid-template-columns: 1fr; gap: 4px; margin-top: 24px; }
  .side-nav a, .side-nav button { min-height: 46px; display: flex; align-items: center; }
  .dashboard-topbar { align-items: flex-start; gap: 12px; }
  .dashboard-topbar > div { min-width: 0; flex: 1; }
  .dashboard-topbar .eyebrow { margin-bottom: 4px; }
  .dashboard-topbar h1 { font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.15; }
  .dashboard-topbar form .btn { min-height: 42px; padding: 9px 12px; }
}

@media (max-width: 520px) {
  .dashboard-main { padding: 16px 14px 28px; }
  .dashboard-topbar { margin-bottom: 18px; }
  .dashboard-topbar form .btn { font-size: .8rem; }
  .stat-grid { gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-card strong { font-size: 1.35rem; }
  .panel { padding: 14px; margin-bottom: 12px; }
  .panel h2 { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-sidebar { transition: none; }
}
.project-cta-copy { min-width: 0; }
.project-cta-copy p:last-child { max-width: 520px; margin-bottom: 0; }
.project-cta-button { width: fit-content; min-width: 205px; max-width: 240px; min-height: 50px; justify-self: end; align-self: center; border-radius: 4px; background: #D6B579; border-color: #D6B579; color: var(--navy); }
.project-cta-button span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.project-cta-button:hover span { transform: translate(3px, -2px); }
.site-footer { padding: 58px 0 20px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 38px; align-items: start; }
.footer-brand, .footer-column { min-width: 0; }
.footer-logo { width: 120px; height: auto; margin: 0; }
.site-footer h3 { margin: 0 0 18px; color: #F8F5EE; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-brand h3 { margin-bottom: 10px; color: #D6B579; }
.footer-brand p { max-width: 320px; margin: 0; color: rgba(255,255,255,.68); line-height: 1.65; }
.site-footer a, .site-footer p { color: rgba(255,255,255,.72); transition: color .2s ease; }
.site-footer a:hover { color: #D6B579; }
.footer-column > a { margin: 0 0 11px; }
.footer-support > a, .footer-support > p { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 11px; }
.footer-support > p { line-height: 1.5; }
.footer-contact-icon { flex: 0 0 16px; color: #D6B579; font-size: .82rem; line-height: 1.45; text-align: center; }
.footer-bottom { margin-top: 40px; padding-top: 16px; border-top-color: rgba(255,255,255,.12); font-size: .78rem; }
@media (min-width: 721px) {
  .site-footer { padding-right: 104px; }
}
@media (max-width: 1100px) {
  .project-cta-inner { grid-template-columns: minmax(0, 1.35fr) minmax(200px, .8fr); gap: 30px; }
  .footer-grid { gap: 24px; }
}
@media (max-width: 720px) {
  .project-cta { padding: 52px 0; }
  .project-cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .project-cta-button { width: 100%; max-width: none; justify-self: stretch; }
  .site-footer { padding: 48px 0 88px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { margin-top: 28px; justify-content: center; text-align: center; }
  .product-image-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 100%; }
}

/* The editorial mosaic uses the photograph as a full-card background layer. */
.editorial-category-grid .category-card { display: block; position: relative; }
.editorial-category-grid .category-art { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.editorial-category-grid .category-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.editorial-category-grid .category-overlay { position: absolute; inset: 0; z-index: 1; }

@media (min-width: 721px) {
  /* Keep every Shop by Space tile in an equal-sized grid cell. */
  .space-grid .space-card { grid-column: auto; grid-row: auto; }
}
@media (min-width: 1101px) {
  .space-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 220px); }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .space-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 240px); }
}
@media (max-width: 720px) {
  .space-grid { grid-template-rows: repeat(6, 220px); }
}

/* Dedicated About page */
.about-page-hero { background: var(--navy); color: var(--white); }
.about-page-hero-inner { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 450px; align-items: stretch; }
.about-page-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px 56px 64px 0; }
.about-page-hero-copy .eyebrow, .about-mission .eyebrow, .about-final-cta .eyebrow { color: #D6B579; }
.about-page-hero h1 { margin: 0 0 22px; color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 5vw, 5.5rem); line-height: .98; }
.about-page-hero h1 em { color: #D6B579; font-style: normal; }
.about-page-hero-copy > p:last-child { max-width: 440px; margin: 0; color: rgba(255,255,255,.76); font-size: 1.05rem; }
.about-page-hero-image { min-height: 450px; overflow: hidden; }
.about-page-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.about-intro-grid, .about-vision-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-introduction { background: var(--bg); }
.about-intro-image { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; align-items: end; }
.about-intro-image img { width: 100%; height: 370px; object-fit: cover; }
.about-intro-image img:last-child { height: 270px; }
.about-intro-copy h2, .about-vision h2, .about-why h2 { margin: 0 0 20px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.06; }
.about-intro-copy p:not(.eyebrow), .about-vision p:not(.eyebrow) { color: var(--muted); }
.about-intro-copy p:last-child { margin-bottom: 0; }
.about-solutions { background: var(--white); }
.about-section-head { max-width: 700px; }
.about-solution-grid, .about-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.about-solution-grid article, .about-why-grid article { min-height: 190px; padding: 22px; border: 1px solid rgba(184,154,100,.52); background: #FFFDFC; transition: transform .2s ease, border-color .2s ease; }
.about-solution-grid article:hover, .about-why-grid article:hover { transform: translateY(-3px); border-color: #B89A64; }
.about-solution-grid article > span { display: block; margin-bottom: 18px; color: #B89A64; font-size: 1.45rem; }
.about-solution-grid h3, .about-why-grid h3 { margin: 0 0 8px; color: var(--navy); font-size: 1rem; line-height: 1.25; }
.about-solution-grid p, .about-why-grid p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.about-mission { padding: 86px 0; background: var(--navy); color: var(--white); }
.about-mission-inner { max-width: 850px; text-align: center; }
.about-mission h2 { margin: 0 0 20px; color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; }
.about-mission p:last-child { max-width: 720px; margin: 0 auto; color: rgba(255,255,255,.75); }
.about-vision { background: #E9E7E2; }
.about-vision blockquote { margin: 0; padding: 30px 0 30px 30px; border-left: 2px solid #B89A64; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.15; }
.about-why { background: var(--white); }
.about-why-grid { grid-template-columns: repeat(3, 1fr); }
.about-why-grid article { min-height: 165px; border-color: var(--border); }
.about-why-grid article > span { color: #B89A64; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.about-final-cta { padding: 76px 0; background: var(--navy); color: var(--white); }
.about-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.about-final-cta h2 { margin: 0 0 14px; color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.8vw, 3.7rem); line-height: 1.05; }
.about-final-cta p:last-child { max-width: 570px; margin: 0; color: rgba(255,255,255,.73); }
.about-final-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.about-final-actions .btn-primary { background: #D6B579; border-color: #D6B579; color: var(--navy); }
.about-final-actions .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.48); }
@media (max-width: 1100px) {
  .about-page-hero-inner { grid-template-columns: 1fr 1fr; }
  .about-intro-grid, .about-vision-inner { gap: 38px; }
  .about-solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .about-page-hero-inner, .about-intro-grid, .about-vision-inner { grid-template-columns: 1fr; }
  .about-page-hero-copy { padding: 58px 0 42px; }
  .about-page-hero-image { min-height: 300px; }
  .about-intro-image { order: 2; }
  .about-intro-image img { height: 260px; }
  .about-intro-image img:last-child { height: 190px; }
  .about-solution-grid, .about-why-grid { grid-template-columns: 1fr 1fr; }
  .about-mission { padding: 64px 0; }
  .about-final-cta-inner { display: grid; gap: 26px; }
  .about-final-actions { display: grid; grid-template-columns: 1fr; }
  .about-final-actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .about-solution-grid, .about-why-grid { grid-template-columns: 1fr; }
}

/* Final product gallery sizing overrides after the product-detail theme rules. */
.product-detail .main-image { aspect-ratio: 1 / 1; min-height: 0; max-height: 680px; }
.product-detail .main-image > img { min-height: 0; object-fit: contain; }
@media (max-width: 720px) {
  .product-detail .main-image { min-height: 0; max-height: none; }
  .product-detail .main-image > img { min-height: 0; }
  .gallery-lightbox { padding: 16px; }
  .gallery-lightbox-content { height: min(86vh, 720px); }
  .gallery-lightbox-content img { max-width: 86vw; max-height: 82vh; }
  .gallery-lightbox-prev { left: 4px; }
  .gallery-lightbox-next { right: 4px; }
}

/* Single-section About page finish */
.about-text-intro { min-height: 640px; display: flex; align-items: center; padding: 88px 0; }
.about-text-intro .about-readable { max-width: 920px; text-align: center; }
.about-text-intro h1 { max-width: none; margin-bottom: 30px; }
.about-intro-copy { max-width: 820px; margin: 0 auto; padding: 28px 0 0; border-top: 1px solid rgba(214,181,121,.7); border-left: 0; }
.about-intro-copy p { font-size: 1.08rem; line-height: 1.85; }
@media (max-width: 720px) {
  .about-text-intro { min-height: 0; padding: 62px 0 66px; }
  .about-intro-copy { padding-top: 22px; }
  .about-intro-copy p { font-size: 1rem; line-height: 1.75; }
}

/* Text-led About page */
.about-text-intro { padding: 92px 0 86px; background: var(--navy); color: var(--white); }
.about-readable { width: min(100% - 48px, 1200px); margin: 0 auto; }
.about-text-intro .about-readable { max-width: 980px; }
.about-text-intro .eyebrow, .about-vision-text .eyebrow, .about-why-text .eyebrow { color: #D6B579; }
.about-text-intro h1 { max-width: 820px; margin: 0 0 34px; color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.03; }
.about-intro-copy { max-width: 820px; padding-left: 26px; border-left: 1px solid rgba(214,181,121,.7); }
.about-intro-copy p { margin: 0 0 22px; color: rgba(255,255,255,.78); font-size: 1.08rem; line-height: 1.85; }
.about-intro-copy p:last-child { margin-bottom: 0; }
.about-vision-text { padding: 92px 0; background: var(--bg); }
.about-vision-text h2, .about-why-text h2 { max-width: 820px; margin: 0 0 28px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.06; }
.about-vision-text blockquote { max-width: 850px; margin: 0; padding: 28px 34px; border: 1px solid rgba(184,154,100,.68); background: rgba(255,255,255,.45); color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.4vw, 2.1rem); line-height: 1.35; }
.about-why-text { padding: 92px 0; background: var(--white); }
.about-why-text > .container > .about-readable { margin-bottom: 38px; }
.about-why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about-why-grid article { min-height: 190px; padding: 26px; border: 1px solid var(--border); border-radius: 2px; background: #FFFDFC; box-shadow: 0 10px 24px rgba(7,27,51,.06); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.about-why-grid article:hover { transform: translateY(-3px); border-color: rgba(184,154,100,.7); box-shadow: 0 16px 30px rgba(7,27,51,.1); }
.about-why-grid article > span { display: block; margin-bottom: 22px; color: #B89A64; font-size: .8rem; font-weight: 800; letter-spacing: .1em; }
.about-why-grid h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.08rem; }
.about-why-grid p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }
@media (max-width: 720px) {
  .about-text-intro, .about-vision-text, .about-why-text { padding: 58px 0; }
  .about-readable { width: min(100% - 40px, 1200px); }
  .about-text-intro h1 { margin-bottom: 26px; font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .about-intro-copy { padding-left: 18px; }
  .about-intro-copy p { font-size: 1rem; line-height: 1.75; }
  .about-vision-text blockquote { padding: 22px; font-size: 1.35rem; }
  .about-why-grid { grid-template-columns: 1fr; gap: 12px; }
  .about-why-grid article { min-height: 0; }
}

.reviews-section { margin-top: 58px; padding-top: 34px; border-top: 1px solid var(--border); }
.reviews-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.reviews-header h2, .review-write h3, .review-list h3 { color: var(--navy); }
.review-summary { display: grid; gap: 3px; text-align: right; }
.review-summary strong { color: var(--navy); font-size: 1.35rem; }
.review-summary span, .review-item-head span, .review-counter { color: var(--muted); font-size: .84rem; }
.review-write { max-width: 680px; margin-bottom: 42px; padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.review-form { display: grid; gap: 16px; }
.review-form fieldset { border: 0; padding: 0; margin: 0; }
.review-form legend, .review-form label { display: grid; gap: 8px; color: var(--navy); font-weight: 700; }
.review-stars { display: flex; align-items: center; gap: 2px; }
.review-star-choice { position: relative; display: inline-flex; }
.review-star-choice input { position: absolute; opacity: 0; pointer-events: none; }
.review-star-choice label { display: grid; place-items: center; width: 42px; height: 42px; color: #C7CBD1; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.review-star-choice label:hover, .review-star-choice label.is-filled, .review-star-choice input:focus-visible + label { color: var(--brand-accent); }
.review-star-choice input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.review-form textarea { width: 100%; min-height: 110px; resize: vertical; }
.review-counter { justify-self: end; font-weight: 500; }
.review-form > .btn { justify-self: start; }
.review-signin { display: flex; align-items: center; gap: 18px; margin-bottom: 42px; padding: 20px 0; }
.review-signin p { margin: 0; color: var(--muted); }
.review-list { max-width: 860px; }
.review-list h3 { margin-bottom: 16px; }
.review-item { padding: 20px 0; border-top: 1px solid var(--border); }
.review-item-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.review-item-head > div { display: grid; gap: 3px; }
.review-item-head strong { color: var(--navy); }
.review-rating { color: var(--brand-accent) !important; font-size: 1.1rem !important; letter-spacing: 2px; white-space: nowrap; }
.review-item p { margin: 12px 0 0; color: var(--text); white-space: pre-wrap; }

@media (max-width: 720px) {
  .reviews-section { margin-top: 42px; padding-top: 28px; }
  .reviews-header { align-items: start; flex-direction: column; gap: 12px; }
  .review-summary { text-align: left; }
  .review-write { padding: 18px; }
  .review-form > .btn { width: 100%; }
  .review-signin { align-items: stretch; flex-direction: column; gap: 12px; }
  .review-signin .btn { width: 100%; }
  .review-item-head { flex-direction: column-reverse; gap: 8px; }
}

.checkout-billing-summary { margin: 20px 0 26px; padding: 16px; border: 1px solid var(--border); background: var(--bg); }
.checkout-billing-summary h3 { margin: 0 0 10px; color: var(--navy); font-size: 1rem; }
.checkout-billing-summary .address-display { margin: 0 0 12px; }
.checkout-summary-column { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.place-order-button { width: 100%; min-height: 50px; border-radius: 6px; background: var(--navy); color: var(--white); font-weight: 700; }
.place-order-button:hover { background: var(--blue); color: var(--white); }
.place-order-button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 1100px) {
  .checkout-summary-column { gap: 14px; }
}

.qty-form label { color: var(--muted); font-size: .82rem; font-weight: 700; }
.qty-form input { width: 86px; min-height: 42px; }
.cart-quantity-status { min-height: 1.1em; color: var(--muted); font-size: .75rem; }
.cart-quantity-status.is-error { color: var(--danger); }
@media (max-width: 720px) {
  .qty-form input { width: 100%; min-height: 44px; }
}

/* The public product viewer is a viewport modal, independent of document flow. */
body.gallery-lightbox-open, body.lightbox-open { overflow: hidden; }
body.gallery-lightbox-open .phoenix-chatbot, body.lightbox-open .phoenix-chatbot { visibility: hidden; pointer-events: none; }
.gallery-lightbox { position: fixed !important; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; width: 100vw; height: 100vh; height: 100dvh; padding: 24px; box-sizing: border-box; overflow: hidden; background: rgba(7,27,51,.92); }
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox-backdrop { position: absolute; inset: 0; background: transparent; }
.gallery-lightbox-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: min(90vw, 1000px); height: min(88vh, 900px); height: min(88dvh, 900px); }
.gallery-lightbox-content .lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-lightbox-close { position: absolute; top: 0; right: 0; z-index: 3; }
.gallery-lightbox-prev, .gallery-lightbox-next { z-index: 3; }
.gallery-lightbox-prev { left: 16px; }
.gallery-lightbox-next { right: 16px; }
.gallery-counter { bottom: 0; z-index: 3; }
.gallery-lightbox button[hidden], .gallery-lightbox .gallery-counter[hidden] { display: none; }
@media (max-width: 720px) {
  .gallery-lightbox { padding: 12px; }
  .gallery-lightbox-content { width: 100%; height: min(82dvh, 720px); }
  .gallery-lightbox-content .lightbox-image { max-width: calc(100vw - 24px); max-height: 80dvh; }
  .gallery-lightbox-close { top: max(4px, env(safe-area-inset-top)); right: max(4px, env(safe-area-inset-right)); }
  .gallery-lightbox-prev { left: 4px; }
  .gallery-lightbox-next { right: 4px; }
}

/* Keep the checkout action aligned with the summary column at every breakpoint. */
form.checkout-layout > .checkout-summary-column {
  display: flex;
  flex-direction: column;
  align-self: start;
  min-width: 0;
  gap: 14px;
}

form.checkout-layout > .checkout-summary-column > .place-order-button {
  display: block;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  align-self: stretch;
}

.order-success-card { max-width: 720px; margin: 0 auto; padding: 48px; background: var(--white); border: 1px solid var(--border); text-align: center; }
.invoice-sheet { max-width: 1120px; margin-inline: auto; }
.invoice-header, .invoice-parties { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 18px; padding: 18px; border: 1px solid var(--border); background: var(--white); }
.invoice-header { align-items: start; }
.invoice-header img { width: 130px; height: auto; object-fit: contain; }
.invoice-header h2 { margin: 0 0 8px; color: var(--navy); }
.invoice-header p, .invoice-parties { margin: 0; color: var(--muted); line-height: 1.55; }
.invoice-parties { grid-template-columns: 1fr 1fr; margin-top: 14px; }
.invoice-parties strong { color: var(--navy); }
.invoice-totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; max-width: 380px; margin: 18px 0 18px auto; color: var(--muted); }
.invoice-totals strong { color: var(--navy); text-align: right; }
.invoice-totals .total { padding-top: 10px; border-top: 1px solid var(--border); font-size: 1.12rem; }
.invoice-table-total td { background: #f0e8df; color: var(--navy); font-weight: 800; }
.invoice-from-field { display: grid; gap: 6px; min-width: min(360px, 100%); color: var(--muted); font-size: .82rem; font-weight: 700; }
.invoice-from-field textarea { min-height: 74px; }
.invoice-signature { display: grid; justify-items: start; gap: 6px; margin: 24px 0 18px; padding: 14px 18px; border: 1px solid var(--border); text-align: left; color: var(--navy); }
.invoice-signature img { display: block; width: 150px; height: 64px; object-fit: cover; object-position: center; }
@media (max-width: 720px) { .invoice-header, .invoice-parties { grid-template-columns: 1fr; } .invoice-header img { width: 110px; } .invoice-totals { margin-left: 0; } .invoice-status-form { align-items: stretch; flex-direction: column; } .invoice-from-field { min-width: 0; } }
.order-success-card h1 { margin-bottom: 14px; color: var(--navy); }
.order-success-card > p:not(.eyebrow) { color: var(--muted); }
.order-success-details { display: grid; gap: 14px; margin: 30px 0; padding: 22px; background: var(--bg); text-align: left; }
.order-success-details div { display: flex; justify-content: space-between; gap: 20px; }
.order-success-details dt { color: var(--muted); }
.order-success-details dd { margin: 0; color: var(--navy); font-weight: 700; text-align: right; }
@media (max-width: 720px) {
  .order-success-card { padding: 28px 20px; }
  .order-success-details div { align-items: start; flex-direction: column; gap: 4px; }
  .order-success-details dd { text-align: left; }
}

/* Keep each actual variant independently scannable in the shared admin forms. */
.variant-row {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}
.variant-row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--navy);
}
.variant-description-field { grid-column: 1 / -1; }
.variant-description-field textarea { min-height: 86px; resize: vertical; }
@media (max-width: 720px) {
  .variant-row { padding: 16px; }
  .variant-row-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .variant-description-field { grid-column: auto; }
}

/* Shop listing: keep the mobile catalogue compact and scannable. */
@media (max-width: 767px) {
  .shop-section {
    overflow-x: clip;
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 10px;
    min-width: 0;
    padding-bottom: 24px;
  }

  .shop-product-grid .product-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .shop-product-grid .product-card-image-wrapper {
    height: 120px;
    max-height: 120px;
    aspect-ratio: auto;
    padding: 4px 6px;
    background: #FAFAF8;
  }

  .shop-product-grid .product-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .shop-product-grid .product-discount-badge {
    top: 6px;
    right: 6px;
    max-width: calc(100% - 16px);
    padding: 3px 5px;
    font-size: 9px;
  }

  .shop-product-grid .product-card-body {
    min-width: 0;
    padding: 6px;
  }

  .shop-product-grid .product-label {
    margin: 0 0 2px;
    overflow: hidden;
    color: var(--brand-accent);
    font-size: 9px;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .shop-product-grid .product-card h3 {
    min-height: 2.4em;
    margin: 0 0 4px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .shop-product-grid .product-meta {
    align-items: baseline;
    gap: 4px;
    min-height: 17px;
    flex-wrap: nowrap;
    font-size: 11px;
    white-space: nowrap;
  }

  .shop-product-grid .product-meta strong {
    font-size: 14px;
  }

  .shop-product-grid .product-meta span {
    font-size: 10px;
  }

  .shop-product-grid .product-card .stock {
    min-height: 14px;
    margin: 4px 0 5px;
    font-size: 10px;
    line-height: 1.2;
  }

  .shop-product-grid .product-card form {
    display: block;
  }

  .shop-product-grid .product-card form .btn {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 6px 4px;
    font-size: 11px;
    line-height: 1.15;
    white-space: normal;
  }

  .shop-product-grid .product-card form .btn-ghost,
  .shop-product-grid .product-quick-view {
    display: none;
  }

  .results-bar {
    margin-bottom: 10px;
    gap: 8px;
  }

  .results-bar p {
    font-size: 11px;
  }

  .mobile-shop-actions .btn {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
  }
}

@media (max-width: 359px) {
  .shop-product-grid {
    column-gap: 8px;
    row-gap: 12px;
  }

  .shop-product-grid .product-card-image-wrapper {
    height: 108px;
    max-height: 108px;
    padding: 4px 5px;
  }

  .shop-product-grid .product-card-body {
    padding: 5px;
  }

  .shop-product-grid .product-card h3 {
    font-size: 12px;
  }

  .shop-product-grid .product-meta strong {
    font-size: 13px;
  }

  .shop-product-grid .product-card form .btn {
    min-height: 32px;
    padding-block: 5px;
  }
}

@media (min-width: 391px) and (max-width: 767px) {
  .shop-product-grid .product-card-image-wrapper {
    height: 125px;
    max-height: 125px;
  }
}

/* Product sharing and shop pagination controls. */
.product-card-image-link { position: absolute; inset: 0; display: block; }
.product-card-image-link:focus-visible { outline: 3px solid rgba(20,93,160,.45); outline-offset: -3px; }
.product-share-btn { position: absolute; right: 12px; bottom: 12px; z-index: 4; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; min-height: 38px; padding: 0; border: 1px solid rgba(11,32,56,.12); border-radius: 50%; background: rgba(255,255,255,.96); color: var(--navy); box-shadow: 0 5px 15px rgba(7,27,51,.16); }
.product-share-btn svg { display: none; }
.product-share-icon { display: block; width: 16.875px; height: 16.875px; object-fit: contain; pointer-events: none; }
.product-detail .main-image .product-share-icon { width: 16.875px; height: 16.875px; min-width: 0; min-height: 0; max-width: none; max-height: none; object-fit: contain; }
.product-card .product-share-icon { width: 16px; height: 16px; }
.product-share-btn:hover, .product-share-btn:focus-visible { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.product-share-btn:hover .product-share-icon, .product-share-btn:focus-visible .product-share-icon { filter: invert(1); }
.product-share-btn-detail { right: 18px; bottom: 18px; width: 42px; height: 42px; min-height: 42px; }
.product-share-btn:focus-visible { outline: 3px solid rgba(184,154,100,.55); outline-offset: 3px; }
.share-popover { position: fixed; z-index: 700; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); box-shadow: 0 14px 34px rgba(7,27,51,.2); }
.share-popover[hidden], .share-toast[hidden] { display: none; }
.share-popover p { margin: 0 0 10px; color: var(--navy); font-size: .82rem; font-weight: 800; line-height: 1.3; }
.share-popover-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.share-popover-actions button, .share-popover-actions a { display: block; min-height: 34px; padding: 7px 8px; border: 1px solid var(--border); border-radius: 5px; background: var(--white); color: var(--navy); font-size: .72rem; font-weight: 800; text-align: center; text-decoration: none; }
.share-popover-actions button:hover, .share-popover-actions a:hover, .share-popover-actions button:focus-visible, .share-popover-actions a:focus-visible { border-color: var(--navy); background: var(--light-blue); }
.share-toast { position: fixed; right: 18px; bottom: 18px; z-index: 710; padding: 11px 14px; border-radius: 6px; background: var(--navy); color: var(--white); box-shadow: 0 8px 22px rgba(7,27,51,.22); font-size: .8rem; font-weight: 700; }
.shop-pagination { align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.pagination-pages, .pagination-direction { display: flex; align-items: center; gap: 6px; }
.pagination-number, .pagination-ellipsis, .pagination-prev, .pagination-next { display: inline-grid; place-items: center; min-width: 34px; min-height: 34px; padding: 6px 9px; border: 1px solid var(--border); border-radius: 5px; color: var(--navy); font-size: .78rem; font-weight: 800; text-decoration: none; }
.pagination-number:hover, .pagination-prev:hover, .pagination-next:hover, .pagination-number:focus-visible, .pagination-prev:focus-visible, .pagination-next:focus-visible { border-color: var(--navy); background: var(--light-blue); }
.pagination-number.is-current { border-color: var(--navy); background: var(--navy); color: var(--white); }
.pagination-ellipsis { border-color: transparent; }
.pagination-status { color: var(--muted); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.service-list-table .service-table-image img { width: 58px; height: 58px; object-fit: cover; border-radius: 6px; }
.service-list-table td small { display: block; margin-top: 3px; }
.service-list-table .action-cell { min-width: 250px; }
.service-list-table .action-cell form { display: inline-block; }
.service-existing-images { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 12px; }
.service-description-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.service-description-heading label { color: var(--navy); font-weight: 800; }
.service-image-preview-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.service-image-preview, .service-image-thumbnail { position: relative; display: block; width: 100px !important; height: 100px !important; flex: 0 0 100px; overflow: hidden; border: 1px solid var(--border); border-radius: 7px; }
.service-image-preview img, .service-image-thumbnail img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; border: 0; border-radius: 0; }
.service-image-remove { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 23px; height: 23px; min-height: 23px; padding: 0; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(7,27,51,.82); color: var(--white); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.service-image-remove:hover, .service-image-remove:focus-visible { background: var(--danger); color: var(--white); }
.service-link-dialog[hidden] { display: none; }
.service-link-dialog { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; }
.service-link-dialog-backdrop { position: absolute; inset: 0; background: rgba(7,27,51,.5); }
.service-link-dialog-panel { position: relative; width: min(440px, 100%); padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); box-shadow: 0 18px 48px rgba(7,27,51,.25); }
.service-link-dialog-panel h2 { margin-top: 0; color: var(--navy); }
.service-link-dialog-panel .form-actions { justify-content: flex-end; }
.service-description a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.service-card-description { min-height: 42px; margin: 0 0 12px; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.45; }
.service-card-fee { min-height: 24px; margin: 0 0 14px; color: var(--muted); font-size: .84rem; }
.service-card-fee strong { color: var(--navy); font-size: 1rem; }
.service-card-action { width: 100%; }
.service-image-placeholder { color: var(--blue); }
.service-thumb-row { overflow-x: auto; }
.service-purchase-panel { min-width: 0; }
.service-detail-description { margin: 18px 0; color: var(--text); line-height: 1.65; overflow-wrap: anywhere; }
.service-detail-fee { margin: 20px 0; color: var(--navy); }
.service-description-full { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--border); }
.service-description-full h2 { margin-top: 0; color: var(--navy); }
.service-description-full .service-description { max-width: 850px; color: var(--text); line-height: 1.75; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .services-shop-section .filters { position: fixed; }
  .service-card-description { min-height: 0; }
  .service-detail .product-detail-grid { gap: 20px; }
  .service-description-full { margin-top: 22px; padding-top: 20px; }
}
.rich-editor-shell { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--white); }
.rich-editor-toolbar { display: flex; flex-wrap: wrap; gap: 5px; padding: 7px; border-bottom: 1px solid var(--border); background: var(--light-blue); }
.rich-editor-toolbar button { min-height: 30px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--white); color: var(--navy); font-weight: 700; cursor: pointer; }
.rich-editor { min-height: 170px; padding: 12px; outline: 0; }
.rich-editor-counter { padding: 6px 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: .75rem; }
.rich-editor-counter.is-over { color: var(--danger); font-weight: 800; }
.service-management-form textarea[data-rich-text-source] { display: none; }
.service-active-field { display: inline-flex !important; align-items: center; gap: 8px; }
.service-active-field input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; margin: 0; }
.service-link-preview { position: fixed; z-index: 800; display: flex; gap: 10px; width: min(330px, calc(100vw - 16px)); padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); box-shadow: 0 12px 28px rgba(7,27,51,.2); pointer-events: none; }
.service-link-preview img { width: 62px; height: 52px; flex: 0 0 auto; object-fit: cover; border-radius: 4px; }
.service-link-preview strong, .service-link-preview small, .service-link-preview p { display: block; }
.service-link-preview strong { color: var(--navy); font-size: .8rem; }
.service-link-preview small { margin-top: 3px; color: var(--muted); }
.service-link-preview p { margin: 5px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.35; }
@media (max-width: 560px) {
  .shop-pagination { display: grid; grid-template-columns: 1fr auto; justify-content: stretch; gap: 10px; }
  .pagination-pages { grid-column: 1 / -1; justify-content: center; gap: 3px; }
  .pagination-number { min-width: 30px; min-height: 30px; padding: 5px 6px; font-size: .72rem; }
  .pagination-direction { grid-column: 1 / -1; justify-content: space-between; }
  .pagination-status { justify-self: end; align-self: center; }
  .product-share-btn { right: 7px; bottom: 7px; width: 32px; height: 32px; min-height: 32px; }
  .product-share-btn { background-size: 16px 16px; }
  .product-share-icon { width: 15px; height: 15px; }
  .product-card .product-share-icon { width: 15px; height: 15px; }
  .product-detail .main-image .product-share-icon { width: 15px; height: 15px; }
  .product-share-btn-detail { right: 12px; bottom: 12px; width: 40px; height: 40px; min-height: 40px; }
}
