:root {
  --blue: #0755b8;
  --blue-dark: #00306f;
  --blue-mid: #0b63d1;
  --ink: #071939;
  --muted: #5d6b7d;
  --line: #dbe8f7;
  --ice: #edf7ff;
  --white: #fff;
  --shadow: 0 18px 40px rgba(7, 85, 184, .14);
  --soft-shadow: 0 8px 22px rgba(0, 48, 111, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff 0%, #f7fbff 46%, #fff 100%);
}
body.modal-open {
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar {
  min-height: 36px;
  padding: 7px clamp(20px, 5vw, 58px);
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 800;
  font-size: 15px;
  flex-wrap: wrap;
}
.topbar nav { display: flex; gap: 18px; }

.mainnav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 100px;
  padding: 14px clamp(20px, 5vw, 58px);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand, .logo-xl, .about-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
}
.brand-logo-img {
  width: 270px;
  height: auto;
  object-fit: contain;
}
.hero-logo-img {
  width: min(440px, 92vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 8px;
}
.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 58px;
  color: var(--blue);
  flex: 0 0 auto;
}
.logo-mark::before {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  left: 1px;
  top: 0;
  background:
    linear-gradient(var(--blue), var(--blue)) center/7px 54px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center/54px 7px no-repeat;
  border-radius: 50%;
  transform: rotate(45deg);
}
.logo-mark::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 2px;
  width: 62px;
  height: 22px;
  border-radius: 50%;
  border-bottom: 9px solid var(--blue);
  transform: rotate(-8deg);
}
.logo-mark i {
  position: absolute;
  left: 25px;
  bottom: 10px;
  width: 55px;
  height: 18px;
  border-radius: 50%;
  border-bottom: 7px solid #65aeea;
  transform: rotate(-8deg);
}
.brand strong, .logo-xl strong, .about-logo strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: .9;
  letter-spacing: 0;
  color: var(--blue);
  text-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.brand small, .logo-xl small, .about-logo small {
  display: block;
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--blue);
  margin-top: 6px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.navlinks .active {
  color: var(--blue);
  border-bottom: 3px solid var(--blue);
  padding-bottom: 9px;
}
.nav-whatsapp {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}
.frinorte-link {
  color: var(--blue);
}
.admin-nav {
  min-height: 38px;
  padding: 0 12px;
}
button, input, textarea { font: inherit; }
.button, .ghost {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--blue), #003f92);
  color: white;
  box-shadow: var(--shadow);
}
.button.secondary, .ghost {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
  gap: 30px;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 58px) 30px;
  background:
    linear-gradient(118deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 44%, rgba(226,244,255,.8) 100%),
    radial-gradient(circle at 90% 24%, rgba(7,85,184,.14), transparent 30%),
    repeating-linear-gradient(152deg, transparent 0 18px, rgba(7,85,184,.045) 18px 20px),
    linear-gradient(135deg, #fff 0%, #fff 44%, #e8f6ff 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -115px;
  width: 58%;
  height: 220px;
  background:
    linear-gradient(150deg, transparent 16%, rgba(7,85,184,.08) 16% 27%, transparent 27% 34%, rgba(7,85,184,.18) 34% 44%, transparent 44% 51%, rgba(7,85,184,.62) 51% 62%, transparent 62%);
  transform: skewY(-8deg);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-logo {
  width: 170px;
  height: 136px;
}
.hero-logo::before {
  width: 128px;
  height: 128px;
  background:
    linear-gradient(var(--blue), var(--blue)) center/10px 128px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center/128px 10px no-repeat;
}
.hero-logo::after {
  left: 38px;
  bottom: 12px;
  width: 130px;
  height: 45px;
  border-bottom-width: 18px;
}
.hero-logo i {
  left: 58px;
  bottom: 30px;
  width: 106px;
  height: 34px;
  border-bottom-width: 13px;
}
.logo-xl {
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 14px;
}
.logo-xl strong { font-size: clamp(70px, 10vw, 112px); }
.logo-xl small { font-size: 16px; letter-spacing: 10px; }
h1 {
  max-width: 720px;
  margin: 8px 0 12px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.02;
  text-transform: uppercase;
  color: #071939;
}
h1 span {
  display: block;
  color: var(--blue);
}
.hero p {
  max-width: 650px;
  color: #20334f;
  font-size: 18px;
  line-height: 1.45;
}
.badges, .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.badges span {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  font-weight: 800;
  box-shadow: none;
  font-size: 13px;
}
.badges b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  flex: 0 0 auto;
}
.hero-visual {
  min-height: 510px;
  position: relative;
}
.cooler-showcase {
  position: absolute;
  inset: 0;
}
.machine { display: none; }
.ac-unit, .glass-fridge, .silver-fridge, .outdoor-unit, .chest-freezer {
  position: absolute;
  background: #fff;
  border: 1px solid #c6d1df;
  box-shadow: 0 20px 40px rgba(10,37,74,.18);
}
.ac-unit {
  top: 50px;
  left: 50px;
  width: 330px;
  height: 82px;
  border-radius: 12px;
  background: linear-gradient(#fff, #f1f5f9);
}
.ac-unit::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 16px;
  height: 6px;
  border-radius: 8px;
  background: #cdd7e4;
}
.glass-fridge {
  left: 0;
  bottom: 32px;
  width: 190px;
  height: 275px;
  border-radius: 7px;
  background: linear-gradient(90deg, #101923 0 14%, #eaf8ff 14% 50%, #101923 50% 64%, #eaf8ff 64% 100%);
  border: 10px solid #101923;
}
.glass-fridge span {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 2px;
  background: rgba(7,85,184,.25);
}
.glass-fridge span:first-child { top: 82px; }
.glass-fridge span:last-child { top: 168px; }
.silver-fridge {
  left: 210px;
  bottom: 8px;
  width: 150px;
  height: 300px;
  border-radius: 12px;
  background: linear-gradient(90deg, #b4bdc8, #f9fbfd 42%, #8f9ba8);
}
.silver-fridge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #7c8794;
}
.silver-fridge span {
  position: absolute;
  right: 22px;
  top: 82px;
  width: 32px;
  height: 60px;
  border-radius: 5px;
  background: #25374d;
}
.outdoor-unit {
  right: 18px;
  top: 60px;
  width: 185px;
  height: 300px;
  border-radius: 10px;
  background: #f3f7fb;
}
.outdoor-unit span {
  position: absolute;
  left: 34px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 13px solid #29313a;
  background:
    radial-gradient(circle, #aeb8c4 0 14%, transparent 15%),
    repeating-conic-gradient(from 0deg, #29313a 0 12deg, transparent 12deg 24deg);
}
.outdoor-unit span:first-child { top: 34px; }
.outdoor-unit span:last-child { bottom: 34px; }
.chest-freezer {
  right: 2px;
  bottom: 18px;
  width: 220px;
  height: 140px;
  border-radius: 10px;
  transform: perspective(500px) rotateY(-7deg);
}
.chest-freezer::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: -48px;
  height: 62px;
  border: 1px solid #c6d1df;
  background: #fff;
  transform: skewX(-10deg);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

.section {
  padding: 26px clamp(20px, 5vw, 58px) 20px;
}
.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
  text-transform: uppercase;
}
.section-title span {
  width: 80px;
  height: 1px;
  background: #9bc4ee;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.service-grid article, .product-card, .contact, .wide-service {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 85, 184, .07);
}
.service-grid article {
  min-height: 210px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--soft-shadow);
}
.service-grid .icon, .wide-service .icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  margin: 0 auto;
  position: relative;
  background: #fff;
}
.icon::before, .icon::after { content: ""; position: absolute; }
.home::before { width: 35px; height: 30px; border: 4px solid var(--blue); border-top: 0; bottom: 11px; }
.home::after { width: 34px; height: 34px; border-left: 4px solid var(--blue); border-top: 4px solid var(--blue); transform: rotate(45deg); top: 10px; }
.store::before { width: 42px; height: 28px; border: 4px solid var(--blue); bottom: 11px; }
.store::after { width: 48px; height: 18px; border: 4px solid var(--blue); border-bottom: 0; top: 9px; border-radius: 6px 6px 0 0; }
.fridge-icon::before, .cabinet::before { inset: 9px 18px; border: 4px solid var(--blue); border-radius: 3px; }
.fridge-icon::after, .cabinet::after { left: 18px; right: 18px; top: 30px; height: 4px; background: var(--blue); }
.snowflake::before { width: 46px; height: 46px; background: linear-gradient(var(--blue),var(--blue)) center/5px 46px no-repeat, linear-gradient(var(--blue),var(--blue)) center/46px 5px no-repeat; transform: rotate(45deg); }
.air::before { width: 44px; height: 23px; border: 4px solid var(--blue); top: 13px; border-radius: 4px; }
.air::after { width: 32px; height: 18px; border-bottom: 4px dotted var(--blue); bottom: 6px; }
.fan::before { width: 42px; height: 42px; border: 4px solid var(--blue); border-radius: 50%; }
.fan::after { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.service-grid h3, .wide-service h3, .product-card h3 {
  margin: 12px 0 8px;
  text-transform: uppercase;
}
.service-grid p, .wide-service p, .product-card p {
  color: var(--muted);
  line-height: 1.45;
}
.wide-service {
  margin-top: 18px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.about {
  padding: 28px clamp(20px, 5vw, 58px);
  display: grid;
  grid-template-columns: .8fr 1fr .8fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(90deg, #fff, var(--ice), #fff);
}
.about-logo {
  flex-direction: column;
  align-items: flex-start;
}
.about-logo-img {
  width: min(360px, 90vw);
  height: auto;
  object-fit: contain;
}
.about-mark {
  width: 145px;
  height: 112px;
}
.about-mark::before { width: 105px; height: 105px; background: linear-gradient(var(--blue),var(--blue)) center/9px 105px no-repeat, linear-gradient(var(--blue),var(--blue)) center/105px 9px no-repeat; }
.about-mark::after { width: 110px; left: 31px; bottom: 8px; border-bottom-width: 15px; }
.about-mark i { width: 88px; left: 51px; bottom: 25px; border-bottom-width: 11px; }
.about-logo strong { font-size: 64px; }
.about h2, .training h2, .shop h2, .contact h2 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  text-transform: uppercase;
}
.about p { line-height: 1.55; }
.about ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about li {
  margin: 11px 0;
  font-weight: 800;
}
.about li::before {
  content: "OK";
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 27px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
}

.training {
  margin: 28px clamp(20px, 5vw, 58px) 16px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  display: grid;
  grid-template-columns: 1.5fr .6fr .6fr .8fr;
  gap: 22px;
  align-items: center;
}

.contact-strip {
  padding: 0 clamp(20px, 5vw, 58px) 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.admin-inline {
  margin: 10px clamp(20px, 5vw, 58px) 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.admin-inline-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.admin-inline h2 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  text-transform: uppercase;
}

.frionorte-section {
  padding: 8px clamp(20px, 5vw, 58px) 24px;
}
.frionorte-card {
  min-height: 290px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #164b85;
  background: #071939;
  color: #fff;
  box-shadow: 0 20px 44px rgba(7, 25, 57, .24);
}
.frionorte-card img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}
.frionorte-card > div {
  padding: 30px;
  display: grid;
  align-content: center;
  background: linear-gradient(135deg, #06152f, #0755b8);
}
.frionorte-card h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  color: #fff;
}
.frionorte-card p {
  line-height: 1.5;
}
.frionorte-card span {
  width: fit-content;
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}
.admin-login-inline {
  max-width: 620px;
  margin-bottom: 18px;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.admin-toolbar span {
  color: var(--blue-dark);
  font-weight: 900;
}
.password-box {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}
.password-box h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  text-transform: uppercase;
}
.password-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.info-card {
  min-height: 105px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 5px;
  box-shadow: var(--soft-shadow);
}
.info-card strong {
  font-size: 19px;
  text-transform: uppercase;
}
.info-card span {
  font-size: 14px;
}
.info-card.blue {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}
.info-card.dark {
  color: #fff;
  background: #050505;
}
.info-card.white {
  color: var(--blue-dark);
  background: #fff;
}
.training h2 { color: #fff; }
.training span, .training a {
  text-align: center;
  font-weight: 800;
}
.training a {
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  text-transform: uppercase;
}

.shop-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card { overflow: hidden; }
.product-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--ice);
}
.product-card div { padding: 18px; }
.price {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}
.product-card .button { width: 100%; margin-top: 12px; }

.cart-section {
  margin: 8px clamp(20px, 5vw, 58px) 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.cart-head h2 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  text-transform: uppercase;
}
.cart-box {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.cart-item h3 {
  margin: 0 0 4px;
  color: var(--blue-dark);
  text-transform: uppercase;
}
.cart-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}
.qty {
  display: grid;
  grid-template-columns: 36px 34px 36px;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.qty button {
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--ice);
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
}
.qty span {
  font-weight: 900;
}
.cart-summary {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f4faff);
}
.cart-summary span {
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
}
.cart-summary strong {
  color: var(--blue);
  font-size: 34px;
}
.empty-cart {
  padding: 22px;
  border: 1px dashed #9bc4ee;
  border-radius: 8px;
  color: var(--muted);
  background: #f8fcff;
}
.small-danger {
  min-height: 38px;
  padding: 0 12px;
}

