:root {
  --bg: #f5f2ea;
  --paper: #fbf8f1;
  --surface: #ffffff;
  --ink: #1d1d1b;
  --muted: #5f6058;
  --line: #ddd6c8;
  --accent: #cae2e0;
  --accent-dark: #044925;
  --deep: #254b7d;
  --deep-soft: #dce8f6;
  --radius: 28px;
  --container: 1180px;
  --shadow: 0 18px 40px rgba(35, 38, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--surface);
}

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

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

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

.fullwidth-container {
  margin: 0 5%;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.menu a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1d20;
  margin-bottom: 50px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
}

.hero-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 22, 27, 0.32) 0%, rgba(18, 22, 27, 0.58) 100%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 0 72px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  max-width: 12ch;
  color: #fff;
}

.hero-content p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 56ch;
}

.section {
  padding: 50px 0;
}

.section-head {
  margin-bottom: 24px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 13px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
  color: var(--accent-dark);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

.icon {
  width: fit-content;
  margin: 0 0 1em;
}

.icon i {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #edf5f4;
  color: var(--accent-dark);
  font-size: 26px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--accent-dark);
}

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

.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.collection-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
  min-height: 620px;
}

.collection-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
  transition: flex 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.collection-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 9, 0) 0%, rgba(8, 10, 9, 0.30) 58%, rgba(8, 10, 9, 0.50) 100%);
}

.collection-row.is-interactive .collection-card {
  flex: 0.85 1 0;
}

.collection-row.is-interactive .collection-card.is-expanded,
.collection-grid.is-interactive .collection-card.is-expanded {
  flex: 1.45 1 0;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.collection-image {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #ece8dd;
}

.collection-image-media,
.collection-image-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

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

.collection-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 10, 9, 0.3), rgba(8, 10, 9, 0.3)),
    linear-gradient(180deg, rgba(20, 20, 18, 0.12) 0%, rgba(20, 20, 18, 0.26) 34%, rgba(20, 20, 18, 0.72) 72%, rgba(10, 10, 10, 0.94) 100%);
  transition: background 0.35s ease;
}

.collection-row.is-interactive .collection-card.is-expanded .collection-image::before,
.collection-grid.is-interactive .collection-card.is-expanded .collection-image::before {
  background:
    linear-gradient(0deg, rgba(8, 10, 9, 0.24), rgba(8, 10, 9, 0.24)),
    linear-gradient(180deg, rgba(20, 20, 18, 0.08) 0%, rgba(20, 20, 18, 0.18) 28%, rgba(20, 20, 18, 0.62) 68%, rgba(10, 10, 10, 0.88) 100%);
}

.collection-body {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 96px 28px 28px;
  color: #fff;
}

.collection-body h3 {
  margin: 0;
  font-size: clamp(28px, 2vw, 38px);
  line-height: 1.02;
  color: inherit;
}

.collection-body p {
  margin: 18px 0 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.collection-row.is-interactive .collection-card.is-expanded .collection-body p,
.collection-grid.is-interactive .collection-card.is-expanded .collection-body p {
  opacity: 1;
  transform: translateY(0);
}

.stars {
  color: var(--accent-dark);
  letter-spacing: 2px;
  font-size: 18px;
  margin-bottom: 12px;
}

.contact-wrap {
  display: block;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}

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

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

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

label {
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--deep);
  box-shadow: 0 0 0 4px rgba(37, 75, 125, 0.12);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

footer {
  background: var(--accent-dark);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 40px;
}

.footer-shell {
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  max-width: 36ch;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 180px;
  height: auto;
}

.footer-brand h3,
.footer-column h4 {
  margin: 0 0 12px;
  color: #fff;
  text-transform: uppercase;
}

.footer-brand h3 {
  font-size: 24px;
}

.footer-brand .company-register {
  margin: -6px 0 12px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.footer-brand p,
.footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

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

.footer-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.footer-social i {
  font-size: 18px;
  line-height: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}

.catalog-hero {
  position: relative;
  padding: 170px 0 40px;
  background:
    radial-gradient(circle at top left, rgba(202, 226, 224, 0.7), transparent 28%),
    linear-gradient(180deg, #f8f5ef 0%, #f4f1ea 100%);
  overflow: hidden;
}

.catalog-hero.has-background {
  background-color: #102018;
  background-image:
    linear-gradient(90deg, rgba(10, 24, 18, 0.76) 0%, rgba(10, 24, 18, 0.48) 56%, rgba(10, 24, 18, 0.28) 100%),
    var(--catalog-hero-bg);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

.catalog-hero .container {
  position: relative;
  z-index: 1;
}

.catalog-hero h1,
.product-hero-copy h1 {
  color: var(--ink);
  max-width: none;
}

.catalog-hero.has-background h1 {
  color: #fff;
}

.catalog-hero p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
}

.catalog-hero.has-background p {
  color: rgba(255, 255, 255, 0.86);
}

.catalog-layout {
  width: calc(100% - 10%);
  max-width: none;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}

.catalog-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.catalog-panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--accent-dark);
}

.catalog-list {
  display: grid;
  gap: 10px;
}

.catalog-list a {
  color: var(--muted);
}

.catalog-list a:hover,
.catalog-list a.is-active {
  color: var(--ink);
  font-weight: 700;
}

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  background: #ece8dd;
}

