:root {
  --ink: #111827;
  --muted: #5f6d7e;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --blue: #2f70bf;
  --blue-dark: #1f5da8;
  --mint: #ddfff8;
  --line: #dfe8ef;
  --paper: #ffffff;
  --soft: #f3f8fb;
  --accent: #f59e0b;
  --danger: #dc2626;
  --shadow: 0 18px 44px rgba(17, 24, 39, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.template-shop {
  background: #e9edf2;
}

a {
  color: inherit;
  text-decoration: none;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 82px;
  padding: 12px clamp(22px, 7vw, 148px);
  color: #ffffff;
  background: var(--blue);
  border-bottom: 0;
  box-shadow: 0 14px 28px rgba(25, 72, 128, .26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 10px 13px;
  color: rgba(255, 255, 255, .92);
  font-size: .94rem;
  font-weight: 950;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a::after {
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  content: "";
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .16s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  font-size: 1.45rem;
  box-shadow: 0 12px 28px rgba(15, 118, 110, .12);
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  display: grid;
  align-content: start;
  width: min(86vw, 360px);
  height: 100vh;
  padding: 18px;
  background: rgba(255, 255, 255, .98);
  border-left: 1px solid var(--line);
  box-shadow: -26px 0 60px rgba(15, 23, 42, .18);
  transform: translateX(105%);
  transition: transform .24s ease;
}

.mobile-nav-panel.open {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-head strong,
.mobile-nav-head small {
  display: block;
}

.mobile-nav-head small {
  margin-top: 4px;
  color: var(--teal);
  font-weight: 900;
}

.mobile-nav-close {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #334155;
  background: #f3f8fb;
  border: 0;
  border-radius: 8px;
}

.mobile-nav-links {
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.mobile-nav-links a,
.mobile-nav-links button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: #263445;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  text-align: left;
}

.mobile-nav-links a:hover,
.mobile-nav-links button:hover {
  color: var(--teal);
  background: #effdfa;
  border-color: #b8f1e9;
}

.mobile-nav-links i {
  color: var(--teal);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(4px);
}

.mobile-nav-backdrop.open {
  display: block;
}

body.mobile-nav-open {
  overflow: hidden;
}

.cart-pill,
.install-app-pill,
.btn,
.icon-btn,
.close-btn,
.work-controls button,
.filter-btn,
.qty-btn {
  border: 0;
  cursor: pointer;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  font-weight: 900;
}

.install-app-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  color: #0f3152;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(16, 43, 71, .18);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.user-shell {
  position: relative;
}

.user-pill-rich {
  min-height: 50px;
}

.user-pill-rich span {
  display: grid;
  gap: 2px;
  text-align: left;
}

.user-pill-rich strong {
  max-width: 210px;
  overflow: hidden;
  color: #ffffff;
  font-size: .95rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pill-rich small {
  color: rgba(255, 255, 255, .72);
  font-size: .74rem;
  font-weight: 800;
}

.user-pill i {
  color: #ffffff;
  font-size: 1.1rem;
}

.install-app-pill i {
  color: var(--teal);
  font-size: 1.08rem;
}

.user-chevron {
  font-size: .84rem !important;
  transition: transform .18s ease;
}

.user-pill[aria-expanded="true"] .user-chevron {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 45;
  display: none;
  min-width: 230px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.user-dropdown.open {
  display: grid;
  gap: 4px;
}

.user-dropdown a,
.user-dropdown button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  color: #334155;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  color: var(--teal);
  background: #effdfa;
}

.cart-pill b {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  color: var(--blue);
  background: #ffffff;
  border-radius: 999px;
  font-size: .8rem;
}

.template-arrival-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  padding: clamp(54px, 7vw, 92px) clamp(22px, 8vw, 128px) 70px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .52)),
    #e9edf2;
}

.arrival-tools {
  position: absolute;
  top: 18px;
  left: clamp(22px, 8vw, 128px);
  z-index: 2;
  display: grid;
  gap: 6px;
}

.arrival-tools a {
  width: max-content;
  min-width: 74px;
  padding: 7px 11px;
  color: #ffffff;
  background: #171717;
  border-radius: 3px;
  font-size: .76rem;
  font-weight: 850;
}

.arrival-heading {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(780px, 100%);
  margin: 0 auto 44px;
  text-align: center;
}

.arrival-heading .kicker {
  margin: 0;
  color: var(--blue);
}

.arrival-heading h1 {
  margin: 0;
  color: #050505;
  font-size: clamp(2.45rem, 5vw, 4.15rem);
  font-weight: 500;
  line-height: 1;
}

.arrival-heading > span {
  width: 48px;
  height: 3px;
  background: var(--blue);
}


.arrival-logo-heading {
  margin-bottom: 42px;
}

.arrival-logo {
  display: block;
  width: min(560px, 92vw);
  max-height: 320px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, .75);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(32, 58, 84, .16);
}
.arrival-heading p {
  width: min(620px, 100%);
  margin: 0;
  color: #4d5b68;
  font-size: 1rem;
  line-height: 1.6;
}

.arrival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  width: min(930px, 100%);
  margin: 0 auto;
}

