/* Mirrors apps/web/src/app/globals.css storefront tokens and layout chrome */

:root {
  --color-primary: #0055fe;
  --color-primary-dark: #0044d0;
  --color-bg: #fcfcfc;
  --color-header-bg: #ebeced;
  --color-text: #000000;
  --color-text-muted: rgba(0, 0, 0, 0.75);
  --page-width: 1300px;
  --page-padding-x: 3rem;
  --radius-btn: 40px;
  --radius: 0.5rem;
  --line: rgba(0, 0, 0, 0.08);
  --card-border: rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
  :root {
    --page-padding-x: 4rem;
  }
}

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

/* Full-viewport intro (ported from apps/web Preloader.tsx) */
body.has-store-preloader {
  overflow: hidden;
}

.store-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.store-preloader__panel {
  position: absolute;
  left: 0;
  right: 0;
  background: var(--color-primary);
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1) 0.35s;
  will-change: transform;
}

.store-preloader__panel--top {
  top: 0;
  height: calc(50% + 1px);
  transform: translateY(0);
}

.store-preloader__panel--bottom {
  bottom: 0;
  height: calc(50% + 1px);
  transform: translateY(0);
}

.store-preloader.is-split .store-preloader__panel--top {
  transform: translateY(-100%);
}

.store-preloader.is-split .store-preloader__panel--bottom {
  transform: translateY(100%);
}

.store-preloader__logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.store-preloader.is-ready .store-preloader__logo {
  opacity: 1;
  transform: scale(1);
}

.store-preloader.is-split .store-preloader__logo {
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.store-preloader__logo img {
  width: 16rem;
  height: auto;
  max-width: min(24rem, 70vw);
  object-fit: contain;
}

@media (min-width: 750px) {
  .store-preloader__logo img {
    width: 24rem;
  }
}

.store-preloader.is-done {
  opacity: 0;
  transition: opacity 0.28s ease;
}

@media (prefers-reduced-motion: reduce) {
  .store-preloader {
    display: none !important;
  }
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  background: var(--color-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 750px) {
  body {
    font-size: 1.6rem;
  }
}

a {
  color: inherit;
}

.page-width {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
}

@media (max-width: 749px) {
  .page-width {
    padding: 0 1.6rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.4rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 200ms ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
  background: transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 2px 12px rgba(15, 84, 237, 0.3);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 16px rgba(15, 84, 237, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 800;
  color: #000;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
}

.h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #000;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 2.4rem 0 1.2rem;
}

.h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 600;
  color: #000;
  line-height: 1.4;
}

.muted {
  color: rgba(0, 0, 0, 0.45);
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.12), transparent);
  margin: 2.4rem 0;
  border: none;
}

@media (min-width: 768px) {
  .section-divider {
    margin: 3.2rem 0;
  }
}

/* Announcement marquee */
@keyframes storefront-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.announcement-bar {
  position: relative;
  background: var(--color-primary);
  color: #fff;
  overflow: hidden;
  height: 3.6rem;
  display: flex;
  align-items: center;
  user-select: none;
}

.announcement-track {
  display: flex;
  animation: storefront-marquee 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 4rem;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.announcement-item svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* Header */
#store-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: #fff;
  transition: box-shadow 300ms ease;
}

#store-header[data-scrolled="true"] {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.identity-bar {
  border-bottom: 1px solid var(--line);
  transition:
    max-height 300ms ease,
    opacity 300ms ease;
  overflow: hidden;
  max-height: 8rem;
  opacity: 1;
}

#store-header[data-scrolled="true"] .identity-bar {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.identity-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6.4rem;
}

@media (min-width: 750px) {
  .identity-inner {
    height: 7.2rem;
  }
}

.identity-logo {
  display: block;
  flex-shrink: 0;
}

.identity-logo img {
  height: 2.2rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .identity-logo img {
    height: 2.6rem;
  }
}

@media (min-width: 750px) {
  .identity-logo img {
    height: 3.2rem;
  }
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border: none;
  border-radius: 1.2rem;
  background: transparent;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.6);
  transition: background 200ms ease;
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.icon-btn svg {
  width: 2.4rem;
  height: 2.4rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .header-actions--mobile {
    display: none;
  }
}

.header-actions--desktop {
  display: none;
}

@media (min-width: 1024px) {
  .header-actions--desktop {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .header-actions--desktop .icon-btn {
    width: 5.6rem;
    height: 5.6rem;
  }

  .header-actions--desktop .icon-btn svg {
    width: 3rem;
    height: 3rem;
  }
}

/* Desktop nav row */
.nav-row {
  display: none;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .nav-row {
    display: block;
  }
}

.nav-row-inner {
  display: flex;
  align-items: center;
  min-height: 6rem;
}

.main-nav {
  min-width: 0;
  flex-shrink: 1;
}

.nav-row-inner .simple-logo-wrap {
  display: none;
  flex-shrink: 0;
  margin-right: 3.2rem;
}

#store-header[data-scrolled="true"] .nav-row-inner .simple-logo-wrap {
  display: block;
}

.nav-row-inner .simple-logo-wrap img {
  height: 3.4rem;
  width: auto;
  object-fit: contain;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.7);
  transition: color 200ms ease;
  padding: 1rem 1.6rem;
  font-size: 1.4rem;
}

.nav-link:hover {
  color: #000;
}

.nav-link--compact {
  padding: 1.2rem 2rem;
  font-size: 1.4rem;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-link--compact {
    padding: 1.2rem 1.2rem;
    font-size: 1.3rem;
  }
}

.nav-link.is-active {
  color: var(--color-primary);
}

.nav-link .chev {
  width: 1.3rem;
  height: 1.3rem;
  opacity: 0.4;
  transition: transform 200ms ease;
}

.nav-item:hover .nav-link .chev {
  transform: rotate(180deg);
}

.nav-underline {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  padding-top: 0.8rem;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown-panel {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line);
  padding: 0.6rem 0;
  min-width: 18.8rem;
}

.nav-dropdown-panel a {
  display: block;
  padding: 1rem 1.6rem;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.65);
  text-decoration: none;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.nav-dropdown-panel a:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.04);
}

.nav-dropdown-divider {
  margin: 0.6rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.nav-dropdown-viewall {
  font-weight: 600;
  color: var(--color-primary) !important;
}

.nav-dropdown-viewall:hover {
  background: rgba(0, 85, 254, 0.06) !important;
}

.nav-row-actions {
  display: none;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}

#store-header[data-scrolled="true"] .nav-row-actions {
  display: flex;
}

/* Mobile sticky row (compact logo when scrolled) */
.mobile-nav-row {
  display: none;
  overflow: hidden;
  transition:
    max-height 300ms ease,
    opacity 300ms ease;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  border-bottom: 1px solid transparent;
}

@media (max-width: 1023px) {
  .mobile-nav-row {
    display: block;
  }
}

