:root {
  --ink: #101828;
  --muted: #667085;
  --subtle: #98a2b3;
  --line: #e4e7ec;
  --line-soft: #eef1f5;
  --surface: #ffffff;
  --soft: #f7f9fc;
  --blue: #1677ff;
  --blue-dark: #075cc9;
  --blue-soft: #edf5ff;
  --green: #14966a;
  --green-soft: #eaf8f2;
  --amber: #a86405;
  --amber-soft: #fff6e8;
  --shadow: 0 20px 55px rgba(16,24,40,.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.ff-modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

.ff-public-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
}

.ff-public-header-inner {
  width: min(1180px,calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ff-public-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ff-public-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  font-size: 17px;
  font-weight: 800;
}

.ff-public-brand > span:last-child {
  display: grid;
  gap: 1px;
}

.ff-public-brand strong {
  font-size: 15px;
}

.ff-public-brand small {
  color: var(--muted);
  font-size: 9px;
}

.ff-public-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ff-public-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
}

.ff-public-nav a.is-active {
  color: var(--ink);
  background: var(--soft);
}

.ff-public-nav .ff-nav-cta {
  margin-left: 6px;
  background: var(--ink);
  color: white;
}

.ff-view {
  width: min(1180px,calc(100% - 40px));
  margin: 0 auto;
}

.ff-hero {
  padding: 78px 0 48px;
  text-align: center;
}

.ff-eyebrow,
.ff-section-kicker {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ff-hero h1 {
  margin: 10px 0 10px;
  font-size: clamp(40px,5vw,64px);
  line-height: .98;
  letter-spacing: -.05em;
}

.ff-hero > p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.ff-search-box {
  max-width: 800px;
  min-height: 58px;
  margin: 0 auto;
  padding: 6px 7px 6px 17px;
  display: grid;
  grid-template-columns: 23px minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid #d5dae3;
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 35px rgba(16,24,40,.08);
}

.ff-search-box svg {
  width: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
}

.ff-search-box input {
  width: 100%;
  height: 44px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 14px;
}

.ff-search-box button {
  height: 44px;
  padding: 0 23px;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.ff-brand-shortcuts {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.ff-brand-shortcuts :is(button,a) {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
}

.ff-brand-shortcuts :is(button,a)[data-active="true"] {
  border-color: #b6d3ff;
  background: var(--blue-soft);
  color: var(--blue);
}

.ff-section {
  padding: 20px 0 70px;
}

.ff-section-heading {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.ff-section-heading h2 {
  margin: 5px 0 0;
  font-size: 25px;
  letter-spacing: -.035em;
}

.ff-soft-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 9px;
}

.ff-model-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}

.ff-model-card {
  min-height: 235px;
  padding: 18px;
  display: grid;
  grid-template-rows: minmax(130px,1fr) auto;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  cursor: pointer;
  text-align: left;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
}

.ff-model-card:hover {
  transform: translateY(-2px);
  border-color: #c0d7fa;
  box-shadow: 0 10px 28px rgba(16,24,40,.07);
}

.ff-model-phone {
  display: grid;
  place-items: center;
}

.ff-model-phone::before {
  content: "";
  width: 72px;
  height: 135px;
  display: block;
  border: 3px solid #1c2534;
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      #b9ddff,
      #73a9f2 47%,
      #2e64b7
    );
  box-shadow:
    inset 0 0 0 5px white,
    0 10px 22px rgba(16,24,40,.10);
}

.ff-model-card-copy {
  display: grid;
  gap: 3px;
}

.ff-model-card-copy small {
  color: var(--muted);
  font-size: 9px;
}

.ff-model-card-copy strong {
  font-size: 14px;
}

.ff-model-card-copy span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.ff-empty {
  padding: 50px;
  display: grid;
  place-items: center;
  gap: 5px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.ff-empty strong {
  color: var(--ink);
}

.ff-breadcrumbs {
  padding: 22px 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
}

.ff-breadcrumbs a,
.ff-breadcrumbs button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 9px;
}

.ff-model-hero {
  min-height: 280px;
  padding: 34px;
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  align-items: center;
  gap: 46px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 16% 30%,
      #edf6ff,
      transparent 40%
    ),
    #fff;
}

.ff-device-visual {
  display: grid;
  place-items: center;
}

.ff-phone-shape {
  width: 105px;
  height: 205px;
  padding: 7px;
  border-radius: 25px;
  background: #161d29;
  box-shadow: 0 22px 40px rgba(16,24,40,.17);
}

.ff-phone-shape span {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 19px;
  background:
    radial-gradient(
      circle at 70% 24%,
      #c7eeff,
      transparent 26%
    ),
    linear-gradient(
      150deg,
      #76d8f3,
      #5b80dc 48%,
      #193f88
    );
}

.ff-model-copy h1 {
  max-width: 650px;
  margin: 8px 0 10px;
  font-size: clamp(30px,4vw,46px);
  line-height: 1;
  letter-spacing: -.045em;
}

.ff-model-copy > p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 12px;
}

