:root {
  --bg: #f3f0e9;
  --surface: #fffdf8;
  --ink: #18231f;
  --muted: #6d7772;
  --line: #e1dcd2;
  --green: #0d5c4d;
  --green-strong: #094538;
  --coral: #e0643f;
  --gold: #cf9a2b;
  --blue: #2f5e82;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2;
}

.announcement {
  background: var(--coral);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.42rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 248, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.72rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 185px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 1.25rem;
  height: 1.25rem;
}

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

.brand-text strong {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.68rem;
  margin-top: 0.18rem;
}

.main-nav {
  display: flex;
  gap: 0.1rem;
  margin-left: 0.3rem;
}

.main-nav a {
  padding: 0.55rem 0.68rem;
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  background: #ece7dc;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  min-width: 190px;
  max-width: 460px;
  margin-left: auto;
  padding: 0.4rem 0.55rem 0.4rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f0ece2;
}

.search-form:focus-within {
  border-color: var(--green);
  background: #fff;
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.2rem;
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.icon-button:hover {
  background: #ece7dc;
}

.icon-button.small {
  width: 30px;
  height: 30px;
}

[data-badge]::after {
  content: attr(data-badge);
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.64rem;
  opacity: 0;
}

[data-badge]:not([data-badge="0"])::after {
  opacity: 1;
}

.currency-select {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.currency-select select {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.84rem;
}

.header-mobile-row {
  display: none;
  padding: 0 0.9rem 0.65rem;
}

.header-mobile-row .search-form {
  max-width: none;
  margin: 0;
}

.hero {
  background:
    linear-gradient(100deg, rgba(8, 42, 35, 0.97) 0%, rgba(10, 58, 48, 0.88) 46%, rgba(10, 58, 48, 0.38) 100%),
    url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=85")
      center / cover;
  color: #fff;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.2rem 1.25rem;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0.85rem 0 0.75rem;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.primary-button,
.ghost-button,
.secondary-button,
.checkout-button,
.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
  border: 0;
}

.primary-button {
  padding: 0.7rem 1rem;
  background: #fff;
  color: #0b4036;
}

.primary-button.dark {
  background: var(--ink);
  color: #fff;
}

.ghost-button {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.secondary-button {
  padding: 0.68rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 1.55rem;
}

.hero-stat {
  padding-left: 0.85rem;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
}

.hero-stat strong {
  display: block;
  font-size: 1.3rem;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
}

.hero-contact {
  display: grid;
  gap: 0.2rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--coral);
  background: rgba(4, 31, 25, 0.5);
  color: #fff;
  font-size: 0.88rem;
}

.hero-contact strong {
  font-size: 0.92rem;
}

.hero-contact span {
  color: rgba(255, 255, 255, 0.86);
}

.service-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.service-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.service-item svg {
  color: var(--green);
  flex-shrink: 0;
}

.catalog {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3.25rem;
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-kicker {
  margin: 0 0 0.25rem;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-heading h2 {
  margin: 0;
  font-size: 1.65rem;
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  padding: 0.54rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}

.chip:hover {
  color: var(--ink);
  border-color: var(--green);
}

.chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.sort-label select {
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.15rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(22, 45, 37, 0.1);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8e3d8;
}

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

.product-media--pet {
  --pet-tilt-x: 0deg;
  --pet-tilt-y: 0deg;
  --pet-shift-x: 0px;
  --pet-shift-y: 0px;
  --pet-glow-x: 50%;
  --pet-glow-y: 50%;
  perspective: 900px;
  transform-style: preserve-3d;
}

.product-media--pet::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at var(--pet-glow-x) var(--pet-glow-y), rgba(255, 255, 255, 0.46), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-media--pet::after {
  content: "";
  position: absolute;
  inset: -35% -60%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 255, 255, 0.38) 50%, transparent 58%);
  opacity: 0;
  transform: translateX(-45%);
}

.product-media--pet:hover::before {
  opacity: 1;
}

.product-media--pet:hover::after {
  opacity: 1;
  animation: pet-sheen 2.4s ease-in-out infinite;
}

.product-media--pet > img {
  position: relative;
  z-index: 0;
  transform: translate3d(var(--pet-shift-x), var(--pet-shift-y), 0) rotateX(var(--pet-tilt-x)) rotateY(var(--pet-tilt-y)) scale(1);
  transform-origin: center;
  filter: saturate(1) contrast(1);
  transition: transform 0.18s ease-out, filter 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.product-media--pet:hover > img {
  transform: translate3d(var(--pet-shift-x), var(--pet-shift-y), 18px) rotateX(var(--pet-tilt-x)) rotateY(var(--pet-tilt-y)) scale(1.07);
  filter: saturate(1.12) contrast(1.06) drop-shadow(0 14px 12px rgba(15, 40, 31, 0.18));
  animation: pet-float 1.8s ease-in-out infinite;
}

@keyframes pet-sheen {
  0%, 20% { transform: translateX(-45%); }
  70%, 100% { transform: translateX(45%); }
}

@keyframes pet-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -3px; }
}

.product-media--contain img,
.product-card:hover .product-media--contain img {
  object-fit: contain;
  transform: none;
}

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

.product-media img.is-broken {
  display: none;
}

.media-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: linear-gradient(135deg, #e2ede7, #d0dfd7);
  color: var(--green);
  font-weight: 800;
  font-size: 1.2rem;
}

.product-media img.is-broken ~ .media-fallback,
.quick-media img.is-broken ~ .media-fallback {
  display: grid;
}

.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.fav-button {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fav-button.active {
  color: var(--coral);
}

.fav-button.active svg {
  fill: currentColor;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 0.9rem 1rem;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
}

.product-meta svg {
  width: 0.82rem;
  height: 0.82rem;
}

.rating {
  color: var(--gold);
  font-weight: 700;
}

.product-info h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.product-desc {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.product-price strong {
  color: var(--coral);
  font-size: 1.2rem;
}

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

.save {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 0.45rem;
  margin-top: auto;
}

.add-button {
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
}

.add-button:hover {
  background: var(--green-strong);
}

.add-button.wide {
  width: 100%;
}

.quick-button {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.quick-button:hover {
  border-color: var(--green);
  color: var(--green);
}

.empty-state {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
}

.empty-state svg {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--coral);
}

.empty-state h3 {
  margin: 0.7rem 0 0.25rem;
  color: var(--ink);
}

.empty-state p {
  margin: 0;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}

.drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 25, 0.46);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer.open .drawer-scrim {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  background: var(--surface);
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.14);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.drawer.open .drawer-panel {
  transform: none;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.cart-summary strong {
  color: var(--ink);
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  flex: 1;
  overflow: auto;
  padding: 1rem 1.2rem;
}

.cart-empty {
  display: grid;
  place-items: center;
  flex: 1;
  padding: 2rem 1rem;
  color: var(--muted);
  text-align: center;
}

.cart-empty svg {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--green);
}

.cart-empty h3 {
  margin: 0.7rem 0 0.25rem;
  color: var(--ink);
}

.cart-empty p {
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: start;
  gap: 0.8rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--line);
}

.cart-item img {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
  background: #eee;
}

.cart-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.cart-item .variant {
  color: var(--muted);
  font-size: 0.75rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qty-control button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: #fff;
}

.qty-control button:hover {
  background: #eee;
}

.qty-control span {
  min-width: 32px;
  text-align: center;
  font-size: 0.85rem;
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.cart-item-right strong {
  color: var(--coral);
  font-size: 0.9rem;
}

.cart-footer {
  padding: 1rem 1.2rem 1.2rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.cart-totals,
.order-totals {
  display: grid;
  gap: 0.42rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cart-totals div,
.order-totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.cart-totals .total,
.order-totals .total {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.cart-totals .free-shipping {
  color: var(--green);
}

.checkout-button {
  width: 100%;
  min-height: 46px;
  background: var(--coral);
  color: #fff;
}

.checkout-button:hover {
  background: #c94f2d;
}

.clear-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 38px;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.clear-cart-button:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 30, 24, 0.52);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(900px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.modal-close:hover {
  background: #ece7dc;
}

.quick-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
}

.quick-media {
  position: relative;
  min-height: 420px;
  background: #e8e3d8;
}

.quick-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
}

.quick-gallery {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.35rem;
}

.quick-thumb {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.quick-thumb.active {
  border-color: var(--accent);
}

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

.quick-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.quick-badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.quick-badges span {
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  background: #f3e4da;
  color: #9a3f23;
  font-size: 0.72rem;
  font-weight: 700;
}

.quick-info h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.3;
}

.quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.quick-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.quick-price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.quick-price strong {
  color: var(--coral);
  font-size: 1.75rem;
}

.quick-price s {
  color: var(--muted);
  font-size: 0.85rem;
}

.quick-price span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
}

.quick-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.quick-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field > span,
.quantity-row > span {
  color: var(--muted);
  font-size: 0.8rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.62rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(13, 92, 77, 0.24);
  border-color: var(--green);
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.qty-stepper button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: #fff;
}

.qty-stepper button:hover {
  background: #eee;
}

.qty-stepper span {
  min-width: 38px;
  text-align: center;
  font-weight: 700;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.favorites-modal {
  width: min(860px, 100%);
}

.account-modal {
  width: min(430px, 100%);
}

.account-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.25rem 0;
}

.account-tabs button {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}

.account-tabs button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.account-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
}

.account-form .primary-button {
  width: 100%;
}

.account-error {
  margin: 0;
  color: var(--coral);
  font-size: 0.85rem;
}

.account-logged {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
  text-align: center;
}

.account-logged p {
  margin: 0;
  color: var(--muted);
}

.account-logged strong {
  color: var(--ink);
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
  padding: 1.25rem;
}

.favorite-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.favorite-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eee;
}