#store-header[data-scrolled="true"] .mobile-nav-row {
  max-height: 10rem;
  opacity: 1;
  pointer-events: auto;
  border-bottom-color: var(--line);
  transition-delay: 300ms;
}

.mobile-nav-row-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6rem;
}

.mobile-nav-row-inner img {
  height: 2.6rem;
  width: auto;
  object-fit: contain;
}

/* Mobile drawer */
.mobile-drawer-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body:has(#site-mobile-nav:checked) {
  overflow: hidden;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

body:has(#site-mobile-nav:checked) .mobile-drawer {
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 200ms ease;
}

body:has(#site-mobile-nav:checked) .mobile-drawer .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(32rem, 88vw);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 220ms ease;
  overflow-y: auto;
  padding: 2rem 1.6rem;
}

body:has(#site-mobile-nav:checked) .mobile-drawer .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-drawer-close label {
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-primary);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list a {
  display: block;
  padding: 1.4rem 0;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.75);
}

.mobile-nav-list a:hover {
  color: var(--color-primary);
}

.mobile-nav-sub {
  list-style: none;
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

.mobile-nav-sub a {
  padding: 0.9rem 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.55);
}

/* Main */
.store-main {
  padding: 3.2rem 0 6.4rem;
}

@media (min-width: 768px) {
  .store-main {
    padding: 4rem 0 8rem;
  }
}

/* Product grid cards (Next-like) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
  gap: 2.4rem;
}

@media (max-width: 749px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
}

.product-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 1.6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 200ms ease,
    transform 200ms ease;
}

.product-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-card a.product-card-media {
  display: block;
  aspect-ratio: 1;
  background: #f3f4f6;
  overflow: hidden;
}

.product-card a.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 1.6rem 1.8rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card-name {
  font-weight: 600;
  font-size: 1.6rem;
  color: #000;
  text-decoration: none;
}

.product-card-name:hover {
  color: var(--color-primary);
}

.product-card-price {
  font-weight: 700;
  font-size: 1.6rem;
  color: #000;
  margin-top: auto;
}

.product-card-compare {
  font-size: 1.3rem;
  font-weight: 400;
  color: #9ca3af;
  text-decoration: line-through;
  line-height: 1.3;
}

.product-card-price-discounted {
  color: var(--color-primary, #0050d0);
}

.product-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.product-sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.product-sort-select {
  padding: 0.5rem 0.9rem;
  font-size: 1.3rem;
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  cursor: pointer;
  max-width: 18rem;
}

.pagination-bar {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.pagination-bar a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.pagination-bar a:hover {
  text-decoration: underline;
}

/* Product detail */
.breadcrumb {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-hero-price {
  font-size: 1.6rem;
  margin: 0.5rem 0 1rem;
}

.product-hero-price strong {
  color: #000;
}

.compare-at {
  text-decoration: line-through;
  margin-left: 0.8rem;
  color: rgba(0, 0, 0, 0.45);
}

.product-desc {
  margin-top: 1rem;
  max-width: 65ch;
}

.product-meta {
  margin-top: 1rem;
  font-size: 1.3rem;
}

.product-thumb-wrap {
  margin-top: 1.6rem;
  max-width: 48rem;
}

.product-thumb-wrap img {
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
}

/* Newsletter strip */
.newsletter-strip {
  background: #fff;
  border-top: 1px solid var(--line);
}

.newsletter-inner {
  padding: 3.2rem 0;
}

@media (min-width: 750px) {
  .newsletter-inner {
    padding: 3.6rem 0;
  }
}

.newsletter-flex {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

@media (min-width: 750px) {
  .newsletter-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.newsletter-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.newsletter-sub {
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.5);
  margin: 0.4rem 0 0;
}

.newsletter-form {
  display: flex;
  width: 100%;
  gap: 0.8rem;
  flex-wrap: wrap;
}

@media (min-width: 750px) {
  .newsletter-form {
    max-width: 52rem;
    flex-wrap: nowrap;
  }
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 1.2rem 1.6rem;
  border-radius: 1.2rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 1.5rem;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 85, 254, 0.2);
}

/* Footer */
.site-footer {
  background: #000;
  color: #fff;
}

.footer-main {
  padding: 5rem 0 3.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.2rem;
}

@media (min-width: 750px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3.2rem 4.8rem;
  }
}

.footer-brand-mobile {
  margin-bottom: 2.4rem;
}

@media (min-width: 750px) {
  .footer-brand-mobile {
    display: none;
  }
}

.footer-brand-desktop {
  display: none;
}

@media (min-width: 750px) {
  .footer-brand-desktop {
    display: block;
  }
}

.footer-logo {
  height: 6.4rem;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 0.8rem;
}

@media (min-width: 750px) {
  .footer-logo {
    height: 7.2rem;
  }
}

.footer-tagline {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
  margin: 0;
}

.social-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.social-row a {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition:
    color 200ms ease,
    border-color 200ms ease;
}

.social-row a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-col-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.6rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: #fff;
}

.footer-contact-list svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: #66a3ff;
}

.footer-wa {
  margin-top: 1.6rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  padding: 1.6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-designed {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.25);
  margin: 0.4rem 0 0;
}

.footer-legal {
  display: flex;
  gap: 1.6rem;
}

.footer-legal a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp FAB */
.wa-fab {
  position: fixed;
  bottom: 2.4rem;
  right: 2.4rem;
  z-index: 50;
}

.wa-fab-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #4ade80;
  animation: storefront-ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.55;
}

@keyframes storefront-ping {
  75%,
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.wa-fab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 5.6rem;
  background: #22c55e;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
  transition:
    transform 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.wa-fab-btn:hover {
  transform: scale(1.08);
  background: #16a34a;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.45);
}

.wa-fab-btn svg {
  width: 2.8rem;
  height: 2.8rem;
  fill: #fff;
}

/* Simple content pages */
.content-page .page-hero {
  background: var(--color-primary);
  color: #fff;
  padding: 4rem 0;
}

@media (min-width: 750px) {
  .content-page .page-hero {
    padding: 5.6rem 0;
  }
}

.content-page .page-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.content-page .page-hero p {
  margin: 1.2rem 0 0;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 52rem;
}

.content-page .page-body {
  padding: 3.2rem 0 4rem;
}

.content-page .page-body .prose {
  max-width: 72rem;
}

.content-page .page-body .prose p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.65);
  margin: 0 0 1.2rem;
}

.content-page .page-body .prose a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.content-page .page-body .prose a:hover {
  text-decoration: underline;
}

.content-page .page-body .prose a.btn {
  text-decoration: none;
}

.content-page .page-body .prose a.btn-primary {
  color: #ffffff;
}

.content-page .page-body .prose a.btn-secondary {
  color: var(--color-primary);
}

.home-cta-row {
  margin-top: 1.5rem;
}

/* About page */
.about-hero {
  background: var(--color-primary);
  color: #fff;
  padding: 5rem 0 6rem;
}

