:root {
  --black: #362719;
  --ink: #4a3523;
  --panel: #fff7ea;
  --panel-soft: #eadcc6;
  --gold: #b8924d;
  --gold-deep: #8a6434;
  --cream: #fbf0dc;
  --muted: #7c6750;
  --line: rgba(138, 100, 52, 0.2);
  --turquoise: #9f7541;
  --turquoise-dark: #5a3d24;
  --white: #fffaf0;
  --shadow: 0 22px 52px rgba(87, 58, 31, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #efe0c9 0%, #fff4e3 42%, #ead8bf 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: 86px;
}

main {
  display: flex;
  flex-direction: column;
}

.campaign-banner {
  order: 1;
}

.hero {
  order: 2;
}

.intro-strip {
  order: 3;
}

.service-strip {
  order: 3;
}

.catalog {
  order: 4;
}

.contact-band {
  order: 5;
}

.calculator {
  order: 6;
}

.size-guide {
  order: 7;
}

.layers {
  order: 8;
}

.comfort {
  order: 9;
}

.process {
  order: 10;
}

.reviews {
  order: 11;
}

.faq {
  order: 12;
}

.seo-text {
  order: 13;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.topbar {
  align-items: center;
  background: rgba(247, 237, 220, 0.9);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  left: 0;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 76px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.02rem;
  font-weight: 850;
  gap: 12px;
  min-width: max-content;
  text-transform: uppercase;
  color: var(--turquoise-dark);
  grid-column: 2;
  justify-self: center;
}

.brand img {
  border: 1px solid rgba(232, 214, 134, 0.35);
  border-radius: 50%;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.nav {
  align-items: center;
  color: #765f46;
  display: flex;
  font-size: 0.95rem;
  gap: clamp(16px, 3vw, 40px);
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.nav a:hover,
.phone-link:hover {
  color: var(--turquoise);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  grid-column: 3;
  justify-self: end;
}

.phone-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--turquoise-dark);
  font-weight: 800;
  min-height: 42px;
  padding: 10px 16px;
}

.icon-link,
.social-links a,
.social-links span {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.icon-link {
  font-weight: 950;
  letter-spacing: 0;
  overflow: hidden;
  padding: 4px;
}

.icon-link img,
.sticky-contact img,
.social-links img {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.phone-link.icon-link {
  height: 46px;
  min-width: 46px;
  width: 46px;
}

.icon-link-wide {
  gap: 10px;
  padding: 8px 14px !important;
}

.icon-link-wide img {
  border-radius: 50%;
  height: 34px;
  width: 34px;
}

.cart-button,
.ghost-button,
.product-card button,
.contact-form button,
.finder-card button,
.calculator-card button,
.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
}

.cart-button {
  background: var(--turquoise);
  border: 0;
  color: var(--white);
  gap: 8px;
  min-width: 70px;
}

.campaign-banner {
  background: var(--turquoise);
  color: var(--white);
  font-weight: 900;
  padding: 12px clamp(18px, 5vw, 76px);
  text-align: center;
}

.birbank-inline,
.birbank-heading {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  vertical-align: middle;
}

.birbank-inline img,
.birbank-heading img {
  border-radius: 7px;
  flex: 0 0 auto;
  height: 26px;
  object-fit: cover;
  width: 26px;
}

.campaign-banner .birbank-inline {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  color: #ef174b;
  margin: 0 4px;
  padding: 3px 10px 3px 4px;
}

.campaign-banner .birbank-inline img {
  height: 24px;
  width: 24px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 72vh;
  overflow: hidden;
  padding: clamp(38px, 6vw, 76px);
  position: relative;
  text-align: center;
}

.hero > *,
.catalog > *,
.finder > *,
.calculator > *,
.comfort > *,
.info-sections,
.reviews > *,
.seo-text,
.contact-band > *,
.admin-page > * {
  max-width: 1240px;
}

.catalog > *,
.calculator > *,
.reviews > *,
.seo-text,
.admin-page > * {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero::before {
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 250, 240, 0.72), transparent 22%),
    linear-gradient(135deg, rgba(92, 62, 34, 0.28), rgba(66, 43, 24, 0.72)),
    url("https://images.unsplash.com/photo-1616627561950-9f746e330187?auto=format&fit=crop&w=1600&q=86");
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  position: absolute;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(232, 214, 134, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-content {
  align-self: center;
  justify-items: center;
  max-width: 760px;
  position: relative;
  z-index: 1;
  animation: heroRise 780ms ease both;
}

.hero-logo {
  border: 1px solid rgba(232, 214, 134, 0.42);
  border-radius: 50%;
  box-shadow: var(--shadow);
  height: clamp(150px, 20vw, 250px);
  margin-bottom: 24px;
  object-fit: cover;
  width: clamp(150px, 20vw, 250px);
  animation: logoFloat 4.8s ease-in-out infinite;
}

.eyebrow {
  color: var(--turquoise);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  line-height: 0.98;
  margin-bottom: 18px;
  max-width: 760px;
}

.hero-content > p:not(.eyebrow) {
  color: rgba(247, 241, 212, 0.82);
  font-size: clamp(1.02rem, 1.4vw, 1.3rem);
  line-height: 1.75;
  margin-left: auto;
  margin-right: auto;
  max-width: 520px;
}

.hero-actions {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action {
  background: var(--turquoise);
  color: var(--white);
}

.secondary-action {
  background: rgba(255, 248, 232, 0.12);
  border: 1px solid rgba(255, 248, 232, 0.35);
  color: var(--cream);
}

.hero-panel {
  align-self: center;
  background: rgba(247, 237, 220, 0.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(16px);
  margin-top: 28px;
  max-width: 430px;
  width: 100%;
  animation: heroRise 920ms ease 120ms both;
}

.hero-panel div {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.hero-panel div + div {
  border-top: 1px solid var(--line);
}

.hero-panel span {
  color: #d7b46f;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-panel strong {
  color: var(--turquoise-dark);
  font-size: 1.08rem;
}

.hero-panel .birbank-heading {
  line-height: 1.3;
}

.intro-strip {
  background: #fff8e8;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.intro-strip div {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 110px;
  padding: 26px clamp(18px, 5vw, 76px);
}

.intro-strip div + div {
  border-left: 1px solid var(--line);
}

.intro-strip strong {
  color: var(--turquoise);
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
}

.intro-strip span {
  color: var(--muted);
  font-weight: 750;
}

.service-strip {
  background: #ead7bd;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-strip article {
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(138, 100, 52, 0.16);
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-strip article:hover {
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 16px 34px rgba(87, 58, 31, 0.12);
  transform: translateY(-3px);
}

.service-strip strong {
  align-items: center;
  color: var(--turquoise-dark);
  display: flex;
  font-size: 1.05rem;
  gap: 8px;
}

.service-strip img {
  border-radius: 8px;
  height: 28px;
  object-fit: cover;
  width: 28px;
}

.service-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.catalog,
.comfort,
.contact-band {
  padding: clamp(46px, 6vw, 82px) clamp(18px, 5vw, 76px);
}

.catalog {
  padding-top: clamp(34px, 4vw, 58px);
}

.catalog,
.finder,
.calculator,
.info-sections,
.reviews,
.seo-text {
  color: var(--ink);
}

.section-head {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-head > div {
  max-width: 760px;
}

.section-head h2,
.comfort-copy h2 {
  color: #fff9e7;
  font-size: clamp(2rem, 4.5vw, 5rem);
  line-height: 0.98;
  margin-bottom: 0;
}

.catalog .section-head h2,
.finder h2,
.calculator h2,
.info-sections h2,
.reviews h2,
.seo-text h2 {
  color: var(--turquoise-dark);
}

.contact-band h2 {
  color: var(--turquoise-dark);
  font-size: clamp(2rem, 4.5vw, 5rem);
  line-height: 0.98;
  margin-bottom: 0;
}

.section-head > p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 8px;
  max-width: 410px;
  text-align: right;
}

.shop-layout {
  display: grid;
  gap: clamp(22px, 4vw, 46px);
  grid-template-columns: 290px minmax(0, 1fr);
}

.catalog-searcher {
  align-items: center;
  background: rgba(249, 242, 228, 0.92);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  margin-bottom: 24px;
  padding: 14px 16px;
}

.catalog-searcher span {
  color: var(--turquoise-dark);
  font-weight: 950;
}

.catalog-searcher input {
  background: var(--white);
  border-radius: 999px;
  min-height: 52px;
}

.filters {
  align-self: start;
  background: rgba(249, 242, 228, 0.86);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  padding: 22px;
  position: sticky;
  top: 104px;
}

.filters label {
  color: var(--muted);
  display: grid;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 8px;
}

.admin-search {
  margin-bottom: 16px;
}

.file-upload-note {
  color: var(--muted);
  display: grid;
  font-size: 0.86rem;
  font-weight: 850;
  gap: 8px;
}

.existing-image-manager {
  background: rgba(138, 100, 52, 0.08);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.existing-image-manager > span {
  color: var(--turquoise-dark);
  font-weight: 900;
}

.existing-image-manager > div {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.existing-image-manager article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  flex: 0 0 148px;
  gap: 8px;
  padding: 8px;
}

.existing-image-manager img {
  aspect-ratio: 1.45;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.existing-image-manager article div {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, 1fr);
}

select,
input[type="text"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="file"],
input[type="search"],
textarea {
  background: rgba(251, 246, 236, 0.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  padding: 0 14px;
  width: 100%;
}

select,
input[type="text"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="file"],
input[type="search"] {
  min-height: 48px;
}

textarea {
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
}

select option {
  background: #fff8e6;
}

input::placeholder {
  color: rgba(31, 27, 20, 0.48);
}

textarea::placeholder {
  color: rgba(31, 27, 20, 0.48);
}

input[type="range"] {
  accent-color: var(--gold);
  width: 100%;
}

.range-label > span {
  color: var(--ink);
}

.ghost-button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--turquoise-dark);
}

.result-line {
  color: var(--turquoise);
  font-weight: 850;
  margin-bottom: 14px;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.product-card {
  background: rgba(249, 242, 228, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 560px;
  overflow: hidden;
  position: relative;
  animation: softReveal 520ms ease both;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  box-shadow: 0 28px 62px rgba(87, 58, 31, 0.18);
  transform: translateY(-4px);
}

.compare-toggle {
  background: rgba(90, 61, 36, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  color: var(--white) !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
}

.product-visual {
  align-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(138, 100, 52, 0.18), transparent 34%),
    linear-gradient(135deg, #f6efe1, #ead6b8);
  display: flex;
  min-height: 0;
  padding: 16px;
  position: relative;
}

.product-visual::after {
  background: linear-gradient(90deg, transparent, rgba(138, 100, 52, 0.24), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.mattress {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.65) 0 14px, rgba(232, 214, 134, 0.22) 14px 28px),
    linear-gradient(135deg, #fff9db, #cab066);
  border: 1px solid rgba(232, 214, 134, 0.65);
  border-radius: 14px;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.32);
  height: 92px;
  margin: 0 auto;
  position: relative;
  transform: skewX(-10deg);
  width: min(100%, 270px);
}

.mattress::after {
  background: linear-gradient(90deg, #8b722e, #d4bc66);
  border-radius: 0 0 14px 14px;
  bottom: -18px;
  content: "";
  height: 18px;
  left: 12px;
  position: absolute;
  right: -10px;
  transform: skewX(28deg);
}

.mattress.mini {
  height: 48px;
  width: 110px;
}

.mattress.mini::after {
  bottom: -10px;
  height: 10px;
}

.product-image {
  aspect-ratio: auto;
  border-radius: 16px;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.32);
  display: block;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  width: 100%;
}

.product-image-button {
  background: transparent !important;
  border: 0 !important;
  cursor: zoom-in;
  display: block;
  min-width: 0 !important;
  padding: 0 !important;
  position: relative;
  width: 100%;
}

.product-image-button::after {
  align-items: center;
  background: rgba(90, 61, 36, 0.82);
  border-radius: 999px;
  bottom: 12px;
  color: var(--white);
  content: "Böyüt";
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 30px;
  padding: 0 12px;
  position: absolute;
  right: 12px;
}

.image-count {
  align-items: center;
  background: rgba(251, 246, 236, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--turquoise-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  left: 12px;
  min-height: 30px;
  padding: 0 12px;
  position: absolute;
  top: 12px;
}

.product-body {
  display: grid;
  gap: 13px;
  grid-template-rows: auto auto minmax(72px, auto) auto auto auto;
  padding: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(138, 100, 52, 0.1);
  border: 1px solid rgba(138, 100, 52, 0.16);
  border-radius: 999px;
  color: var(--turquoise-dark);
  font-size: 0.76rem;
  font-weight: 850;
  padding: 6px 10px;
}

.product-card h3 {
  color: var(--turquoise-dark);
  font-size: 1.28rem;
  line-height: 1.18;
  margin-bottom: 0;
  min-height: 3rem;
}

.product-card p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
  min-height: 4.8rem;
}

.price-line {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: auto;
  min-height: 58px;
}

.size-picker {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.size-picker button {
  background: rgba(138, 100, 52, 0.08) !important;
  border: 1px solid var(--line) !important;
  color: var(--turquoise-dark) !important;
  flex: 0 0 auto;
  font-size: 0.78rem;
  min-height: 34px !important;
  min-width: auto !important;
  padding: 0 11px !important;
}

.size-picker button.active {
  background: var(--turquoise) !important;
  color: var(--white) !important;
}

.price {
  color: var(--ink);
  display: grid;
  font-size: 1.5rem;
  font-weight: 900;
}

.old-price {
  color: #8c7d5d;
  font-size: 0.86rem;
  text-decoration: line-through;
}

.discount-badge,
.favorite-toggle {
  position: absolute;
  z-index: 3;
}

.discount-badge {
  background: #d94f3d;
  border-radius: 999px;
  color: var(--white);
  font-weight: 950;
  left: 12px;
  padding: 7px 11px;
  top: 12px;
}

.favorite-toggle {
  align-items: center;
  background: rgba(251, 246, 236, 0.94) !important;
  border: 1px solid var(--line) !important;
  border-radius: 50%;
  color: var(--turquoise-dark) !important;
  display: inline-flex;
  font-size: 1rem;
  height: 38px;
  justify-content: center;
  min-width: 38px !important;
  padding: 0 !important;
  right: 12px;
  top: 58px;
  width: 38px;
}

.favorite-toggle.active {
  background: #d94f3d !important;
  color: var(--white) !important;
}

.whatsapp-product {
  align-items: center;
  background: rgba(138, 100, 52, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--turquoise-dark);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 40px;
  text-decoration: none;
}

.product-card button {
  background: var(--turquoise);
  border: 0;
  color: var(--white);
  min-width: 112px;
  white-space: nowrap;
}

.detail-button {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  color: var(--turquoise-dark) !important;
  width: 100%;
}

.comfort {
  background:
    linear-gradient(180deg, rgba(90, 61, 36, 0.42), rgba(90, 61, 36, 0.82)),
    url("https://images.unsplash.com/photo-1600210492493-0946911123ea?auto=format&fit=crop&w=1600&q=82");
  background-position: center;
  background-size: cover;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
}

.comfort-copy p:not(.eyebrow),
.contact-band p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
}

.comfort-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comfort-grid article {
  background: rgba(247, 237, 220, 0.84);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.comfort-grid span {
  align-items: center;
  background: #d7b46f;
  border-radius: 50%;
  color: var(--turquoise-dark);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 34px;
}

.comfort-grid h3 {
  color: var(--turquoise-dark);
  margin-bottom: 8px;
}

.icon-heading {
  align-items: center;
  display: flex;
  gap: 10px;
}

.icon-heading img {
  border-radius: 8px;
  height: 30px;
  object-fit: cover;
  width: 30px;
}

.icon-heading.large {
  align-items: flex-start;
}

.icon-heading.large img {
  flex: 0 0 auto;
  height: 42px;
  margin-top: 4px;
  width: 42px;
}

.comfort-grid p {
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-band {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
}

.contact-card {
  background: rgba(249, 242, 228, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  padding: 24px;
}

.contact-card > a {
  align-items: center;
  background: rgba(138, 100, 52, 0.08);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--turquoise-dark);
  display: flex;
  font-size: 1.2rem;
  font-weight: 900;
  justify-content: center;
  min-height: 58px;
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.contact-form button {
  background: var(--turquoise);
  border: 0;
  color: var(--white);
}

.finder,
.calculator,
.info-sections,
.reviews,
.seo-text,
.quick-order,
.size-guide,
.layers,
.process,
.faq,
.pain-guide {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 76px);
}

.finder,
.quick-order,
.layers {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 520px);
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
}

.finder h2,
.calculator h2,
.info-sections h2,
.reviews h2,
.seo-text h2,
.quick-order h2,
.size-guide h2,
.layers h2,
.process h2,
.faq h2,
.pain-guide h2 {
  color: var(--turquoise-dark);
  font-size: clamp(2rem, 3.6vw, 4.3rem);
  line-height: 1.04;
  margin-bottom: 16px;
}

.finder p,
.seo-text p,
.info-sections p,
.quick-order p,
.layers p,
.pain-guide p {
  color: var(--muted);
  line-height: 1.7;
}

.finder-card,
.calculator-card,
.quick-order-form,
.layer-stack {
  background: rgba(249, 242, 228, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  padding: 24px;
}

.finder-card > *,
.calculator-card > *,
.contact-form > *,
.settings-form > *,
.product-form > *,
.request-filters > * {
  min-width: 0;
}

.finder-card button,
.calculator-card button,
.quick-order-form button {
  background: var(--turquoise);
  border: 0;
  color: var(--white);
}

.quick-order-form {
  grid-template-columns: 1fr;
}

.size-table,
.process-grid,
.faq-list {
  display: grid;
  gap: 14px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
}

.size-table {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.size-table div,
.process-grid article,
.faq-list details,
.pain-guide {
  background: rgba(249, 242, 228, 0.88);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.size-table strong,
.process-grid span {
  color: var(--turquoise);
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.size-table span,
.process-grid p,
.faq-list p {
  color: var(--muted);
}

.layer-stack {
  gap: 10px;
}

.layer-stack span {
  background: linear-gradient(90deg, rgba(138, 100, 52, 0.14), rgba(199, 163, 77, 0.1));
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--turquoise-dark);
  font-weight: 850;
  padding: 14px 16px;
  text-align: center;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid h3,
.faq-list summary {
  color: var(--turquoise-dark);
  font-weight: 900;
}

.faq-list summary {
  cursor: pointer;
}

.product-badge {
  background: var(--turquoise);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
  left: 12px;
  padding: 8px 11px;
  position: absolute;
  top: 12px;
  z-index: 3;
}

.social-links {
  bottom: 18px;
  display: grid;
  gap: 8px;
  left: 18px;
  position: fixed;
  z-index: 24;
}

.social-links a,
.social-links span {
  background: rgba(249, 242, 228, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--turquoise-dark);
  font-weight: 850;
  height: 46px;
  min-height: 46px;
  min-width: 46px;
  overflow: hidden;
  padding: 4px;
  width: 46px;
}

.social-links span {
  color: #7f6220;
  min-width: 46px;
}

.finder-result {
  color: var(--turquoise);
  display: grid;
  font-weight: 850;
  gap: 4px;
}

.calculator-card {
  align-items: end;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.calculator-card strong {
  align-self: stretch;
  align-items: center;
  background: rgba(138, 100, 52, 0.08);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--turquoise-dark);
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 58px;
  text-align: center;
}

.info-sections,
.review-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-sections article,
.review-grid article,
.seo-text {
  background: rgba(249, 242, 228, 0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
}

.info-sections article,
.review-grid article {
  min-height: 230px;
}

.review-grid strong {
  color: var(--turquoise);
}

.review-grid p {
  color: var(--muted);
  line-height: 1.6;
  margin: 10px 0 0;
}

.compare-dock,
.favorite-dock,
.sticky-contact {
  align-items: center;
  background: rgba(247, 237, 220, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  position: fixed;
  z-index: 25;
  backdrop-filter: blur(14px);
}

.compare-dock {
  border-radius: 18px;
  bottom: 88px;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 12px;
  transform: translateX(-50%);
}

.favorite-dock {
  border-radius: 18px;
  bottom: 154px;
  left: 18px;
  padding: 12px;
}

.favorite-dock button {
  background: var(--turquoise);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 36px;
  padding: 0 14px;
}

.compare-dock div {
  display: grid;
}

.compare-dock span {
  color: var(--muted);
  font-size: 0.85rem;
}

.compare-dock button,
.sticky-contact a {
  align-items: center;
  background: var(--turquoise);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  min-height: 38px;
  padding: 0 14px;
}

.sticky-contact a {
  height: 42px;
  min-width: 42px;
  overflow: hidden;
  padding: 4px;
  width: 42px;
}

.sticky-contact {
  border-radius: 999px;
  bottom: 18px;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 10px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.sticky-contact span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  padding-right: 8px;
}

.chat-widget {
  bottom: 96px;
  position: fixed;
  right: 18px;
  z-index: 32;
}

.chat-toggle {
  align-items: center;
  background: var(--turquoise-dark);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  font-weight: 900;
  justify-content: center;
  min-height: 62px;
  padding: 0 20px 0 10px;
}

.operator-icon {
  background: var(--white);
  border-radius: 50%;
  display: inline-block;
  height: 44px;
  position: relative;
  width: 44px;
}

.operator-icon::before {
  border: 3px solid var(--turquoise);
  border-bottom-color: transparent;
  border-radius: 50%;
  content: "";
  height: 20px;
  left: 9px;
  position: absolute;
  top: 8px;
  width: 20px;
}

.operator-icon::after {
  background:
    linear-gradient(var(--turquoise), var(--turquoise)) 25px 25px / 10px 3px no-repeat,
    radial-gradient(circle at 30px 26px, var(--turquoise) 0 3px, transparent 4px),
    radial-gradient(circle at 13px 21px, var(--turquoise) 0 4px, transparent 5px),
    radial-gradient(circle at 31px 21px, var(--turquoise) 0 4px, transparent 5px);
  content: "";
  inset: 0;
  position: absolute;
}

.chat-panel {
  background: rgba(251, 246, 236, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  bottom: 58px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  padding: 14px;
  position: absolute;
  right: 0;
  width: min(360px, calc(100vw - 36px));
}

.chat-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.chat-head div {
  display: grid;
  gap: 3px;
}

.chat-head strong {
  color: var(--black);
}

.chat-head span {
  color: var(--muted);
  font-size: 0.85rem;
}

.chat-head button {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--black);
  cursor: pointer;
  font-size: 1.15rem;
  height: 34px;
  line-height: 1;
  width: 34px;
}

.chat-messages {
  display: grid;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.chat-message {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
  padding: 10px 12px;
}

.chat-message.user {
  background: rgba(138, 100, 52, 0.1);
  justify-self: end;
}

.chat-form,
.chat-input-row {
  display: grid;
  gap: 8px;
}

.chat-input-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.chat-form input,
.chat-form textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--black);
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.chat-form textarea {
  min-height: 76px;
  resize: vertical;
}

.chat-form button {
  background: var(--turquoise);
  border: 0;
  border-radius: 12px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 44px;
  padding: 0 14px;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes softReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-modal,
.image-modal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--cream);
  max-width: min(920px, calc(100vw - 28px));
  padding: 24px;
}

.image-modal {
  color: var(--ink);
  max-width: min(1040px, calc(100vw - 28px));
  width: 100%;
}

.product-modal::backdrop,
.image-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.modal-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.modal-gallery {
  display: grid;
  gap: 10px;
}

.modal-gallery img,
.modal-gallery-button img {
  border-radius: 16px;
  display: block;
  max-height: 420px;
  object-fit: contain;
  width: 100%;
}

.modal-gallery-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  padding: 0;
  width: 100%;
}

.image-modal-content {
  display: grid;
  gap: 16px;
}

.image-viewer-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-right: 58px;
}

.image-viewer-head h2 {
  color: var(--turquoise-dark);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  margin: 0;
}

.image-viewer-head span {
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}

.image-viewer-main {
  background: var(--panel-soft);
  border-radius: 18px;
  max-height: min(68vh, 680px);
  object-fit: contain;
  width: 100%;
}

.image-viewer-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.image-viewer-thumbs button {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  flex: 0 0 88px;
  padding: 0;
}

.image-viewer-thumbs button.active {
  border-color: var(--turquoise);
}

.image-viewer-thumbs img {
  aspect-ratio: 1.25;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.modal-price {
  color: var(--turquoise);
  display: block;
  font-size: 2rem;
  margin-top: 18px;
}

.variant-table {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  max-height: 340px;
  overflow: auto;
}

.variant-table div {
  align-items: center;
  background: rgba(247, 237, 220, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 12px;
}

.variant-table button {
  align-items: center;
  background: rgba(247, 237, 220, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 10px;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 12px;
  text-align: left;
}

.variant-table button.active {
  background: rgba(138, 100, 52, 0.12);
  border-color: rgba(138, 100, 52, 0.4);
}

.variant-table span {
  color: var(--muted);
  font-weight: 800;
}

.variant-table strong {
  color: var(--turquoise-dark);
}

.modal-close {
  background: var(--turquoise);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  margin-top: 18px;
  min-height: 42px;
  padding: 0 18px;
}

.compare-table {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-table article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.toast {
  background: var(--turquoise);
  border-radius: 18px;
  bottom: 24px;
  box-shadow: var(--shadow);
  color: var(--white);
  font-weight: 850;
  left: 50%;
  max-width: calc(100vw - 32px);
  opacity: 0;
  padding: 14px 18px;
  position: fixed;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
  visibility: hidden;
  z-index: 30;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.admin-page {
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 76px);
  color: var(--ink);
}

.login-panel {
  align-items: center;
  background:
    radial-gradient(circle at 50% 0, rgba(138, 100, 52, 0.12), transparent 42%),
    rgba(249, 242, 228, 0.92);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  display: grid;
  justify-items: center;
  margin: clamp(28px, 7vw, 90px) auto;
  max-width: 520px;
  padding: clamp(28px, 5vw, 46px);
  text-align: center;
}

.login-panel img {
  border: 1px solid rgba(232, 214, 134, 0.42);
  border-radius: 50%;
  height: 96px;
  margin-bottom: 22px;
  object-fit: cover;
  width: 96px;
}

.login-panel h1 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  margin-bottom: 14px;
  color: var(--turquoise-dark);
}

.login-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.login-form {
  display: grid;
  gap: 12px;
  width: 100%;
}

.login-form button {
  background: var(--turquoise);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 48px;
}

.admin-hero {
  max-width: 920px;
  padding: clamp(22px, 4vw, 46px) 0;
}

.admin-hero h1 {
  font-size: clamp(3rem, 6vw, 7rem);
  color: var(--turquoise-dark);
}

.admin-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 680px;
}

.admin-stats {
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 22px 0 34px;
  overflow: hidden;
}

.admin-stats div {
  background: rgba(249, 242, 228, 0.9);
  display: grid;
  gap: 8px;
  padding: 24px;
}

.admin-stats div + div {
  border-left: 1px solid var(--line);
}

.admin-stats strong {
  color: var(--turquoise);
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  line-height: 1;
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-panel {
  background: rgba(249, 242, 228, 0.9);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 30px);
}

.product-admin {
  margin-bottom: 28px;
}

.settings-admin {
  margin-bottom: 28px;
}

.settings-form,
.request-filters {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.content-admin {
  margin-bottom: 28px;
}

.content-admin-grid,
.content-list-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-form,
.content-row {
  background: rgba(251, 246, 236, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.content-form h3,
.content-row h3 {
  color: var(--turquoise-dark);
  margin-bottom: 0;
}

.content-row p {
  color: var(--muted);
  line-height: 1.55;
}

.content-form button {
  background: var(--turquoise);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 44px;
}

.settings-form button {
  background: var(--turquoise);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 48px;
}

.product-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.product-form textarea,
.product-form .form-actions {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.form-actions button {
  background: var(--turquoise);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 46px;
  padding: 0 18px;
}

.admin-catalog {
  display: grid;
  gap: 14px;
}

.catalog-row {
  align-items: stretch;
  background: rgba(251, 246, 236, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 16px;
  grid-template-columns: 150px minmax(0, 1fr) 310px;
  padding: 16px;
}

.catalog-thumb {
  align-items: center;
  background: rgba(238, 247, 245, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  min-height: 110px;
  overflow: hidden;
}

.catalog-thumb img {
  height: 110px;
  object-fit: cover;
  width: 100%;
}

.catalog-row h3 {
  color: var(--turquoise-dark);
  margin-bottom: 8px;
}

.catalog-row p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 6px;
}

.catalog-actions {
  align-content: center;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-actions button {
  background: var(--turquoise);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 42px;
  padding: 0 16px;
  width: 100%;
}

.catalog-actions .danger-button {
  background: rgba(255, 180, 169, 0.12);
  border: 1px solid rgba(255, 180, 169, 0.34);
  color: #ffb4a9;
}

.admin-toolbar {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.admin-actions {
  justify-content: flex-end;
}

.admin-toolbar h2 {
  color: var(--turquoise-dark);
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.danger {
  color: #ffb4a9;
}

.request-list {
  display: grid;
  gap: 14px;
}

.request-card,
.empty-state {
  background: rgba(251, 246, 236, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.request-card-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.request-card h3,
.empty-state h3 {
  color: var(--turquoise-dark);
  margin-bottom: 0;
}

.request-card time {
  color: var(--muted);
  font-size: 0.9rem;
  min-width: max-content;
}

.status-pill {
  background: rgba(138, 100, 52, 0.1);
  border: 1px solid rgba(138, 100, 52, 0.16);
  border-radius: 999px;
  color: var(--turquoise-dark);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 8px;
  padding: 6px 10px;
}

.request-card dl {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
}

.request-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.request-card dd {
  color: var(--ink);
  margin: 0;
  overflow-wrap: anywhere;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.request-actions button,
.request-actions a,
.request-actions select {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
}

.request-actions button {
  background: var(--turquoise);
  border: 0;
  color: var(--white);
  cursor: pointer;
}

.request-actions a {
  border: 1px solid var(--line);
  color: var(--turquoise-dark);
}

.empty-state p {
  color: var(--muted);
  margin-bottom: 0;
}

.crop-preview {
  background: rgba(138, 100, 52, 0.08);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.crop-preview span {
  color: var(--turquoise-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

#cropPreviewList {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

#cropPreviewList img {
  aspect-ratio: 1.45;
  border-radius: 10px;
  object-fit: cover;
  width: 96px;
}

.crop-modal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  max-width: min(760px, calc(100vw - 28px));
  padding: 22px;
  width: 100%;
}

.crop-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.crop-modal-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.crop-modal-head h2 {
  color: var(--turquoise-dark);
  margin: 0;
}

.crop-stage {
  align-items: center;
  aspect-ratio: 1.45;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.crop-stage::after {
  border: 2px solid rgba(251, 246, 236, 0.88);
  border-radius: 16px;
  box-shadow: 0 0 0 999px rgba(90, 61, 36, 0.16);
  content: "";
  inset: 18px;
  pointer-events: none;
  position: absolute;
}

.crop-stage img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transform-origin: center;
  will-change: transform;
}

.crop-controls {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0;
}

.crop-controls label {
  color: var(--muted);
  display: grid;
  font-size: 0.85rem;
  font-weight: 850;
  gap: 8px;
}

@media (max-width: 1080px) {
  .hero,
  .shop-layout,
  .comfort,
  .contact-band,
  .finder,
  .calculator-card,
  .quick-order,
  .layers {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: auto;
    margin-top: 28px;
  }

  .filters {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-row {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .catalog-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  body {
    padding-bottom: 96px;
  }

  .topbar {
    align-items: stretch;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand img {
    height: 40px;
    width: 40px;
  }

  .brand span {
    font-size: 0.94rem;
  }

  .nav {
    display: none;
  }

  .header-actions {
    grid-column: 2;
    gap: 8px;
    margin-left: auto;
  }

  .cart-button {
    min-height: 40px;
    min-width: 52px;
    padding: 0 12px;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
    min-width: 0;
  }

  .phone-link {
    display: none;
  }

  .campaign-banner {
    font-size: 0.82rem;
    line-height: 1.45;
    padding: 10px 16px;
  }

  .hero {
    align-content: start;
    gap: 18px;
    min-height: auto;
    padding: 30px 16px 26px;
  }

  .hero::before {
    background:
      radial-gradient(circle at 50% 18%, rgba(255, 250, 240, 0.58), transparent 28%),
      linear-gradient(180deg, rgba(88, 58, 32, 0.36), rgba(73, 48, 27, 0.78)),
      url("https://images.unsplash.com/photo-1616627561950-9f746e330187?auto=format&fit=crop&w=900&q=82");
    background-position: center;
    background-size: cover;
  }

  .hero-logo {
    height: 142px;
    margin-bottom: 18px;
    width: 142px;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
    line-height: 1.02;
    margin-bottom: 16px;
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .primary-action,
  .secondary-action {
    min-height: 48px;
    width: 100%;
  }

  .hero-panel {
    border-radius: 16px;
    margin-top: 8px;
  }

  .hero-panel div {
    padding: 16px;
  }

  .hero-panel strong {
    font-size: 0.96rem;
  }

  .intro-strip div {
    min-height: auto;
    padding: 18px;
  }

  .intro-strip strong {
    font-size: 1.8rem;
  }

  .service-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .service-strip article {
    flex: 0 0 78%;
    min-height: auto;
    padding: 14px;
    scroll-snap-align: start;
  }

  .service-strip span {
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 22px;
  }

  .section-head h2,
  .comfort-copy h2,
  .contact-band h2 {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
    line-height: 1.06;
  }

  .intro-strip,
  .service-strip,
  .product-grid,
  .comfort-grid,
  .admin-stats,
  .request-card dl,
  .product-form,
  .catalog-row,
  .settings-form,
  .request-filters,
  .info-sections,
  .review-grid,
  .modal-grid,
  .compare-table,
  .size-table,
  .process-grid,
  .content-admin-grid,
  .content-list-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip div + div,
  .admin-stats div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section-head,
  .admin-toolbar,
  .request-card-head {
    align-items: start;
    flex-direction: column;
  }

  .catalog-searcher {
    grid-template-columns: 1fr;
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 12px;
  }

  .catalog-searcher input {
    min-height: 48px;
  }

  .section-head > p {
    text-align: left;
  }

  .catalog,
  .comfort,
  .contact-band,
  .finder,
  .calculator,
  .info-sections,
  .reviews,
  .seo-text {
    padding: 48px 18px;
  }

  .quick-order,
  .size-guide,
  .layers,
  .process,
  .faq,
  .pain-guide {
    padding: 48px 18px;
  }

  .shop-layout {
    gap: 16px;
  }

  .filters {
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(87, 58, 31, 0.12);
    gap: 12px;
    padding: 16px;
  }

  .result-line {
    margin-bottom: 10px;
  }

  .product-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    border-radius: 14px;
    min-height: 0;
  }

  .product-visual {
    min-height: 150px;
    padding: 7px;
  }

  .product-image {
    border-radius: 10px;
    max-height: 170px;
    object-fit: contain;
  }

  .compare-toggle {
    font-size: 0.72rem;
    min-height: 32px !important;
    padding: 0 10px !important;
    right: 10px;
    top: 10px;
  }

  .favorite-toggle {
    height: 34px;
    left: 10px;
    top: 10px;
    width: 34px;
  }

  .product-body {
    gap: 8px;
    padding: 11px;
  }

  .product-card h3 {
    font-size: 0.98rem;
    line-height: 1.16;
  }

  .product-card p {
    display: none;
  }

  .tag {
    font-size: 0.64rem;
    padding: 4px 7px;
  }

  .social-links {
    display: none;
  }

  .price-line {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
  }

  .price {
    font-size: 1rem;
  }

  .price-line button,
  .whatsapp-product,
  .detail-button {
    font-size: 0.74rem;
    min-height: 36px !important;
    width: 100%;
  }

  .product-badge,
  .discount-badge {
    font-size: 0.66rem;
    padding: 5px 8px;
  }

  .image-count,
  .product-image-button::after {
    display: none;
  }

  .size-picker {
    margin-left: -2px;
    margin-right: -2px;
    padding-bottom: 8px;
  }

  .sticky-contact {
    border-radius: 16px;
    bottom: 10px;
    gap: 8px;
    justify-content: space-between;
    max-width: none;
    padding: 8px;
    width: calc(100% - 20px);
    white-space: normal;
  }

  .sticky-contact span {
    flex: 1;
    font-size: 0.78rem;
    line-height: 1.25;
    min-width: 128px;
    padding-right: 0;
  }

  .sticky-contact a {
    flex: 0 0 40px;
    height: 40px;
    width: 40px;
  }

  .chat-widget {
    bottom: 82px;
    right: 10px;
  }

  .chat-toggle {
    min-height: 50px;
    padding: 0;
    width: 50px;
  }

  .chat-toggle span:not(.operator-icon) {
    display: none;
  }

  .operator-icon {
    height: 40px;
    width: 40px;
  }

  .chat-panel {
    bottom: 58px;
    max-height: min(72vh, 560px);
    overflow: hidden;
    right: 0;
    width: calc(100vw - 20px);
  }

  .chat-messages {
    max-height: 34vh;
  }

  .compare-dock {
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100% - 24px);
  }

  .product-body {
    grid-template-rows: none;
  }

  .product-card h3,
  .product-card p {
    min-height: 0;
  }

  .catalog-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crop-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .catalog,
  .comfort,
  .contact-band,
  .finder,
  .calculator,
  .info-sections,
  .reviews,
  .seo-text,
  .quick-order,
  .size-guide,
  .layers,
  .process,
  .faq,
  .pain-guide {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .product-visual {
    min-height: 136px;
  }

  .product-image {
    max-height: 155px;
  }

  .tag-row {
    gap: 6px;
  }
}

@media (max-width: 360px) {
  .product-grid {
    gap: 8px;
  }

  .product-body {
    padding: 9px;
  }

  .product-card h3 {
    font-size: 0.9rem;
  }

  .tag {
    font-size: 0.6rem;
  }
}