.ff-model-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ff-model-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 9px;
}

.ff-category-tabs {
  margin-bottom: 18px;
  padding: 10px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--soft);
}

.ff-category-tabs button {
  min-width: 105px;
  min-height: 88px;
  padding: 10px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  white-space: nowrap;
}

.ff-category-tabs button > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 18px;
}

.ff-category-tabs button strong {
  font-size: 9px;
}

.ff-category-tabs button small {
  color: var(--muted);
  font-size: 8px;
}

.ff-category-tabs button[data-active="true"] {
  border-color: #a9cdfc;
  background: #f6faff;
}

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

.ff-service-card {
  min-height: 105px;
  padding: 15px;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  cursor: pointer;
  text-align: left;
}

.ff-service-card:hover {
  border-color: #b9d4fb;
  background: #fbfdff;
}

.ff-service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 19px;
}

.ff-service-card-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.ff-service-card-copy strong {
  font-size: 11px;
}

.ff-service-card-copy small {
  color: var(--muted);
  font-size: 8px;
}

.ff-service-card-price {
  display: grid;
  justify-items: end;
  gap: 2px;
  white-space: nowrap;
}

.ff-service-card-price small {
  color: var(--muted);
  font-size: 8px;
}

.ff-service-card-price strong {
  font-size: 15px;
}

.ff-service-hero {
  padding: 34px 0 48px;
  display: grid;
  grid-template-columns:
    minmax(320px,.9fr)
    minmax(0,1.1fr);
  gap: 55px;
  align-items: center;
}

.ff-service-visual {
  min-height: 400px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 50% 30%,
      #edf6ff,
      transparent 46%
    ),
    var(--soft);
}