@media (min-width: 750px) {
  .about-hero {
    padding: 7rem 0 8.8rem;
  }
}

.about-hero-kicker {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1.6rem;
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 6.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 42rem;
}

.about-hero-lead {
  margin: 1.6rem 0 0;
  font-size: 1.6rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  max-width: 36rem;
}

.about-stats {
  border-bottom: 1px solid var(--line);
}

.about-stats-inner {
  padding: 4rem 0;
}

@media (min-width: 750px) {
  .about-stats-inner {
    padding: 4.8rem 0;
  }
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.2rem;
  text-align: center;
}

@media (min-width: 750px) {
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-stat-val {
  font-size: clamp(3.2rem, 4vw, 4.4rem);
  font-weight: 900;
  color: #000;
  line-height: 1;
  margin: 0;
}

.about-stat-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000;
  margin: 0.8rem 0 0;
}

.about-stat-sub {
  font-size: 1.2rem;
  color: rgba(0, 0, 0, 0.4);
  margin: 0.4rem 0 0;
}

.about-story {
  padding: 4rem 0 5.6rem;
}

@media (min-width: 1024px) {
  .about-story {
    padding: 6rem 0 8rem;
  }
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5.6rem;
  }
}

.about-kicker {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.6rem;
}

.about-story h2 {
  margin: 0 0 2.4rem;
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  font-weight: 900;
  color: #000;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-story-prose p {
  font-size: 1.5rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.6);
  margin: 0 0 1.6rem;
}

.about-story-prose strong {
  color: #000;
  font-weight: 600;
}

.about-visual {
  position: relative;
}

.about-visual-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 2.4rem;
  overflow: hidden;
  background: #e8ecf4;
}

.about-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-cta {
  padding: 4rem 0 5.6rem;
  text-align: center;
}

.about-cta h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 900;
  color: #000;
  letter-spacing: -0.02em;
}

.about-cta p {
  margin: 0 auto 2.4rem;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.5);
  max-width: 42rem;
  line-height: 1.6;
}

.about-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

@media (min-width: 640px) {
  .about-cta-row {
    flex-direction: row;
    justify-content: center;
  }
}