.arrival-card {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(32, 58, 84, .14);
}

.arrival-card .product-gallery {
  width: 100%;
  height: 100%;
  min-height: 315px;
}

.arrival-card .product-gallery-slide img {
  width: 100%;
  height: 100%;
  min-height: 315px;
  object-fit: cover;
  transition: transform .3s ease;
}

.arrival-card:hover .product-gallery-slide img {
  transform: scale(1.045);
}

.arrival-card-body {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: end;
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(3, 15, 32, .86));
}

.arrival-card span,
.arrival-card h2,
.arrival-card strong {
  display: block;
}

.arrival-card span {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, .78);
  font-size: .74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.arrival-card h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.arrival-card strong {
  color: #ffffff;
  font-size: .95rem;
}

.arrival-card .icon-btn {
  grid-column: 2;
  grid-row: 2 / 4;
}

.arrival-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  padding: 104px clamp(20px, 10vw, 160px) 76px;
  box-shadow: inset 0 -110px 90px rgba(255, 255, 255, .15);
}

.hero-inner {
  width: min(800px, 100%);
}

.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero .kicker {
  display: inline-flex;
  padding: 8px 12px;
  color: #c8fff7;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
}

.hero h1 {
  width: min(780px, 100%);
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .96;
  letter-spacing: 0;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 24px 0 0;
  color: #e6fbff;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 950;
}

.btn-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 26px rgba(47, 112, 191, .26);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-light {
  color: #052f2b;
  background: #ffffff;
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .38);
}

.btn-outline {
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #9cbde4;
}

.btn-success {
  color: #ffffff;
  background: #16a34a;
}

.btn-info {
  color: #ffffff;
  background: #0ea5e9;
}

.btn-danger {
  color: #ffffff;
  background: #dc2626;
}

.btn.full {
  width: 100%;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.hero-stats span {
  min-width: 150px;
  padding: 13px 16px;
  color: #eafffb;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
}

.hero-stats strong {
  display: block;
  color: #8ef5e4;
  font-size: 1.35rem;
}

.business-profile-band {
  position: relative;
  display: grid;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.business-profile-cover {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(1.08);
}

.business-profile-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 10px;
  min-height: 270px;
  padding: 64px 20px 26px;
  background: linear-gradient(180deg, rgba(17, 24, 39, .05) 0%, rgba(17, 24, 39, .82) 66%, rgba(17, 24, 39, .95) 100%);
  text-align: center;
}

.business-profile-content img {
  width: 132px;
  height: 132px;
  margin-bottom: 8px;
  object-fit: cover;
  border: 8px solid #111827;
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .36);
}

.business-profile-content h2,
.business-profile-content strong,
.business-profile-content span,
.business-profile-content small {
  display: block;
}

.business-profile-content h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1;
}

.business-profile-content strong {
  margin-top: 4px;
  font-size: 1.04rem;
}

.business-profile-content span {
  margin-top: 6px;
  color: #9fb0c3;
}

.business-profile-content small {
  margin-top: 10px;
  color: #4ade80;
  font-size: 1rem;
  font-weight: 900;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 8vw, 128px);
  background: var(--line);
}