.ff-repair-illustration {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ff-broken-phone,
.ff-good-phone {
  width: 115px;
  height: 225px;
  position: relative;
  border: 6px solid #151b25;
  border-radius: 25px;
  background:
    linear-gradient(
      145deg,
      #9fdff7,
      #517fda 50%,
      #17396d
    );
  box-shadow: 0 20px 35px rgba(16,24,40,.14);
}

.ff-broken-phone {
  background: #0c111b;
}

.ff-repair-arrow {
  color: var(--blue);
  font-size: 30px;
  font-weight: 800;
}

.ff-crack {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 70px;
  height: 1px;
  background: white;
  transform-origin: left center;
  opacity: .9;
}

.crack-one {
  transform: rotate(30deg);
}

.crack-two {
  transform: rotate(-42deg);
}

.crack-three {
  transform: rotate(85deg);
}

.ff-service-buy h1 {
  margin: 8px 0 12px;
  font-size: clamp(30px,4vw,46px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.ff-service-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.ff-variant-picker {
  margin: 18px 0;
  display: grid;
  gap: 7px;
}

.ff-variant-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.ff-variant-picker > div {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px;
}

.ff-variant-picker button {
  min-height: 58px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  cursor: pointer;
}

.ff-variant-picker button span {
  font-size: 10px;
  font-weight: 650;
}

.ff-variant-picker button strong {
  font-size: 12px;
}

.ff-variant-picker button[data-active="true"] {
  border-color: #9fc5fb;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.ff-price-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 7px;
}

.ff-price-row > span {
  color: var(--muted);
  font-size: 10px;
}

.ff-price-row strong {
  font-size: 31px;
  letter-spacing: -.04em;
}

.ff-price-row small {
  color: var(--muted);
  font-size: 8px;
}

.ff-availability {
  margin: 10px 0 17px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
}

.ff-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.ff-primary-action,
.ff-secondary-action {
  width: 100%;
  min-height: 46px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.ff-primary-action {
  border: 0;
  background: var(--blue);
  color: white;
}

.ff-primary-action:hover {
  background: var(--blue-dark);
}

.ff-secondary-action {
  margin-top: 7px;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
}

.ff-stat-grid {
  margin: 6px 0 16px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}

.ff-stat-grid article {
  padding: 17px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
}

.ff-stat-grid span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.ff-stat-grid strong {
  font-size: 17px;
}

.ff-info-layout {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ff-info-panel {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--soft);
}

.ff-info-panel h2 {
  margin: 6px 0 13px;
  font-size: 16px;
}

.ff-check-list {
  display: grid;
  gap: 6px;
}

.ff-check-list > div {
  min-height: 42px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: white;
}

.ff-check-list > div > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.ff-check-list p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.ff-trust-section,
.ff-faq-section,
.ff-related-section {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.ff-trust-section {
  background:
    linear-gradient(
      135deg,
      #fffdf8,
      #fff8ea
    );
}

.ff-trust-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
}

.ff-trust-grid article {
  padding: 14px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(228,231,236,.9);
  border-radius: 9px;
  background: rgba(255,255,255,.82);
}

.ff-trust-grid article > span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
}

.ff-trust-grid strong {
  font-size: 10px;
}

.ff-trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.ff-faq-list {
  display: grid;
  gap: 6px;
}

.ff-faq-list details {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
}

.ff-faq-list summary {
  min-height: 47px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 10px;
  font-weight: 650;
}

.ff-faq-list summary::-webkit-details-marker {
  display: none;
}

.ff-faq-list summary span {
  color: var(--blue);
  font-size: 17px;
}

.ff-faq-list details p {
  margin: 0;
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.ff-related-section {
  background:
    linear-gradient(
      135deg,
      #f8fbff,
      #effbf8
    );
}

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

.ff-related-grid :is(button,a) {
  min-height: 66px;
  padding: 10px;
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  cursor: pointer;
  text-align: left;
}

.ff-related-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.ff-related-grid :is(button,a) > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.ff-related-grid strong {
  font-size: 9px;
}

.ff-related-grid small {
  color: var(--muted);
  font-size: 8px;
}

.ff-related-grid b {
  color: var(--blue);
}

.ff-final-cta {
  margin: 16px 0 70px;
  padding: 25px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 220px;
  align-items: center;
  gap: 22px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
}

.ff-final-cta h2 {
  margin: 5px 0;
  font-size: 24px;
}

.ff-final-cta p {
  margin: 0;
  color: #cdd5df;
  font-size: 10px;
}

.ff-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(16,24,40,.55);
}

.ff-modal-card {
  width: min(480px,100%);
  position: relative;
  padding: 25px;
  border-radius: 15px;
  background: white;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.ff-modal-card h2 {
  margin: 6px 0 7px;
}

.ff-modal-card > p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.ff-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
  color: var(--muted);
  font-size: 18px;
}

.ff-modal-card form {
  display: grid;
  gap: 10px;
}

.ff-modal-card label {
  display: grid;
  gap: 5px;
}

.ff-modal-card label > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.ff-modal-card input:not([type="checkbox"]),
.ff-modal-card textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  resize: vertical;
  font-size: 11px;
}

.ff-modal-card input:focus,
.ff-modal-card textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22,119,255,.08);
}

.ff-privacy-check {
  grid-template-columns: auto 1fr !important;
  align-items: start;
}

.ff-privacy-check input {
  margin-top: 2px;
}