.product-card-picture,
.product-card-img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-picture img,
.product-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 20px;
}

.product-card-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--accent-dark);
}

.product-card-body p {
  margin: 0 0 14px;
  color: var(--muted);
}

.page-content {
  max-width: 820px;
  line-height: 1.8;
  color: var(--muted);
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--ink);
}

.page-content a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
}

.page-content img {
  max-width: 100%;
  height: auto;
}

.page-template {
  background: var(--paper);
}

.page-hero-about {
  padding-bottom: 34px;
  background: linear-gradient(135deg, #044925 0%, #0b6037 100%);
}

.page-hero-about .section-head {
  margin-bottom: 0;
}

.page-hero-about h1 {
  color: #fff;
}

.page-template-layout,
.page-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.page-template-main {
  display: grid;
  gap: 24px;
}

.page-template-panel,
.contact-info-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.page-template-panel {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.page-template-panel h2 {
  margin: 8px 0 8px;
  color: var(--accent-dark);
  line-height: 1.12;
}

.page-template-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

.template-info-list {
  display: grid;
  gap: 10px;
}

.template-info-list a,
.contact-info-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.template-info-list a {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--accent-dark);
  font-weight: 800;
}

.template-info-list a:hover {
  border-color: var(--accent-dark);
}

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

.page-template-about {
  padding: 72px 0 82px;
  background: var(--surface);
}

.about-template {
  display: grid;
  gap: 72px;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: 68px;
  align-items: center;
}

.about-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 520px);
  justify-self: center;
}

.about-collage-item {
  margin: 0;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  border-radius: 8px;
  background: #edf5f4;
  box-shadow: 0 18px 36px rgba(4, 73, 37, 0.1);
}

.about-collage-item-2 {
  transform: translateY(-28px);
}

.about-collage-item-3 {
  transform: translateY(28px);
}

.about-collage-picture,
.about-collage-picture img,
.about-collage-image {
  width: 100%;
  height: 100%;
}

.about-collage-picture img,
.about-collage-image {
  object-fit: cover;
}

.about-copy {
  max-width: 620px;
}

.about-page-content {
  max-width: none;
}

.about-page-content h2:first-child {
  margin-top: 0;
  font-size: 42px;
  line-height: 1.08;
  color: var(--ink);
}

.about-page-content p {
  font-size: 15px;
}

.about-page-content strong,
.about-page-content b {
  color: var(--ink);
}

.about-why,
.about-contact-section {
  display: grid;
  gap: 24px;
}

.about-why .section-head,
.about-contact-section .section-head {
  margin-bottom: 0;
}

.about-why {
  padding-top: 4px;
}

.about-contact-section {
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.about-contact-form {
  width: 100%;
}

.contact-info-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-info-card {
  padding: 16px;
  color: var(--ink);
}

.contact-info-card i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #edf5f4;
  color: var(--accent-dark);
  font-size: 18px;
}

.contact-info-card span {
  min-width: 0;
  flex: 1;
}

.contact-info-card strong,
.contact-info-card small {
  display: block;
}