.quick-strip article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 14px;
  padding: 26px;
  background: var(--paper);
}

.quick-strip i {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--teal);
  background: var(--mint);
  border-radius: 8px;
}

.quick-strip strong {
  align-self: end;
  font-size: 1rem;
}

.quick-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 84px clamp(20px, 8vw, 128px);
}

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

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:not(.kicker) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 14px;
  color: #375064;
  background: #f3f8fb;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.filter-btn.active,
.filter-btn:hover {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: #b4e4dd;
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef6f8;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: inherit;
  touch-action: pan-y;
  outline: none;
}

.product-gallery-track {
  display: flex;
  height: 100%;
  transition: transform .34s ease;
  will-change: transform;
}

.product-gallery-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.product-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #0f172a;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
  transform: translateY(-50%);
}

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

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

.product-gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  background: rgba(15, 23, 42, .36);
  border-radius: 999px;
  transform: translateX(-50%);
}

.product-gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgba(255, 255, 255, .55);
  border: 0;
  border-radius: 999px;
}

.product-gallery-dots button.active {
  width: 18px;
  background: #ffffff;
}

.arrival-card .product-gallery-dots {
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
  transform: none;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  color: #0b3b34;
  background: #d8fff7;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 950;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.category {
  color: var(--teal);
  font-size: .78rem;
  font-weight: 950;
}

.product-body h3 {
  margin: 9px 0 8px;
  font-size: 1.08rem;
  line-height: 1.28;
}

.product-body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-bottom strong {
  color: var(--blue);
  font-size: 1.12rem;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
}

.payment-section {
  background: var(--soft);
}

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

.payment-grid article {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-grid i {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--teal);
  background: var(--mint);
  border-radius: 8px;
  font-size: 1.25rem;
}

.payment-grid strong,
.payment-grid span {
  display: block;
}

.payment-grid strong {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.payment-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.work-section {
  background: linear-gradient(180deg, #ffffff, #eefdf9);
}

.work-controls {
  display: flex;
  gap: 8px;
}

.work-controls button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--teal);
  background: #ffffff;
  border: 1px solid #bfe7e0;
  border-radius: 8px;
}

.work-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 0 22px;
}

.work-carousel::-webkit-scrollbar {
  height: 8px;
}

.work-carousel::-webkit-scrollbar-thumb {
  background: #54bdb1;
  border-radius: 999px;
}

.work-carousel figure {
  flex: 0 0 172px;
  height: 172px;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 6px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .16);
  scroll-snap-align: start;
  cursor: zoom-in;
  transition: transform .22s ease, box-shadow .22s ease;
}

.work-carousel figure:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 24px 52px rgba(15, 23, 42, .22);
}

.work-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-section {
  background: #ffffff;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.video-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: #b4e4dd;
  box-shadow: var(--shadow);
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  background: #0f172a;
  border: 0;
  cursor: default;
}

.video-thumb img,
.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform .32s ease, opacity .32s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.06);
  opacity: 1;
}

.video-card:hover .video-thumb video {
  transform: none;
}

.video-player-shell video {
  display: block;
  background: #0f172a;
}

.video-play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .46));
  font-size: 3rem;
}

.video-play-icon i {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  background: rgba(15, 118, 110, .88);
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .24);
}

.video-card-body {
  padding: 18px;
}

