:root {
  color-scheme: light;
  --page: #f5f5f7;
  --white: #ffffff;
  --ink: #1d1d1f;
  --text: #343437;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: #d9d9de;
  --line-soft: #ececf0;
  --panel: #fbfbfd;
  --black: #111113;
  --blue: #0071e3;
  --blue-dark: #005bbf;
  --danger: #b42318;
  --success: #188038;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  --shadow-light: 0 8px 22px rgba(0, 0, 0, 0.06);
  --container: min(1180px, calc(100vw - 40px));
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
  scrollbar-width: none;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  scrollbar-width: none;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body::before {
  display: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  min-height: 56px;
  margin: 12px auto 0;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: url("assets/brand/aureon-tech-logo.svg") center / contain no-repeat;
  box-shadow: 0 6px 14px rgba(184, 126, 27, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.nav-links > a,
.nav-menu-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-menu:hover .nav-menu-button,
.nav-menu.open .nav-menu-button,
.nav-menu-active .nav-menu-button {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
}

.nav-menu {
  position: relative;
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 100;
  display: grid;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-menu:hover .nav-menu-panel,
.nav-menu.open .nav-menu-panel,
.nav-menu-button:focus-visible + .nav-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.nav-menu-panel a:hover {
  color: var(--ink);
  background: var(--page);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  width: var(--container);
  min-height: calc(100vh - 56px);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 98px) 0;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-copy {
  max-width: 560px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.hero-copy p {
  margin: 22px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.45;
}

.hero-actions,
.repair-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button,
.primary-button,
.secondary-button,
.whatsapp-button,
.add-button,
.checkout-button,
.repair-submit,
.admin-button,
.admin-primary,
.admin-secondary,
.admin-danger,
.login-button,
.add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button.primary,
.primary-button,
.add-button,
.checkout-button,
.repair-submit,
.admin-primary,
.login-button,
.add-cart {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary,
.secondary-button,
.whatsapp-button,
.admin-secondary,
.admin-button {
  color: var(--blue);
  background: transparent;
  border-color: rgba(0, 113, 227, 0.28);
}

.button:hover,
.primary-button:hover,
.secondary-button:hover,
.whatsapp-button:hover,
.add-button:hover,
.checkout-button:hover,
.repair-submit:hover,
.admin-button:hover,
.admin-primary:hover,
.admin-secondary:hover,
.login-button:hover,
.add-cart:hover {
  transform: translateY(-1px);
}

.button.primary:hover,
.primary-button:hover,
.add-button:hover,
.checkout-button:hover,
.repair-submit:hover,
.admin-primary:hover,
.login-button:hover,
.add-cart:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 54vw, 680px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 20%, #ffffff 0 22%, transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #ededf2 100%);
  overflow: hidden;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto 11% 9% 11%;
  height: 18%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(28px);
}

.hero-stage img {
  position: relative;
  z-index: 1;
  width: min(72%, 470px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 32px 34px rgba(0, 0, 0, 0.18));
}

.intro-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: var(--container);
  margin: 0 auto 28px;
  padding: 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-light);
}

.intro-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text);
  background: var(--page);
  font-size: 13px;
  font-weight: 700;
}

.repair-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  width: var(--container);
  margin: 72px auto;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-light);
}

.repair-band h2 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.repair-band p {
  margin: 14px 0 0;
  max-width: 670px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.catalog,
.repair-shop,
.catalog-featured {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(50px, 8vw, 90px) 0 76px;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-heading p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.5;
}

.catalog-search {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-search input,
.modal-form input,
.modal-form select,
.modal-form textarea,
.spec-select,
.admin-input,
.admin-select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.modal-form textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

.catalog-search input:focus,
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus,
.spec-select:focus,
.admin-input:focus,
.admin-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.repair-brand-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.repair-brand-button,
.filter-chip,
.category-tab,
.repair-status-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.repair-brand-button:hover,
.repair-brand-button.active,
.filter-chip:hover,
.filter-chip.active,
.category-tab:hover,
.category-tab.active,
.repair-status-button:hover,
.repair-status-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.product-grid,
.products-grid,
.repair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.product-card,
.repair-device-card,
.contact-card,
.admin-card,
.dashboard-card,
.admin-panel,
.login-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover,
.product-card:focus-visible,
.repair-device-card:hover,
.contact-card:hover {
  border-color: #c7c7cc;
  box-shadow: var(--shadow-light);
  transform: translateY(-4px);
}

.product-banner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 286px;
  padding: 24px;
  background: #fff;
}

.product-banner::before {
  display: none;
}

.product-banner img {
  width: min(86%, 245px);
  height: 226px;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.14));
}