.favorite-card-body {
  padding: 0.75rem;
}

.favorite-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.favorite-card .price {
  margin-bottom: 0.6rem;
  color: var(--coral);
  font-weight: 700;
}

.favorite-card .mini-add {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.favorites-empty {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

.checkout-modal {
  width: min(960px, 100%);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.form-column {
  display: grid;
  gap: 1.4rem;
}

.form-section h3,
.order-summary h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

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

.payment-options {
  display: grid;
  gap: 0.55rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.payment-option:has(input:checked) {
  border-color: var(--green);
  background: #f2f7f3;
}

.payment-option input {
  accent-color: var(--green);
}

.order-column {
  min-width: 0;
}

.order-summary {
  position: sticky;
  top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf7ef;
}

.order-lines {
  display: grid;
  gap: 0.65rem;
  max-height: 260px;
  overflow: auto;
  margin-bottom: 0.85rem;
}

.order-line {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 0.6rem;
}

.order-line img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  background: #eee;
}

.order-line h4 {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.order-line span {
  color: var(--muted);
  font-size: 0.72rem;
}

.order-line strong {
  font-size: 0.82rem;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.order-success {
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #e4f2eb;
  color: var(--green);
}

.success-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.order-success h2 {
  margin: 1rem 0 0.35rem;
}

.order-success p {
  margin: 0.2rem 0;
  color: var(--muted);
}

.order-success strong {
  color: var(--ink);
}

.success-note {
  max-width: 440px;
  margin: 0.7rem 0 1.3rem !important;
}

.toast-stack {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  z-index: 100;
  display: grid;
  gap: 0.5rem;
  width: min(360px, calc(100vw - 2rem));
  transform: translateX(-50%);
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.9rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  font-size: 0.88rem;
}

.toast svg {
  color: #93dfc2;
}

.chat-widget {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  display: grid;
  justify-items: end;
  gap: 0.6rem;
}

.chat-toggle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.chat-toggle svg {
  width: 1.4rem;
  height: 1.4rem;
}

.chat-toggle {
  animation: chat-pulse 2.8s ease-in-out infinite;
}

.chat-panel {
  width: min(360px, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  background: var(--ink);
  color: #fff;
}

.chat-header strong {
  display: block;
  font-size: 0.95rem;
}

.chat-header span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
}

.chat-header .icon-button {
  color: #fff;
}

.chat-messages {
  display: grid;
  gap: 0.6rem;
  max-height: 300px;
  overflow: auto;
  padding: 1rem;
}

.chat-message {
  max-width: 85%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  background: #efe9dd;
  font-size: 0.86rem;
}

.chat-message.admin {
  margin-left: auto;
  background: #dcebe4;
}

.chat-message small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-form input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chat-form button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.site-footer {
  background: var(--ink);
  color: #fff;
}

.wholesale-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e8f0ec;
}

.wholesale-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 1.25rem;
}

.wholesale-copy h2 {
  margin: 0;
  font-size: 1.8rem;
}

.wholesale-copy p {
  max-width: 560px;
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.wholesale-points {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.wholesale-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.wholesale-points svg {
  color: var(--green);
  flex-shrink: 0;
}

.inquiry-form {
  display: grid;
  gap: 0.8rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(20, 45, 37, 0.08);
}

.inquiry-form h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.inquiry-form .primary-button {
  width: 100%;
  margin-top: 0.2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 320px;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-form button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
}

.newsletter-form button:hover {
  background: #c94f2d;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem 1.25rem 1.5rem;
}

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

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.62);
}

.footer-inner p {
  max-width: 260px;
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.85rem;
}

.footer-inner h4 {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
}

.footer-inner a {
  display: block;
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

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

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

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

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

  .header-mobile-row {
    display: block;
  }

  .header-inner .search-form {
    display: none;
  }

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

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

  .wholesale-inner {
    grid-template-columns: 1fr;
  }

  .quick-media,
  .quick-media img {
    min-height: 300px;
    max-height: 360px;
  }

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

  .order-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .header-inner {
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 0.94rem;
  }

  .currency-select {
    padding: 0.3rem;
  }

  .currency-select svg {
    display: none;
  }

  .hero-inner {
    padding: 2.2rem 0.9rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .catalog {
    padding: 1.75rem 0.9rem 2.5rem;
  }

  .catalog-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

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

  .product-info {
    padding: 0.75rem 0.75rem 0.85rem;
  }

  .product-info h3 {
    font-size: 0.88rem;
  }

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

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

  .quick-button {
    display: none;
  }

  .add-button {
    min-height: 36px;
    font-size: 0.8rem;
  }

  .quick-info {
    padding: 1.15rem;
  }

  .action-row {
    grid-template-columns: 1fr;
  }

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

  .field-wide {
    grid-column: auto;
  }

  .checkout-layout {
    padding: 1.1rem;
  }

  .wholesale-inner {
    padding: 1.8rem 0.9rem;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.3rem;
  }
}

@media (max-width: 400px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    gap: 0.25rem;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .product-info h3 {
    font-size: 0.82rem;
  }

  .product-meta {
    font-size: 0.68rem;
  }

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

/* VERDA visual refresh */
:root {
  --bg: #eef2ee;
  --surface: #ffffff;
  --paper: #f4f7f3;
  --ink: #14251e;
  --muted: #5f6f67;
  --line: #dde4de;
  --green: #0b5c49;
  --green-strong: #074334;
  --coral: #d95f3b;
  --gold: #b8860b;
  --blue: #2f5e82;
  --font-display: Georgia, "Times New Roman", "Songti SC", serif;
}

html {
  scroll-padding-top: 84px;
}

body {
  background: var(--bg);
  color: var(--ink);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.section-kicker,
.eyebrow,
.brand-text strong,
.brand-text small {
  letter-spacing: 0;
}

.announcement {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem;
  padding: 0.52rem 1rem;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(20, 37, 30, 0.08);
  box-shadow: 0 8px 24px rgba(14, 43, 34, 0.06);
}

.header-inner {
  padding-top: 0.82rem;
  padding-bottom: 0.82rem;
  flex-wrap: wrap;
  row-gap: 0.45rem;
}

.brand-mark {
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(217, 95, 59, 0.14);
}

.brand-text strong {
  font-size: 1.08rem;
}

.main-nav a:hover {
  background: #e9f0ea;
  color: var(--green-strong);
}

.main-nav a.active {
  background: var(--green);
  color: #fff;
}

.main-nav {
  order: 5;
  flex: 1 1 100%;
  justify-content: center;
  margin-left: 0;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.search-form {
  background: var(--paper);
}

.search-form:focus-within {
  background: #fff;
}

.hero {
  min-height: min(720px, 82vh);
  background:
    linear-gradient(100deg, rgba(5, 28, 22, 0.98) 0%, rgba(7, 53, 42, 0.86) 45%, rgba(7, 53, 42, 0.2) 100%),
    url("images/watch-gold-automatic.png") center 28% / cover no-repeat;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  background-size: cover, 105% auto;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: 4.6rem 1.25rem 5.2rem;
}

.hero-copy {
  max-width: 660px;
  padding: 1.15rem 1.3rem 1.25rem 0;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
}

.hero h1 {
  max-width: 640px;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5vw, 3.9rem);
  line-height: 1.08;
  text-wrap: balance;
}

.hero p {
  max-width: 540px;
  font-size: 1.05rem;
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.service-strip {
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 37, 30, 0.05);
  position: relative;
  z-index: 1;
}

.service-item {
  color: var(--muted);
  font-size: 0.86rem;
}

.service-item svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--coral);
  animation: service-pulse 3.2s ease-in-out infinite;
}

.service-item:nth-child(2) svg { animation-delay: 0.35s; }
.service-item:nth-child(3) svg { animation-delay: 0.7s; }
.service-item:nth-child(4) svg { animation-delay: 1.05s; }

.category-showcase {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.4rem 1.25rem 2.3rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  text-wrap: balance;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--coral);
}

.text-link svg {
  width: 1rem;
  height: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.7rem;
}

.category-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: var(--line);
  isolation: isolate;
  box-shadow: 0 10px 24px rgba(14, 43, 34, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover .category-tile-img {
  transform: scale(1.07);
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px rgba(14, 43, 34, 0.18);
}

.category-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 34, 27, 0.02) 28%, rgba(9, 34, 27, 0.82) 100%);
}

.category-label {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.category-label svg {
  width: 1.05rem;
  height: 1.05rem;
  color: #ffd9a0;
}

.category-tile.active {
  box-shadow: 0 0 0 2px var(--coral);
}

.catalog-heading h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
}

.catalog-heading {
  position: relative;
  padding-bottom: 0.95rem;
}

.catalog-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), rgba(217, 95, 59, 0.1) 42%, transparent);
}