.video-card-body span {
  color: var(--teal);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.video-card-body h3 {
  margin: 9px 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.video-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.video-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  color: #0f766e;
  background: #effdfa;
  border: 1px solid #b8f1e9;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.video-expand-btn:hover {
  background: #d8fbf3;
  border-color: #75d9ca;
  transform: translateY(-1px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 18px);
  width: min(440px, 100vw);
  height: 100dvh;
  padding: clamp(16px, 2.2vh, 24px);
  overflow: hidden;
  background: #ffffff;
  box-shadow: -24px 0 58px rgba(15, 23, 42, .2);
  transform: translateX(104%);
  transition: transform .28s ease;
  overscroll-behavior: contain;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  transition: opacity .22s ease;
}

.drawer-backdrop.open {
  pointer-events: auto;
  opacity: 1;
}

.cart-head {
  flex: 0 0 auto;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.cart-head h2 {
  margin: 0;
  font-size: 1.8rem;
}

.close-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #334155;
  background: #f1f5f9;
  border-radius: 8px;
}

.cart-items {
  flex: 0 1 auto;
  overflow: auto;
  max-height: clamp(96px, 22dvh, 220px);
  min-height: 0;
  margin: 0 -8px 0 0;
  padding-right: 8px;
}

.cart-empty {
  display: grid;
  place-items: center;
  min-height: 170px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

.cart-line {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-line h3 {
  margin: 0 0 5px;
  font-size: .96rem;
  line-height: 1.25;
}

.cart-line strong {
  color: var(--blue);
}

.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.qty-control {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qty-btn,
.qty-control span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 32px;
  background: #ffffff;
}

.qty-btn {
  color: var(--teal);
  font-weight: 950;
}

.remove-btn {
  color: var(--danger);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.buyer-form {
  flex: 1 1 auto;
  display: grid;
  gap: 9px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  overscroll-behavior: contain;
}

.buyer-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: .86rem;
  font-weight: 900;
}

.buyer-form textarea {
  min-height: 72px;
  resize: vertical;
}

.buyer-form input,
.buyer-form select,
.buyer-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.buyer-form input:focus,
.buyer-form select:focus,
.buyer-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, .12);
}

.cart-footer {
  flex: 0 0 auto;
  padding-top: 12px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 26px rgba(15, 23, 42, .06);
}

.total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.total-line span {
  color: var(--muted);
  font-weight: 800;
}

.total-line strong {
  color: var(--blue);
  font-size: 1.35rem;
}

.cart-footer .btn + .btn {
  margin-top: 8px;
}

@media (max-height: 820px) and (min-width: 769px) {
  .cart-drawer {
    gap: 9px;
    padding: 14px 16px;
  }

  .cart-head h2 {
    font-size: 1.55rem;
  }

  .cart-head .kicker {
    margin-bottom: 4px;
  }

  .cart-items {
    max-height: 118px;
  }

  .cart-line {
    grid-template-columns: 56px 1fr;
    gap: 10px;
    padding: 9px 0;
  }

  .cart-line img {
    width: 56px;
    height: 56px;
  }

  .buyer-form {
    gap: 7px;
  }

  .buyer-form label {
    gap: 4px;
    font-size: .81rem;
  }

  .buyer-form input,
  .buyer-form select,
  .buyer-form textarea {
    min-height: 40px;
    padding: 8px 10px;
  }

  .buyer-form textarea {
    min-height: 64px;
  }

  .cart-footer {
    padding-top: 9px;
  }

  .total-line {
    margin-bottom: 8px;
  }

  .total-line strong {
    font-size: 1.18rem;
  }

  .cart-footer .btn {
    min-height: 42px;
    padding-block: 9px;
  }

  .cart-footer .btn + .btn {
    margin-top: 6px;
  }
}

.lite-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  background: rgba(15, 23, 42, .56);
  backdrop-filter: blur(8px);
}

.lite-modal-layer.open {
  display: block;
}

.lite-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lite-modal.open {
  display: flex;
}

.lite-modal-card {
  width: min(680px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: clamp(20px, 4vw, 32px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .25);
  animation: liteModalIn .18s ease both;
}

.lite-modal-sm {
  width: min(500px, 100%);
}

@keyframes liteModalIn {
  from {
    transform: translateY(18px) scale(.985);
    opacity: 0;
  }

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

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.15;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.auth-tabs button {
  min-height: 42px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.auth-tabs button.active {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}

.auth-form {
  display: none;
  gap: 12px;
}

.auth-form.active {
  display: grid;
}

.auth-form label,
.form-grid label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: .88rem;
  font-weight: 900;
}

.auth-form input,
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
}

.auth-form input:focus,
.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, .12);
}

.auth-note {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}