.ff-request-result {
  padding: 18px;
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.ff-success-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.ff-request-result p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.ff-request-result button {
  margin-top: 7px;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  cursor: pointer;
}

.ff-public-footer {
  min-height: 100px;
  padding:
    22px
    max(
      20px,
      calc((100% - 1180px)/2)
    );
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.ff-public-footer > div {
  display: grid;
  gap: 3px;
}

.ff-public-footer strong {
  font-size: 12px;
}

.ff-public-footer span,
.ff-public-footer a {
  color: var(--muted);
  font-size: 9px;
}

@media (max-width: 1000px) {
  .ff-model-grid {
    grid-template-columns:
      repeat(3,minmax(0,1fr));
  }

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

  .ff-trust-grid {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .ff-public-header-inner,
  .ff-view {
    width: min(
      100% - 24px,
      1180px
    );
  }

  .ff-public-nav a:not(.ff-nav-cta) {
    display: none;
  }

  .ff-hero {
    padding: 50px 0 28px;
  }

  .ff-search-box {
    grid-template-columns:
      21px minmax(0,1fr);
  }

  .ff-search-box button {
    display: none;
  }

  .ff-model-grid {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .ff-model-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .ff-model-meta {
    justify-content: center;
  }

  .ff-service-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ff-service-visual {
    min-height: 310px;
  }

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

  .ff-stat-grid {
    grid-template-columns: 1fr;
  }

  .ff-related-grid {
    grid-template-columns: 1fr;
  }

  .ff-final-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ff-model-grid,
  .ff-service-grid,
  .ff-trust-grid {
    grid-template-columns: 1fr;
  }

  .ff-model-card {
    min-height: 190px;
  }

  .ff-variant-picker > div {
    grid-template-columns: 1fr;
  }

  .ff-repair-illustration {
    gap: 15px;
  }

  .ff-broken-phone,
  .ff-good-phone {
    width: 90px;
    height: 180px;
  }

  .ff-service-hero {
    padding-top: 20px;
  }
}

/* Approved device photographs; generic illustration stays available on error. */
.ff-model-phone.ff-device-photo-slot::before { content: none; }
.ff-device-photo-slot { position: relative; display: grid; place-items: center; min-width: 0; }
.ff-device-photo { display: block; width: 100%; height: 150px; object-fit: contain; border-radius: 6px; }
.ff-device-fallback { display: block; width: 72px; height: 135px; border: 3px solid #1c2534; border-radius: 17px; background: linear-gradient(145deg,#b9ddff,#73a9f2 47%,#2e64b7); box-shadow: inset 0 0 0 5px white,0 10px 22px rgba(16,24,40,.10); }
.has-device-photo > .ff-device-fallback { display: none; }
.ff-device-visual.ff-device-photo-slot { height: 220px; }
.ff-device-visual .ff-device-photo { height: 220px; }
.ff-public-footer { flex-wrap: wrap; }

/* Apple model lists: open catalogue, without changing other brands or repair pages. */
.ff-model-grid.ff-apple-catalog {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 48px 24px;
  padding-top: 24px;
}

.ff-apple-catalog .ff-model-card {
  min-height: 0;
  padding: 0 4px;
  grid-template-rows: 220px auto;
  gap: 18px;
  align-content: start;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  text-align: center;
  transition: none;
}

.ff-apple-catalog .ff-model-card:hover {
  transform: none;
  box-shadow: none;
}

.ff-apple-catalog .ff-model-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 8px;
}

.ff-apple-catalog .ff-model-phone {
  height: 220px;
}

.ff-apple-catalog .ff-device-photo {
  height: 220px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  transition: transform .2s ease;
}

.ff-apple-catalog .ff-model-card-copy {
  gap: 6px;
  justify-items: center;
}

.ff-apple-catalog .ff-model-card-copy strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.ff-apple-catalog .ff-model-card-copy span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .ff-apple-catalog .ff-model-card:hover .ff-device-photo {
    transform: translateY(-3px) scale(1.02);
  }
}

@media (max-width: 1100px) {
  .ff-model-grid.ff-apple-catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .ff-model-grid.ff-apple-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ff-model-grid.ff-apple-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 16px;
    padding-top: 18px;
  }
  .ff-apple-catalog .ff-model-card {
    grid-template-rows: 174px auto;
    gap: 12px;
    padding: 0;
  }
  .ff-apple-catalog .ff-model-phone,
  .ff-apple-catalog .ff-device-photo {
    height: 174px;
  }
  .ff-apple-catalog .ff-model-card-copy strong {
    font-size: 14px;
  }
  .ff-apple-catalog .ff-model-card-copy span {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ff-apple-catalog .ff-device-photo {
    transition: none;
  }
  .ff-apple-catalog .ff-model-card:hover .ff-device-photo {
    transform: none;
  }
}

/* Apple model composition: compact product hero, category cards and common repairs. */
.ff-model-device-label { display: none; }
.ff-apple-model-view .ff-breadcrumbs { padding: 20px 0 14px; font-size: 11px; }
.ff-apple-model-view .ff-model-hero {
  min-height: 320px;
  padding: 24px 36px;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 44px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(110deg, #f0f6ff, #f9fbff 65%, #fff);
}
.ff-apple-model-view .ff-device-visual.ff-device-photo-slot,
.ff-apple-model-view .ff-device-visual .ff-device-photo { height: 260px; }
.ff-apple-model-view .ff-device-visual .ff-device-photo { object-fit: contain; border-radius: 0; }
.ff-apple-model-view .ff-model-copy > .ff-eyebrow { display: inline; font-size: 10px; }
.ff-apple-model-view .ff-model-copy h1 {
  max-width: 730px;
  margin: 10px 0 14px;
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.ff-apple-model-view .ff-model-copy > p { max-width: 590px; margin: 0; font-size: 13px; line-height: 1.65; }
.ff-apple-model-view .ff-model-meta { margin-top: 18px; gap: 8px 22px; }
.ff-apple-model-view .ff-model-meta span { padding: 0; background: transparent; font-size: 11px; line-height: 1.5; }
.ff-apple-model-view > .ff-section { padding: 24px 0 60px; }
.ff-apple-model-view .ff-section-heading { margin-bottom: 16px; }
.ff-apple-model-view .ff-section-heading .ff-section-kicker { display: none; }
.ff-apple-model-view .ff-section-heading h2 { margin: 0; font-size: 26px; }
.ff-apple-model-view .ff-category-tabs {
  padding: 2px 2px 10px;
  margin-bottom: 18px;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  scrollbar-width: thin;
  scrollbar-color: #c9d7e8 transparent;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 2px;
}
.ff-apple-model-view .ff-category-tabs::-webkit-scrollbar { height: 4px; }
.ff-apple-model-view .ff-category-tabs::-webkit-scrollbar-thumb { background: #c9d7e8; border-radius: 4px; }
.ff-apple-model-view .ff-category-tabs button {
  flex: 0 0 96px;
  min-width: 96px;
  min-height: 98px;
  padding: 10px 8px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid #e8edf5;
  border-radius: 15px;
  background: white;
  color: var(--ink);
}
.ff-apple-model-view .ff-category-tabs button > span {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 17px;
}
.ff-apple-model-view .ff-category-tabs button strong { font-size: 11px; font-weight: 600; }
.ff-apple-model-view .ff-category-tabs button small { font-size: 10px; color: var(--muted); }
.ff-apple-model-view .ff-category-tabs button[data-active="true"] { border-color: var(--blue); background: #fbfdff; }
.ff-model-services-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ff-model-services-heading h3 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.ff-model-services-heading button { padding: 4px 0; border: 0; background: transparent; color: var(--blue-dark); font-size: 11px; cursor: pointer; }
.ff-apple-model-view .ff-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ff-apple-model-view .ff-service-card {
  min-height: 222px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  background: white;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .025);
}
.ff-service-visual-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--blue-soft); color: var(--blue); font-size: 27px; }
.ff-apple-model-view .ff-service-card-copy { gap: 7px; }
.ff-apple-model-view .ff-service-card-copy strong { font-size: 14px; font-weight: 650; line-height: 1.35; }
.ff-apple-model-view .ff-service-card-copy small { font-size: 11px; color: var(--muted); line-height: 1.5; }
.ff-service-card-time { font-size: 10px; color: var(--muted); }
.ff-service-card-footer { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.ff-apple-model-view .ff-service-card-price { justify-items: start; gap: 3px; }
.ff-apple-model-view .ff-service-card-price small { font-size: 10px; color: var(--muted); }
.ff-apple-model-view .ff-service-card-price strong { font-size: 20px; font-weight: 700; }
.ff-service-card-arrow { color: var(--blue); font-size: 21px; line-height: 1; }
.ff-apple-model-view .ff-service-card:hover { border-color: #c6dafa; background: white; box-shadow: 0 3px 10px rgba(16, 24, 40, .04); }
.ff-apple-model-view .ff-category-tabs button:focus-visible,
.ff-apple-model-view .ff-service-card:focus-visible,
.ff-model-services-heading button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 1000px) {
  .ff-apple-model-view .ff-model-hero { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; padding: 24px; }
  .ff-apple-model-view .ff-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 760px) {
  .ff-apple-model-view .ff-model-hero { min-height: 0; grid-template-columns: 1fr; padding: 20px 16px; gap: 16px; }
  .ff-apple-model-view .ff-device-visual.ff-device-photo-slot,
  .ff-apple-model-view .ff-device-visual .ff-device-photo { height: 164px; }
  .ff-apple-model-view .ff-model-device-label { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; text-align: center; }
  .ff-apple-model-view .ff-model-copy > .ff-eyebrow { font-size: 9px; }
  .ff-apple-model-view .ff-model-copy h1 { margin: 8px 0 10px; font-size: 28px; }
  .ff-apple-model-view .ff-model-copy > p { font-size: 12px; line-height: 1.55; }
  .ff-apple-model-view .ff-model-meta { margin-top: 12px; justify-content: center; gap: 6px 16px; }
  .ff-apple-model-view .ff-model-meta span { font-size: 10px; }
  .ff-apple-model-view > .ff-section { padding-top: 20px; }
  .ff-apple-model-view .ff-section-heading h2 { font-size: 23px; }
  .ff-apple-model-view .ff-category-tabs button { flex-basis: 86px; min-width: 86px; min-height: 92px; }
  .ff-apple-model-view .ff-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ff-apple-model-view .ff-service-card { min-height: 224px; padding: 14px; gap: 12px; }
  .ff-apple-model-view .ff-service-card-copy strong { font-size: 13px; }
  .ff-apple-model-view .ff-service-card-price strong { font-size: 18px; }
  .ff-service-visual-icon { width: 40px; height: 40px; font-size: 24px; }
  .ff-model-services-heading { align-items: flex-start; }
  .ff-model-services-heading h3 { font-size: 16px; }
  .ff-model-services-heading button { max-width: 125px; text-align: right; font-size: 10px; }
}
@media (max-width: 350px) {
  .ff-apple-model-view .ff-service-grid { grid-template-columns: 1fr; }
  .ff-apple-model-view .ff-service-card { min-height: 200px; }
}
/* Preserve the existing Apple gallery spacing. */
.ff-model-grid.ff-apple-catalog { row-gap: 56px; }
@media (max-width: 600px) {
  .ff-model-grid.ff-apple-catalog { row-gap: 40px; }
}

/* Generic Apple service imagery; other brands retain their existing cards. */
.ff-apple-model-view .ff-service-card.has-service-image {
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.ff-apple-model-view .ff-service-card-media {
  display: block;
  flex: 0 0 104px;
  height: 104px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  background: #eef5fc;
}
.ff-apple-model-view .ff-service-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ff-apple-model-view .has-service-image .ff-service-card-copy { padding: 16px 18px 12px; }
.ff-apple-model-view .has-service-image .ff-service-card-footer { padding: 0 18px 18px; }
@media (max-width: 600px) {
  .ff-apple-model-view .ff-service-card-media { flex-basis: 96px; height: 96px; }
  .ff-apple-model-view .has-service-image .ff-service-card-copy { padding: 13px 14px 12px; }
  .ff-apple-model-view .has-service-image .ff-service-card-footer { padding: 0 14px 14px; }
}

/* =========================================================
   FIXFONE · Apple service cards
   Excepción visual: cámaras, lentes y tapa trasera
   ========================================================= */

.ff-apple-model-view .ff-service-card--contain .ff-service-card__media,
.ff-apple-model-view .ff-service-card--contain .ff-service-card-media,
.ff-apple-model-view .ff-service-card--contain .service-card__media {
  background: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ff-apple-model-view .ff-service-card--contain .ff-service-card__media img,
.ff-apple-model-view .ff-service-card--contain .ff-service-card-media img,
.ff-apple-model-view .ff-service-card--contain .service-card__media img,
.ff-apple-model-view .ff-service-card--contain > img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 8px;
  box-sizing: border-box;
}

/* Mantener la imagen visualmente grande sin recortarla */
@media (min-width: 768px) {
  .ff-apple-model-view .ff-service-card--contain .ff-service-card__media,
  .ff-apple-model-view .ff-service-card--contain .ff-service-card-media,
  .ff-apple-model-view .ff-service-card--contain .service-card__media {
    min-height: 150px;
  }
}

@media (max-width: 767px) {
  .ff-apple-model-view .ff-service-card--contain .ff-service-card__media,
  .ff-apple-model-view .ff-service-card--contain .ff-service-card-media,
  .ff-apple-model-view .ff-service-card--contain .service-card__media {
    min-height: 120px;
  }
}

/* FIXFONE SERVICE DETAIL PHOTO V1 START */

#service-view .ff-service-visual.ff-service-visual--photo {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
  box-sizing: border-box;
  background: #f7f9fc;
}

#service-view .ff-service-detail-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 430px;
  object-fit: contain;
  object-position: center center;
  border-radius: 16px;
}

@media (max-width: 767px) {
  #service-view .ff-service-visual.ff-service-visual--photo {
    padding: 10px;
  }

  #service-view .ff-service-detail-image {
    max-height: 320px;
    border-radius: 12px;
  }
}

/* FIXFONE SERVICE DETAIL PHOTO V1 END */

/* FIXFONE SERVICE VISUAL CLEAN V1 START */

/*
 * Cuando la ficha tiene fotografía:
 * la propia fotografía forma el cuadro.
 * Sin marco gris, sin padding exterior y sin doble fondo.
 */
#service-view .ff-service-visual.ff-service-visual--photo {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/*
 * La foto ocupa todo el bloque visual.
 * Se mantiene completa: no se recorta.
 */
#service-view .ff-service-visual--photo .ff-service-detail-image {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  max-width: none !important;
  max-height: none !important;

  object-fit: contain !important;
  object-position: center center !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  border: 0 !important;
  box-shadow: none !important;

  border-radius: 20px !important;
}

/* FIXFONE SERVICE VISUAL CLEAN V1 END */



/* Integrate opaque white catalogue backgrounds into the Apple model hero. */
.ff-apple-model-view .ff-model-hero { isolation: isolate; }
.ff-apple-model-view .ff-model-hero .ff-device-visual {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.ff-apple-model-view .ff-model-hero .ff-device-photo {
  mix-blend-mode: multiply;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

/* =========================================================
   FIXFONE · CATEGORY PHOTO CAROUSEL V1
   ========================================================= */

#category-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;

  overflow-x: auto !important;
  overflow-y: hidden !important;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  padding: 4px 2px 14px !important;

  scrollbar-width: thin;
}

#category-tabs::-webkit-scrollbar {
  height: 6px;
}

#category-tabs::-webkit-scrollbar-track {
  background: #eef2f7;
  border-radius: 999px;
}