.product-photo {
  width: min(92%, 260px) !important;
  height: 230px !important;
  object-fit: contain !important;
}

.product-render {
  object-fit: contain !important;
}

.product-badge,
.featured-badge,
.status-badge,
.order-status {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.product-brand,
.device-tag {
  margin: 0;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-info h3,
.repair-device-card h3,
.contact-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.12;
}

.product-description,
.product-meta,
.repair-card-note,
.repair-device-card p,
.contact-card p,
.cart-item-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.product-price {
  margin: auto 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.add-cart {
  width: 100%;
  margin-top: 4px;
}

.empty-search,
.cart-empty {
  color: var(--muted);
  font-weight: 600;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.footer p {
  margin: 0;
}

.footer p:first-child {
  color: var(--ink);
  font-weight: 800;
}

.footer-admin {
  color: var(--blue);
}

.cart-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 0;
  font-weight: 800;
}

.cart-toggle::before {
  content: "";
  width: 25px;
  height: 25px;
  background: currentColor;
  transform: translateY(-1px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h8.9a2 2 0 0 0 1.96-1.6l1.3-6.4H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h8.9a2 2 0 0 0 1.96-1.6l1.3-6.4H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}

#cartCount {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 2px solid var(--page);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

#cartCount[hidden] {
  display: none;
}

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(430px, 100vw);
  padding: 24px;
  background: var(--white);
  box-shadow: -22px 0 70px rgba(0, 0, 0, 0.16);
  transform: translateX(105%);
  transition: transform 0.24s ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.cart-header h2,
.checkout-modal h2,
.repair-modal h2,
.spec-modal h1,
.spec-modal h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cart-header p,
.checkout-modal p,
.repair-modal p,
.spec-modal p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.icon-button,
.spec-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
}

.cart-items {
  display: grid;
  gap: 14px;
  padding: 20px 0;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel);
}

.cart-item img,
.cart-item-image {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--white);
}

.cart-item h3 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 800;
}

.cart-item p,
.cart-item-price {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.cart-item-options {
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.cart-remove,
.cart-item-remove,
.remove-link {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 12px;
  font-weight: 800;
}

.cart-checkout {
  width: 100%;
  margin-top: auto;
}

.button.disabled,
.cart-checkout.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cart-backdrop,
.checkout-backdrop,
.spec-backdrop,
.repair-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(10px);
}

.checkout-modal,
.spec-modal,
.repair-modal,
.admin-product-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 130;
  width: min(720px, calc(100vw - 28px));
  max-height: min(86vh, 880px);
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkout-modal.open,
.spec-modal.open,
.repair-modal.open,
.admin-product-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.spec-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.modal-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.modal-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.repair-diagnosis-hint {
  padding: 13px 14px;
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 16px;
  background: rgba(0, 113, 227, 0.07);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.checkout-fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel);
}

.checkout-fieldset legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.checkout-choice {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--white);
}

.checkout-choice input {
  width: auto;
  min-height: auto;
}

.checkout-row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 12px;
}

.checkout-summary {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel);
}

.checkout-payment-result {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(24, 128, 56, 0.2);
  border-radius: 18px;
  background: rgba(24, 128, 56, 0.06);
}

.checkout-payment-result img {
  width: min(220px, 100%);
  height: auto;
  border-radius: 14px;
  background: var(--white);
}

.checkout-payment-result textarea {
  min-height: 96px;
  font-size: 12px;
}

.spec-hero,
.repair-modal-head {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 26px;
  align-items: center;
  padding-right: 44px;
}

.spec-image-wrap,
.repair-modal-head > img,
.modal-image-wrap {
  display: grid;
  place-items: center;
  min-height: 250px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8f8fa, #eeeeF2);
}

.spec-image-wrap img,
.repair-modal-head > img {
  width: min(86%, 230px);
  height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.14));
}

.spec-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.spec-group {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--panel);
}

.spec-group h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) 1fr;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}

.spec-row:first-child {
  border-top: 0;
}