/* Home hero (matches Next HeroSlideshow) */
.home-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.home-hero-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.home-hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.home-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.home-hero-aspect {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-hero-aspect img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.home-hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.home-hero-caption-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.home-hero-caption {
  display: none;
  position: absolute;
  inset: 0;
  align-items: flex-end;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .home-hero-caption {
    align-items: center;
    padding-bottom: 0;
  }
}

.home-hero-caption.is-active:not(.home-hero-caption--empty) {
  display: flex;
}

.home-hero-caption-inner {
  width: 100%;
  pointer-events: none;
}

.home-hero-caption-box {
  max-width: 28rem;
  pointer-events: none;
}

.home-hero-caption-box a,
.home-hero-caption-box button {
  pointer-events: auto;
}

.home-hero-caption-box--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-hero-caption-box--right {
  margin-left: auto;
  text-align: right;
}

.home-hero-heading {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home-hero-heading--white {
  color: #fff;
}

.home-hero-heading--dark {
  color: #000;
}

.home-hero-sub {
  margin: 0 0 2rem;
  font-size: 1.5rem;
  line-height: 1.55;
}

@media (max-width: 639px) {
  .home-hero-sub {
    display: none;
  }
}

.home-hero-sub--white {
  color: rgba(255, 255, 255, 0.85);
}

.home-hero-sub--dark {
  color: rgba(0, 0, 0, 0.7);
}

.home-hero-cta.btn {
  font-size: 1.3rem;
  padding: 0.9rem 2rem;
}

.home-hero-cta--white {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.home-hero-cta--white:hover {
  background: #f0f0f0;
  color: #000;
}

.home-hero-cta--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.home-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3.2rem;
  height: 3.2rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    opacity 0.2s ease;
}

@media (min-width: 768px) {
  .home-hero-nav {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .home-hero:hover .home-hero-nav {
    opacity: 1;
  }
}

.home-hero-nav:hover {
  transform: translateY(-50%) scale(1.08);
  background: rgba(255, 255, 255, 0.85);
}

.home-hero-nav--prev {
  left: 1.2rem;
}

.home-hero-nav--next {
  right: 1.2rem;
}

.home-hero-dots {
  position: absolute;
  bottom: 1.6rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  z-index: 10;
}

@media (min-width: 768px) {
  .home-hero-dots {
    bottom: 1.6rem;
    padding: 0 1.6rem;
    gap: 0.4rem;
  }
}

.home-hero-dot {
  width: 0.6rem;
  height: 0.6rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.home-hero-dot.is-active {
  width: 2rem;
  border-radius: 0.4rem;
  background: #fff;
}

@media (min-width: 768px) {
  .home-hero-dot {
    flex: 1;
    height: 0.2rem;
    border-radius: 999px;
    max-width: none;
  }

  .home-hero-dot.is-active {
    width: auto;
    flex: 1.2;
    height: 0.2rem;
  }
}

/* Category tiles */
.home-category-section {
  padding: 3.2rem 0 3.6rem;
}

@media (min-width: 768px) {
  .home-category-section {
    padding: 4.8rem 0 5.2rem;
  }
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

@media (min-width: 1024px) {
  .home-category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.home-category-card {
  display: block;
  border-radius: 1.6rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease;
}

.home-category-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.home-category-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

@media (min-width: 640px) {
  .home-category-media {
    aspect-ratio: 4 / 5;
  }
}

.home-category-media--primary {
  background: linear-gradient(180deg, #0055fe 0%, #0039b0 100%);
}

.home-category-media--slate {
  background: linear-gradient(180deg, #334155 0%, #0f172a 100%);
}

.home-category-media--sky {
  background: linear-gradient(180deg, #0284c7 0%, #0c4a6e 100%);
}

.home-category-media--emerald {
  background: linear-gradient(180deg, #059669 0%, #064e3b 100%);
}

.home-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

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

.home-category-body {
  padding: 1.2rem 1.4rem 1.4rem;
}

@media (min-width: 768px) {
  .home-category-body {
    padding: 1.4rem 1.6rem 1.6rem;
  }
}

.home-category-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  color: #111;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .home-category-title {
    font-size: 1.8rem;
  }
}

.home-category-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.home-category-card:hover .home-category-cta {
  color: var(--color-primary-dark);
}

.home-category-cta svg {
  transition: transform 0.2s ease;
}

.home-category-card:hover .home-category-cta svg {
  transform: translateX(3px);
}

/* Home product sections */
.home-products-section {
  padding: 3.6rem 0 4.8rem;
}

@media (min-width: 768px) {
  .home-products-section {
    padding: 5rem 0 5.6rem;
  }
}

.home-products-section--tight {
  padding-top: 2.4rem;
}

.home-section-head,
.home-new-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.6rem;
  margin-bottom: 3.2rem;
}

.home-new-head {
  margin-bottom: 2rem;
}

.home-new-kicker {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.home-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-section-link:hover {
  color: var(--color-primary-dark);
}

.home-section-link svg {
  transition: transform 0.2s ease;
}

.home-section-link:hover svg {
  transform: translateX(2px);
}

.home-new-grid-wrap {
  padding-bottom: 3.2rem;
}

/* Testimonials */
.home-testimonials {
  padding: 4rem 0 5rem;
  background: #f7f8fc;
}

@media (min-width: 768px) {
  .home-testimonials {
    padding: 5rem 0 6rem;
  }
}

.home-testimonials-head {
  text-align: center;
  margin-bottom: 3.2rem;
}

.home-testimonials-kicker {
  margin: 0 0 1.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.home-testimonials-title {
  margin: 0;
  font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  font-weight: 900;
  color: #000;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.home-testimonials-stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.6rem;
}

.home-testimonials-star {
  color: #fbbf24;
}

.home-testimonials-score {
  margin-left: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #000;
}

.home-testimonials-count {
  font-size: 1.3rem;
  color: rgba(0, 0, 0, 0.4);
  margin-left: 0.4rem;
}

.home-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

@media (min-width: 640px) {
  .home-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-testimonial-card {
  background: #fff;
  border-radius: 1.6rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.home-testimonial-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.home-testimonial-top {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.home-testimonial-avatar {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 900;
}

.home-testimonial-avatar--sl {
  background: #dce8ff;
  color: #0055fe;
}

.home-testimonial-avatar--ar {
  background: #e0fce8;
  color: #16a34a;
}

.home-testimonial-avatar--na {
  background: #fce8e8;
  color: #dc2626;
}

.home-testimonial-avatar--wm {
  background: #fef9e0;
  color: #ca8a04;
}

.home-testimonial-avatar--pn {
  background: #f3e8ff;
  color: #7c3aed;
}

.home-testimonial-avatar--hr {
  background: #e8f4fc;
  color: #0284c7;
}

.home-testimonial-meta {
  flex: 1;
  min-width: 0;
}

.home-testimonial-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.home-testimonial-name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.home-testimonial-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(0, 85, 254, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.home-testimonial-loc {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
  color: rgba(0, 0, 0, 0.4);
}

.home-testimonial-rating {
  display: flex;
  gap: 0.2rem;
  flex-shrink: 0;
}

.home-testimonial-star {
  color: rgba(0, 0, 0, 0.15);
}

.home-testimonial-star.is-on {
  color: #fbbf24;
}

.home-testimonial-quote-wrap {
  position: relative;
  flex: 1;
}

.home-testimonial-quote-icon {
  position: absolute;
  top: -0.2rem;
  left: -0.2rem;
  color: rgba(0, 85, 254, 0.12);
}

.home-testimonial-quote {
  margin: 0;
  padding-left: 1.6rem;
  font-size: 1.5rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.7);
}

.home-testimonial-product {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.home-testimonial-product-label {
  margin: 0;
  font-size: 1.15rem;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 500;
}

.home-testimonial-product-name {
  margin: 0.4rem 0 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #000;
}

/* ─── Cart count badge ─────────────────────────────────────────── */
.cart-icon-btn { position: relative; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--color-primary, #0050d0); color: #fff;
  font-size: 1rem; font-weight: 700; line-height: 1;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 99px; display: flex; align-items: center; justify-content: center;
}

/* ─── Shared form styles ───────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.6rem; }
.form-group label { font-size: 1.4rem; font-weight: 500; }
.form-input {
  width: 100%; padding: 1rem 1.2rem; border: 1.5px solid #d1d5db;
  border-radius: 8px; font-size: 1.5rem; background: #fff;
  font-family: inherit; transition: border-color 0.15s;
}
.form-input:focus { outline: none; border-color: var(--color-primary, #0050d0); }
.form-input.is-error { border-color: #e53e3e; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1.4rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.form-optional { color: #9ca3af; font-weight: 400; font-size: 1.25rem; }
.required-star { color: #e53e3e; font-weight: 600; margin-left: 2px; }
.form-error { font-size: 1.25rem; color: #e53e3e; margin-top: 0.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) { .form-row, .form-row--3 { grid-template-columns: 1fr; } }
.form-check-row { margin-bottom: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.form-check-row a { color: var(--color-primary, #0050d0); font-size: 1.4rem; font-weight: 600; text-decoration: none; }
.form-check-row a:hover { text-decoration: underline; }
.form-check { display: flex; align-items: center; gap: 0.8rem; font-size: 1.4rem; cursor: pointer; }
.form-check input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }
.form-alert {
  padding: 1.2rem 1.6rem; border-radius: 8px; margin-bottom: 2rem; font-size: 1.4rem;
}
.form-alert--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.btn-full { width: 100%; justify-content: center; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.8rem; border: 2px solid var(--color-primary, #0050d0);
  color: var(--color-primary, #0050d0); border-radius: 8px; font-weight: 600;
  font-size: 1.5rem; background: transparent; cursor: pointer; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn-outline:hover { background: var(--color-primary, #0050d0); color: #fff; }

/* ─── Auth pages ───────────────────────────────────────────────── */
.auth-wrap { display: flex; justify-content: center; padding: 4rem 1.6rem; }
.auth-card { width: 100%; max-width: 440px; }
.auth-title { font-size: 2.8rem; font-weight: 700; margin-bottom: 0.6rem; }
.auth-sub { font-size: 1.4rem; color: #6b7280; margin-bottom: 2.4rem; }
.auth-sub a { color: var(--color-primary, #0050d0); font-weight: 600; }
.auth-form { display: flex; flex-direction: column; }
.auth-footer-link { margin-top: 1.6rem; text-align: center; font-size: 1.4rem; color: #6b7280; }
.auth-footer-link a { color: var(--color-primary, #0050d0); }

/* ─── Cart page ────────────────────────────────────────────────── */
.cart-empty { text-align: center; padding: 5rem 1.6rem; color: #6b7280; }
.cart-empty svg { margin-bottom: 1.6rem; display: block; margin-inline: auto; }
.cart-empty p { margin-bottom: 2rem; font-size: 1.7rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; margin-top: 2rem; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-item {
  display: flex; align-items: flex-start; gap: 1.6rem; padding: 1.8rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.cart-item-img { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: #f9fafb; }
.cart-item-img--placeholder { background: #f3f4f6; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 1.5rem; font-weight: 600; text-decoration: none; color: inherit; }
.cart-item-name:hover { color: var(--color-primary, #0050d0); }
.cart-item-variant, .cart-item-sku { font-size: 1.3rem; margin-top: 0.4rem; }
.cart-item-price { font-size: 1.5rem; font-weight: 500; margin-top: 0.6rem; }
.cart-item-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.cart-qty-form { display: flex; align-items: center; gap: 0; border: 1.5px solid #d1d5db; border-radius: 8px; overflow: hidden; }
.qty-btn { width: 36px; height: 36px; border: none; background: #f9fafb; cursor: pointer; font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.qty-btn:hover { background: #f3f4f6; }
.qty-input { width: 48px; height: 36px; border: none; text-align: center; font-size: 1.4rem; font-family: inherit; -moz-appearance: textfield; }
.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cart-item-subtotal { font-weight: 600; font-size: 1.5rem; }
.cart-remove-btn { background: none; border: none; cursor: pointer; color: #9ca3af; padding: 0.3rem; }
.cart-remove-btn:hover { color: #e53e3e; }
.cart-summary {
  background: #f9fafb; border: 1.5px solid #f3f4f6;
  border-radius: 12px; padding: 2rem;
}
.cart-summary-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.6rem; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 1.5rem; margin-bottom: 1rem; }
.cart-summary-total { font-weight: 700; font-size: 1.7rem; padding-top: 1rem; border-top: 1.5px solid #e5e7eb; margin-top: 0.4rem; }
.cart-continue-link { display: block; text-align: center; margin-top: 1.6rem; font-size: 1.4rem; color: #6b7280; }

/* ─── Checkout ─────────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; margin-top: 2rem; align-items: start; }
@media (max-width: 960px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-section { margin-bottom: 2.4rem; }
.checkout-section-title { font-size: 1.7rem; font-weight: 700; margin-bottom: 1.6rem; padding-bottom: 0.8rem; border-bottom: 1.5px solid #f3f4f6; }
.checkout-section-note { font-size: 1.4rem; color: #6b7280; margin-bottom: 1.6rem; }
.saved-addresses { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.8rem; }
.saved-address-option { display: flex; align-items: flex-start; gap: 0.8rem; cursor: pointer; }
.saved-address-label { font-size: 1.4rem; line-height: 1.5; }
.badge-default { display: inline-block; font-size: 1.1rem; font-weight: 600; background: #e0e7ff; color: #3730a3; border-radius: 6px; padding: 0.15em 0.55em; margin-left: 0.6rem; }
.payment-option { display: flex; align-items: center; gap: 0.8rem; padding: 1.1rem 1.2rem; border: 1.5px solid #e5e7eb; border-radius: 8px; cursor: pointer; margin-bottom: 0.8rem; font-size: 1.5rem; }
.payment-option input:checked + .payment-option-label { font-weight: 600; }
.payment-option:has(input:checked) { border-color: var(--color-primary, #0050d0); background: #eff6ff; }
.checkout-note { font-size: 1.3rem; margin-top: 0.8rem; }
.checkout-summary { background: #f9fafb; border: 1.5px solid #f3f4f6; border-radius: 12px; padding: 2rem; position: sticky; top: 100px; }
.checkout-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.checkout-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.checkout-item-info { flex: 1; }
.checkout-item-name { font-size: 1.4rem; font-weight: 500; margin-bottom: 0.2rem; }
.checkout-item-variant { font-size: 1.25rem; }
.checkout-item-price { font-size: 1.4rem; font-weight: 600; flex-shrink: 0; }
.checkout-summary-divider { border: none; border-top: 1.5px solid #e5e7eb; margin: 1.6rem 0; }
.checkout-summary-row { display: flex; justify-content: space-between; font-size: 1.4rem; margin-bottom: 0.8rem; }
.checkout-summary-total { font-weight: 700; font-size: 1.7rem; padding-top: 0.8rem; border-top: 1.5px solid #e5e7eb; margin-top: 0.4rem; margin-bottom: 1.8rem; }

/* ─── Order confirmation ───────────────────────────────────────── */
.confirmation-wrap { max-width: 600px; margin: 4rem auto; text-align: center; }
.confirmation-icon { color: #22c55e; margin-bottom: 1.6rem; }
.confirmation-icon svg { display: inline-block; }
.confirmation-title { font-size: 3.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.confirmation-number { font-size: 1.7rem; margin-bottom: 0.8rem; }
.confirmation-notice { background: #fffbeb; border: 1.5px solid #fde68a; border-radius: 10px; padding: 1.6rem 2rem; margin: 2rem 0; text-align: left; font-size: 1.4rem; }
.confirmation-notice strong { display: block; margin-bottom: 0.8rem; }
.bank-account-block { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 1rem 1.2rem; margin: 1rem 0; font-size: 1.35rem; line-height: 1.7; }
.bank-account-block p { margin: 0; }
.bank-account-block strong { display: inline; margin-bottom: 0; }
.confirmation-actions { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }

/* ─── Order status badges ──────────────────────────────────────── */
.order-status { display: inline-block; font-size: 1.2rem; font-weight: 600; border-radius: 6px; padding: 0.2em 0.65em; }
.order-status--pending    { background: #fef3c7; color: #92400e; }
.order-status--processing { background: #dbeafe; color: #1e40af; }
.order-status--shipped    { background: #e0e7ff; color: #3730a3; }
.order-status--delivered  { background: #dcfce7; color: #166534; }
.order-status--cancelled  { background: #fee2e2; color: #991b1b; }
.order-status--unpaid     { background: #fef3c7; color: #92400e; }
.order-status--paid       { background: #dcfce7; color: #166534; }

/* ─── Order detail ─────────────────────────────────────────────── */
.order-detail-card { background: #f9fafb; border-radius: 10px; padding: 1.6rem 2rem; margin: 2rem 0; text-align: left; }
.order-detail-meta { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.6rem; }
.order-detail-row { display: flex; gap: 1.6rem; font-size: 1.4rem; }
.order-detail-row .label { min-width: 100px; color: #6b7280; font-weight: 500; flex-shrink: 0; }
.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 640px) { .order-detail-grid { grid-template-columns: 1fr; } }
.order-detail-address-card { background: #f9fafb; border-radius: 10px; padding: 1.6rem 2rem; }
.order-detail-address-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.8rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
.order-items-list { display: flex; flex-direction: column; gap: 0; }
.order-item-row { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid #f3f4f6; }
.order-item-row:last-child { border-bottom: none; }
.order-item-name { flex: 1; font-size: 1.4rem; font-weight: 500; }
.order-item-row--total { border-top: 2px solid #e5e7eb; font-weight: 700; font-size: 1.6rem; }
.order-item-row--sub { font-size: 1.4rem; color: #6b7280; }
.order-item-row--sub span:first-child { flex: 1; }

/* ─── Account portal ───────────────────────────────────────────── */
.account-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; margin-top: 2.4rem; margin-bottom: 4rem; align-items: start; }
@media (max-width: 768px) { .account-wrap { grid-template-columns: 1fr; } }
.account-sidebar { background: #f9fafb; border: 1.5px solid #f3f4f6; border-radius: 12px; padding: 2rem; }
.account-sidebar-user { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.account-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary, #0050d0);
  color: #fff; font-weight: 700; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.account-sidebar-name { font-weight: 600; font-size: 1.4rem; margin: 0; }
.account-sidebar-email { font-size: 1.25rem; margin: 0; }
.account-nav { display: flex; flex-direction: column; gap: 0.3rem; }
.account-nav-link {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.9rem 1rem; border-radius: 8px;
  font-size: 1.4rem; font-weight: 500; text-decoration: none; color: #374151;
  transition: background 0.12s, color 0.12s;
}
.account-nav-link:hover { background: #f3f4f6; }
.account-nav-link.is-active { background: #eff6ff; color: var(--color-primary, #0050d0); font-weight: 600; }
.account-logout-form { margin-top: 2rem; padding-top: 1.6rem; border-top: 1.5px solid #f3f4f6; }
.account-logout-btn { background: none; border: none; cursor: pointer; font-size: 1.4rem; color: #6b7280; padding: 0; }
.account-logout-btn:hover { color: #e53e3e; }
.account-content { min-width: 0; }
.account-page-title { font-size: 2.4rem; font-weight: 700; margin-bottom: 2rem; }
.account-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.2rem; margin-bottom: 2.4rem; }
.account-stat { background: #f9fafb; border: 1.5px solid #f3f4f6; border-radius: 10px; padding: 1.6rem; text-align: center; }
.account-stat-value { font-size: 2.8rem; font-weight: 700; margin: 0 0 0.4rem; }
.account-stat-label { font-size: 1.3rem; color: #6b7280; margin: 0; }
.account-section { margin-bottom: 2.4rem; }
.account-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.account-section-title { font-size: 1.7rem; font-weight: 700; margin: 0; }
.account-section-link { font-size: 1.4rem; color: var(--color-primary, #0050d0); font-weight: 600; text-decoration: none; }
.account-back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 1.4rem; color: #6b7280; text-decoration: none; }
.account-back-link:hover { color: #374151; }
.pagination-wrap { margin-top: 2rem; }
.profile-form { max-width: 540px; }

/* ─── Orders table ─────────────────────────────────────────────── */
.orders-table-wrap { overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 1.4rem; }
.orders-table th { text-align: left; padding: 0.8rem 1rem; border-bottom: 2px solid #e5e7eb; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; white-space: nowrap; }
.orders-table td { padding: 1rem; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.orders-table tr:last-child td { border-bottom: none; }
.order-number-link { font-weight: 600; color: var(--color-primary, #0050d0); text-decoration: none; }
.order-number-link:hover { text-decoration: underline; }

/* ─── Address book ─────────────────────────────────────────────── */
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; }
.address-card { border: 1.5px solid #e5e7eb; border-radius: 12px; padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; }
.address-card--default { border-color: var(--color-primary, #0050d0); background: #eff6ff; }
.address-card--add { border-style: dashed; display: flex; align-items: center; justify-content: center; min-height: 160px; }
.address-add-btn { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; background: none; border: none; cursor: pointer; color: #6b7280; font-size: 1.4rem; padding: 1.6rem; }
.address-add-btn:hover { color: var(--color-primary, #0050d0); }
.address-card-body p { margin: 0.3rem 0; font-size: 1.4rem; }
.address-card-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: auto; }
.address-action-btn { background: none; border: 1px solid #d1d5db; border-radius: 6px; padding: 0.5rem 1rem; font-size: 1.3rem; cursor: pointer; color: #374151; }
.address-action-btn:hover { border-color: #6b7280; }
.address-action-btn--danger { color: #e53e3e; }
.address-action-btn--danger:hover { border-color: #e53e3e; background: #fef2f2; }
/* Address modal */
.address-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 200; }
.address-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; border-radius: 14px; padding: 2.4rem;
  width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto; z-index: 201; box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}
.address-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.address-modal-header h3 { font-size: 1.75rem; font-weight: 700; margin: 0; }
.address-modal-close { background: none; border: none; cursor: pointer; color: #6b7280; padding: 0.4rem; }
.address-modal-footer { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 2rem; }
@media (max-width: 540px) { .address-modal { padding: 1.8rem; } }

/* ─── Product detail page ──────────────────────────────────────── */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; margin-top: 2rem; align-items: start; }
@media (max-width: 768px) {
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-detail-info .h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 700; }
}
.product-main-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
}
.product-main-media-frame img,
.product-main-media-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f9fafb;
  display: block;
}
.is-hidden { display: none !important; }
.product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 3.6rem;
  height: 3.6rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: background 0.15s ease, opacity 0.15s ease;
  opacity: 0.7;
}
.product-gallery-nav:hover { background: rgba(255, 255, 255, 0.95); opacity: 1; }
.product-gallery-nav--prev { left: 0.75rem; }
.product-gallery-nav--next { right: 0.75rem; }
.product-gallery-strip {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.6rem;
  align-items: center;
}
.gallery-strip-arrow {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
}
.product-gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.2rem;
}
.gallery-thumb {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  background: #f9fafb;
  overflow: hidden;
  flex: 0 0 auto;
}
.gallery-thumb.is-active { border-color: var(--color-primary, #0050d0); }
.gallery-thumb img { width: 72px; height: 72px; object-fit: cover; display: block; }
.gallery-thumb-video-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(17, 24, 39, 0.75);
  color: #fff;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}
.product-detail-price { margin: 1rem 0 1.4rem; display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; }
.price-main { font-size: 2.4rem; font-weight: 700; color: #000; }
.compare-at { text-decoration: line-through; font-size: 1.6rem; color: #9ca3af; font-weight: 400; }
.product-short-desc { font-size: 1.5rem; color: #374151; margin-bottom: 1.4rem; line-height: 1.65; }
.variant-selector { margin-bottom: 1.4rem; }
.variant-selector-label { display: block; font-size: 1.4rem; font-weight: 600; margin-bottom: 0.7rem; }
.variant-options { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.variant-option {
  padding: 0.55rem 1.1rem; border: 1.5px solid #d1d5db; border-radius: 6px;
  background: #fff; cursor: pointer; font-size: 1.4rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.variant-option:hover { border-color: #6b7280; }
.variant-option.is-selected { border-color: var(--color-primary, #0050d0); background: #eff6ff; color: var(--color-primary, #0050d0); font-weight: 600; }
.variant-option img { width: 28px; height: 28px; object-fit: cover; border-radius: 6px; border: 1px solid #e5e7eb; }
.variant-stock-msg { font-size: 1.3rem; margin-top: -0.4rem; margin-bottom: 1rem; }
.product-add-row { display: flex; gap: 1.2rem; align-items: center; margin-top: 0.8rem; }
.qty-control { display: flex; border: 1.5px solid #d1d5db; border-radius: 8px; overflow: hidden; }
.product-add-btn { flex: 1; }
.product-meta { font-size: 1.3rem; margin-top: 1rem; }
.product-specs-table { width: 100%; border-collapse: collapse; margin-top: 1.4rem; font-size: 1.35rem; }
.product-specs-table th,
.product-specs-table td { padding: 0.65rem 0.9rem; text-align: left; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.product-specs-table th { font-weight: 600; color: #374151; background: #f9fafb; width: 38%; }
.product-specs-table td { color: #111827; }
.product-specs-table tr:last-child th,
.product-specs-table tr:last-child td { border-bottom: none; }
.product-card-collection { font-size: 1.25rem; color: #6b7280; text-decoration: none; display: block; margin-top: 0.2rem; }
.product-card-collection:hover { color: var(--color-primary, #0050d0); }
.product-desc {
  margin-top: 1.8rem;
  font-size: 1.5rem;
  line-height: 1.7;
  max-width: 100%;
}
.product-desc img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 1.2rem auto 0;
  object-fit: contain;
}

/* No gap between consecutive images (stacked panoramic panels) */
.product-desc img + img { margin-top: 0; }
.product-desc p:has(> img:only-child) { margin: 0; padding: 0; line-height: 0; font-size: 0; }
.product-desc p:has(> img:only-child) img { margin: 0; }
.product-desc p:has(> img:only-child) + p:has(> img:only-child) { margin-top: 0; }
.product-desc video {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 1.2rem auto;
}
@media (min-width: 768px) {
  .product-desc img {
    width: 78% !important;
    max-width: 78% !important;
  }
  .product-desc video {
    width: 78% !important;
    max-width: 78% !important;
  }
}

/* ─── Track order ──────────────────────────────────────────────── */
.track-order-wrap { max-width: 560px; margin: 4rem auto; }
.track-form { margin: 2rem 0 2.4rem; }
.track-result { margin-top: 2rem; border: 1.5px solid #e5e7eb; border-radius: 12px; padding: 2rem; }
.track-result-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.track-result-header h2 { font-size: 1.75rem; font-weight: 700; margin: 0; }

/* ─── Voucher / discount ───────────────────────────────────────── */
.voucher-section { margin: 0; }
.voucher-input-row { display: flex; gap: 0.6rem; align-items: center; }
.voucher-input { flex: 1; font-size: 1.3rem !important; padding: 0.65rem 0.85rem !important; }
.voucher-apply-btn { white-space: nowrap; flex-shrink: 0; font-size: 1.3rem; padding: 0.65rem 1.2rem; }
.voucher-applied { display: flex; align-items: center; justify-content: space-between; background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: 8px; padding: 0.75rem 1rem; }
.voucher-applied-info { display: flex; align-items: center; gap: 0.5rem; font-size: 1.35rem; color: #15803d; }
.voucher-applied-info svg { flex-shrink: 0; stroke: #16a34a; }
.voucher-remove-btn { background: none; border: none; cursor: pointer; color: #6b7280; display: flex; align-items: center; padding: 0.25rem; border-radius: 4px; }
.voucher-remove-btn:hover { color: #ef4444; }
.voucher-message { font-size: 1.25rem; margin-top: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 6px; }
.voucher-message--success { background: #f0fdf4; color: #15803d; }
.voucher-message--error { background: #fef2f2; color: #b91c1c; }
.checkout-summary-discount { color: #16a34a; font-weight: 500; }

/* ─── Corporate Purchasing page ────────────────────────────────── */

/* --- Hero --- */
.corp-hero {
  background: var(--color-primary);
  color: #fff;
  padding: 5rem 0 5.6rem;
  overflow: hidden;
}

@media (min-width: 900px) {
  .corp-hero {
    padding: 7rem 0 8rem;
  }
}

.corp-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 900px) {
  .corp-hero-inner {
    grid-template-columns: 55% 45%;
    gap: 4rem;
  }
}

.corp-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 10rem;
  padding: 0.45rem 1.2rem;
  margin-bottom: 2rem;
}

.corp-hero-text h1 {
  margin: 0;
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.corp-hero-lead {
  margin: 2rem 0 0;
  font-size: 1.55rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  max-width: 44ch;
}

.corp-hero-sub {
  margin: 1.2rem 0 0;
  font-size: 1.4rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.52);
  max-width: 44ch;
}

.corp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3rem;
}

.corp-btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
}

.corp-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}

/* Hero image mosaic */
.corp-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.corp-img-a {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: 1.6rem;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

.corp-img-b,
.corp-img-c {
  grid-column: 2;
  border-radius: 1.6rem;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.corp-img-a img,
.corp-img-b img,
.corp-img-c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- Why Choose --- */
.corp-why {
  padding: 6rem 0 5.6rem;
  background: #fff;
  border-bottom: 1px solid #eaecf0;
}

.corp-why-header {
  margin-bottom: 3.2rem;
}

.corp-why-header h2 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 800;
  color: #000;
  letter-spacing: -0.02em;
}

.corp-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid #eaecf0;
}

@media (min-width: 640px) {
  .corp-why-list {
    grid-template-columns: 1fr 1fr;
  }
}

.corp-why-list li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eaecf0;
  font-size: 1.5rem;
  font-weight: 500;
  color: #111;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .corp-why-list li:nth-child(odd) {
    padding-right: 3.2rem;
  }
  .corp-why-list li:nth-child(even) {
    padding-left: 3.2rem;
    border-left: 1px solid #eaecf0;
  }
}

.corp-why-list li svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* --- Photo gallery --- */
.corp-gallery {
  padding: 0 0 6rem;
}

.corp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 749px) {
  .corp-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 479px) {
  .corp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.corp-gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.2rem;
}

.corp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.corp-gallery-item:hover img {
  transform: scale(1.06);
}

.corp-gallery-item:nth-child(6) img {
  object-position: center 65%;
}

/* --- Ideal For marquee --- */
.corp-ideal {
  padding: 5.6rem 0 6rem;
  background: #f8f9fb;
  overflow: hidden;
}

.corp-ideal-heading {
  margin: 0 0 3.2rem;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 800;
  color: #000;
  letter-spacing: -0.02em;
}

.corp-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.corp-marquee-row {
  position: relative;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.corp-marquee-track {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
  will-change: transform;
}

.corp-marquee-track--fwd {
  animation: corp-scroll-fwd 28s linear infinite;
}

.corp-marquee-track--rev {
  animation: corp-scroll-rev 22s linear infinite;
}

@keyframes corp-scroll-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

@keyframes corp-scroll-rev {
  from { transform: translateX(-33.333%); }
  to   { transform: translateX(0); }
}

.corp-marquee-row:hover .corp-marquee-track {
  animation-play-state: paused;
}

.corp-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #dde1e9;
  border-radius: 10rem;
  padding: 0.8rem 1.8rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(0,0,0,0.7);
  cursor: default;
  transition: border-color 0.2s, color 0.2s;
}

.corp-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.corp-pill--alt {
  background: transparent;
  border-color: #c8cdd8;
}

/* --- Branding --- */
.corp-branding {
  padding: 6rem 0;
  background: #fff;
}

.corp-branding-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 900px) {
  .corp-branding-inner {
    grid-template-columns: 1fr 1fr;
    gap: 5.6rem;
    align-items: center;
  }
}

.corp-label {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  margin-bottom: 1.4rem;
}

.corp-branding-text h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(2.6rem, 3.2vw, 3.8rem);
  font-weight: 900;
  color: #000;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.corp-branding-lead {
  font-size: 1.5rem;
  color: rgba(0,0,0,0.6);
  line-height: 1.7;
  margin: 0 0 2.4rem;
}

.corp-branding-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.corp-branding-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
}

.corp-branding-list li svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.corp-branding-note {
  font-size: 1.25rem;
  color: rgba(0,0,0,0.38);
  margin: 0 0 2.8rem;
}

.corp-branding-cta {
  display: inline-block;
}

/* Branding visual — single image */
.corp-branding-img {
  border-radius: 2rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.corp-branding-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- CTA --- */
.corp-cta {
  background: #0a0a0a;
  color: #fff;
  padding: 6.4rem 0;
}

.corp-cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 900px) {
  .corp-cta-inner {
    grid-template-columns: 1fr auto;
    gap: 5.6rem;
    align-items: center;
  }
}

.corp-cta-kicker {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.38);
  margin: 0 0 1.2rem;
}

.corp-cta h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.6rem, 3.5vw, 4.4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 22ch;
}

.corp-cta-text {
  margin: 0 0 3rem;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.5);
  max-width: 46rem;
  line-height: 1.7;
}

.corp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
}

.corp-cta-btn {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 700;
}

.corp-cta-btn:hover {
  background: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.88);
  color: #000;
}

.corp-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.45rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.18s;
}

.corp-cta-wa:hover {
  color: #25d366;
}

.corp-cta-stats {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 3.2rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2rem;
  flex-shrink: 0;
}

@media (min-width: 600px) and (max-width: 899px) {
  .corp-cta-stats {
    flex-direction: row;
    gap: 3.2rem;
  }
}

.corp-cta-stat-val {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  line-height: 1;
}

.corp-cta-stat-label {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
  line-height: 1.4;
  max-width: 12ch;
}

/* ── Search overlay ──────────────────────────────────────────────────────────── */

body.search-overlay-active {
  overflow: hidden;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  visibility: hidden;
}

.search-overlay.is-open {
  pointer-events: auto;
  visibility: visible;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
  backdrop-filter: blur(2px);
}

.search-overlay.is-open .search-overlay-backdrop {
  opacity: 1;
}

.search-overlay-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-100%);
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.search-overlay.is-open .search-overlay-panel {
  transform: translateY(0);
}

.search-overlay-form {
  padding: 1.6rem var(--page-padding-x);
  max-width: var(--page-width);
  margin: 0 auto;
}

@media (max-width: 749px) {
  .search-overlay-form {
    padding: 1.2rem 1.6rem;
  }
}

.search-overlay-input-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f4f4f5;
  border-radius: 4rem;
  padding: 0 1.6rem;
  height: 5rem;
}

.search-overlay-icon {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.4);
}

.search-overlay-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  font-family: inherit;
  color: #000;
  outline: none;
  min-width: 0;
}

.search-overlay-input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.search-overlay-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.search-overlay-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
}

.search-overlay-close svg {
  width: 1.6rem;
  height: 1.6rem;
}

.search-overlay-results {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--page-padding-x) 2rem;
}

@media (max-width: 749px) {
  .search-overlay-results {
    padding: 0 1.6rem 2rem;
  }
}

/* Quick result sections */

.search-quick-section {
  padding-top: 1.2rem;
}

.search-quick-section + .search-quick-section {
  border-top: 1px solid var(--line);
  margin-top: 0.8rem;
}

.search-quick-label {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
  margin: 0 0 0.8rem;
}

.search-quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.search-quick-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: background 0.14s ease;
}

.search-quick-item:hover {
  background: #f4f4f5;
}

.search-quick-thumb {
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 0.6rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}

.search-quick-thumb--sm {
  width: 4rem;
  height: 4rem;
}

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

.search-quick-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}

.search-quick-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.search-quick-name {
  font-size: 1.4rem;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-quick-sub {
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.45);
}

.search-quick-price {
  font-size: 1.35rem;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-quick-item--collection .search-quick-name {
  font-size: 1.45rem;
}

.search-quick-arrow {
  width: 1.6rem;
  height: 1.6rem;
  color: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.search-quick-footer {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  margin-top: 1.2rem;
  text-align: center;
}

.search-quick-viewall {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.7rem 2rem;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-btn);
  transition: background 0.15s ease, color 0.15s ease;
}

.search-quick-viewall:hover {
  background: var(--color-primary);
  color: #fff;
}

.search-quick-empty {
  padding: 2.4rem 0;
  text-align: center;
  color: rgba(0, 0, 0, 0.45);
  font-size: 1.4rem;
}

.search-quick-empty strong {
  color: #000;
}

/* Loading dots */

.search-quick-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2.4rem 0;
}

.search-quick-loading span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--color-primary);
  animation: sq-pulse 1.2s ease-in-out infinite;
}

.search-quick-loading span:nth-child(2) { animation-delay: 0.2s; }
.search-quick-loading span:nth-child(3) { animation-delay: 0.4s; }

@keyframes sq-pulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40%            { opacity: 1;   transform: scale(1); }
}

/* ── Search results page ─────────────────────────────────────────────────────── */

.search-results-page {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.search-results-header {
  margin-bottom: 3.2rem;
}

.search-results-input-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f4f4f5;
  border-radius: 4rem;
  padding: 0 1.6rem;
  height: 5.2rem;
  width: 100%;
  min-width: 0;
}

.search-results-input-trigger {
  cursor: text;
  border: none;
  text-align: left;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.search-results-input-trigger:hover {
  background: #ececed;
}

.search-results-input-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary);
}

.search-results-input-icon {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.4);
}

.search-results-input-text {
  flex: 1;
  font-size: 1.6rem;
  font-family: inherit;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.search-results-meta {
  font-size: 1.4rem;
  margin: 0 0 2.4rem;
}

.search-results-empty {
  padding: 4rem 0;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.45);
}

.search-section {
  margin-bottom: 4.8rem;
}

.search-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 2rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.search-section-count {
  font-size: 1.3rem;
  font-weight: 400;
}

/* Collections grid on results page */

.search-collections-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.search-collection-card {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
  background: #fff;
}

.search-collection-card:hover {
  border-color: var(--color-primary);
  background: #f8fbff;
}

.search-collection-img {
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 0.6rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}

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

.search-collection-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}

.search-collection-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.search-collection-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
}

.search-collection-desc {
  font-size: 1.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-collection-arrow {
  width: 1.8rem;
  height: 1.8rem;
  color: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.search-collection-card:hover .search-collection-arrow {
  color: var(--color-primary);
  transform: translateX(3px);
}

@media (min-width: 750px) {
  .search-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr));
    gap: 1rem;
  }
}