#category-tabs::-webkit-scrollbar-thumb {
  background: #b9c2cf;
  border-radius: 999px;
}


#category-tabs .ff-category-photo-card {
  flex: 0 0 145px !important;
  width: 145px !important;
  min-width: 145px !important;

  min-height: 185px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;

  padding: 12px 10px 14px !important;

  background: #fff !important;

  border: 1px solid #e6ebf2 !important;
  border-radius: 16px !important;

  box-shadow: none !important;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}


#category-tabs .ff-category-photo-card:hover {
  transform: translateY(-2px);

  border-color: #cbd9ec !important;

  box-shadow:
    0 8px 22px rgba(15, 23, 42, .06) !important;
}


#category-tabs .ff-category-photo-card[data-active="true"],
#category-tabs .ff-category-photo-card[aria-selected="true"] {
  border-color: #1267F4 !important;

  box-shadow:
    0 0 0 1px rgba(18, 103, 244, .08) !important;
}


#category-tabs .ff-category-photo {
  width: 112px;
  height: 105px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 8px;

  background: transparent !important;
}


#category-tabs .ff-category-photo img {
  display: block;

  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;

  background: transparent !important;
}


/* Todas */

.ff-category-all-grid {
  width: 48px;
  height: 48px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ff-category-all-grid i {
  display: block;

  border: 3px solid #1267F4;
  border-radius: 7px;
}


/* Otros */

.ff-category-tools {
  font-size: 52px;
  line-height: 1;

  color: #1267F4;
}


/* Texto actual del botón queda debajo de la imagen */

#category-tabs .ff-category-photo-card strong,
#category-tabs .ff-category-photo-card span:not(.ff-category-photo):not(.ff-category-all-grid):not(.ff-category-tools),
#category-tabs .ff-category-photo-card small {
  position: relative;
  z-index: 2;
}


