:root {
  --cream: #dfd7c9;
  --paper: #f3efe6;
  --ink: #231f20;
  --olive: #617959;
  --peach: #f9b493;
  --line: #e5dcce;
  --page-max: 1180px;
  --content-max: 1120px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --ease-premium: cubic-bezier(0.2, 0.8, 0.25, 1);
}

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

html {
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
#dc-root,
#dc-root > div {
  width: 100%;
  min-width: 320px;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
}

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

button,
a,
input,
select,
textarea {
  min-width: 0;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
span,
a,
button {
  overflow-wrap: break-word;
}

/* Navigation */
.site-nav {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 50%;
  z-index: 1000;
  width: min(calc(100% - 24px), var(--content-max));
  min-height: 64px;
  padding: 9px 12px 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(35, 31, 32, 0.12);
  border-radius: 24px;
  background: rgba(243, 239, 230, 0.92);
  box-shadow: 0 10px 30px rgba(35, 31, 32, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.nav-brand {
  display: flex;
  flex: 0 1 220px;
  align-items: center;
  align-self: stretch;
  overflow: hidden;
  transition: opacity 200ms var(--ease-premium);
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-brand img {
  width: 100%;
  max-width: 220px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(4px, 1.1vw, 18px);
}

.nav-links button,
.nav-mobile-primary,
.mobile-menu button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: "Satoshi", "Montserrat", sans-serif;
}

.nav-links button {
  position: relative;
  min-height: 44px;
  padding: 9px 7px;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 400;
  white-space: nowrap;
}

.nav-links button::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-premium);
}

.nav-links button:hover::after,
.nav-links button:focus-visible::after {
  transform: scaleX(1);
}

.nav-links button:hover,
.nav-links button:focus-visible,
.nav-mobile-primary:hover,
.nav-mobile-primary:focus-visible,
.mobile-menu button:hover,
.mobile-menu button:focus-visible {
  color: var(--olive);
}

.nav-burger,
.nav-mobile-primary {
  display: none;
}

.cart-button {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--olive);
  color: var(--paper);
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

.cart-panel {
  max-height: calc(100dvh - 104px);
  overflow-y: auto;
  border-radius: 18px;
}

/* Hero and key message are intentionally separate blocks. */
.hero-section {
  width: min(calc(100% - 24px), var(--page-max)) !important;
  max-width: var(--page-max) !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 90px 0 0 !important;
  overflow: hidden;
  background: var(--cream);
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2400 / 1360;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
}

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

.hero-overlay-actions {
  position: absolute;
  left: clamp(20px, 5vw, 64px);
  right: clamp(20px, 5vw, 64px);
  bottom: clamp(20px, 4vw, 48px);
  z-index: 2;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-overlay-actions .button-secondary {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.benefit-strip {
  width: 100%;
  overflow: hidden;
  padding: 22px 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Satoshi", sans-serif;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 300;
}

.benefit-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(20px, 4vw, 56px);
  white-space: nowrap;
  animation: benefitMarquee 26s linear infinite;
}

.benefit-strip-track span[aria-hidden] {
  opacity: 0.55;
}

.benefit-strip strong {
  font-weight: 700;
}

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

.tagline-strip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px clamp(20px, 5vw, 56px);
  background: var(--peach);
  color: var(--ink);
  font-family: "Satoshi", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.tagline-dot {
  opacity: 0.5;
}

.button {
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.button-primary {
  border: 1px solid var(--olive);
  background: var(--olive);
  color: var(--paper);
}

.button-secondary {
  border: 1px solid var(--olive);
  background: transparent;
  color: var(--olive);
}

.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 900;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 10px 24px rgba(35, 31, 32, 0.24);
}

/* Two-image lifestyle section */
.photo-section {
  width: min(calc(100% - 24px), var(--page-max));
  margin: 12px auto 0;
  padding: clamp(46px, 7vw, 82px) clamp(16px, 4vw, 46px) clamp(18px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: #fff;
}

.photo-heading {
  width: min(100%, 920px);
  margin: 0 auto clamp(34px, 5vw, 56px);
  color: var(--olive);
  font-family: "Satoshi", sans-serif;
  font-size: clamp(34px, 5.8vw, 68px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}

.photo-heading em {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
}

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

.photo-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

/* Bestsellers, collections and catalog */
.content-section {
  width: min(calc(100% - 24px), var(--content-max)) !important;
  max-width: var(--content-max) !important;
  margin: 12px auto 0 !important;
  padding: clamp(48px, 6vw, 72px) clamp(18px, 4vw, 42px) !important;
  border: 1px solid rgba(97, 121, 89, 0.42) !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(35, 31, 32, 0.08) !important;
}

.content-section > div:first-child {
  margin-bottom: clamp(28px, 4vw, 44px) !important;
}

.pcarousel.product-grid,
.pcarousel.collection-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 16px) !important;
  overflow: visible !important;
  padding: 0 !important;
  scroll-snap-type: none !important;
}

.pcarousel.product-grid > *,
.pcarousel.collection-grid > *,
dc-import {
  min-width: 0;
  max-width: 100%;
}

.product-card,
.collection-card {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  max-width: 100%;
  aspect-ratio: auto !important;
}

.product-title {
  min-height: 2.5em;
  display: grid;
  place-items: center;
  line-height: 1.25;
}

.product-controls {
  min-width: 0;
}

.product-media,
.collection-media {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  flex: none !important;
  background: var(--paper);
}

.product-media img,
.collection-media img {
  width: 100% !important;
  height: 100% !important;
  padding: 8px;
  object-fit: contain !important;
  object-position: center !important;
}

.catalog-page {
  min-height: 100dvh;
  padding-top: 88px !important;
  background: var(--cream);
}

.catalog-section {
  width: min(100%, var(--content-max));
  padding: 48px 24px 72px !important;
}

.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Story and application steps */
.story-section,
.steps-section {
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 56px) !important;
}

.story-section > div:first-child,
.steps-section > div:first-child {
  margin-bottom: clamp(32px, 5vw, 50px) !important;
}

.story-grid {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px !important;
  padding-bottom: 14px;
}

.story-grid::-webkit-scrollbar { height: 6px; }
.story-grid::-webkit-scrollbar-thumb { background: rgba(243, 239, 230, 0.5); border-radius: 999px; }

.story-card {
  flex: 0 0 auto;
  width: min(78vw, 300px);
  scroll-snap-align: start;
  padding: clamp(24px, 3vw, 34px) !important;
}

@media (min-width: 640px) {
  .story-card { width: 320px; }
}

.story-card p,
.steps-section p {
  overflow-wrap: anywhere;
}

/* Footer */
footer,
.site-footer {
  width: 100%;
  padding: 40px clamp(20px, 5vw, 48px) 24px !important;
}

.footer-inner,
footer > div:first-child {
  width: min(100%, var(--content-max));
  margin-inline: auto !important;
  align-items: start;
}

.footer-logo,
footer img[alt="Easy Nailz"] {
  width: min(100%, 230px) !important;
  height: 72px !important;
  object-fit: contain !important;
  object-position: left center;
}

footer button,
footer a {
  min-height: 30px;
  overflow-wrap: anywhere;
}

/* Secondary views */
.detail-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  padding: 12px;
  object-fit: contain !important;
  background: var(--paper);
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 84px;
  }

  .site-nav {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 7px 8px;
    gap: 8px;
    border-radius: 22px;
  }

  .nav-links {
    display: none;
  }

  .nav-brand {
    margin-right: auto;
  }

  .cart-button {
    margin-left: auto;
  }

  .nav-burger {
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(35, 31, 32, 0.18);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-mobile-primary {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    top: calc(max(8px, env(safe-area-inset-top)) + 66px);
    left: 50%;
    z-index: 999;
    width: calc(100% - 20px);
    padding: 10px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(35, 31, 32, 0.14);
    border-radius: 18px;
    background: rgba(243, 239, 230, 0.98);
    box-shadow: 0 18px 36px rgba(35, 31, 32, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateX(-50%);
  }

  .mobile-menu button {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
  }

  .mobile-menu button:hover,
  .mobile-menu button:focus-visible {
    background: rgba(97, 121, 89, 0.1);
  }

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

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

@media (max-width: 700px) {
  .hero-section {
    width: 100% !important;
    padding-top: 78px !important;
  }

  .hero-image {
    width: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .hero-overlay-actions {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: clamp(16px, 5vw, 28px);
    transform: translateX(-50%);
    margin-top: 0;
    padding: 0 14px;
    justify-content: center;
    width: 100%;
  }

  .benefit-strip {
    padding: 16px 0;
    font-size: 13px;
  }

  .benefit-strip-track {
    gap: 16px;
  }

  .tagline-strip {
    font-size: 10.5px;
    padding: 12px 16px;
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    font-size: 13px;
  }

  .wa-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .photo-section {
    width: calc(100% - 20px);
    padding: 42px 10px 10px;
    border-radius: 20px;
  }

  .photo-heading {
    margin-bottom: 30px;
    padding-inline: 6px;
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1;
  }

  .photo-grid {
    gap: 8px;
  }

  .photo-grid img {
    border-radius: 12px;
  }

  .content-section {
    width: calc(100% - 20px) !important;
    padding: 42px 12px !important;
    border-radius: 20px;
  }

  .content-section > div:first-child {
    margin-bottom: 28px !important;
  }

  .pcarousel.product-grid,
  .pcarousel.collection-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .product-media img,
  .collection-media img {
    padding: 5px;
  }

  .product-card > div,
  .collection-card > div:last-child {
    padding: 10px 8px !important;
  }

  .product-title {
    font-size: 14px !important;
  }

  .product-controls {
    gap: 4px !important;
  }

  .product-controls > button {
    font-size: 9px !important;
    letter-spacing: 0.04em !important;
  }

  .product-card button,
  .collection-card button {
    max-width: 100%;
  }

  .story-section,
  .steps-section {
    padding: 44px 18px !important;
  }

  .steps-section [style*="display: flex"][style*="gap: 24px"] {
    gap: 14px !important;
    padding: 22px 0 !important;
  }

  .catalog-page {
    padding-top: 76px !important;
  }

  .catalog-section {
    width: 100%;
    padding: 36px 12px 56px !important;
  }

  .catalog-section h1 {
    font-size: clamp(30px, 10vw, 42px) !important;
  }

  form[style*="grid-template-columns"],
  section[style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  footer,
  .site-footer {
    padding: 32px 20px 20px !important;
  }

  .footer-inner,
  footer > div:first-child {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .footer-logo,
  footer img[alt="Easy Nailz"] {
    width: min(100%, 200px) !important;
    height: 64px !important;
  }

  footer [style*="gap:48px"],
  footer [style*="gap: 48px"] {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px !important;
  }
}

@media (max-width: 360px) {
  .site-nav {
    gap: 4px;
  }

  .nav-burger,
  .cart-button {
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex-basis: 42px;
  }

  .nav-mobile-primary {
    font-size: 12px;
  }

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

  .photo-heading {
    font-size: clamp(30px, 9.5vw, 36px);
  }

  .pcarousel.product-grid,
  .catalog-grid {
    grid-template-columns: 1fr !important;
  }

  .pcarousel.collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  footer [style*="gap:48px"],
  footer [style*="gap: 48px"] {
    grid-template-columns: 1fr;
  }
}

@media (hover: hover) {
  .button,
  .cart-button,
  .wa-float {
    transition: transform 260ms var(--ease-premium), box-shadow 260ms var(--ease-premium), background-color 260ms var(--ease-premium);
  }

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

  .product-card,
  .collection-card {
    overflow: hidden;
  }

  .product-media img,
  .collection-media img {
    transition: transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
  }

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

.button {
  transition: background-color 300ms ease, color 300ms ease, transform 150ms ease;
}

.button:active {
  transform: scale(0.98);
}

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

/* --------------------------------------------------------------------------
   Linear premium layout — final override
   Inspired by the reference site's full-width editorial bands. Containers,
   grids, cards and media frames intentionally use square corners.
   -------------------------------------------------------------------------- */

:root {
  --radius-lg: 0;
  --radius-md: 0;
}

.site-nav {
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  min-height: 52px;
  padding: 4px clamp(18px, 4vw, 56px);
  border: 0;
  border-bottom: 1px solid rgba(35, 31, 32, 0.18);
  border-radius: 0;
  background: rgba(243, 239, 230, 0.96);
  box-shadow: 0 4px 18px rgba(35, 31, 32, 0.06);
  transform: none;
}

.mobile-menu,
.cart-panel,
.hero-section,
.hero-image,
.photo-section,
.photo-grid img,
.content-section,
.product-card,
.collection-card,
.product-media,
.collection-media,
.detail-image,
.story-card,
.tutorial-card,
.video-placeholder,
.checkout-form > div,
.shipping-field select {
  border-radius: 0 !important;
}

.hero-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-top: 70px !important;
  background: var(--cream);
}

.hero-image {
  width: 100%;
  max-height: min(76vh, 760px);
  aspect-ratio: 2400 / 1360;
  object-fit: cover;
  object-position: center;
}

.photo-section,
.content-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(35, 31, 32, 0.18) !important;
  box-shadow: none !important;
}

.photo-section {
  padding: clamp(62px, 8vw, 112px) clamp(20px, 5vw, 72px) clamp(36px, 6vw, 76px);
}

.photo-grid,
.content-section > .pcarousel,
.content-section > div:first-child {
  width: min(100%, var(--content-max));
  margin-inline: auto !important;
}

.photo-grid {
  gap: 1px;
  background: var(--ink);
}

.photo-grid img {
  border: 0;
}

.content-section {
  padding: clamp(62px, 8vw, 100px) clamp(20px, 5vw, 72px) !important;
}

.product-card,
.collection-card {
  box-shadow: none !important;
}

.product-media img,
.collection-media img {
  padding: clamp(4px, 0.8vw, 10px);
}

.story-section {
  width: 100%;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px) !important;
  border-bottom: 1px solid rgba(35, 31, 32, 0.18);
  background: var(--olive);
}

.section-heading {
  width: min(100%, 800px);
  margin: 0 auto clamp(36px, 5vw, 58px);
  text-align: center;
}

.section-heading > span,
.tutorial-heading > span,
.catalog-complements-heading > span {
  font-family: "Satoshi", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 8px 0 20px;
  color: var(--paper);
  font-family: "Satoshi", sans-serif;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 500;
}

.section-heading p {
  margin: 0;
  color: var(--paper);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
}

.story-grid {
  width: min(100%, var(--content-max));
  margin-inline: auto !important;
}

.story-card {
  padding: clamp(26px, 3vw, 40px) !important;
  border: 1px solid rgba(35, 31, 32, 0.22);
  background: var(--paper);
  box-shadow: none !important;
}

.story-number {
  color: var(--olive);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  font-style: italic;
}

.story-card h3 {
  margin: 12px 0 10px;
  font-size: 17px;
}

.story-card p {
  margin: 0;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.65;
}

.steps-section {
  width: 100%;
  border-bottom: 1px solid rgba(35, 31, 32, 0.18);
}

.tutorial-link {
  margin: 32px auto 0;
}

.catalog-complements-heading {
  margin: clamp(72px, 9vw, 120px) 0 34px;
  padding-top: clamp(42px, 5vw, 68px);
  border-top: 1px solid var(--ink);
}

.catalog-complements-heading h2 {
  margin: 8px 0 0;
  color: var(--olive);
  font-family: "Satoshi", sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
}

.catalog-complements-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shipping-field {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: "Satoshi", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.shipping-field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 42px 12px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
}

.shipping-city-summary {
  color: #5f6368;
  font-size: 12px;
  line-height: 1.35;
}

.tutorial-page {
  min-height: 100dvh;
  padding-top: 70px;
  background: var(--cream);
}

.tutorial-section {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.tutorial-heading {
  width: min(100%, 760px);
  margin: 0 auto clamp(40px, 6vw, 70px);
  text-align: center;
}

.tutorial-heading h1 {
  margin: 8px 0 18px;
  color: var(--olive);
  font-family: "Satoshi", sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.tutorial-heading p {
  margin: 0;
  color: #5f6368;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.65;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.tutorial-card {
  min-width: 0;
  background: var(--paper);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--ink);
  background: #d7cfbf;
  color: rgba(35, 31, 32, 0.62);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tutorial-copy {
  padding: clamp(24px, 4vw, 42px);
}

.tutorial-copy > span {
  color: var(--olive);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-style: italic;
}

.tutorial-copy h2 {
  margin: 8px 0 12px;
  font-family: "Satoshi", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
}

.tutorial-copy p {
  margin: 0;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.65;
}

dc-import[name="SiteFooter"] {
  display: block;
  width: 100%;
}

.site-footer {
  width: 100%;
  padding: clamp(46px, 6vw, 72px) clamp(20px, 5vw, 64px) 28px !important;
  border-top: 1px solid var(--ink);
  background: var(--olive);
  color: var(--paper);
}

.footer-inner {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center !important;
  gap: 36px;
}

.footer-brand {
  width: min(100%, 520px);
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.footer-logo {
  width: 520px !important;
  max-width: 100%;
  height: 135px !important;
  margin-inline: auto;
  object-fit: contain !important;
  object-position: center !important;
}

.carousel-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(35, 31, 32, 0.3);
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 220ms var(--ease-premium), color 220ms var(--ease-premium), transform 220ms var(--ease-premium);
}

.carousel-arrow:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.footer-columns {
  width: min(100%, 760px);
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 10vw, 120px);
  border-top: 1px solid rgba(243, 239, 230, 0.28);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-heading {
  margin-bottom: 5px;
  color: var(--paper);
  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.footer-column button,
.footer-column a {
  min-height: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.footer-column button:hover,
.footer-column a:hover {
  color: var(--ink);
}

.footer-bottom {
  width: min(100%, var(--content-max));
  margin: 38px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 239, 230, 0.18);
  color: var(--paper);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 860px) {
  .site-nav {
    top: 0;
    left: 0;
    width: 100%;
    min-height: 62px;
    padding: 8px 12px;
    border-radius: 0;
    transform: none;
  }

  .mobile-menu {
    top: 62px;
    left: 0;
    width: 100%;
    border-width: 0 0 1px;
    border-radius: 0;
    transform: none;
  }

  .mobile-menu button {
    border-radius: 0;
  }

  .hero-section,
  .tutorial-page {
    padding-top: 62px !important;
  }

  .catalog-page {
    padding-top: 70px !important;
  }
}

@media (max-width: 700px) {
  .hero-image {
    max-height: none;
    object-fit: contain;
  }

  .photo-section,
  .content-section {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .photo-section {
    padding: 52px 12px 12px;
  }

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

  .photo-grid img {
    aspect-ratio: 4 / 5;
  }

  .story-section,
  .steps-section {
    padding: 52px 18px !important;
  }

  .catalog-complements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

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

  .tutorial-section {
    padding: 46px 14px 64px;
  }

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

  .footer-logo {
    width: 400px !important;
    height: 105px !important;
  }

  .footer-columns {
    width: min(100%, 520px);
    gap: 28px;
  }
}

@media (max-width: 360px) {
  .detail-actions,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .catalog-complements-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   Motion refresh — hero entrance, scroll reveals, tactile hovers.
   -------------------------------------------------------------------------- */

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes luxuryPushIn {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

.hero-image {
  animation: heroFadeIn 900ms var(--ease-premium) both, luxuryPushIn 8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-overlay-actions {
  animation: heroReveal 700ms var(--ease-premium) 200ms both;
}

.reveal-target {
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-target.pre-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-target.is-visible {
  opacity: 1;
  transform: none;
}

.footer-brand {
  transition: transform 280ms var(--ease-premium);
}

.footer-brand:hover {
  transform: scale(1.03);
}

.footer-column button,
.footer-column a {
  transition: color 220ms var(--ease-premium), transform 220ms var(--ease-premium);
}

.footer-column button:hover,
.footer-column a:hover {
  transform: translateX(3px);
}

.story-card.reveal-target.pre-reveal {
  transform: translateX(36px);
}

.story-card:nth-child(1) { transition-delay: 0ms; }
.story-card:nth-child(2) { transition-delay: 90ms; }
.story-card:nth-child(3) { transition-delay: 180ms; }
.story-card:nth-child(4) { transition-delay: 270ms; }

.product-card:nth-child(2),
.collection-card:nth-child(2) { transition-delay: 80ms; }
.product-card:nth-child(3),
.collection-card:nth-child(3) { transition-delay: 160ms; }
.product-card:nth-child(4),
.collection-card:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .hero-overlay-actions,
  .benefit-strip-track {
    animation: none !important;
  }

  .reveal-target.pre-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