.spec-row strong {
  color: var(--ink);
  font-size: 13px;
}

.spec-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.spec-modal {
  width: min(1180px, calc(100vw - 28px));
  max-height: min(92vh, 920px);
  padding: 0;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
}

.spec-modal .spec-close {
  top: 20px;
  right: 20px;
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.spec-hero {
  grid-template-columns: minmax(320px, 0.98fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: stretch;
  padding: 34px 34px 0;
}

.spec-image-wrap {
  position: sticky;
  top: 24px;
  align-self: start;
  min-height: 560px;
  padding: 34px 28px 24px;
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
}

.spec-image-wrap::before {
  display: none;
}

.spec-image-wrap #specImage {
  position: relative;
  z-index: 1;
  width: min(82%, 430px);
  height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.18));
}

.spec-hero > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  padding: 48px 58px 46px 0;
}

.spec-modal h1,
.spec-modal h2 {
  max-width: 12ch;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.product-page {
  width: 100%;
  margin: 0;
  padding: 28px 0 64px;
  background: #fff;
}

.product-page-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 max(24px, calc((100vw - 1280px) / 2)) 18px;
  padding: 0 16px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.product-page-pdp,
.product-page-pdp.open {
  position: static;
  inset: auto;
  display: grid;
  grid-template-columns: minmax(340px, 520px) minmax(340px, 430px);
  gap: 12px 54px;
  align-items: start;
  justify-content: center;
  width: 100%;
  max-width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  max-height: none;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  box-shadow: none;
  border-radius: 0;
}

.product-page-pdp .spec-hero {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  margin: 0;
  padding-top: 34px;
  padding-right: 0;
  padding-left: 0;
  grid-template-columns: 1fr;
  gap: 0;
}

.product-page-pdp .spec-image-wrap {
  position: relative;
  top: auto;
  display: grid;
  justify-items: center;
  width: 100%;
}

.product-page-pdp #specGrid,
.product-page-pdp .pdp-shell {
  display: contents;
}

.product-page-pdp #specTitle,
.product-page-pdp #specPrice,
.product-page-pdp #specAddCart {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.pdp-page-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(44px, 5vw, 70px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.product-not-found {
  display: grid;
  gap: 16px;
  justify-items: start;
  min-height: 52vh;
  padding: 72px 0;
}

.product-not-found h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 7vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.product-not-found p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.spec-modal #specPrice {
  margin-top: 18px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.spec-modal #specAddCart {
  width: min(100%, 360px);
  min-height: 54px;
  margin-top: 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.pdp-thumb-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 420px);
  margin-top: 24px;
}

.pdp-thumb {
  display: grid;
  place-items: center;
  height: 78px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.pdp-thumb.active {
  border-color: var(--ink);
  background: #fff;
}

.pdp-thumb img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.pdp-thumb:nth-child(2) img {
  transform: scale(0.92) rotate(-2deg);
}

.pdp-thumb:nth-child(3) img {
  transform: scale(0.86) rotate(2deg);
}

.pdp-thumb:nth-child(4) img {
  transform: scale(0.78);
}

.spec-grid {
  margin-top: 0;
}

.pdp-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 24px 34px;
  margin-top: -330px;
  padding: 4px 34px 34px;
}

.pdp-summary,
.pdp-buy-panel,
.pdp-delivery-grid,
.pdp-service-list {
  grid-column: 2;
}

.pdp-purchase-column {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 12px;
  align-self: start;
  padding-top: 28px;
}

.pdp-purchase-column > * {
  grid-column: 1;
}

.product-page-pdp .pdp-summary {
  padding-top: 0;
}