/* móvil */

@media (max-width: 767px) {

  #category-tabs {
    gap: 9px !important;
  }

  #category-tabs .ff-category-photo-card {
    flex-basis: 125px !important;
    width: 125px !important;
    min-width: 125px !important;

    min-height: 165px !important;
  }

  #category-tabs .ff-category-photo {
    width: 95px;
    height: 88px;
  }
}

/* =========================================================
   END CATEGORY PHOTO CAROUSEL
   ========================================================= */

/* FIXFONE CATEGORY CAROUSEL V2 START */

#category-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;

  gap: 12px !important;

  overflow-x: auto !important;
  overflow-y: hidden !important;

  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  padding: 3px 2px 13px !important;

  scrollbar-width: thin;
  scrollbar-color:
    #aeb8c5 #edf1f5;
}


#category-tabs::-webkit-scrollbar {
  height: 6px;
}

#category-tabs::-webkit-scrollbar-track {
  background: #edf1f5;
  border-radius: 999px;
}

#category-tabs::-webkit-scrollbar-thumb {
  background: #aeb8c5;
  border-radius: 999px;
}


#category-tabs > button.ff-category-photo-card {
  flex: 0 0 142px !important;
  width: 142px !important;
  min-width: 142px !important;

  height: 185px !important;
  min-height: 185px !important;

  scroll-snap-align: start;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;

  gap: 0 !important;

  padding: 10px 8px 12px !important;

  background: #fff !important;

  border:
    1px solid #e2e8f0 !important;

  border-radius: 16px !important;

  box-shadow: none !important;
}