.catalog-tools {
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  border: 1px solid rgba(20, 37, 30, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.chip {
  background: #fff;
}

.chip.active {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 5px 12px rgba(11, 92, 73, 0.2);
}

.sort-label select {
  background: #fff;
}

.product-card {
  background: #fff;
  border-color: rgba(20, 37, 30, 0.1);
  box-shadow: 0 4px 12px rgba(14, 43, 34, 0.045);
  animation: card-rise 0.55s both;
  animation-delay: calc(var(--card-index, 0) * 45ms);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 92, 73, 0.35);
  box-shadow: 0 18px 34px rgba(14, 43, 34, 0.12);
}

.product-media {
  background: var(--paper);
  border-bottom: 1px solid rgba(20, 37, 30, 0.06);
}

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

.product-card:hover .product-media--pet > img {
  transform: translate3d(var(--pet-shift-x), var(--pet-shift-y), 18px) rotateX(var(--pet-tilt-x)) rotateY(var(--pet-tilt-y)) scale(1.07);
}

.badge {
  background: var(--coral);
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
  text-wrap: balance;
}

.product-price strong {
  color: var(--coral);
  font-family: var(--font-display);
}

.wholesale-band {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.wholesale-band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  background: linear-gradient(110deg, rgba(13, 92, 77, 0.1), transparent);
  pointer-events: none;
}

.wholesale-inner {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.wholesale-copy h2 {
  font-family: var(--font-display);
  font-size: 2.1rem;
}

.inquiry-form {
  background: #fff;
  box-shadow: 0 20px 44px rgba(20, 45, 37, 0.1);
  border-top: 3px solid var(--coral);
}

.site-footer {
  background: #0b2c23;
}

.footer-inner h4 {
  color: #fff;
}

.footer-inner a:hover {
  color: #ffd9a0;
}

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

@keyframes hero-drift {
  from { background-position: center 28%; }
  to { background-position: 53% 30%; }
}

@keyframes service-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.86; }
  50% { transform: translateY(-2px); opacity: 1; }
}