.pdp-spec-tabs {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  gap: 18px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.pdp-status {
  width: fit-content;
  margin-bottom: 10px;
  color: #bf4800;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pdp-sku {
  margin: 0 0 16px !important;
  color: var(--soft) !important;
  font-size: 12px;
  font-weight: 700;
}

.pdp-price-stack {
  display: grid;
  gap: 4px;
}

.pdp-list-price {
  color: var(--muted);
  font-size: 14px;
  text-decoration: line-through;
}

.pdp-pix-price {
  color: var(--ink);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.pdp-price-note,
.pdp-installment {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.pdp-payment-link {
  width: fit-content;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.pdp-inline-add {
  width: min(100%, 360px);
  min-height: 54px;
  margin-top: 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.pdp-buy-panel,
.pdp-service-list {
  display: grid;
  gap: 12px;
}

.pdp-option-block,
.pdp-service-list article,
.pdp-info-tile,
.pdp-empty-stock {
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: #fff;
}

.pdp-option-block {
  padding: 16px 18px;
}

.pdp-option-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pdp-option-head h3,
.pdp-section-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.pdp-option-head span,
.pdp-section-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pdp-choice-grid {
  display: grid;
  gap: 9px;
}

.pdp-color-grid {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}

.pdp-storage-grid {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.pdp-choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.pdp-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pdp-choice:has(input:checked) {
  border-color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.pdp-swatch {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.62);
}

.pdp-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pdp-delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pdp-info-tile {
  position: relative;
  display: flex;
  gap: 12px;
  min-height: 90px;
  padding: 14px;
}

.pdp-delivery-choice {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.pdp-delivery-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pdp-delivery-choice:has(input:checked) {
  border-color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.pdp-info-tile strong,
.pdp-service-list strong,
.pdp-service-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.pdp-info-tile span,
.pdp-service-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.pdp-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.pdp-service-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
}

.pdp-service-list button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.pdp-empty-stock {
  display: grid;
  gap: 6px;
  padding: 18px;
}

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

.pdp-empty-stock span {
  color: var(--muted);
  font-size: 13px;
}

.pdp-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.pdp-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pdp-spec-list .spec-group {
  border-radius: 18px;
  background: var(--panel);
}

.store-location {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(50px, 8vw, 88px) 0 18px;
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: stretch;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}

.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 38px);
}

.location-info span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-info h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.location-info p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.location-info .button {
  width: fit-content;
  min-height: 48px;
  padding: 0 18px;
}

.location-map {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.home-section,
.repair-hero,
.service-flow,
.repair-steps {
  width: var(--container);
  margin: 0 auto;
}

.home-section {
  padding: clamp(54px, 8vw, 86px) 0 0;
}

.category-showcase,
.featured-products,
.testimonial-grid,
.trust-grid,
.service-flow {
  display: grid;
  gap: 18px;
}

.category-showcase {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.category-card,
.featured-card,
.testimonial-grid article,
.trust-grid article,
.service-flow article,
.pdp-detail-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.category-card,
.featured-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  padding: 20px;
  color: var(--ink);
  box-shadow: var(--shadow-light);
}

.category-card img,
.featured-card img {
  justify-self: center;
  width: min(78%, 150px);
  height: 120px;
  object-fit: contain;
}

.category-card strong,
.featured-card strong,
.trust-grid strong,
.service-flow strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.category-card span,
.featured-card p,
.trust-grid span,
.service-flow span,
.testimonial-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.service-card {
  align-content: center;
  background: var(--ink);
}

.service-card strong,
.service-card span {
  color: var(--white);
}

.featured-products {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.featured-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1fr;
  gap: 26px;
  align-items: center;
  width: var(--container);
  margin: clamp(54px, 8vw, 86px) auto 0;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--ink);
}

.trust-section h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.trust-section p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.5;
}

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

.trust-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.trust-grid strong {
  color: var(--white);
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.7);
}

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

.testimonial-grid article {
  padding: 22px;
}

.testimonial-grid strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 28px;
}

.catalog-filters select {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.repair-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: clamp(54px, 8vw, 90px) 0 22px;
}

.repair-hero h1 {
  margin: 0;
  max-width: 780px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.repair-hero p {
  margin: 16px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.service-flow {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 18px;
}

.service-flow article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.repair-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.repair-steps span,
.pdp-assurance span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.pdp-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp-detail-card {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.pdp-detail-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.pdp-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 0;
  margin-top: 8px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  font-weight: 900;
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 180;
  transform: translateX(-50%);
  max-width: min(420px, calc(100vw - 32px));
  padding: 13px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 68;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
}

.contact-card,
.admin-card,
.dashboard-card,
.admin-panel,
.login-card {
  padding: 24px;
}

.contact-grid,
.admin-grid,
.dashboard-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.admin-shell,
.dashboard-shell {
  min-height: 100vh;
  padding: 34px;
  background: var(--page);
}

.admin-sidebar {
  position: fixed;
  left: 22px;
  top: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 78px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-light);
  backdrop-filter: blur(18px);
}

.side-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.side-button.active,
.side-button:hover {
  background: var(--ink);
  color: var(--white);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--white);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font-size: 13px;
}

.admin-table th {
  color: var(--soft);
  background: var(--panel);
  font-weight: 800;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100vw - 28px, 720px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    top: 10px;
    width: min(100vw - 24px, 720px);
    min-height: auto;
    padding: 14px;
    border-radius: 24px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-menu-panel {
    position: fixed;
    top: 92px;
    left: 14px;
    right: 14px;
    width: auto;
    min-width: 0;
    transform: translateY(8px);
  }

  .nav-menu:hover .nav-menu-panel,
  .nav-menu.open .nav-menu-panel,
  .nav-menu-button:focus-visible + .nav-menu-panel {
    transform: translateY(0);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 0 36px;
  }

  .hero-copy h1,
  .section-heading h1,
  .section-heading h2 {
    font-size: clamp(38px, 10.5vw, 52px);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .repair-band-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .primary-button,
  .secondary-button,
  .whatsapp-button,
  .repair-band-actions a {
    width: 100%;
  }

  .hero-stage {
    min-height: 390px;
    border-radius: 28px;
  }

  .intro-strip {
    border-radius: 24px;
  }

  .repair-band {
    grid-template-columns: 1fr;
    margin: 42px auto;
    border-radius: 26px;
  }

  .trust-section,
  .repair-hero {
    grid-template-columns: 1fr;
  }

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

  .location-panel {
    grid-template-columns: 1fr;
  }

  .location-map {
    min-height: 320px;
  }

  .product-grid,
  .products-grid,
  .repair-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }

  .spec-hero,
  .repair-modal-head {
    grid-template-columns: 1fr;
    padding-right: 44px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(360px, calc(100vw - 24px));
  }

  .site-header {
    position: sticky;
    width: calc(100vw - 20px);
    margin-top: 10px;
  }

  .hero,
  .intro-strip,
  .repair-band,
  .home-section,
  .trust-section,
  .repair-hero,
  .service-flow,
  .repair-steps,
  .store-location,
  .catalog,
  .repair-shop,
  .catalog-featured,
  .footer {
    margin-left: 12px;
    margin-right: auto;
  }

  .brand {
    font-size: 14px;
  }

  .nav-links > a,
  .nav-menu-button {
    padding: 0 10px;
    font-size: 12px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy p,
  .section-heading p {
    max-width: 34ch;
    font-size: 16px;
  }

  .hero-copy h1,
  .section-heading h1,
  .section-heading h2 {
    max-width: 9.8ch;
    font-size: clamp(34px, 9.4vw, 38px);
    letter-spacing: -0.04em;
  }

  .hero-copy p {
    max-width: 34ch;
  }

  .hero-stage {
    min-height: 330px;
  }

  .hero-stage img {
    width: min(78%, 300px);
  }

  .intro-strip {
    justify-content: flex-start;
    border-radius: 22px;
  }

  .catalog,
  .repair-shop,
  .catalog-featured {
    padding-top: 42px;
  }

  .section-heading {
    max-width: 100%;
  }

  .category-showcase,
  .featured-products,
  .trust-grid,
  .service-flow {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    flex-direction: column;
  }

  .catalog-filters select,
  .repair-hero .button {
    width: 100%;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .store-location {
    padding-top: 42px;
  }

  .location-info .button {
    width: 100%;
  }

  .location-map {
    min-height: 280px;
  }

  .product-grid,
  .products-grid,
  .repair-grid {
    grid-template-columns: 1fr;
  }

  .product-banner {
    min-height: 230px;
    padding: 18px;
  }

  .product-banner img,
  .product-photo,
  .product-render {
    width: min(74%, 230px) !important;
    height: 200px !important;
  }

  .product-info {
    padding: 18px 20px;
  }

  .product-info h3,
  .repair-device-card h3,
  .contact-card h3 {
    font-size: 21px;
  }

  .add-cart {
    min-height: 44px;
    font-size: 13px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-modal,
  .spec-modal,
  .repair-modal,
  .admin-product-modal {
    width: calc(100vw - 18px);
    padding: 22px;
    border-radius: 24px;
  }

  .spec-image-wrap,
  .repair-modal-head > img {
    min-height: 210px;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cart-toggle {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  #cartCount {
    font-size: 11px;
  }

  .cart-panel {
    width: 100vw;
    padding: 18px;
  }

  .cart-item {
    grid-template-columns: 64px 1fr auto;
  }

  .cart-item img,
  .cart-item-image {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 900px) {
  .spec-modal {
    width: calc(100vw - 18px);
    max-height: 92vh;
    padding: 0;
    border-radius: 24px;
  }

  .spec-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px 0;
  }

  .spec-image-wrap {
    position: relative;
    top: auto;
    min-height: 360px;
    padding: 24px 16px 18px;
    border-radius: 22px;
  }

  .spec-image-wrap #specImage {
    width: min(78%, 300px);
    height: 250px;
  }

  .spec-hero > div:last-child {
    min-height: auto;
    padding: 8px 54px 0 0;
  }

  .spec-modal h1,
  .spec-modal h2 {
    max-width: 11ch;
    font-size: clamp(36px, 9vw, 52px);
  }

  .pdp-shell {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 24px 18px 24px;
  }

  .product-page {
    width: 100%;
    padding-top: 18px;
  }

  .product-page-back {
    margin: 0 18px 18px;
  }

  .product-page-pdp,
  .product-page-pdp.open {
    grid-template-columns: minmax(260px, 1fr) minmax(300px, 360px);
    max-width: min(100vw - 24px, 760px);
    gap: 10px 18px;
  }

  .product-page-pdp .spec-hero,
  .product-page-pdp .pdp-shell {
    width: 100%;
  }

  .product-page-pdp .spec-image-wrap {
    position: relative;
    top: auto;
  }

  .product-page-pdp .pdp-shell {
    margin: 0 auto;
  }

  .pdp-summary,
  .pdp-buy-panel,
  .pdp-delivery-grid,
  .pdp-service-list,
  .pdp-spec-tabs {
    grid-column: 1;
  }

  .product-page-pdp .pdp-summary,
  .product-page-pdp .pdp-buy-panel,
  .product-page-pdp .pdp-delivery-grid,
  .product-page-pdp .pdp-service-list {
    grid-column: 2;
  }

  .pdp-purchase-column {
    grid-column: 2;
    grid-row: 1;
    gap: 10px;
    padding-top: 10px;
  }

  .product-page-pdp .pdp-spec-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .pdp-delivery-grid,
  .pdp-spec-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .product-page-pdp,
  .product-page-pdp.open {
    grid-template-columns: 1fr;
    max-width: min(100vw - 18px, 760px);
    gap: 0;
  }

  .product-page-pdp .spec-hero {
    grid-row: auto;
  }

  .product-page-pdp .pdp-summary {
    padding-top: 0;
  }

  .product-page-pdp .pdp-summary,
  .product-page-pdp .pdp-buy-panel,
  .product-page-pdp .pdp-delivery-grid,
  .product-page-pdp .pdp-service-list,
  .product-page-pdp .pdp-spec-tabs {
    grid-column: 1;
  }

  .pdp-purchase-column {
    grid-column: 1;
    grid-row: auto;
    padding-top: 0;
  }

  .product-page-pdp .pdp-spec-tabs {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .spec-modal {
    width: calc(100vw - 10px);
    padding: 0;
    border-radius: 20px;
  }

  .spec-modal .spec-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .spec-hero {
    padding: 16px 12px 0;
  }

  .spec-image-wrap {
    min-height: 300px;
  }

  .spec-image-wrap #specImage {
    width: min(82%, 250px);
    height: 210px;
  }

  .pdp-thumb-row {
    gap: 8px;
    margin-top: 14px;
  }

  .pdp-thumb {
    height: 62px;
    border-radius: 14px;
  }

  .pdp-thumb img {
    width: 46px;
    height: 46px;
  }

  .spec-hero > div:last-child {
    padding-right: 48px;
  }

  .spec-modal h1,
  .spec-modal h2 {
    max-width: 10.5ch;
    font-size: 34px;
  }

  .spec-modal #specAddCart {
    width: 100%;
  }

  .pdp-shell {
    gap: 18px;
    padding: 20px 12px 20px;
  }

  .pdp-pix-price {
    font-size: 29px;
  }

  .pdp-color-grid,
  .pdp-storage-grid {
    grid-template-columns: 1fr;
  }

  .pdp-service-list article,
  .pdp-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

}