#category-tabs
> button.ff-category-photo-card
.ff-category-photo {

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 116px !important;
  height: 112px !important;

  flex: 0 0 112px !important;

  margin: 0 0 5px !important;

  background:
    transparent !important;

  overflow: hidden;
}


#category-tabs
.ff-category-photo img {

  display: block !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: contain !important;
  object-position:
    center center !important;

  background:
    transparent !important;

  border: 0 !important;
  box-shadow: none !important;

  mix-blend-mode: multiply;
}


#category-tabs
.ff-category-photo-card strong {

  display: block !important;

  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 700 !important;

  color: #101828 !important;

  margin: 1px 0 2px !important;
}


#category-tabs
.ff-category-photo-card small {

  display: block !important;

  font-size: 12px !important;
  line-height: 16px !important;

  color: #697386 !important;

  margin: 0 !important;
}


/* Seleccionada */

#category-tabs
.ff-category-photo-card[data-active="true"] {

  border-color:
    #1267F4 !important;

  box-shadow:
    0 0 0 1px
    rgba(18,103,244,.08)
    !important;
}


/* Todas */

.ff-category-all-grid {
  width: 48px;
  height: 48px;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 6px;
}


.ff-category-all-grid i {
  display: block;

  border:
    2px solid #1267F4;

  border-radius: 6px;
}