@keyframes card-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes chat-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 12px 28px rgba(217, 95, 59, 0.34), 0 0 0 8px rgba(217, 95, 59, 0.08); }
}

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

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

@media (max-width: 720px) {
  .hero {
    min-height: 620px;
  }

  .hero-inner {
    padding: 3rem 0.9rem 3.4rem;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .category-showcase {
    padding: 2.2rem 0.9rem 1.4rem;
  }

  .catalog-tools {
    align-items: stretch;
    padding: 0.6rem;
  }

  .sort-label {
    justify-content: space-between;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

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

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

  .category-label {
    left: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.85rem;
  }

  .catalog-heading h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 400px) {
  .category-label {
    font-size: 0.8rem;
  }
}

/* Visual direction for the creator-inspired brand layer. */
.creator-showcase {
  position: relative;
  overflow: hidden;
  background: #0c0c0c;
  color: #d7e2ea;
}

.creator-showcase-inner {
  max-width: 1280px;
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 2rem;
  padding: 4.8rem 1.25rem 5.8rem;
}

.creator-copy {
  position: relative;
  z-index: 2;
  max-width: 390px;
}

.creator-kicker,
.marquee-heading,
.stage-label,
.project-meta,
.project-number {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.creator-kicker {
  margin: 0 0 1.1rem;
  color: #ff8058;
}

.creator-copy h2,
.brand-story-heading h2,
.services-title h2,
.projects-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.creator-copy h2 {
  color: #f4f6f7;
}

.creator-intro {
  max-width: 330px;
  margin: 1.45rem 0 1.7rem;
  color: rgba(215, 226, 234, 0.68);
  font-size: 1rem;
  line-height: 1.7;
}

.creator-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.creator-link:hover {
  color: #ff8058;
}

.creator-link svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #ff8058;
}

.creator-stage {
  position: relative;
  width: min(100%, 650px);
  min-height: 530px;
  justify-self: end;
  perspective: 1300px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stage-orbit {
  position: absolute;
  border: 1px solid rgba(215, 226, 234, 0.2);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.stage-orbit-one {
  width: 76%;
  height: 54%;
  top: 20%;
  left: 13%;
}

.stage-orbit-two {
  width: 58%;
  height: 76%;
  top: 10%;
  left: 21%;
  transform: rotate(62deg);
  border-color: rgba(255, 128, 88, 0.38);
}

.stage-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(215, 226, 234, 0.3);
  background: #17191b;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.stage-card-back {
  top: 11%;
  right: 6%;
  width: 42%;
  height: 49%;
  transform: rotate(10deg) translateZ(-40px);
  opacity: 0.64;
}

.stage-card-main {
  top: 13%;
  left: 18%;
  z-index: 2;
  width: 48%;
  height: 67%;
  transform: rotate(-6deg) translateZ(30px);
}

.stage-card-front {
  right: 8%;
  bottom: 7%;
  z-index: 3;
  width: 35%;
  height: 37%;
  transform: rotate(7deg) translateZ(75px);
}

.stage-card-caption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.stage-label {
  position: absolute;
  z-index: 4;
  color: rgba(215, 226, 234, 0.58);
}

.stage-label-top {
  top: 4%;
  left: 2%;
}

.stage-label-bottom {
  right: 3%;
  bottom: 2%;
  color: #ff8058;
}

.motion-marquee {
  overflow: hidden;
  padding: 1rem 0 2rem;
  background: #0c0c0c;
  color: #d7e2ea;
}

.marquee-heading {
  max-width: 1280px;
  margin: 0 auto 0.7rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem;
  color: rgba(215, 226, 234, 0.55);
}

.marquee-heading span:last-child {
  color: #ff8058;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
}

.marquee-group img {
  width: clamp(150px, 19vw, 260px);
  height: clamp(105px, 13vw, 175px);
  flex-shrink: 0;
  object-fit: cover;
  filter: saturate(0.88);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.marquee-group img:hover {
  filter: saturate(1.15);
  transform: translateY(-4px);
}

.marquee-track-forward {
  animation: marquee-forward 92s linear infinite;
}

.marquee-track-reverse {
  animation: marquee-reverse 108s linear infinite;
}

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

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

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

.brand-story {
  background: #0c0c0c;
  color: #d7e2ea;
  padding: 7rem 1.25rem 8rem;
}

.brand-story-inner,
.services-inner,
.projects-section > * {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.brand-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 5rem;
}

.brand-story-heading h2 em,
.projects-heading h2 em {
  color: #ff8058;
  font-style: normal;
}

.brand-story-copy {
  max-width: 460px;
  margin: 0 0 0.3rem;
  color: rgba(215, 226, 234, 0.68);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.75;
}

.services-section {
  border-radius: 42px 42px 0 0;
  background: #fff;
  color: #0c0c0c;
  padding: 6.5rem 1.25rem 7rem;
}

.services-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(380px, 1.2fr);
  gap: 5rem;
}

.services-title h2 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.services-list {
  border-top: 1px solid rgba(12, 12, 12, 0.22);
}

.service-feature {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(12, 12, 12, 0.16);
}

.service-feature > span {
  color: #ff6e45;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
}

.service-feature h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  text-transform: uppercase;
}

.service-feature p {
  max-width: 490px;
  margin: 0;
  color: rgba(12, 12, 12, 0.64);
  line-height: 1.65;
}

.projects-section {
  position: relative;
  overflow: clip;
  margin-top: -1px;
  border-radius: 42px 42px 0 0;
  background: #0c0c0c;
  color: #d7e2ea;
  padding: 6.5rem 1.25rem 7rem;
}

.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.projects-heading h2 {
  font-size: clamp(3.4rem, 8vw, 7.2rem);
}

.projects-heading > p {
  max-width: 240px;
  margin: 0 0 0.4rem;
  color: rgba(215, 226, 234, 0.62);
  line-height: 1.65;
}

.project-stack {
  display: grid;
  gap: 2.5rem;
}

.project-card {
  position: sticky;
  top: 5.5rem;
  min-height: min(560px, 70vh);
  overflow: hidden;
  border: 1px solid rgba(215, 226, 234, 0.55);
  background: #111315;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28);
  transform-origin: top center;
}

.project-card:nth-child(2) { top: 6.6rem; }
.project-card:nth-child(3) { top: 7.7rem; }

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.7s ease, opacity 0.5s ease;
}

.project-card:hover img {
  opacity: 0.96;
  transform: scale(1.035);
}

.project-meta {
  position: absolute;
  z-index: 1;
  top: 1.25rem;
  right: 1.35rem;
  left: 1.35rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
}

.project-meta strong {
  color: #ff8058;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-number {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
}

@media (max-width: 900px) {
  .creator-showcase-inner,
  .services-inner {
    grid-template-columns: 1fr;
  }

  .creator-showcase-inner {
    padding-top: 4rem;
    padding-bottom: 3.8rem;
  }

  .creator-stage {
    justify-self: center;
    min-height: 490px;
  }

  .brand-story-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-inner {
    gap: 3rem;
  }
}

@media (max-width: 560px) {
  .creator-showcase-inner {
    min-height: 0;
    padding: 3.4rem 0.9rem 2rem;
  }

  .creator-copy h2,
  .brand-story-heading h2,
  .services-title h2,
  .projects-heading h2 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .creator-stage {
    min-height: 360px;
    margin-top: 0.5rem;
  }

  .stage-card-back { right: 2%; }
  .stage-card-main { left: 8%; }
  .stage-card-front { right: 2%; }

  .marquee-heading {
    padding: 0 0.9rem;
    font-size: 0.58rem;
  }

  .brand-story,
  .services-section,
  .projects-section {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .brand-story { padding-top: 4.5rem; padding-bottom: 5rem; }
  .services-section { padding-top: 4.5rem; padding-bottom: 5rem; }
  .projects-section { padding-top: 4.5rem; padding-bottom: 5rem; }

  .projects-heading {
    align-items: start;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .project-card {
    min-height: 390px;
    top: 4.5rem;
  }

  .project-card:nth-child(2) { top: 5.25rem; }
  .project-card:nth-child(3) { top: 6rem; }
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.35rem 0 1rem;
  text-align: left;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  flex-shrink: 0;
}

.account-avatar svg {
  width: 1.3rem;
  height: 1.3rem;
}

.account-name {
  margin: 0;
}

.account-meta {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.account-orders {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  text-align: left;
}

.account-orders h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.customer-orders {
  display: grid;
  gap: 0.6rem;
  max-height: 320px;
  overflow: auto;
  padding-right: 0.15rem;
}

.customer-order {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.order-row-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.order-row-top strong {
  color: var(--green);
}

.order-row-top span {
  color: var(--muted);
}

.order-items {
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.order-row-bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.order-row-bottom strong {
  color: var(--coral);
}

.orders-empty {
  margin: 0;
  padding: 0.4rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
}
