.quat-logo {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.quat-logo img {
  display: block !important;
  width: auto !important;
  height: 26px !important;
  max-width: 112px !important;
  object-fit: contain !important;
}

.quat-logo-footer img {
  height: 28px !important;
  max-width: 120px !important;
}

.buy-zone { bottom: 28px; }

.product-stage {
  --protector-inset: 3px;
  --protector-radius: 29px;
  --material-line: rgba(255,255,255,.42);
  left: 46%;
  top: 102px;
  width: 37%;
  height: 474px;
  isolation: isolate;
}

.product-stage[data-fit="case"] {
  --protector-inset: 13px;
  --protector-radius: 23px;
}

.product-gallery {
  position: relative;
  z-index: 2;
  width: min(100%, 448px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.09);
  border-radius: 26px;
  background: #f3f0eb;
  box-shadow: 0 26px 58px rgba(18,20,18,.16), inset 0 1px rgba(255,255,255,.9);
}

.product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity .24s ease, transform .42s cubic-bezier(.2,.75,.25,1);
}

.product-photo.is-active { opacity: 1; transform: scale(1); }

.material-choice > span > img { display: none; }
.material-choice > span > span { display: flex; flex-direction: column; align-items: flex-start; }

.fit-frame {
  --fit-guide: #ffd400;
  position: absolute;
  z-index: 3;
  top: 7.5%;
  right: 29.8%;
  bottom: 7%;
  left: 29.8%;
  border: 0;
  background:
    linear-gradient(var(--fit-guide),var(--fit-guide)) left top/24px 2px no-repeat,
    linear-gradient(var(--fit-guide),var(--fit-guide)) left top/2px 24px no-repeat,
    linear-gradient(var(--fit-guide),var(--fit-guide)) right top/24px 2px no-repeat,
    linear-gradient(var(--fit-guide),var(--fit-guide)) right top/2px 24px no-repeat,
    linear-gradient(var(--fit-guide),var(--fit-guide)) left bottom/24px 2px no-repeat,
    linear-gradient(var(--fit-guide),var(--fit-guide)) left bottom/2px 24px no-repeat,
    linear-gradient(var(--fit-guide),var(--fit-guide)) right bottom/24px 2px no-repeat,
    linear-gradient(var(--fit-guide),var(--fit-guide)) right bottom/2px 24px no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.3));
  opacity: 0;
  transform: scale(.96);
  transition: opacity .2s ease, transform .24s ease;
  pointer-events: none;
}

.fit-frame i { display: none; }

.product-stage[data-fit="case"] .fit-frame { opacity: 1; transform: scale(1); }

.stage-readout {
  position: absolute;
  z-index: 5;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #111;
  font-family: "SFMono-Regular", Consolas, monospace;
  text-transform: uppercase;
}

.stage-readout > span {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.stage-readout div { display: flex; flex-direction: column; gap: 3px; }
.stage-readout b { font-size: 11px; letter-spacing: .08em; }
.stage-readout small { color: #70716d; font-size: 8px; letter-spacing: .04em; }

.phone-shell {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
}

.phone-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10px;
  border: 7px solid #1c1d1b;
  border-radius: 48px;
  background: linear-gradient(145deg,#3d3e3b,#090a09 45%,#333431);
  box-shadow: 0 20px 34px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.16);
  opacity: 0;
  transform: scale(.96);
  transition: opacity .22s ease, transform .22s ease;
}

.product-stage[data-fit="case"] .phone-shell::before { opacity: 1; transform: scale(1); }

.phone-shell .phone { overflow: hidden; transition: box-shadow .22s ease, transform .22s ease; }
.product-stage[data-fit="case"] .phone-shell .phone { transform: scale(.97); box-shadow: inset 0 0 0 2px #565656, 0 24px 36px rgba(0,0,0,.24); }

.screen-demo {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  padding: 0 22px 40px;
  border-radius: inherit;
  color: rgba(255,255,255,.82);
  font-family: "SFMono-Regular", Consolas, monospace;
  transition: filter .22s ease, opacity .22s ease;
}

.screen-demo b { margin-bottom: 4px; font-size: 12px; letter-spacing: .18em; }
.screen-demo span { height: 3px; border-radius: 99px; background: currentColor; opacity: .48; }
.screen-demo span:nth-of-type(2) { width: 74%; }
.screen-demo span:nth-of-type(3) { width: 48%; }

.protector-layer {
  position: absolute;
  z-index: 1;
  inset: var(--protector-inset);
  overflow: hidden;
  border: 1px solid var(--material-line);
  border-radius: var(--protector-radius);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
  transition: inset .22s ease, border-radius .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.protector-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background: linear-gradient(118deg,transparent 12%,rgba(255,255,255,.55) 25%,transparent 39%);
}

.repair-line {
  position: absolute;
  z-index: 3;
  width: 68px;
  height: 1px;
  display: block;
  background: rgba(255,255,255,.7);
  box-shadow: 0 0 5px rgba(255,255,255,.75);
  transform: rotate(-23deg);
  transform-origin: center;
}
.repair-line.one { top: 38%; left: 19%; }
.repair-line.two { top: 46%; left: 35%; width: 48px; }

.privacy-angle { position: absolute; inset-block: 0; width: 42%; opacity: 0; transition: opacity .22s ease; }
.privacy-angle.left { left: 0; background: linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.08)); }
.privacy-angle.right { right: 0; background: linear-gradient(-90deg,rgba(0,0,0,.86),rgba(0,0,0,.08)); }