.auth-link-btn {
  justify-self: center;
  padding: 4px 8px;
  color: var(--teal);
  background: transparent;
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

.auth-link-btn:hover,
.auth-link-btn:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.payment-selector-list {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.payment-selector-list button {
  display: grid;
  grid-template-columns: 34px 1fr 22px;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.payment-selector-list button:hover {
  background: #effdfa;
  border-color: #b8f1e9;
}

.payment-selector-list i:first-child {
  color: var(--teal);
  font-size: 1.22rem;
}

.qr-payment-box {
  position: relative;
  display: grid;
  place-items: center;
  width: min(300px, 100%);
  margin: 0 auto 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-payment-box img,
.qr-payment-box canvas {
  width: 260px;
  height: 260px;
  object-fit: contain;
}

.qr-provider-badge {
  position: absolute;
  left: 50%;
  bottom: 22px;
  min-width: 58px;
  padding: 5px 9px;
  color: #0f6ea8;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 999px;
  font-weight: 950;
  transform: translateX(-50%);
}

.qr-reference,
.qr-expiration {
  color: var(--muted);
  text-align: center;
}

.qr-reference strong,
.qr-expiration span {
  color: var(--teal);
}

.modal-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.personal-pay-banner,
.payment-success-brand {
  display: grid;
  place-items: center;
  min-height: 96px;
  margin: -8px -8px 18px;
  color: #ffffff;
  background: #11b7de;
  border-radius: 8px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 300;
}

.card-payment-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-payment-tab {
  display: grid;
  place-items: center;
  min-height: 72px;
  margin-bottom: 16px;
  color: #0d6efd;
  border: 3px solid #0d6efd;
  border-radius: 6px;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.full-field {
  grid-column: 1 / -1;
}

.secure-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0;
  color: var(--muted);
}

.secure-note i {
  color: var(--teal);
}

.payment-security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.payment-security-badges span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 11px;
  color: var(--teal-dark);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 850;
}

.transfer-destination {
  padding: 16px;
  margin-bottom: 16px;
  background: #ecfdf5;
  border: 1px solid #b2f5ea;
  border-radius: 8px;
}

.transfer-destination span,
.transfer-destination strong,
.transfer-destination small {
  display: block;
}

.transfer-destination span {
  color: var(--teal);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.transfer-destination strong {
  margin-top: 4px;
}

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

.payment-success-table {
  overflow: hidden;
  margin: 16px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-success-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.payment-success-table div:last-child {
  border-bottom: 0;
}

.payment-success-table span {
  color: #334155;
  font-size: .88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-success-table strong {
  text-align: right;
}

.payment-proof-panel {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
  border-radius: 8px;
}

.payment-proof-panel[hidden] {
  display: none;
}

.payment-proof-panel label {
  display: grid;
  gap: 7px;
  color: #0f172a;
  font-weight: 900;
}

.payment-proof-panel input {
  width: 100%;
  padding: 11px;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.payment-proof-panel p {
  display: flex;
  gap: 8px;
  margin: 0;
  color: #475569;
  font-size: .9rem;
  font-weight: 700;
}

.modal-error {
  margin: 12px 0 0;
  padding: 11px 12px;
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-weight: 800;
}

.modal-error.success {
  color: #065f46;
  background: #d1fae5;
  border-color: #99f6e4;
}

.work-zoom-card {
  width: min(940px, 100%);
}

.work-zoom-stage {
  margin: 0;
}

.work-zoom-stage img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 8px;
  transition: transform .18s ease;
  cursor: zoom-in;
}

.work-zoom-stage figcaption {
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
}

.video-modal-card {
  width: min(980px, 100%);
}

.video-modal-stage {
  overflow: hidden;
  background: #0f172a;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.video-modal-stage video {
  width: 100%;
  max-height: 72vh;
  display: block;
  background: #0f172a;
}

.video-modal-description {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

body.lite-modal-open {
  overflow: hidden;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding: 50px clamp(20px, 8vw, 128px);
  color: #dbeafe;
  background: #101827;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.site-footer p {
  max-width: 470px;
  margin: 0;
  color: #b8c4d8;
  line-height: 1.6;
}

.site-footer span {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-footer a {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 9px 0;
  color: #dbeafe;
}

.site-footer a:hover {
  color: #99f6e4;
}

.empty-state {
  padding: 48px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

.empty-state i {
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 2.2rem;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  padding: 14px 16px;
  color: #ffffff;
  background: #0f766e;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(22px);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Bootstrap boutique refresh */
html,
body {
  overflow-x: hidden;
}

body.template-shop {
  background: #f6f8fb;
}

.site-header {
  min-height: 78px;
  padding: 12px clamp(18px, 4.8vw, 92px);
  background:
    linear-gradient(135deg, #1f5da8 0%, #2f70bf 58%, #0f766e 100%);
  box-shadow: 0 16px 40px rgba(31, 93, 168, .24);
}

.nav-links {
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
}

.nav-links a {
  padding: 9px 10px;
  font-size: .88rem;
}

.header-actions {
  flex: 0 0 auto;
}

.template-arrival-hero {
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100svh - 142px);
  padding: clamp(42px, 6vw, 74px) clamp(18px, 6vw, 104px) clamp(46px, 6vw, 78px);
  color: #ffffff;
  background:
    linear-gradient(105deg, rgba(9, 23, 44, .94) 0%, rgba(17, 45, 79, .84) 48%, rgba(15, 118, 110, .58) 100%),
    var(--hero-bg) center / cover no-repeat,
    #101827;
}

.template-arrival-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at 78% 12%, rgba(245, 158, 11, .22), transparent 18rem);
}

.arrival-hero-copy {
  max-width: 650px;
}

.arrival-hero-copy .kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  color: #d8fff7;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  letter-spacing: 1.6px;
}

.arrival-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.45rem, 4.8vw, 4.85rem);
  font-weight: 850;
  line-height: 1;
}

.arrival-hero-copy p:not(.kicker) {
  max-width: 590px;
  margin: 22px 0 0;
  color: #e8f3ff;
  font-size: 1.08rem;
  line-height: 1.65;
}

.arrival-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.arrival-actions .btn-light {
  color: #123452;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(255, 255, 255, .14);
}

.arrival-showcase {
  display: grid;
  gap: 14px;
  align-self: stretch;
  min-width: 0;
}

.arrival-logo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  padding: 12px 14px;
  color: #123452;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(4, 12, 28, .22);
}

.arrival-logo-card img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
}

.arrival-logo-card span {
  color: #0f766e;
  font-size: .9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.arrival-showcase .arrival-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: 0;
}

.arrival-showcase .arrival-card {
  height: 218px;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, .32);
  box-shadow: 0 24px 60px rgba(4, 12, 28, .28);
}

.arrival-showcase .arrival-card:first-child {
  grid-column: 1 / -1;
  height: 276px;
  min-height: 276px;
}

.arrival-showcase .arrival-card .product-gallery {
  height: 100%;
  min-height: 0;
}

.arrival-showcase .arrival-card .product-gallery-slide img {
  height: 100%;
  min-height: 0;
}

.hero-stats {
  gap: 12px;
}

.hero-stats span {
  min-width: 132px;
  color: #dbeafe;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .24);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  color: #fbbf24;
}

.business-profile-band {
  min-height: 310px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.business-profile-content {
  justify-items: start;
  align-content: end;
  padding: 78px clamp(18px, 7vw, 118px) 34px;
  text-align: left;
}

.business-profile-content img {
  width: 118px;
  height: 118px;
  border-radius: 8px;
}

.quick-strip {
  padding: 0 clamp(18px, 6vw, 104px);
}

.quick-strip article {
  min-height: 132px;
}

.section {
  padding: 76px clamp(18px, 6vw, 104px);
}

.section-heading h2 {
  max-width: 880px;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.product-card {
  border-color: rgba(203, 213, 225, .72);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.product-media {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, #ffffff, #eef8f7),
    radial-gradient(circle at center, rgba(47, 112, 191, .12), transparent 12rem);
}

.product-media img {
  padding: 10px;
  object-fit: contain;
}

.product-body {
  padding: 16px;
}

.product-body h3 {
  min-height: 2.55em;
}

.product-bottom strong {
  color: #1f5da8;
}

.icon-btn {
  transition: transform .18s ease, background .18s ease;
}

.icon-btn:hover {
  background: #0f766e;
  transform: translateY(-1px);
}

.work-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.work-carousel {
  gap: 16px;
  padding-bottom: 26px;
}

.work-carousel figure {
  flex: 0 0 242px;
  height: 318px;
  border: 1px solid #ffffff;
  border-radius: 8px;
}

.video-section {
  background:
    linear-gradient(180deg, #f8fbff, #ffffff);
}

.video-gallery {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.video-card {
  border-color: rgba(203, 213, 225, .78);
}

.video-thumb {
  aspect-ratio: 9 / 16;
}

.video-thumb video {
  object-fit: cover;
}

.cart-drawer {
  width: min(462px, 100vw);
  border-left: 1px solid rgba(203, 213, 225, .9);
}

.buyer-field,
.buyer-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: .86rem;
  font-weight: 900;
}

.buyer-field > span {
  display: block;
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(158px, .48fr) minmax(0, 1fr);
  gap: 8px;
  align-items: end;
}

.phone-field label {
  margin: 0;
}

.phone-field select,
.phone-field input {
  min-width: 0;
}

.auth-contact-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.auth-contact-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.auth-contact-switch button.active {
  color: #ffffff;
  background: #0f766e;
  border-color: #0f766e;
}

.register-phone-field[hidden],
[data-register-email-field][hidden] {
  display: none;
}

.activation-note {
  padding: 12px;
  color: #0f5132;
  background: #d1fae5;
  border: 1px solid #99f6e4;
  border-radius: 8px;
  font-weight: 800;
}

@media (max-width: 1240px) {
  .nav-links {
    display: none;
  }

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

@media (max-width: 980px) {
  .template-arrival-hero {
    grid-template-columns: 1fr;
  }

  .arrival-showcase .arrival-card:first-child,
  .arrival-showcase .arrival-card {
    min-height: 260px;
  }

  .business-profile-content {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .template-arrival-hero {
    padding: 34px 16px 44px;
  }

  .arrival-hero-copy h1 {
    font-size: 2.45rem;
  }

  .arrival-actions {
    justify-content: stretch;
  }

  .arrival-actions .btn,
  .hero-stats span {
    width: 100%;
  }

  .arrival-showcase .arrival-grid,
  .phone-field {
    grid-template-columns: 1fr;
  }

  .work-carousel figure {
    flex-basis: 210px;
    height: 280px;
  }
}

@media (max-width: 1180px) {
  .arrival-grid {
    width: min(840px, 100%);
  }

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

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex: 1;
  }

  .nav-links {
    display: none;
  }

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

  .header-actions {
    margin-left: 0;
  }

  .quick-strip,
  .payment-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .template-arrival-hero {
    min-height: auto;
    padding-top: 72px;
  }

  .arrival-tools {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 22px;
  }

  .arrival-grid {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }

  .arrival-card,
  .arrival-card img {
    min-height: 340px;
  }

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

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

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .business-profile-band,
  .business-profile-content {
    min-height: 250px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  .cart-pill span {
    display: none;
  }

  .install-app-pill span {
    display: none;
  }

  .user-pill span {
    display: none;
  }

  .user-pill-rich span {
    display: none;
  }

  .template-arrival-hero {
    padding: 42px 16px 54px;
  }

  .arrival-heading {
    margin-bottom: 28px;
  }

  .arrival-heading h1 {
    font-size: 2.3rem;
  }

  .arrival-card,
  .arrival-card img {
    min-height: 300px;
  }

  .arrival-actions .btn {
    width: 100%;
  }

  .quick-strip,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .business-profile-content {
    padding: 48px 16px 24px;
  }

  .business-profile-content img {
    width: 112px;
    height: 112px;
    border-width: 7px;
  }

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

  .video-gallery {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    padding: 18px;
  }

  .work-carousel figure {
    flex-basis: 138px;
    height: 138px;
  }

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

  .payment-success-table div {
    grid-template-columns: 1fr;
  }

  .payment-success-table strong {
    text-align: left;
  }
}