.contact-info-card small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.page-contact-form {
  max-width: none;
  margin: 0;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.product-price {
  font-weight: 800;
  color: var(--ink);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf5f4;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.product-hero {
  position: relative;
  padding: 170px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(202, 226, 224, 0.7), transparent 28%),
    linear-gradient(180deg, #f8f5ef 0%, #f4f1ea 100%);
}

.product-hero-slideshow.product-hero {
  min-height: 680px;
  padding: 0;
  background: #151b17;
}

.product-hero-backgrounds,
.product-hero-background-slide,
.product-hero-background-picture,
.product-hero-background-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.product-hero-backgrounds {
  z-index: 0;
  pointer-events: none;
}

.product-hero-background-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.product-hero-background-slide.is-active {
  opacity: 1;
}

.product-hero-background-picture img,
.product-hero-background-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 9, 7, 0.78) 0%, rgba(5, 9, 7, 0.5) 18%, rgba(12, 18, 15, 0.1) 48%, rgba(12, 18, 15, 0.58) 100%),
    linear-gradient(90deg, rgba(10, 18, 14, 0.32) 0%, rgba(10, 18, 14, 0.04) 52%, rgba(10, 18, 14, 0.22) 100%);
}

.product-detail-section {
  background: var(--paper);
}

.product-detail {
  width: calc(100% - 10%);
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: start;
}

.product-hero-media,
.product-gallery-main,
.product-gallery-empty {
  aspect-ratio: 1 / 0.92;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.product-gallery {
  display: grid;
  gap: 12px;
}

.product-hero-media {
  background-size: cover;
  background-position: center;
}

.product-gallery-main {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.product-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.product-gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product-hero-background-slide.is-active {
  pointer-events: none;
}

.product-gallery-slide img,
.product-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(29, 29, 27, 0.42);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.product-gallery-nav:hover {
  background: rgba(4, 73, 37, 0.82);
}

.product-gallery-nav.previous {
  left: 24px;
}

.product-gallery-nav.next {
  right: 24px;
}

.product-gallery-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.product-hero-thumbs {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: 100%;
  padding: 15px 0;
  justify-content: center;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.product-gallery-thumb {
  display: block;
  flex: 0 0 72px;
  aspect-ratio: 1 / 0.78;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
  opacity: 0.68;
  scroll-snap-align: start;
}

.product-gallery-thumb-picture,
.product-gallery-thumb-image {
  display: block;
  width: 100%;
  height: 100%;
}

.product-gallery-thumb-picture img,
.product-gallery-thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
  border-color: var(--accent-dark);
  opacity: 1;
}

.product-gallery-empty {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
}

.product-hero-copy {
  display: grid;
  gap: 18px;
}

.product-hero-copy p {
  margin: 0;
  color: var(--muted);
}

.product-main-copy {
  display: grid;
  gap: 20px;
}

.product-main-copy h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.04;
  color: var(--ink);
}

.product-side-panel {
  top: 110px;
  display: grid;
  gap: 20px;
}

.product-info-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 14px;
}

.product-info-card dt {
  font-weight: 800;
  color: var(--accent-dark);
}

.product-info-card dd {
  margin: 0;
}

.product-content {
  display: grid;
  gap: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.product-content h3 {
  margin: 0;
  color: var(--accent-dark);
}

.product-content p {
  margin: 0;
}

.product-variations {
  display: grid;
  gap: 14px;
}

.product-variations h3 {
  margin: 0;
  color: var(--ink);
}

.product-variation-slider {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.product-variation-viewport {
  min-width: 0;
  overflow: hidden;
}

.product-variation-track {
  display: flex;
  transition: transform 0.28s ease;
  will-change: transform;
}

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

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

.product-variation-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.product-variation-slider-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-variation-slider-button:hover,
.product-variation-slider-button:focus-visible {
  border-color: var(--accent-dark);
  color: var(--ink);
  transform: translateY(-1px);
}

.product-variation-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.product-variation-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 54, 45, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.product-variation-slider-dot.is-active {
  width: 24px;
  background: var(--accent-dark);
}

.product-variation-card {
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  outline: none;
  overflow: hidden;
}

.product-variation-card:hover,
.product-variation-card:focus-visible {
  border-color: var(--accent-dark);
}

.product-variation-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
  background: #f2efe7;
}

.product-variation-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.product-variation-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s ease;
}