.contact {
  margin: 16px clamp(16px, 5vw, 56px) 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.contact > div { padding: 34px; }
.contact iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}
form {
  display: grid;
  gap: 12px;
}
input, textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline-color: var(--blue);
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #18b35b;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(24,179,91,.35);
}
.frinorte-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 30;
  min-width: 152px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #071939, var(--blue));
  box-shadow: 0 16px 34px rgba(7, 85, 184, .28);
  font-weight: 900;
}
.frinorte-float span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
}
.frinorte-float small {
  font-size: 13px;
}

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3,18,42,.68);
}
.admin-overlay[hidden] {
  display: none;
}
.admin {
  width: min(1000px, calc(100vw - 24px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.admin-head h2 { margin: 0; }
.admin-head button {
  border: 0;
  background: var(--blue);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 26px;
}
.login-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 18px;
}
#loginError { color: #b00020; grid-column: 1 / -1; margin: 0; }
.admin-panel { margin-top: 18px; }
.admin-item {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.admin-item img {
  width: 120px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.admin-fields {
  display: grid;
  gap: 8px;
}
.admin-actions {
  display: grid;
  gap: 8px;
  align-content: start;
}
.danger {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #bd1830;
  color: white;
  cursor: pointer;
  font-weight: 800;
}
.hint { color: var(--muted); }

.admin-page {
  background: linear-gradient(135deg, #f7fbff, #ffffff 48%, #eaf6ff);
  min-height: 100vh;
}
.admin-screen {
  padding: clamp(18px, 5vw, 56px);
}
.admin-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.admin-card h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  color: var(--blue-dark);
}
.admin-card-head p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.45;
}
.admin-login {
  max-width: 620px;
}
.admin-backup {
  margin-top: 12px;
}
.admin-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.page-admin-item {
  grid-template-columns: 170px 1fr 260px;
}
.page-admin-item img {
  width: 170px;
  height: 145px;
}
.admin-fields label,
.admin-actions label {
  display: grid;
  gap: 6px;
  color: var(--blue-dark);
  font-weight: 800;
}

footer {
  padding: 16px 22px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  text-transform: uppercase;
  display: grid;
  gap: 4px;
}

@media (max-width: 980px) {
  .mainnav { align-items: flex-start; flex-direction: column; }
  .navlinks { width: 100%; overflow-x: auto; padding-bottom: 6px; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; max-width: 620px; width: 100%; margin: 0 auto; }
  .service-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .training, .contact, .contact-strip { grid-template-columns: 1fr; }
  .frionorte-card { grid-template-columns: 1fr; }
  .cart-box { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .brand-logo-img { width: 230px; }
  .admin-inline-head { flex-direction: column; }
}

@media (max-width: 620px) {
  .topbar { font-size: 13px; }
  .brand strong { font-size: 30px; }
  .brand-logo-img { width: 210px; }
  .brand small { letter-spacing: 3px; }
  .logo-xl { align-items: flex-start; }
  .hero-logo { width: 104px; height: 84px; }
  .hero-logo::before { width: 78px; height: 78px; background: linear-gradient(var(--blue),var(--blue)) center/7px 78px no-repeat, linear-gradient(var(--blue),var(--blue)) center/78px 7px no-repeat; }
  .hero-logo::after { left: 23px; width: 78px; border-bottom-width: 12px; }
  .hero-logo i { left: 35px; width: 65px; border-bottom-width: 8px; }
  .logo-xl strong { font-size: 54px; }
  .logo-xl small { font-size: 11px; letter-spacing: 6px; }
  h1 { font-size: 38px; }
  .hero { padding-top: 24px; }
  .hero-visual { min-height: 360px; transform: scale(.82); transform-origin: top center; margin-bottom: -70px; }
  .outdoor-unit { right: 0; }
  .ac-unit { left: 0; width: 260px; }
  .glass-fridge { width: 155px; }
  .silver-fridge { left: 172px; width: 120px; }
  .chest-freezer { right: 0; width: 175px; }
  .service-grid, .product-grid { grid-template-columns: 1fr; }
  .wide-service { align-items: flex-start; }
  .shop-head { align-items: stretch; flex-direction: column; }
  .cart-head { flex-direction: column; }
  .cart-item { grid-template-columns: 76px 1fr; }
  .cart-item img { width: 76px; height: 64px; }
  .qty, .small-danger { grid-column: 1 / -1; }
  .password-grid { grid-template-columns: 1fr; }
  .login-box, .admin-item { grid-template-columns: 1fr; }
  .admin-item img { width: 100%; height: 190px; }
  .admin-card-head { flex-direction: column; }
}