.product-stage[data-protection="clear"] .repair-line { animation: quat-repair 2.8s ease-in-out infinite; }
.product-stage[data-protection="matt"] .protector-layer {
  --material-line: rgba(255,255,255,.22);
  background-color: rgba(220,222,218,.22);
  background-image: radial-gradient(rgba(255,255,255,.32) .7px, transparent .8px);
  background-size: 4px 4px;
  backdrop-filter: blur(1.6px) saturate(.65);
  box-shadow: inset 0 0 35px rgba(226,228,224,.18);
}
.product-stage[data-protection="matt"] .protector-layer::before { opacity: .05; }
.product-stage[data-protection="matt"] .repair-line { display: none; }
.product-stage[data-protection="matt"] .shine { opacity: .12; }
.product-stage[data-protection="matt"] .screen-demo { filter: blur(.5px); opacity: .66; }

.product-stage[data-protection="privacy"] .protector-layer {
  --material-line: rgba(92,94,91,.7);
  background: linear-gradient(90deg,rgba(0,0,0,.74),rgba(10,10,10,.2) 28%,rgba(20,20,20,.08) 50%,rgba(10,10,10,.2) 72%,rgba(0,0,0,.74));
  box-shadow: inset 0 0 42px rgba(0,0,0,.42);
}
.product-stage[data-protection="privacy"] .protector-layer::before { opacity: .08; }
.product-stage[data-protection="privacy"] .repair-line { display: none; }
.product-stage[data-protection="privacy"] .privacy-angle { opacity: 1; }
.product-stage[data-protection="privacy"] .screen-demo { opacity: .24; }
.product-stage[data-protection="privacy"] .shine { opacity: .05; }

.fit-status {
  position: absolute;
  z-index: 5;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #5f605c;
  font: 700 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
}
.fit-status span { width: 8px; height: 8px; border: 2px solid #111; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,212,0,.35); }
.product-stage[data-fit="case"] .fit-status span { border-radius: 2px; background: #111; }

.material-mockups {
  width: 154px;
  top: 106px;
  right: 24px;
  display: grid;
  gap: 7px;
}
.material-mockups > p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 2px;
  color: #666763;
  font: 700 8px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}
.material-mockups > p span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #111; color: #fff; font-size: 7px; }

.material-mockup {
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(17,17,17,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.68);
  color: #111;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.material-mockup:hover { transform: translateY(-1px); background: #fff; }
.material-mockup:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
.material-mockup.is-selected { border-color: #111; background: #111; color: #fff; box-shadow: 0 10px 24px rgba(16,18,16,.18); }
.material-mockup.is-selected small { color: rgba(255,255,255,.62); }
.material-mockup > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.material-mockup b { font-size: 10px; }
.material-mockup small { color: #6d6e6a; font-size: 7px; line-height: 1.25; }

.material-sample {
  position: relative;
  width: 42px;
  height: 62px;
  display: block;
  overflow: hidden;
  border: 2px solid #111;
  border-radius: 9px;
  background: linear-gradient(135deg,#282928,#050505 48%,#303130);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.material-sample img { width: 100%; height: 100%; display: block; object-fit: cover; }
.material-mockup.is-selected .material-sample { box-shadow: 0 0 0 2px #ffd400, 0 6px 14px rgba(17,17,17,.14); }
.material-sample::before { content: ""; position: absolute; inset: 2px; border: 1px solid rgba(255,255,255,.34); border-radius: 6px; }
.material-sample i { position: absolute; inset: 0; display: block; }
.sample-clear i { background: linear-gradient(120deg,transparent 20%,rgba(255,255,255,.45) 33%,transparent 45%); }
.sample-matt i { background-color: rgba(225,226,223,.22); background-image: radial-gradient(rgba(255,255,255,.5) .6px,transparent .7px); background-size: 3px 3px; backdrop-filter: blur(1px); }
.sample-privacy i { background: linear-gradient(90deg,rgba(0,0,0,.88),transparent 48%,rgba(0,0,0,.88)); }

@keyframes quat-repair {
  0%, 20% { opacity: .85; transform: rotate(-23deg) scaleX(1); }
  68%, 100% { opacity: 0; transform: rotate(-23deg) scaleX(.12); }
}

.cart-message {
  top: auto;
  right: 0;
  bottom: calc(100% + 10px);
  max-width: 240px;
  padding: 9px 12px;
  border: 1px solid rgba(17,17,17,.11);
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(17,17,17,.13);
  color: #565753;
  line-height: 1.35;
}
.cart-message:empty { display: none; }
.cart-message a { color: #111; font-weight: 800; }

.benefits span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.benefits i {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 9px;
  background: rgba(255, 212, 0, .18);
  color: #111;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
  font-style: normal;
}

.benefits svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits b {
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
}

.story .eyebrow,
.support-intro .eyebrow {
  display: flex;
}

.quat-site footer p {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .quat-logo img { height: 23px !important; max-width: 98px !important; }
  .quat-logo-footer img { height: 25px !important; max-width: 108px !important; }
  .benefits { gap: 12px; }
  .benefits b { white-space: normal; }
  .benefits i { flex-basis: 32px; width: 32px; height: 32px; }
}

@media (max-width: 420px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits span { min-height: 38px; }
}