.product-variation-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-variation-image.is-flat {
  opacity: 1;
}

.product-variation-picture.is-flat {
  opacity: 1;
}

.product-variation-image.is-wave {
  opacity: 0;
}

.product-variation-picture.is-wave {
  opacity: 0;
}

.product-variation-card:hover .product-variation-image.is-flat,
.product-variation-card:focus-visible .product-variation-image.is-flat {
  opacity: 0;
}

.product-variation-card:hover .product-variation-picture.is-flat,
.product-variation-card:focus-visible .product-variation-picture.is-flat {
  opacity: 0;
}

.product-variation-card:hover .product-variation-image.is-wave,
.product-variation-card:focus-visible .product-variation-image.is-wave {
  opacity: 1;
}

.product-variation-card:hover .product-variation-picture.is-wave,
.product-variation-card:focus-visible .product-variation-picture.is-wave {
  opacity: 1;
}

.product-variation-card figcaption {
  overflow: hidden;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 auto 0.5em;
}

.empty-state {
  background: #faf7f0;
  border: 1px dashed #d9cfbb;
  border-radius: 24px;
  padding: 24px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .grid-3,
  .review-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .collection-grid {
    gap: 16px;
  }

  .collection-row {
    min-height: 540px;
  }

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

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

  .catalog-layout,
  .product-detail,
  .page-template-layout,
  .page-contact-layout {
    grid-template-columns: 1fr;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-collage,
  .about-copy {
    justify-self: center;
  }

  .about-copy {
    max-width: 760px;
  }

  .catalog-sidebar,
  .page-template-panel,
  .product-side-panel {
    position: static;
  }
}

@media (max-width: 780px) {
  .menu {
    display: none;
  }

  .grid-3,
  .review-grid,
  .form-grid,
  .product-grid,
  .template-card-grid {
    grid-template-columns: 1fr;
  }

  .product-variation-grid,
  .product-side-panel .product-variation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .product-variation-card {
    gap: 6px;
    padding: 6px;
    border-radius: 12px;
  }

  .product-variation-image-wrap {
    border-radius: 9px;
  }

  .product-variation-card figcaption {
    font-size: 10px;
  }

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

  .collection-row {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 20px;
  }

  .collection-card,
  .collection-row.is-interactive .collection-card,
  .collection-row.is-interactive .collection-card.is-expanded,
  .collection-grid.is-interactive .collection-card,
  .collection-grid.is-interactive .collection-card.is-expanded {
    flex: initial;
    min-height: 420px;
    transform: none;
    box-shadow: none;
  }

  .collection-card {
    aspect-ratio: 1 / 1.2;
  }

  .collection-body p {
    opacity: 1;
    transform: none;
  }

  h1 {
    max-width: 100%;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-content: center;
    text-align: center;
  }

  .footer-column,
  .footer-brand {
    align-items: center;
    max-width: 100%;
  }

  .footer-links,
  .footer-contact {
    justify-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .catalog-hero,
  .product-hero {
    padding-top: 130px;
  }

  .page-hero-about {
    padding-bottom: 28px;
  }

  .page-template-about {
    padding: 46px 0 58px;
  }

  .about-template {
    gap: 46px;
  }

  .about-story {
    gap: 30px;
  }

  .about-collage {
    gap: 12px;
  }

  .about-collage-item {
    aspect-ratio: 1 / 1.05;
  }

  .about-collage-item-2 {
    transform: translateY(-12px);
  }

  .about-collage-item-3 {
    transform: translateY(12px);
  }

  .about-page-content h2:first-child {
    font-size: 32px;
  }

  .about-contact-section {
    padding-top: 36px;
  }

  .product-hero-slideshow.product-hero {
    min-height: 460px;
    padding: 0;
  }

  .product-main-copy h1 {
    font-size: 38px;
  }

  .product-hero-thumbs {
    bottom: 18px;
    max-width: calc(100% - 28px);
    justify-content: flex-start;
  }

  .product-gallery-thumb {
    flex-basis: 76px;
  }
}
