/* Theme and base styles */
:root {
  --bg: #07111f;
  --bg-2: #0b1728;
  --surface: #101e31;
  --surface-2: #14243a;
  --text: #f5f8fc;
  --muted: #94a6bd;
  --line: rgba(255,255,255,.10);
  --blue: #11a8ff;
  --blue-2: #0879d8;
  --cyan: #66d2ff;
  --green: #43d68b;
  --red: #ff6c7a;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
  --radius: 22px;
  --container: 1180px;
  --header: 84px;
}

html[data-theme="light"] {
  --bg: #f3f7fb;
  --bg-2: #eaf1f8;
  --surface: #ffffff;
  --surface-2: #f7fafe;
  --text: #0c1727;
  --muted: #63758a;
  --line: rgba(12,23,39,.10);
  --shadow: 0 18px 55px rgba(27,57,90,.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height: 1.6;
}

body::selection {
  background: var(--blue);
  color: #fff;
}

a {
  color: inherit;
}

button,input,select,textarea {
  font: inherit;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container),calc(100% - 40px));
  margin-inline: auto;
}

main {
  min-height: 60vh;
}

.section {
  padding: 92px 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

h1,h2,h3,h4,p {
  margin-top: 0;
}

h1,h2,h3 {
  line-height: 1.05;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(3rem,7vw,6.6rem);
}

h2 {
  font-size: clamp(2rem,4vw,3.5rem);
}

p {
  color: var(--muted);
}

/* Header and navigation */
.site-header {
  height: var(--header);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  background: color-mix(in srgb,var(--bg) 88%,transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: max-content;
}

.brand img {
  width: 54px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand b {
  font-size: .9rem;
  letter-spacing: .06em;
}

.brand small {
  font-size: .58rem;
  color: var(--muted);
  letter-spacing: .13em;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.main-nav>a,.nav-drop-btn {
  border: 0;
  background: transparent;
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 11px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
}

.main-nav>a:hover,.main-nav>a.active,.nav-drop-btn:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-drop {
  position: relative;
}

.nav-drop-menu {
  display: none;
  position: absolute;
  top: 48px;
  left: 0;
  width: 230px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.nav-drop.open .nav-drop-menu,.nav-drop:hover .nav-drop-menu {
  display: grid;
}

.nav-drop-menu a {
  padding: 11px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--muted);
  font-size: .86rem;
}

.nav-drop-menu a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-button,.theme-button,.menu-toggle {
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-button {
  gap: 8px;
  padding: 0 11px;
  font-size: .82rem;
  font-weight: 700;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font-size: .68rem;
}

.theme-button {
  width: 40px;
}

.menu-toggle {
  display: none;
  width: 42px;
  font-size: 1.25rem;
}

/* Buttons and shared controls */
.btn {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 750;
  font-size: .88rem;
  cursor: pointer;
  transition: .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg,var(--blue),var(--blue-2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(17,168,255,.18);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-light {
  background: #fff;
  color: #07111f;
}

.btn-small {
  min-height: 38px;
  padding: 0 12px;
  font-size: .78rem;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: .38;
  cursor: not-allowed;
  transform: none;
}

.text-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
}

/* Homepage service cards */
.services-section {
  background: var(--bg-2);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 10px 0 0;
}

.section-heading>p {
  max-width: 360px;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.service-card {
  min-height: 390px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-photo {
  background: linear-gradient(145deg,#0d2038,#07111f);
}

.service-frame {
  background: linear-gradient(145deg,var(--surface),var(--surface-2));
}

.service-gift {
  background: linear-gradient(145deg,#0b70b0,#079fe9);
  color: #fff;
}

.service-gift p,.service-gift .service-no {
  color: rgba(255,255,255,.72);
}

.service-no {
  color: var(--muted);
  font-size: .72rem;
}

.service-icon {
  font-size: 3.6rem;
  margin: auto 0 36px;
  color: var(--cyan);
}

.service-card h3 {
  font-size: 2rem;
  margin-bottom: 13px;
}

.service-card p {
  font-size: .9rem;
}

.service-link {
  margin-top: auto;
  font-size: .82rem;
  font-weight: 750;
}

/* Product cards and catalogue */
.product-section {
  background: var(--bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}

.product-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  transition: .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(17,168,255,.45);
  box-shadow: var(--shadow);
}

.product-card.sold-out {
  opacity: .72;
}

.product-image {
  position: relative;
  aspect-ratio: 1.18;
  background: var(--surface-2);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.stock {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 99px;
  font-size: .65rem;
  font-weight: 800;
  white-space: nowrap;
}

.product-image .stock {
  position: absolute;
  top: 12px;
  left: 12px;
  backdrop-filter: blur(8px);
}

.stock-in {
  color: #b8ffd6;
  background: rgba(33,140,88,.32);
  border: 1px solid rgba(67,214,139,.25);
}

.stock-out {
  color: #ffc3ca;
  background: rgba(150,42,54,.34);
  border: 1px solid rgba(255,108,122,.24);
}

.product-info {
  padding: 18px;
}

.product-type {
  color: var(--cyan);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.product-info h3 {
  font-size: 1.05rem;
  min-height: 2.2em;
  margin: 8px 0 18px;
  letter-spacing: -.01em;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price small {
  width: 100%;
  color: var(--muted);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.product-price strong {
  font-size: 1.05rem;
}

.product-price del {
  color: var(--muted);
  font-size: .76rem;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 16px;
}

.show-more-btn {
  margin: 18px auto 0;
}

.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 14px;
}

.empty-state.large {
  min-height: 260px;
  display: grid;
  place-items: center;
}

/* Process and call to action */
.process-section {
  background: var(--bg-2);
}

.process-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.process-grid h2 {
  margin-top: 12px;
}

.process-steps {
  display: grid;
}

.process-steps>div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.process-steps b {
  color: var(--cyan);
}

.process-steps span {
  display: flex;
  flex-direction: column;
}

.process-steps small {
  color: var(--muted);
  margin-top: 3px;
}

.cta-section {
  padding-top: 30px;
}

.cta-card {
  padding: 50px;
  border-radius: 28px;
  background: linear-gradient(120deg,#087bd4,#11a8ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 30px 80px rgba(17,168,255,.20);
}

.cta-card h2 {
  margin: 10px 0 8px;
}

.cta-card p,.cta-card .kicker {
  color: rgba(255,255,255,.78);
  margin-bottom: 0;
}

/* Service and inner-page layouts */
.page-hero {
  padding: 86px 0 72px;
  background: radial-gradient(circle at 78% 30%,rgba(17,168,255,.18),transparent 30%),var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.page-hero.compact {
  padding: 65px 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  gap: 70px;
}

.page-hero h1 {
  font-size: clamp(3rem,6vw,5.4rem);
  margin: 16px 0 22px;
}

.page-hero p {
  max-width: 700px;
  font-size: 1.04rem;
  margin-bottom: 26px;
}

.abstract-poster {
  height: 390px;
  border-radius: 26px;
  border: 1px solid var(--line);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.abstract-poster::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 58px solid rgba(255,255,255,.08);
  border-radius: 50%;
  right: -70px;
  top: 54px;
}

.abstract-poster span,.abstract-poster small {
  position: relative;
  z-index: 1;
  letter-spacing: .16em;
  font-size: .65rem;
}

.abstract-poster b {
  position: relative;
  z-index: 1;
  font-size: 8rem;
  line-height: .8;
  align-self: flex-end;
}

.poster-photo {
  background: linear-gradient(145deg,#171f2e,#0879d8);
}

.poster-frame {
  background: linear-gradient(145deg,#0d1b2c,#0c8ed8);
}

.poster-mug {
  background: linear-gradient(145deg,#075a8e,#21b8ee);
}

.poster-price {
  background: linear-gradient(145deg,#0b1728,#152a45);
}

.poster-cart {
  background: linear-gradient(145deg,#0b1728,#0879d8);
}

/* Service-page artwork cards support replaceable background images. */

.abstract-poster.poster-image {
  background-image: linear-gradient(180deg,rgba(2,8,15,.20) 0%,rgba(2,8,15,.48) 52%,rgba(2,8,15,.86) 100%),var(--poster-bg,none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  transition: transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}

.abstract-poster.poster-image::before {
  width: 250px;
  height: 250px;
  border-width: 44px;
  border-color: rgba(255,255,255,.09);
  right: -76px;
  top: 50px;
}

.abstract-poster.poster-image span,
.abstract-poster.poster-image small,
.abstract-poster.poster-image b {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0,0,0,.55);
}

.abstract-poster.poster-image:hover {
  transform: translateY(-5px);
  border-color: rgba(131,221,255,.35);
  box-shadow: 0 26px 70px rgba(0,0,0,.30);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}

.feature-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
}

.feature-card>span {
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
}

.feature-card h3 {
  margin: 42px 0 10px;
  font-size: 1.3rem;
}

.feature-card p {
  font-size: .88rem;
  margin-bottom: 0;
}

.split-section {
  padding-top: 10px;
}

.split-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 50px 0;
}

.split-card h2 {
  margin: 10px 0 10px;
}

.split-card p {
  max-width: 700px;
  margin-bottom: 0;
}

/* Pricing */
.pricing-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.pricing-sidebar {
  position: sticky;
  top: 110px;
}

.pricing-sidebar h2 {
  font-size: 2rem;
  margin: 10px 0 24px;
}

.pricing-type-tabs {
  display: grid;
  gap: 7px;
}

.pricing-tab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 11px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.pricing-tab:hover,.pricing-tab.active {
  background: var(--surface);
  border-color: rgba(17,168,255,.4);
  color: var(--text);
}

.results-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.results-head h2 {
  margin: 8px 0 0;
  font-size: 2.6rem;
}

.results-head>span {
  color: var(--muted);
  font-size: .8rem;
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-panel {
  padding: 18px 24px;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 1fr auto 120px 36px;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-row:last-child {
  border-bottom: 0;
}

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

.cart-item-type {
  color: var(--cyan);
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.cart-item-main strong {
  margin: 4px 0;
}

.cart-item-main small {
  color: var(--muted);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-control button,.remove-line {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 9px;
  cursor: pointer;
}

.line-total {
  text-align: right;
  font-size: .9rem;
}

.remove-line {
  color: var(--red);
}

.cart-summary-card {
  padding: 24px;
  position: sticky;
  top: 110px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cart-total-row strong {
  font-size: 1.3rem;
}

.cart-summary-card p {
  font-size: .8rem;
}

.cart-summary-card .btn+.btn {
  margin-top: 4px;
}

.cart-empty {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.cart-empty>span {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--cyan);
  font-weight: 800;
}

.cart-empty h2 {
  margin: 18px 0 8px;
  font-size: 2rem;
}

/* Portal */
.portal-page {
  min-height: calc(100vh - var(--header));
  display: flex;
  align-items: center;
  padding: 70px 0;
  background: radial-gradient(circle at 20% 20%,rgba(17,168,255,.12),transparent 28%),var(--bg);
}

.portal-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.portal-copy h1 {
  font-size: clamp(3rem,6vw,5.6rem);
  margin: 14px 0 22px;
}

.portal-copy>p {
  max-width: 540px;
}

.portal-points {
  margin-top: 42px;
}

.portal-points>div {
  display: grid;
  grid-template-columns: 40px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.portal-points b {
  color: var(--cyan);
  font-size: .72rem;
}

.portal-points span {
  display: flex;
  flex-direction: column;
}

.portal-points small {
  color: var(--muted);
}

.portal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.portal-option {
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: .25s ease;
}

.portal-option:hover {
  transform: translateY(-6px);
  border-color: rgba(17,168,255,.45);
  box-shadow: var(--shadow);
}

.portal-admin {
  background: linear-gradient(145deg,#07598a,#087ed2);
  color: #fff;
}

.portal-admin p {
  color: rgba(255,255,255,.75);
}

.portal-badge {
  font-size: .65rem;
  letter-spacing: .16em;
  color: var(--cyan);
}

.portal-admin .portal-badge {
  color: #d6f3ff;
}

.portal-option h2 {
  margin: auto 0 12px;
  font-size: 2.2rem;
}

.portal-option>b {
  margin-top: 22px;
}

.auth-body {
  min-height: 100vh;
  background: radial-gradient(circle at 78% 20%,rgba(17,168,255,.18),transparent 28%),var(--bg);
}

/* Authentication */
.auth-shell {
  min-height: 100vh;
  width: min(1060px,calc(100% - 40px));
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.auth-brand {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 20px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.auth-brand img {
  width: 46px;
  height: 42px;
  object-fit: contain;
}

.auth-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-copy {
  padding: 54px;
  background: linear-gradient(145deg,#09223b,#0879d8);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-copy .kicker,.auth-copy p {
  color: rgba(255,255,255,.78);
}

.auth-copy h1 {
  font-size: 3.5rem;
  margin: 12px 0 18px;
}

.auth-form {
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .78rem;
  font-weight: 750;
  color: var(--muted);
}

input,select,textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 13px;
  background: var(--surface-2);
  color: var(--text);
  outline: 0;
}

textarea {
  padding: 12px 13px;
  resize: vertical;
}

input:focus,select:focus,textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(17,168,255,.10);
}

.auth-form label+label {
  margin-top: 16px;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 70px;
}

.show-pass {
  position: absolute;
  right: 6px;
  top: 6px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}

.check-row {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 16px 0 !important;
  font-weight: 500;
}

.check-row input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--blue);
}

.form-error {
  min-height: 22px;
  color: #ff8d98;
  font-size: .78rem;
  margin: 0 0 8px;
}

.auth-back {
  text-align: center;
  color: var(--muted);
  text-decoration: none;
  margin-top: 16px;
  font-size: .8rem;
}

/* Admin and dealer management */
.management-page,.dealer-page {
  min-height: calc(100vh - var(--header));
  background: var(--bg-2);
}

.access-gate {
  max-width: 540px;
  margin: 60px auto;
  padding: 50px;
  text-align: center;
}

.gate-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--surface-2);
  color: var(--cyan);
  font-weight: 800;
  font-size: 1.4rem;
}

.access-gate h1 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.management-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 28px;
}

.management-head h1 {
  font-size: 3.3rem;
  margin: 10px 0 8px;
}

.management-head p {
  margin-bottom: 0;
}

.toolbar {
  padding: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.toolbar label {
  min-width: 240px;
}

.toolbar-actions,.form-actions,.table-actions {
  display: flex;
  gap: 8px;
}

.edit-panel {
  padding: 24px;
  margin-bottom: 16px;
  scroll-margin-top: 110px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.panel-head h2 {
  font-size: 1.8rem;
  margin: 6px 0 0;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.form-actions {
  justify-content: flex-end;
  margin-top: 20px;
}

.table-card {
  overflow: hidden;
}

.table-scroll {
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}

.data-table th,.data-table td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
}

.data-table th {
  color: var(--muted);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--surface-2);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.table-btn {
  min-height: 33px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  cursor: pointer;
  font-size: .72rem;
}

.table-btn.danger {
  color: #ff8995;
}

.dealer-banner {
  margin: 20px 0 58px;
  min-height: 120px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(120deg,#07598a,#11a8ff);
  color: #fff;
}

.dealer-banner span {
  font-size: .65rem;
  letter-spacing: .16em;
  opacity: .8;
}

.dealer-banner b {
  margin-top: 6px;
  font-size: 1.4rem;
}

.compact-heading {
  margin-bottom: 20px;
}

.compact-heading h2 {
  font-size: 2.2rem;
}

.dealer-mugs {
  margin-top: 70px;
}

/* WhatsApp widget */
.wa-agent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
}

.wa-fab {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  border: 0;
  background: #25d366;
  color: #062b16;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
  cursor: pointer;
}

.wa-panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: 66px;
  width: 310px;
  padding: 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.wa-panel.open {
  display: block;
}

.wa-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wa-panel-head div {
  display: flex;
  flex-direction: column;
}

.wa-panel-head span {
  color: var(--muted);
  font-size: .72rem;
}

.wa-panel-head button {
  border: 0;
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
}

.wa-panel textarea {
  margin-bottom: 9px;
}

/* Footer */
.site-footer {
  margin-top: 70px;
  padding: 62px 0 24px;
  background: #050b13;
  color: #f1f6fb;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3,1fr);
  gap: 50px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 64px;
  height: 58px;
  object-fit: contain;
}

.footer-brand b {
  font-size: 1rem;
}

.footer-brand p {
  font-size: .78rem;
  margin-top: 3px;
  color: #8092a8;
}

.footer-grid h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #7e94aa;
  margin-bottom: 15px;
}

.footer-grid>div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid a,.footer-grid span {
  text-decoration: none;
  color: #c9d5e1;
  font-size: .8rem;
}

.footer-bottom .footer-credit {
  text-align: center;
}

.footer-bottom .footer-credit strong {
  color: #c9d5e1;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 45px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #667b91;
  font-size: .7rem;
}

/* Responsive layout */
@media (max-width:1000px) {
  .page-hero-grid,.portal-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid {
    gap: 35px;
  }

  .abstract-poster {
    height: 300px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card:last-child {
    grid-column: 1/-1;
    min-height: 300px;
  }

  .product-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-sidebar {
    position: static;
  }

  .pricing-type-tabs {
    grid-template-columns: repeat(2,1fr);
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-card {
    position: static;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid>div:last-child {
    grid-column: 2;
  }
}

@media (max-width:760px) {
  :root {
    --header: 72px;
  }

  .container {
    width: min(100% - 28px,var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 40px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav>a,.nav-drop-btn {
    text-align: left;
    width: 100%;
  }

  .nav-drop-menu {
    position: static;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
    background: var(--surface-2);
  }

  .nav-actions {
    gap: 5px;
  }

  .cart-button .cart-icon {
    display: inline-block;
  }

  .section-heading,.management-head,.split-card,.cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-grid,.feature-grid,.portal-options {
    grid-template-columns: 1fr;
  }

  .service-card,.service-card:last-child {
    grid-column: auto;
    min-height: 320px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 58px 0 52px;
  }

  .page-hero h1 {
    font-size: clamp(3rem,15vw,4.7rem);
  }

  .abstract-poster {
    height: 250px;
  }

  .abstract-poster b {
    font-size: 6rem;
  }

  .pricing-type-tabs {
    grid-template-columns: 1fr;
  }

  .cart-item-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .line-total {
    text-align: left;
  }

  .remove-line {
    justify-self: end;
  }

  .auth-shell {
    width: min(100% - 24px,1060px);
  }

  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-copy,.auth-form {
    padding: 34px 24px;
  }

  .auth-copy h1 {
    font-size: 2.8rem;
  }

  .portal-page {
    padding: 50px 0;
  }

  .portal-option {
    min-height: 290px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar label {
    min-width: 0;
    width: 100%;
  }

  .toolbar-actions {
    width: 100%;
  }

  .toolbar-actions .btn {
    flex: 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .management-head h1 {
    font-size: 2.6rem;
  }

  .cta-card {
    padding: 34px 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-grid>div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width:430px) {
  .hero-actions .btn {
    width: 100%;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .wa-panel {
    width: min(300px,calc(100vw - 28px));
  }

  .access-gate {
    padding: 34px 22px;
  }
}

/* Navigation and interaction states */

.cart-button {
  position: relative;
  width: 46px;
  padding: 0;
  gap: 0;
}

.cart-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.26);
}

.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-drop-btn.active {
  color: var(--text);
  background: var(--surface);
}

.nav-drop.open .nav-chevron {
  transform: translateY(1px) rotate(180deg);
}

.btn,.cart-button,.theme-button,.menu-toggle,.nav-drop-btn,.pricing-tab,.table-btn,.icon-button,.qty-control button,.remove-line,.wa-fab,.wa-close {
  transition: transform .16s ease,box-shadow .18s ease,filter .18s ease,background .18s ease,border-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active,.cart-button:active,.theme-button:active,.menu-toggle:active,.nav-drop-btn:active,.pricing-tab:active,.table-btn:active,.icon-button:active,.qty-control button:active,.remove-line:active,.wa-fab:active,.wa-close:active {
  transform: scale(.94);
}

.btn.action-pop,.wa-quick-actions button.action-pop,.wa-simple-question.action-pop,.wa-send-mini.action-pop,.wa-cart-fill.action-pop {
  animation: actionPop .48s cubic-bezier(.2,.8,.2,1);
}

.btn.action-success {
  box-shadow: 0 0 0 4px rgba(67,214,139,.14),0 12px 28px rgba(67,214,139,.18);
  border-color: rgba(67,214,139,.6);
}

.cart-count.bump {
  animation: cartBadgeBump .48s cubic-bezier(.2,.8,.2,1);
}

.cart-button.cart-pulse {
  animation: cartPulse .48s cubic-bezier(.2,.8,.2,1);
}

@keyframes actionPop {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(.91);
  }

  70% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes cartBadgeBump {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.42);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes cartPulse {
  0% {
    box-shadow: none;
  }

  45% {
    box-shadow: 0 0 0 7px rgba(17,168,255,.14);
  }

  100% {
    box-shadow: none;
  }
}

/* Service card artwork */

.service-card {
  isolation: isolate;
  background-image: linear-gradient(180deg,rgba(3,10,18,.18),rgba(3,10,18,.82)),var(--service-bg,none);
  background-size: cover;
  background-position: center;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg,rgba(17,168,255,.16),transparent 52%);
  transition: background .25s ease,transform .35s ease;
}

.service-card:hover::before {
  background: linear-gradient(135deg,rgba(17,168,255,.27),rgba(0,0,0,.08) 62%);
  transform: scale(1.03);
}

.service-card,.service-card p,.service-card .service-no {
  color: #fff;
}

.service-card p,.service-card .service-no {
  color: rgba(255,255,255,.76);
}

.service-card .service-icon {
  color: #83ddff;
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.service-photo,.service-frame,.service-gift {
  background-color: #0b1728;
}

.product-actions {
  grid-template-columns: 48px 1fr;
}

.icon-action-btn {
  width: 48px;
  padding: 0;
}

.product-cart-icon {
  font-size: 1rem;
  line-height: 1;
}

/* WhatsApp assistant */

.wa-fab {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #062b16;
  font-size: 1.45rem;
  display: grid;
  place-items: center;
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 38px rgba(0,0,0,.30);
}

.wa-panel {
  width: min(370px,calc(100vw - 32px));
  padding: 17px;
  border-radius: 20px;
}

.wa-panel.open {
  display: block;
  animation: waPanelIn .22s ease both;
}

@keyframes waPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.97);
  }

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

.wa-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line) !important;
  border-radius: 10px;
  background: var(--surface-2) !important;
  display: grid;
  place-items: center;
}

@media (max-width:760px) {
  .theme-button {
    width: 38px;
    height: 38px;
  }

  .cart-button {
    width: 42px;
    min-height: 38px;
  }

  .nav-drop-btn {
    justify-content: space-between;
  }

  .nav-drop.open .nav-drop-menu {
    display: grid;
  }

  .nav-drop:hover .nav-drop-menu {
    display: none;
  }

  .nav-drop.open:hover .nav-drop-menu {
    display: grid;
  }
}

@media (max-width:520px) {
  .wa-agent {
    right: 14px;
    bottom: 14px;
  }

  .wa-panel {
    right: 0;
    bottom: 68px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Homepage banner */

.home-banner-section {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.home-banner-frame {
  width: 100%;
  height: clamp(160px,37.5vw,600px);
  overflow: hidden;
  background: var(--surface);
}

.home-banner-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Service dropdown */

.nav-drop-btn {
  gap: 0;
}

/* Compact WhatsApp control */

.wa-agent {
  right: 18px;
  bottom: 18px;
}

.wa-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
}

.wa-fab svg {
  width: 25px;
  height: 25px;
  display: block;
}

.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
}

.wa-panel-mini {
  width: min(286px,calc(100vw - 28px));
  right: 0;
  bottom: 58px;
  padding: 12px;
  border-radius: 15px;
}

.wa-mini-head {
  margin-bottom: 9px;
}

.wa-mini-title {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 7px;
}

.wa-mini-title svg {
  width: 19px;
  height: 19px;
  color: #25d366;
}

.wa-mini-title strong {
  font-size: .86rem;
}

.wa-panel-mini textarea {
  min-height: 78px;
  margin: 0;
  resize: none;
  font-size: .82rem;
}

.wa-mini-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 8px;
}

.wa-cart-fill,.wa-send-mini {
  min-height: 34px;
  border-radius: 9px;
  padding: 0 11px;
  font-size: .74rem;
  font-weight: 800;
  cursor: pointer;
}

.wa-cart-fill {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
}

.wa-send-mini {
  border: 0;
  background: #25d366;
  color: #062b16;
}

.wa-cart-fill:active,.wa-send-mini:active {
  transform: scale(.95);
}

.wa-cart-fill:disabled {
  display: none;
}

@media (max-width:520px) {
  .wa-agent {
    right: 12px;
    bottom: 12px;
  }

  .wa-panel-mini {
    bottom: 56px;
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(2,7,14,.92);
  backdrop-filter: blur(8px);
}

.gallery-lightbox.open {
  display: grid;
  animation: galleryFade .18s ease both;
}

.gallery-lightbox img {
  display: block;
  max-width: min(920px,92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 70px rgba(0,0,0,.45);
}

.gallery-lightbox-close {
  position: fixed;
  right: 22px;
  top: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

@keyframes galleryFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* WhatsApp quick questions */

.wa-panel-mini {
  width: min(300px,calc(100vw - 28px));
}

.wa-question-label {
  display: block;
  margin: 2px 0 7px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 750;
}

.wa-simple-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 9px;
}

.wa-simple-question {
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: .68rem;
  font-weight: 760;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease,border-color .2s ease,background .2s ease;
}

.wa-simple-question:hover {
  border-color: rgba(37,211,102,.55);
  background: rgba(37,211,102,.08);
}

.wa-simple-question:active {
  transform: scale(.96);
}

.wa-or {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 7px 0;
  color: var(--muted);
  font-size: .62rem;
}

.wa-or::before,.wa-or::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

@media (max-width:430px) {
  .wa-simple-questions {
    grid-template-columns: 1fr 1fr;
  }
}

/* Gallery */

.art-gallery-section {
  position: relative;
  overflow: hidden;
  padding: 70px 0 66px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.art-gallery-section::before {
  content: "";
  position: absolute;
  inset: auto auto 30px -140px;
  width: 360px;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: .45;
  pointer-events: auto;
}

.gallery-stage-container {
  position: relative;
  z-index: 1;
}

.gallery-stage-heading {
  width: min(720px,100%);
  margin: 0 auto 26px;
  text-align: center;
}

.gallery-stage-heading .gallery-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .22em;
}

.gallery-stage-heading h2 {
  margin: 0;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(2.15rem,4.4vw,4.2rem);
  font-weight: 500;
  letter-spacing: -.03em;
}

.gallery-stage-heading p {
  max-width: 560px;
  margin: 13px auto 0;
  font-size: .9rem;
}

.gallery-stage-shell {
  width: min(940px,100%);
  margin: 0 auto;
}

.gallery-stage {
  position: relative;
  height: 458px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.gallery-stage-card {
  position: absolute;
  width: 280px;
  height: 420px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 55px rgba(0,0,0,.28);
  cursor: pointer;
  transition: transform .72s cubic-bezier(.22,.8,.2,1),opacity .55s ease,filter .55s ease,border-color .25s ease;
  will-change: transform,opacity;
}

.gallery-stage-card:hover {
  border-color: rgba(102,210,255,.28);
}

.gallery-stage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-stage-card.pos-left {
  transform: translateX(-220px) scale(.78) rotate(-4deg);
  opacity: .42;
  filter: brightness(.72);
  z-index: 1;
}

.gallery-stage-card.pos-center {
  transform: translateX(0) scale(1) rotate(0);
  opacity: 1;
  filter: brightness(1);
  z-index: 4;
}

.gallery-stage-card.pos-right {
  transform: translateX(220px) scale(.78) rotate(4deg);
  opacity: .42;
  filter: brightness(.72);
  z-index: 1;
}

.gallery-stage-card.pos-far-left {
  transform: translateX(-430px) scale(.66) rotate(-7deg);
  opacity: 0;
  filter: brightness(.6);
  z-index: 0;
  pointer-events: none;
}

.gallery-stage-card.pos-far-right {
  transform: translateX(430px) scale(.66) rotate(7deg);
  opacity: 0;
  filter: brightness(.6);
  z-index: 0;
  pointer-events: none;
}

.gallery-stage-card.pos-hidden {
  transform: translateX(0) scale(.62);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.gallery-stage-shell {
  position: relative;
}

.gallery-stage-controls {
  position: absolute;
  inset: 0;
  z-index: 8;
  /* The overlay spans the whole gallery. Let clicks pass through everywhere
     except the actual previous/next arrow buttons. */
  pointer-events: none;
}

.gallery-round {
  position: absolute;
  top: 205px;
  width: 42px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  pointer-events: auto;
  opacity: .58;
  transition: opacity .2s ease,background .2s ease,transform .2s ease;
}

.gallery-prev-control {
  left: 22px;
}

.gallery-next-control {
  right: 22px;
}

.gallery-round span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.gallery-prev-control span {
  transform: translate(-35%,-50%) rotate(-135deg);
}

.gallery-next-control span {
  transform: translate(-65%,-50%) rotate(45deg);
}

.gallery-round:hover {
  opacity: 1;
  background: color-mix(in srgb,var(--surface) 82%,transparent);
}

.gallery-prev-control:hover {
  transform: translateX(-3px);
}

.gallery-next-control:hover {
  transform: translateX(3px);
}

.gallery-round:active {
  transform: scale(.94);
}

.gallery-stage-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 10px;
}

.gallery-stage-count {
  position: relative;
  min-width: 70px;
  padding-right: 22px;
  text-align: center;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.gallery-stage-count::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: var(--line);
  transform: translateY(-50%);
}

.gallery-seeall-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 4px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-transform: uppercase;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
  transition: color .2s ease,border-color .2s ease,gap .2s ease;
}

.gallery-seeall-btn:hover {
  color: var(--cyan);
  border-bottom-color: currentColor;
  gap: 12px;
}

.gallery-grid-icon {
  width: 14px;
  height: 14px;
  display: grid;
  grid-template-columns: repeat(2,5px);
  grid-template-rows: repeat(2,5px);
  gap: 2px;
  flex: 0 0 auto;
}

.gallery-grid-icon i {
  display: block;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 1px;
}

.gallery-stage:focus-visible,.gallery-round:focus-visible,.gallery-seeall-btn:focus-visible,.gallery-stage-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.gallery-progress {
  width: min(420px,78%);
  height: 1px;
  margin: 16px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.gallery-progress span {
  display: block;
  width: 12.5%;
  height: 100%;
  border-radius: inherit;
  background: var(--cyan);
  transition: width .35s ease;
}

.gallery-seeall-wrap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: max-height .72s cubic-bezier(.22,.8,.2,1),opacity .45s ease,transform .55s ease,margin-top .25s ease;
  margin-top: 0;
}

.gallery-seeall-wrap.open {
  max-height: 12000px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 26px;
}

.gallery-seeall-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}

.gallery-seeall-card {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(0,0,0,.16);
  cursor: pointer;
}

.gallery-seeall-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.gallery-seeall-wrap[hidden] {
  display: none !important;
}

.gallery-stage-card.image-unavailable img,
.gallery-seeall-card.image-unavailable img {
  object-fit: contain;
  padding: 24px;
  background: color-mix(in srgb,var(--surface) 90%,var(--cyan) 10%);
}

.gallery-seeall-card:hover img {
  transform: scale(1.03);
}

.gallery-hide-wrap {
  display: flex;
  justify-content: center;
  padding: 30px 0 4px;
}

.gallery-hide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 3px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-transform: uppercase;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
  transition: color .2s ease,border-color .2s ease,gap .2s ease;
}

.gallery-hide-arrow {
  width: 9px;
  height: 9px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(2px);
}

.gallery-hide-btn:hover {
  color: var(--cyan);
  border-bottom-color: currentColor;
  gap: 13px;
}

.gallery-hide-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.gallery-hint {
  margin: 9px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .06em;
}

.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.gallery-lightbox-prev {
  left: 24px;
}

.gallery-lightbox-next {
  right: 24px;
}

.gallery-lightbox-nav:hover {
  background: rgba(255,255,255,.18);
}

@media (max-width:900px) {
  .gallery-stage {
    height: 445px;
  }

  .gallery-stage-card {
    width: 250px;
    height: 390px;
  }

  .gallery-stage-card.pos-left {
    transform: translateX(-175px) scale(.76) rotate(-4deg);
  }

  .gallery-stage-card.pos-right {
    transform: translateX(175px) scale(.76) rotate(4deg);
  }

  .gallery-stage-card.pos-far-left {
    transform: translateX(-350px) scale(.64);
    opacity: 0;
  }

  .gallery-stage-card.pos-far-right {
    transform: translateX(350px) scale(.64);
    opacity: 0;
  }

  .gallery-seeall-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .gallery-prev-control {
    left: 8px;
  }

  .gallery-next-control {
    right: 8px;
  }

  .gallery-round {
    top: 194px;
  }
}

@media (max-width:560px) {
  .art-gallery-section {
    padding: 54px 0 50px;
  }

  .art-gallery-section::before {
    display: none;
  }

  .gallery-stage-heading {
    margin-bottom: 20px;
    text-align: left;
  }

  .gallery-stage-heading p {
    margin-left: 0;
  }

  .gallery-stage {
    height: 390px;
  }

  .gallery-stage-card {
    width: 215px;
    height: 340px;
    border-radius: 20px;
  }

  .gallery-stage-card.pos-left {
    transform: translateX(-112px) scale(.73) rotate(-3deg);
    opacity: .24;
  }

  .gallery-stage-card.pos-right {
    transform: translateX(112px) scale(.73) rotate(3deg);
    opacity: .24;
  }

  .gallery-stage-card.pos-far-left {
    transform: translateX(-250px) scale(.6);
    opacity: 0;
  }

  .gallery-stage-card.pos-far-right {
    transform: translateX(250px) scale(.6);
    opacity: 0;
  }

  .gallery-seeall-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }

  .gallery-stage-meta {
    gap: 16px;
  }

  .gallery-stage-count {
    min-width: 64px;
    padding-right: 16px;
  }

  .gallery-seeall-btn {
    width: auto;
    min-height: 36px;
  }

  .gallery-round {
    top: 170px;
    width: 38px;
    height: 58px;
    opacity: .72;
  }

  .gallery-prev-control {
    left: 2px;
  }

  .gallery-next-control {
    right: 2px;
  }

  .gallery-hint {
    display: none;
  }

  .gallery-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.55rem;
  }

  .gallery-lightbox-prev {
    left: 10px;
  }

  .gallery-lightbox-next {
    right: 10px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .gallery-stage-card, .gallery-seeall-wrap, .gallery-seeall-card img, .gallery-progress span {
    transition: none;
  }
}

/* Footer contact and location */

.footer-grid {
  grid-template-columns: 1.5fr .8fr .8fr 1fr 1.55fr;
  gap: 34px;
  align-items: start;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-location-link {
  margin-top: 4px;
  color: var(--cyan) !important;
  font-weight: 750;
}

.footer-location-link:hover {
  color: #ffffff !important;
}

.footer-map {
  min-width: 0;
}

.location-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: linear-gradient(145deg,rgba(20,36,58,.94),rgba(8,18,31,.98));
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}

.location-map-wrap {
  position: relative;
  height: 142px;
  overflow: hidden;
  background: #0b1728;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.location-map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,rgba(5,11,19,.08) 20%,rgba(5,11,19,.40) 100%);
  box-shadow: inset 0 0 34px rgba(5,11,19,.34);
}

.location-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.72) contrast(1.05) brightness(.82);
}

.location-map-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(102,210,255,.28);
  border-radius: 99px;
  background: rgba(5,11,19,.78);
  color: #f5f8fc;
  backdrop-filter: blur(10px);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.location-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(102,210,255,.12),0 0 16px rgba(102,210,255,.55);
}

.location-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.location-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-copy strong {
  color: #f5f8fc;
  font-size: .78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-copy span {
  color: #7f94aa;
  font-size: .64rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-map-btn {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(102,210,255,.24);
  border-radius: 10px;
  background: rgba(17,168,255,.10);
  color: var(--cyan) !important;
  font-size: .68rem !important;
  font-weight: 800;
  transition: transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease;
}

.location-map-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(102,210,255,.50);
  background: rgba(17,168,255,.18);
  color: #ffffff !important;
}

@media (max-width:1100px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > .footer-map {
    grid-column: 1/-1;
  }

  .location-map-wrap {
    height: 180px;
  }
}

@media (max-width:700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand, .footer-grid > .footer-map {
    grid-column: 1/-1;
  }

  .location-map-wrap {
    height: 190px;
  }
}

@media (max-width:460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > .footer-brand, .footer-grid > .footer-map {
    grid-column: auto;
  }

  .location-card-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .location-map-btn {
    width: 100%;
  }
}


/* Admin image uploads */
.form-span-full {
  grid-column: 1 / -1;
}

.image-upload-field .field-label {
  color: var(--text);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.image-upload-box {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--surface-2);
}

.image-upload-box input[type="file"] {
  width: 100%;
  margin-bottom: 14px;
}

.image-preview-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.image-preview-row img {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.image-preview-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.image-preview-copy small {
  color: var(--muted);
}

.product-admin-thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  display: block;
}

.gallery-upload-control {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-file-label {
  flex: 1 1 360px;
  min-height: 72px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.gallery-file-label span {
  color: var(--text);
  font-weight: 800;
}

.gallery-file-label small {
  color: var(--muted);
  font-weight: 500;
}

#galleryImageFiles {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gallery-upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
  gap: 12px;
  margin-top: 16px;
}

.gallery-upload-preview:empty {
  display: none;
}

.gallery-upload-preview figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 12px;
  overflow: hidden;
}

.gallery-upload-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.gallery-upload-preview figcaption {
  padding: 8px;
  font-size: .68rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
  gap: 16px;
}

.admin-gallery-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 16px;
  overflow: hidden;
}

.admin-gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.admin-gallery-card .admin-gallery-meta {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-gallery-card .admin-gallery-meta span {
  min-width: 0;
  color: var(--muted);
  font-size: .72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-count-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

@media (max-width: 680px) {
  .image-preview-row {
    align-items: flex-start;
  }

  .image-preview-row img {
    width: 92px;
    height: 92px;
  }

  .gallery-upload-control > .btn {
    width: 100%;
  }
}

/* Dealer price management */
.dealer-price-editor {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 160px;
}
.dealer-price-editor span {
  font-weight: 700;
  opacity: .72;
}
.dealer-price-editor input {
  width: 120px;
  min-width: 100px;
  padding: .65rem .75rem;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255,255,255,.14));
  background: var(--surface-2, rgba(255,255,255,.05));
  color: inherit;
}
.table-subtext {
  display: block;
  margin-top: .2rem;
  opacity: .65;
  font-size: .78rem;
}
.dealer-price-table td {
  vertical-align: middle;
}

/* ==============================
   Dealer-only price list redesign
   ============================== */
.dealer-price-page { padding-top: 48px; }
.dealer-hero-head { margin-bottom: 24px; }
.dealer-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}
.dealer-info-strip > div,
.dealer-admin-summary .card {
  border: 1px solid var(--border, rgba(255,255,255,.1));
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(255,255,255,.035);
}
.dealer-info-strip span,
.dealer-admin-summary span {
  display: block;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .65;
  margin-bottom: 5px;
}
.dealer-price-section,
.dealer-admin-card { margin-bottom: 22px; overflow: hidden; }
.dealer-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 22px 24px 16px;
}
.dealer-section-head h2 { margin: 4px 0 0; }
.dealer-section-head p { margin: 0; opacity: .7; max-width: 420px; }
.dealer-public-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.dealer-thanks-table { min-width: 420px; }
.dealer-public-table th,
.dealer-public-table td {
  padding: 17px 22px;
  text-align: left;
  border-top: 1px solid var(--border, rgba(255,255,255,.09));
}
.dealer-public-table th {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .68;
  background: rgba(255,255,255,.03);
}
.dealer-public-table td { font-size: .98rem; }
.dealer-full-price { font-weight: 800; font-size: 1.05rem !important; }
.dealer-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}
.dealer-contact-card p { margin-bottom: 0; opacity: .72; }
.dealer-admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.dealer-admin-summary .card { margin: 0; }
.dealer-add-row {
  display: grid;
  gap: 10px;
  padding: 0 24px 20px;
}
.dealer-add-frame { grid-template-columns: 1.1fr auto repeat(3, 1fr) auto; }
.dealer-add-thanks { grid-template-columns: 1.4fr 1fr auto; max-width: 760px; }
.dealer-add-row input,
.dealer-size-input,
.dealer-price-input {
  width: 100%;
  min-width: 100px;
  border: 1px solid var(--border, rgba(255,255,255,.14));
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  color: inherit;
}
.dealer-edit-table td { vertical-align: middle; }
.dealer-edit-table .table-actions { flex-wrap: nowrap; }
.dealer-admin-note { margin-top: 20px; }

@media (max-width: 850px) {
  .dealer-info-strip,
  .dealer-admin-summary { grid-template-columns: 1fr; }
  .dealer-section-head,
  .dealer-contact-card { align-items: flex-start; flex-direction: column; }
  .dealer-add-frame,
  .dealer-add-thanks { grid-template-columns: 1fr 1fr; }
  .dealer-add-row .btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .dealer-add-frame,
  .dealer-add-thanks { grid-template-columns: 1fr; }
}


/* ==============================
   Dealer cart + order improvements
   ============================== */
.dealer-price-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 130px;
}
.dealer-price-cell > strong { white-space: nowrap; }
.dealer-cart-mini {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border, rgba(255,255,255,.14));
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  color: inherit;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
}
.dealer-cart-mini:hover {
  border-color: var(--cyan, #3cd7ff);
  background: rgba(60,215,255,.08);
}
.dealer-cart-mini:active { transform: scale(.94); }
.dealer-full-actions > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dealer-order-now { white-space: nowrap; }
.dealer-order-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 26px;
  padding: 28px;
  border: 1px solid rgba(60,215,255,.22);
  background:
    radial-gradient(circle at 92% 18%, rgba(60,215,255,.12), transparent 28%),
    var(--surface, rgba(255,255,255,.04));
}
.dealer-order-card::after {
  content: "ORDER";
  position: absolute;
  right: 18px;
  bottom: -26px;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -.07em;
  opacity: .025;
  pointer-events: none;
}
.dealer-order-copy { position: relative; z-index: 1; }
.dealer-order-copy h3 {
  margin: 6px 0 8px;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
}
.dealer-order-copy p {
  max-width: 680px;
  margin: 0;
  opacity: .75;
}
.dealer-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.dealer-contact-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--border, rgba(255,255,255,.12));
  border-radius: 999px;
  color: inherit;
  font-size: .78rem;
  text-decoration: none;
  background: rgba(255,255,255,.035);
}
.dealer-order-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}
.dealer-order-actions .btn { justify-content: center; }
.dealer-inline-cart-count {
  position: static;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  transform: none;
}
@media (max-width: 980px) {
  .dealer-price-cell { min-width: 150px; }
  .dealer-full-actions { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .dealer-order-card { grid-template-columns: 1fr; }
  .dealer-order-actions { min-width: 0; width: 100%; }
  .dealer-order-actions .btn { width: 100%; }
}

/* Dealer Price List tabs */
.dealer-list-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.dealer-list-switch-btn {
  appearance: none;
  border: 0;
  border-radius: 7px;
  padding: 7px 12px;
  min-height: 32px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  opacity: 1;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.dealer-list-switch-btn:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--blue) 8%, transparent);
}
.dealer-list-switch-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  opacity: 1;
  box-shadow: 0 5px 14px rgba(17,168,255,.22);
}
.dealer-list-switch-btn:active { transform: translateY(1px); }
.dealer-price-panel[hidden] { display: none !important; }

@media (max-width: 560px) {
  .dealer-list-switch { width: auto; max-width: 100%; }
  .dealer-list-switch-btn { padding: 7px 10px; font-size: .72rem; }
}

/* Dealer public price-list switch + high-quantity Thanks Card ordering */
.dealer-public-switch {
  margin-top: 2px;
  margin-bottom: 14px;
}
.dealer-public-price-panel[hidden] {
  display: none !important;
}
.dealer-thanks-table {
  min-width: 760px;
}
.dealer-unit-note {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  opacity: .62;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.thanks-qty-control {
  display: grid;
  grid-template-columns: minmax(90px, 110px) minmax(100px, 130px);
  gap: 8px;
  align-items: center;
  min-width: 220px;
}
.thanks-qty-control select,
.thanks-qty-control input,
.cart-qty-input {
  width: 100%;
  border: 1px solid var(--border, rgba(255,255,255,.14));
  border-radius: 10px;
  background: rgba(255,255,255,.045);
  color: inherit;
  font: inherit;
  font-weight: 700;
  outline: none;
}
.thanks-qty-control select,
.thanks-qty-control input {
  height: 40px;
  padding: 0 10px;
}
.thanks-qty-control select:focus,
.thanks-qty-control input:focus,
.cart-qty-input:focus {
  border-color: var(--accent, #d6a34a);
  box-shadow: 0 0 0 3px rgba(214,163,74,.12);
}
.dealer-thanks-order-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  min-width: 170px;
}
.cart-qty-input {
  width: 78px;
  height: 34px;
  padding: 0 7px;
  text-align: center;
}

@media (max-width: 760px) {
  .dealer-public-switch {
    display: inline-flex;
    width: auto;
    max-width: 100%;
  }
  .thanks-qty-control {
    grid-template-columns: 100px 110px;
    min-width: 218px;
  }
}

/* Dealer summary cards now sit directly above Order / Enquiries */
.dealer-public-price-panel + .dealer-info-strip,
.dealer-info-strip {
  margin-top: 24px;
  margin-bottom: 12px;
}
.dealer-info-strip > div {
  padding: 13px 15px;
  border-radius: 13px;
}
.dealer-info-strip strong {
  display: block;
  line-height: 1.35;
}
.dealer-info-strip + .dealer-order-card {
  margin-top: 0;
}


/* Photography session type cards */
.session-type-grid {
  grid-template-columns: repeat(3,1fr);
}

.session-type-card {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  background-image:
    linear-gradient(180deg,rgba(3,10,18,.12),rgba(3,10,18,.88)),
    var(--session-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.session-type-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg,rgba(17,168,255,.18),transparent 48%);
  transition: background .25s ease,transform .35s ease;
}

.session-type-card:hover {
  transform: translateY(-6px);
  border-color: rgba(131,221,255,.42);
  box-shadow: 0 24px 58px rgba(0,0,0,.28);
}

.session-type-card:hover::before {
  transform: scale(1.03);
  background: linear-gradient(135deg,rgba(17,168,255,.30),rgba(0,0,0,.06) 62%);
}

.session-type-card > span {
  color: #83ddff;
  position: relative;
  z-index: 1;
}

.session-type-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.55rem;
}

.session-type-card p {
  color: rgba(255,255,255,.82);
  margin: 0 0 18px;
}

.session-type-card b {
  color: #83ddff;
  font-size: .82rem;
  letter-spacing: .02em;
}

.session-detail-hero .abstract-poster {
  background-position: center;
}

.session-detail-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.session-detail-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
}

.session-detail-card span {
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
}

.session-detail-card h3 {
  margin: 24px 0 10px;
  font-size: 1.25rem;
}

.session-detail-card p {
  margin: 0;
  font-size: .9rem;
}

@media (max-width: 900px) {
  .session-type-grid,
  .session-detail-grid {
    grid-template-columns: 1fr;
  }
  .session-type-card {
    min-height: 280px;
  }
}


/* Admin confirmations / warnings */
.admin-message-box {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .16s ease;
}
.admin-message-box[hidden] { display: none !important; }
.admin-message-box.open { opacity: 1; }
.admin-message-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4,9,18,.72);
  backdrop-filter: blur(7px);
}
.admin-message-card {
  position: relative;
  width: min(430px,100%);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb,var(--surface) 94%,#0b1526 6%);
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
  text-align: center;
  transform: translateY(10px) scale(.98);
  transition: transform .16s ease;
}
.admin-message-box.open .admin-message-card { transform: translateY(0) scale(1); }
.admin-message-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb,var(--cyan) 18%,transparent);
  border: 1px solid color-mix(in srgb,var(--cyan) 42%,transparent);
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: 900;
}
.admin-message-box[data-type="warning"] .admin-message-icon,
.admin-message-box[data-type="danger"] .admin-message-icon {
  background: rgba(255,174,66,.13);
  border-color: rgba(255,174,66,.42);
  color: #ffbd66;
}
.admin-message-box[data-type="danger"] .admin-message-icon {
  background: rgba(255,88,88,.13);
  border-color: rgba(255,88,88,.42);
  color: #ff7373;
}
.admin-message-box[data-type="success"] .admin-message-icon {
  background: rgba(87,214,151,.13);
  border-color: rgba(87,214,151,.42);
  color: #70dfaa;
}
.admin-message-card h3 { margin: 0 0 9px; font-size: 1.25rem; }
.admin-message-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.admin-message-actions { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }

/* Gallery limits + captions */
.gallery-limit-note {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: .74rem;
}
.gallery-limit-note.warning { border-color: rgba(255,174,66,.38); color: #ffbd66; }
.gallery-limit-note.limit-reached { border-color: rgba(102,210,255,.36); color: var(--cyan); }
.gallery-upload-preview-body { padding: 9px; display: grid; gap: 8px; }
.gallery-upload-preview-body small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-caption-input,
.admin-gallery-caption-editor input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  outline: none;
}
.gallery-caption-input:focus,
.admin-gallery-caption-editor input:focus { border-color: color-mix(in srgb,var(--cyan) 58%,var(--line)); box-shadow: 0 0 0 3px rgba(102,210,255,.08); }
.admin-gallery-caption-editor { padding: 12px 12px 0; display: grid; gap: 7px; }
.admin-gallery-caption-editor label { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-gallery-caption-editor small { color: var(--muted); font-size: .68rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-gallery-meta .table-actions { flex-wrap: wrap; justify-content: flex-end; }
.table-btn:disabled { opacity: .42; cursor: not-allowed; }

.gallery-stage-caption,
.gallery-seeall-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(5,10,18,.68);
  color: #fff;
  font-size: .72rem;
  line-height: 1.35;
  text-align: left;
  backdrop-filter: blur(7px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.gallery-stage-caption { opacity: 0; transition: opacity .25s ease; }
.gallery-stage-card.pos-center .gallery-stage-caption { opacity: 1; }
.gallery-seeall-card { position: relative; }
.gallery-lightbox-caption {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  max-width: min(720px,calc(100vw - 120px));
  transform: translateX(-50%);
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(4,9,16,.72);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  backdrop-filter: blur(9px);
}
.gallery-lightbox-caption[hidden] { display: none !important; }

@media (max-width: 680px) {
  .admin-message-actions { flex-direction: column-reverse; }
  .admin-message-actions .btn { width: 100%; }
  .gallery-lightbox-caption { max-width: calc(100vw - 40px); bottom: 18px; border-radius: 14px; }
}

/* Dealer simplified order builder */
.dealer-order-builder {
  margin: 18px 0 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(72,178,255,.08), rgba(72,178,255,.025));
}
.dealer-builder-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dealer-builder-fields label { display: grid; gap: 6px; }
.dealer-builder-fields label > span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.dealer-builder-fields select,
.dealer-builder-fields input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  padding: 9px 11px;
}
.dealer-builder-summary {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) minmax(130px, .7fr) minmax(240px, 1.4fr);
  gap: 12px;
  align-items: end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.dealer-builder-summary > div:not(.dealer-builder-actions) { display: grid; gap: 3px; }
.dealer-builder-summary span { color: var(--muted); font-size: .78rem; }
.dealer-builder-summary strong { font-size: 1.15rem; }
.dealer-builder-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.dealer-builder-actions .btn { min-width: 126px; }
.dealer-unavailable { display: inline-grid; gap: 1px; color: var(--muted); }
.dealer-unavailable strong { color: #f2a3a3; font-size: .87rem; }
.dealer-unavailable small { font-size: .7rem; }
.dealer-availability-toggle,
.dealer-availability-new {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  font-size: .82rem;
  white-space: nowrap;
}
.dealer-availability-toggle input,
.dealer-availability-new input { accent-color: var(--blue); }
.dealer-price-input:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 760px) {
  .dealer-builder-fields,
  .dealer-builder-summary { grid-template-columns: 1fr; }
  .dealer-builder-actions { justify-content: stretch; }
  .dealer-builder-actions .btn { flex: 1 1 140px; }
}

/* Stable positioning for sticky-header navigation and catalogue switching */
html {
  scroll-padding-top: calc(var(--header) + 18px);
}

section[id], .pricing-results {
  scroll-margin-top: calc(var(--header) + 18px);
}

.pricing-results {
  min-width: 0;
}

.pricing-tab {
  position: relative;
}

.pricing-tab.active {
  box-shadow: inset 3px 0 0 var(--cyan);
}

@media (max-width:1000px) {
  .pricing-sidebar {
    margin-bottom: 8px;
  }
}

@media (max-width:760px) {
  .pricing-type-tabs {
    gap: 8px;
  }

  .pricing-tab {
    min-height: 46px;
  }

  .results-head {
    align-items: flex-start;
  }
}