/* Otros */

.ff-category-tools {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  font-size: 36px;
  font-weight: 700;

  color: #1267F4;
}


/* móvil */

@media (max-width: 767px) {

  #category-tabs {
    gap: 9px !important;
  }

  #category-tabs
  > button.ff-category-photo-card {

    flex-basis:
      122px !important;

    width:
      122px !important;

    min-width:
      122px !important;

    height:
      164px !important;

    min-height:
      164px !important;
  }

  #category-tabs
  > button.ff-category-photo-card
  .ff-category-photo {

    width:
      98px !important;

    height:
      94px !important;

    flex-basis:
      94px !important;
  }
}

/* FIXFONE CATEGORY CAROUSEL V2 END */



/* FIXFONE CATEGORY COMPACT V3 START */

#category-tabs > button.ff-category-photo-card {
  flex: 0 0 118px !important;
  width: 118px !important;
  min-width: 118px !important;

  height: 145px !important;
  min-height: 145px !important;

  padding: 8px 7px 10px !important;

  border-radius: 14px !important;
}

#category-tabs
> button.ff-category-photo-card
.ff-category-photo {

  width: 90px !important;
  height: 82px !important;
  flex-basis: 82px !important;

  margin-bottom: 3px !important;
}

#category-tabs
.ff-category-photo img {

  max-width: 82px !important;
  max-height: 76px !important;

  width: auto !important;
  height: auto !important;

  object-fit: contain !important;
}

#category-tabs
.ff-category-photo-card strong {

  font-size: 12px !important;
  line-height: 16px !important;

  margin-top: 0 !important;
}

#category-tabs
.ff-category-photo-card small {

  font-size: 11px !important;
  line-height: 14px !important;
}

.ff-category-all-grid {
  width: 38px !important;
  height: 38px !important;
  gap: 5px !important;
}

.ff-category-all-grid i {
  border-width: 2px !important;
  border-radius: 5px !important;
}

.ff-category-tools {
  width: 42px !important;
  height: 42px !important;
  font-size: 30px !important;
}

@media (max-width: 767px) {

  #category-tabs > button.ff-category-photo-card {

    flex-basis: 105px !important;
    width: 105px !important;
    min-width: 105px !important;

    height: 132px !important;
    min-height: 132px !important;
  }

  #category-tabs
  > button.ff-category-photo-card
  .ff-category-photo {

    width: 78px !important;
    height: 72px !important;
    flex-basis: 72px !important;
  }

  #category-tabs
  .ff-category-photo img {

    max-width: 72px !important;
    max-height: 66px !important;
  }
}

/* FIXFONE CATEGORY COMPACT V3 END */


/* Navigation keeps the existing card design while exposing real HTML links. */
a.ff-model-card,a.ff-service-card,.ff-brand-shortcuts a,.ff-related-grid a{color:inherit;text-decoration:none;font:inherit}
#home-breadcrumbs{gap:8px;flex-wrap:wrap}
.ff-model-copy [data-page-heading],.ff-service-buy [data-page-heading]{font-family:inherit}

.ff-catalog-service-summary{margin:28px 0;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:14px}.ff-catalog-service-summary summary{cursor:pointer;font-weight:600}.ff-catalog-service-summary ul{list-style:none;padding:12px 0 0;margin:0}.ff-catalog-service-summary li{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line-soft)}.ff-catalog-service-summary li a{color:var(--blue);text-decoration:none}.ff-catalog-service-summary li span{white-space:nowrap;color:var(--muted);font-size:12px}@media(max-width:600px){.ff-catalog-service-summary li{display:block}.ff-catalog-service-summary li span{display:block;margin-top:5px}}
