/* ===== Základ a proměnné ===== */
:root {
  --ink: #111111;
  --accent: #00ADB5;
  --paper: #f5f5f0;
  --muted: #70706c;
  --line: #ddddd6;
  --orange: #ff6b35;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
/* ===== Horní lišta a navigace ===== */
.notice {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
}
.notice span {
  color: var(--accent);
}
.wrap {
  max-width: 1280px;
  margin: auto;
  padding: 0 30px;
}
header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.8px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.brand i {
  width: 24px;
  height: 24px;
  background: var(--accent);
  display: inline-block;
  border-radius: 50% 50% 4px 50%;
  transform: rotate(-45deg);
}
.links {
  display: flex;
  gap: 25px;
  margin-left: 28px;
  font-size: 14px;
  font-weight: 700;
}
.links a {
  opacity: 0.76;
  transition: opacity 0.2s;
}
.links a:hover {
  opacity: 1;
}
.search {
  margin-left: auto;
  width: 245px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}
.search input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 13px;
  background: transparent;
}
.nav-action {
  position: relative;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
  padding: 7px;
  color: var(--ink);
}
.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: white;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
}
/* ===== Úvodní hero sekce ===== */
.hero {
  background: var(--ink);
  color: white;
  min-height: 504px;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  min-height: 504px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.9;
  margin: 18px 0 22px;
  letter-spacing: -0.07em;
  max-width: 600px;
}
.hero p {
  font-size: 17px;
  line-height: 1.55;
  color: #c5c5c0;
  max-width: 420px;
  margin: 0 0 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 21px;
  background: var(--accent);
  color: var(--ink);
  border: 0;
  font-size: 13px;
  font-weight: 900;
  border-radius: 7px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  background: white;
}
.button.dark {
  background: var(--ink);
  color: white;
}
.button.dark:hover {
  background: #333;
}
.hero-art {
  position: absolute;
  right: -5px;
  bottom: -44px;
  width: 560px;
  height: 490px;
}
.orb {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: var(--accent);
  right: 44px;
  top: 16px;
  box-shadow: 0 0 0 38px rgba(223, 255, 0, 0.09);
}
.laptop {
  position: absolute;
  width: 395px;
  height: 248px;
  right: 24px;
  top: 76px;
  transform: perspective(800px) rotateY(-10deg) rotateZ(-3deg);
}
.screen {
  width: 342px;
  height: 218px;
  margin: auto;
  padding: 11px;
  border-radius: 13px 13px 5px 5px;
  background: linear-gradient(145deg, #e4e4e1, #636363);
  box-shadow: 20px 30px 40px rgba(0, 0, 0, 0.4);
}
.screen-inner {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(135deg, #090909 0%, #343434 50%, #042f31 100%);
  position: relative;
  overflow: hidden;
}
.screen-inner:before {
  content: "MB";
  font-size: 74px;
  font-weight: 900;
  letter-spacing: -10px;
  color: var(--accent);
  position: absolute;
  top: 52px;
  left: 82px;
}
.screen-inner:after {
  content: "PRO 16";
  position: absolute;
  color: white;
  bottom: 28px;
  left: 100px;
  font-size: 11px;
  letter-spacing: 4px;
}
.base {
  height: 16px;
  width: 395px;
  background: linear-gradient(#d0d0cf, #6f6f6e);
  border-radius: 3px 3px 50% 50%;
}
.earbud-case {
  width: 105px;
  height: 74px;
  position: absolute;
  right: 360px;
  bottom: 107px;
  border-radius: 40px 40px 24px 24px;
  background: #ededeb;
  box-shadow: 16px 18px 20px rgba(0, 0, 0, 0.24);
  transform: rotate(18deg);
}
.earbud-case:after {
  content: "";
  position: absolute;
  height: 1px;
  background: #bbb;
  width: 100%;
  top: 39px;
}
.sale-sticker {
  position: absolute;
  right: 14px;
  top: 24px;
  width: 103px;
  height: 103px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.05;
  transform: rotate(14deg);
}
/* ===== Výhody nákupu ===== */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-top: 0;
}
.benefit {
  padding: 23px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 750;
}
.benefit:last-child {
  border: 0;
}
.benefit small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
  font-size: 12px;
}
.benefit svg {
  flex: 0 0 auto;
}
/* ===== Společné nadpisy sekcí a kategorie ===== */
.section {
  padding: 92px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}
.section h2 {
  font-size: 38px;
  margin: 7px 0 0;
  letter-spacing: -0.055em;
}
.more {
  font-size: 13px;
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 3px;
}
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat {
  height: 180px;
  border-radius: 10px;
  padding: 20px;
  overflow: hidden;
  position: relative;
  background: #ddd;
  font-weight: 850;
  font-size: 17px;
  transition: transform 0.2s;
}
.cat:hover {
  transform: translateY(-4px);
}
.cat:nth-child(1) {
  background: #dbff1b;
}
.cat:nth-child(2) {
  background: #ffb299;
}
.cat:nth-child(3) {
  background: #b4ccff;
}
.cat:nth-child(4) {
  background: #e5d8ff;
}
.cat span {
  position: relative;
  z-index: 2;
}
.cat-art {
  position: absolute;
  right: 18px;
  bottom: 12px;
  background: #111;
}
.phone {
  width: 53px;
  height: 112px;
  border: 6px solid #111;
  border-radius: 10px;
  background: linear-gradient(150deg, #333, #c1ff24);
  transform: rotate(15deg);
}
.headphones {
  width: 94px;
  height: 94px;
  border: 16px solid #111;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.headphones:before,
.headphones:after {
  content: "";
  width: 24px;
  height: 39px;
  background: #111;
  position: absolute;
  bottom: -2px;
  border-radius: 8px;
}
.headphones:before {
  left: -17px;
}
.headphones:after {
  right: -17px;
}
.watch {
  width: 64px;
  height: 75px;
  border-radius: 16px;
  background: #111;
  color: #00adb5;
  display: grid;
  place-items: center;
  font-size: 19px;
  transform: rotate(12deg);
}
.game {
  width: 116px;
  height: 65px;
  border-radius: 28px;
  background: #111;
  transform: rotate(-10deg);
}
.game:before,
.game:after {
  content: "+";
  color: #00adb5;
  position: absolute;
  font-size: 23px;
  top: 17px;
  left: 22px;
}
.game:after {
  content: "••";
  left: auto;
  right: 17px;
}
/* ===== Produktové karty ===== */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.product {
  position: relative;
}
.product-media {
  height: 255px;
  display: grid;
  place-items: center;
  background: white;
  border-radius: 9px;
  overflow: hidden;
}
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 8px;
  background: var(--accent);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border: 0;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #ffffffd9;
  border-radius: 50%;
}
.product h3 {
  font-size: 14px;
  margin: 13px 0 6px;
  letter-spacing: -0.02em;
}
.price {
  font-size: 15px;
  font-weight: 900;
}
.old {
  color: #888;
  text-decoration: line-through;
  margin-left: 7px;
  font-weight: 500;
}
.rating {
  margin-top: 7px;
  color: #ff9c00;
  font-size: 12px;
}
.rating span {
  color: var(--muted);
  margin-left: 4px;
}
.product-object {
  position: relative;
}
.smartphone {
  width: 102px;
  height: 196px;
  background: #1e1e1e;
  border: 7px solid #383838;
  border-radius: 21px;
  box-shadow: 12px 16px 20px #ddd;
}
.smartphone:before {
  content: "";
  position: absolute;
  width: 39px;
  height: 12px;
  top: 7px;
  left: 24px;
  background: #070707;
  border-radius: 9px;
}
.smartphone:after {
  content: "";
  position: absolute;
  inset: 20px 7px 7px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 70% 25%, #3ddfe6, transparent 23%),
    linear-gradient(145deg, #073d40, #008f97 55%, #171717);
}
.buds {
  width: 145px;
  height: 108px;
  border-radius: 55px 55px 38px 38px;
  background: #f0f0ee;
  box-shadow: 15px 15px 19px #d5d5d0;
  position: relative;
}
.buds:before {
  content: "";
  position: absolute;
  top: 52px;
  width: 100%;
  height: 1px;
  background: #cfcfcb;
}
.buds:after {
  content: "MB";
  position: absolute;
  top: 68px;
  left: 56px;
  font-size: 10px;
  font-weight: 900;
}
.speaker {
  width: 120px;
  height: 183px;
  border-radius: 18px;
  background: linear-gradient(120deg, #282828, #050505);
  display: grid;
  place-items: center;
  box-shadow: 13px 15px 17px #d0d0cb;
}
.speaker:before,
.speaker:after {
  content: "";
  position: absolute;
  width: 62px;
  height: 62px;
  border: 7px solid #333;
  border-radius: 50%;
  background: #121212;
  box-shadow: inset 0 0 0 15px #050505;
}
.speaker:before {
  top: 19px;
}
.speaker:after {
  bottom: 18px;
}
.controller {
  width: 174px;
  height: 94px;
  border-radius: 45px;
  background: #e6e8df;
  box-shadow: 13px 15px 18px #d4d4cf;
  position: relative;
}
.controller:before {
  content: "+";
  font-size: 28px;
  font-weight: 500;
  position: absolute;
  left: 33px;
  top: 28px;
}
.controller:after {
  content: "••";
  font-size: 25px;
  letter-spacing: 4px;
  position: absolute;
  right: 26px;
  top: 30px;
}

/* 3D tištěné objekty na produktových kartách */
.headphone-stand {
  width: 116px;
  height: 174px;
  border: 13px solid #202020;
  border-bottom: 0;
  border-radius: 62px 62px 0 0;
  box-shadow: 16px 17px 20px #d4d4cf;
}
.headphone-stand:before {
  content: "";
  position: absolute;
  width: 152px;
  height: 19px;
  background: #202020;
  border-radius: 12px;
  bottom: -1px;
  left: -31px;
}
.headphone-stand:after {
  content: "";
  position: absolute;
  width: 56px;
  height: 70px;
  background: #00adb5;
  border-radius: 8px 8px 25px 25px;
  top: 39px;
  left: 17px;
}
.desk-organizer {
  width: 155px;
  height: 105px;
  background: #2b2b2a;
  border-radius: 9px 9px 20px 20px;
  transform: perspective(220px) rotateX(6deg) rotateZ(-6deg);
  box-shadow: 15px 19px 18px #d2d2cd;
}
.desk-organizer:before {
  content: "";
  position: absolute;
  inset: 13px 13px 25px;
  background: repeating-linear-gradient(90deg, #00adb5 0 25px, #1a1a1a 25px 32px);
  border-radius: 4px;
}
.desk-organizer:after {
  content: "MONOBIT";
  position: absolute;
  bottom: 7px;
  left: 46px;
  color: #00adb5;
  letter-spacing: 1px;
  font-size: 8px;
  font-weight: 800;
}
.cable-holder {
  width: 142px;
  height: 64px;
  border-radius: 32px;
  background: #ff6b35;
  box-shadow: 13px 16px 16px #d5d5d0;
}
.cable-holder:before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 24px;
  left: 22px;
  border-radius: 50%;
  background: white;
  box-shadow: 28px 0 0 white, 56px 0 0 white, 84px 0 0 white;
}
.controller-dock {
  width: 145px;
  height: 116px;
  border-radius: 18px 18px 8px 8px;
  background: #292928;
  box-shadow: 15px 18px 18px #d0d0cb;
}
.controller-dock:before {
  content: "";
  position: absolute;
  width: 90px;
  height: 48px;
  left: 27px;
  top: -25px;
  border: 10px solid #292928;
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
}
.controller-dock:after {
  content: "+   ••";
  position: absolute;
  left: 30px;
  top: 43px;
  color: #00adb5;
  font-weight: 900;
  letter-spacing: 10px;
}

/* ===== Rackové systémy ===== */
.rack-section {
  padding-top: 10px;
}
.rack-showcase {
  min-height: 385px;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  border-radius: 12px;
  overflow: hidden;
  background: #161616;
  color: white;
}
.rack-copy {
  padding: 49px;
}
.rack-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.rack-copy h3 {
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 16px 0;
}
.rack-copy p {
  max-width: 440px;
  color: #b8b8b4;
  font-size: 14px;
  line-height: 1.55;
}
.rack-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 23px 0 27px;
}
.rack-points span {
  padding: 7px 10px;
  border: 1px solid #4b4b48;
  color: #e3e3df;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.rack-art {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 64% 42%, #13585c 0, #0d2d2f 25%, #111 66%);
}
.rack-art:before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -75px;
  top: 20px;
  border: 1px solid #23777c;
  border-radius: 50%;
}
.rack-frame {
  position: absolute;
  width: 202px;
  height: 300px;
  right: 98px;
  top: 43px;
  padding: 22px 17px;
  border: 10px solid #3e3e3d;
  border-top-width: 13px;
  border-radius: 7px;
  background: #0a0a0a;
  box-shadow: 22px 25px 27px #080808;
}
.rack-frame i {
  display: block;
  height: 43px;
  margin-bottom: 9px;
  border-radius: 3px;
  background: linear-gradient(90deg, #30302e 0 12%, #111 12% 86%, #30302e 86%);
  box-shadow: inset 0 2px 0 #464643;
}
.rack-frame i:after {
  content: "••••";
  display: block;
  padding: 13px 0 0 25px;
  color: var(--accent);
  letter-spacing: 7px;
  font-size: 9px;
}
.rack-frame b {
  position: absolute;
  bottom: -30px;
  left: 66px;
  color: #00adb5;
  font-size: 22px;
  letter-spacing: -3px;
}
.rack-cable {
  position: absolute;
  width: 103px;
  height: 146px;
  border: 6px solid var(--orange);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 95px 0 0;
}
.cable-one {
  top: 82px;
  right: 42px;
  transform: rotate(10deg);
}
.cable-two {
  width: 88px;
  height: 110px;
  bottom: -5px;
  right: 70px;
  border-color: var(--accent);
  transform: rotate(170deg);
}
/* ===== Akční banner ===== */
.banner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 312px;
  background: #00adb5;
  overflow: hidden;
  border-radius: 12px;
}
.banner-copy {
  padding: 49px;
}
.banner h2 {
  font-size: 42px;
  line-height: 0.95;
  margin: 13px 0 17px;
  letter-spacing: -0.06em;
  max-width: 410px;
}
.banner p {
  max-width: 390px;
  font-size: 14px;
  line-height: 1.5;
}
.banner-art {
  position: relative;
  background: #007d84;
}
.banner-art:before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  background: #55d8de;
  border-radius: 50%;
  bottom: -80px;
  right: 44px;
}
.watch-big {
  position: absolute;
  right: 120px;
  top: 27px;
  width: 143px;
  height: 202px;
  background: #141414;
  border: 13px solid #333;
  border-radius: 34px;
  color: #00adb5;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 800;
  transform: rotate(14deg);
  box-shadow: 22px 25px 25px #00666c;
}
.watch-big:before,
.watch-big:after {
  content: "";
  position: absolute;
  width: 68px;
  height: 58px;
  background: #333;
  left: 25px;
  z-index: -1;
}
.watch-big:before {
  top: -58px;
  border-radius: 16px 16px 0 0;
}
.watch-big:after {
  bottom: -58px;
  border-radius: 0 0 16px 16px;
}
/* ===== Patička ===== */
footer {
  background: #111;
  color: white;
  padding: 52px 0 24px;
  margin-top: 92px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer .brand {
  font-size: 27px;
}
.footer p {
  color: #a7a7a2;
  max-width: 310px;
  font-size: 13px;
  line-height: 1.5;
}
.foot-links {
  display: flex;
  gap: 70px;
}
.foot-links h4 {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.foot-links a {
  display: block;
  color: #c5c5c1;
  font-size: 13px;
  margin: 11px 0;
}
.copyright {
  border-top: 1px solid #373737;
  color: #888;
  margin-top: 35px;
  padding-top: 17px;
  font-size: 11px;
}

/* ===== Detail produktu a košík ===== */
.cart-link {
  margin-left: auto;
}
.product-page,
.cart-page {
  min-height: calc(100vh - 122px);
  padding-top: 34px;
  padding-bottom: 86px;
}
.breadcrumbs {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 12px;
}
.breadcrumbs a:hover {
  color: var(--ink);
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 62px;
  align-items: center;
}
.product-detail-media {
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: white;
}
.product-detail-media .product-object {
  transform: scale(1.65);
}
.product-detail-media .headphone-stand {
  transform: scale(1.35);
}
.product-detail-copy h1,
.cart-title h1 {
  margin: 11px 0 18px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}
.detail-description {
  max-width: 480px;
  color: #50504c;
  font-size: 16px;
  line-height: 1.6;
}
.detail-price {
  margin: 27px 0 6px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.stock {
  margin: 0 0 23px;
  color: #9b4030;
  font-size: 13px;
  font-weight: 800;
}
.stock.in-stock {
  color: #007d84;
}
.add-to-cart {
  display: flex;
  align-items: center;
  gap: 10px;
}
.add-to-cart label {
  font-size: 12px;
  font-weight: 800;
}
.add-to-cart input,
.quantity-label input {
  width: 58px;
  height: 46px;
  margin-left: 3px;
  padding-left: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}
.product-note {
  max-width: 430px;
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.form-error,
.form-success {
  max-width: 680px;
  margin: 0 0 21px;
  padding: 13px 15px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}
.form-error {
  background: #ffe4dd;
  color: #8a271a;
}
.form-success {
  background: #d8f5f6;
  color: #00666c;
}
.cart-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 335px;
  gap: 32px;
  align-items: start;
}
.cart-items,
.order-summary,
.empty-cart {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
}
.cart-item {
  min-height: 130px;
  display: grid;
  grid-template-columns: 98px minmax(150px, 1fr) 87px 105px;
  gap: 18px;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-of-type {
  margin-bottom: 18px;
}
.cart-thumb {
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: var(--paper);
}
.cart-thumb .product-object {
  transform: scale(0.5);
}
.cart-thumb .headphone-stand {
  transform: scale(0.48);
}
.cart-item-name a {
  display: block;
  font-size: 14px;
  font-weight: 850;
}
.cart-item-name small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}
.quantity-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.quantity-label input {
  width: 47px;
  height: 36px;
}
.cart-item strong {
  text-align: right;
  font-size: 14px;
}
.cart-items > .button {
  margin: 0 20px 20px;
}
.order-summary {
  padding: 25px;
}
.order-summary h2 {
  margin: 0 0 23px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.order-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 13px 0;
  color: var(--muted);
  font-size: 13px;
}
.order-summary .order-total {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}
.order-summary .button {
  width: 100%;
  margin: 17px 0 10px;
}
.order-summary small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.empty-cart {
  padding: 52px;
  text-align: center;
}
.empty-cart h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.empty-cart p {
  color: var(--muted);
}

/* Rozšířené informace na detailu produktu */
.product-information {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 62px;
  margin-top: 94px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
.product-information h2,
.reviews-section h2 {
  margin: 10px 0 18px;
  font-size: 34px;
  letter-spacing: -0.05em;
}
.product-description-block p {
  max-width: 540px;
  color: #50504c;
  font-size: 16px;
  line-height: 1.7;
}
.specifications {
  padding: 28px;
  border-radius: 11px;
  background: white;
}
.specifications h2 {
  margin-top: 0;
  font-size: 22px;
}
.specifications > p {
  color: var(--muted);
  font-size: 13px;
}
.specifications dl {
  margin: 0;
}
.specifications dl > div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.specifications dt {
  color: var(--muted);
}
.specifications dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}
.reviews-section {
  margin-top: 92px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
.reviews-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}
.review-average {
  display: grid;
  gap: 4px;
  text-align: right;
}
.review-average strong {
  font-size: 25px;
  letter-spacing: -0.05em;
}
.review-average span {
  color: var(--muted);
  font-size: 12px;
}
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 50px;
  align-items: start;
}
.reviews-list {
  display: grid;
  gap: 15px;
}
.no-reviews {
  margin: 0;
  padding: 27px;
  border: 1px dashed #b6b6b1;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.review {
  padding: 22px;
  border-radius: 9px;
  background: white;
}
.review > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
}
.review > div:first-child span {
  color: var(--muted);
  font-size: 11px;
}
.review-stars {
  margin-top: 10px;
  color: #f2a20a;
  font-size: 14px;
  letter-spacing: 2px;
}
.review-stars span {
  color: #d6d6d2;
}
.review p {
  margin: 13px 0 0;
  color: #4d4d49;
  font-size: 14px;
  line-height: 1.6;
}
.review-form {
  display: grid;
  gap: 13px;
  padding: 27px;
  border-radius: 10px;
  background: #d8f5f6;
}
.review-form h3 {
  margin: 0 0 3px;
  font-size: 20px;
  letter-spacing: -0.04em;
}
.review-form label {
  display: grid;
  gap: 6px;
  color: #40403d;
  font-size: 12px;
  font-weight: 800;
}
.review-form label small {
  color: var(--muted);
  font-weight: 500;
}
.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #afdfe1;
  border-radius: 6px;
  outline-color: var(--accent);
  background: white;
  font: inherit;
  font-weight: 500;
}
.review-form textarea {
  resize: vertical;
}
.review-form .form-success,
.review-form .form-error {
  margin: 0;
}

/* ===== Dokončení objednávky ===== */
.checkout-page {
  min-height: calc(100vh - 122px);
  padding-top: 34px;
  padding-bottom: 86px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 335px;
  gap: 32px;
  align-items: start;
}
.checkout-form {
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
}
.checkout-form h2 {
  margin: 0 0 17px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.checkout-form h2:not(:first-of-type) {
  margin-top: 34px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.form-grid label,
.note-field {
  display: grid;
  gap: 7px;
  color: #40403d;
  font-size: 12px;
  font-weight: 800;
}
.form-grid label.wide {
  grid-column: 1 / -1;
}
.form-grid small,
.note-field small {
  color: var(--muted);
  font-weight: 500;
}
.form-grid input,
.note-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline-color: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}
.note-field {
  margin-top: 20px;
}
.note-field textarea {
  resize: vertical;
}
.checkout-info {
  margin: 23px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  color: #50504c;
  font-size: 12px;
  line-height: 1.5;
}
.summary-item span {
  max-width: 185px;
}
.success-page {
  max-width: 710px;
  min-height: calc(100vh - 122px);
  padding-top: 105px;
  text-align: center;
}
.success-mark {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 33px;
  font-weight: 800;
}
.success-page h1 {
  margin: 10px 0 20px;
  font-size: 58px;
  letter-spacing: -0.07em;
}
.success-page p {
  max-width: 530px;
  margin: 10px auto;
  color: #50504c;
  font-size: 16px;
  line-height: 1.55;
}
.success-page .button {
  margin-top: 22px;
}

/* ===== Administrace ===== */
.admin-body {
  background: #ecece7;
}
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 29px 22px;
  background: var(--ink);
  color: white;
}
.admin-sidebar > p {
  margin: 12px 3px 32px;
  color: #999994;
  font-size: 12px;
}
.admin-sidebar nav {
  display: grid;
  gap: 5px;
}
.admin-sidebar nav a {
  padding: 11px 12px;
  border-radius: 6px;
  color: #c5c5c0;
  font-size: 13px;
  font-weight: 750;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  background: #2b2b29;
  color: var(--accent);
}
.admin-user {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding: 15px 11px 0;
  border-top: 1px solid #383835;
  font-size: 12px;
}
.admin-user a {
  color: #aaa9a5;
}
.admin-main {
  width: min(1220px, 100%);
  padding: 53px 55px 80px;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 31px;
}
.admin-heading h1 {
  margin: 8px 0 0;
  font-size: 39px;
  letter-spacing: -0.06em;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 27px;
}
.admin-stats article,
.admin-panel {
  border: 1px solid #d7d7d1;
  border-radius: 10px;
  background: white;
}
.admin-stats article {
  display: grid;
  gap: 8px;
  padding: 21px;
}
.admin-stats span,
.admin-stats a,
.panel-head > span {
  color: var(--muted);
  font-size: 12px;
}
.admin-stats strong {
  font-size: 33px;
  letter-spacing: -0.06em;
}
.admin-stats a {
  color: #007d84;
  font-weight: 800;
}
.admin-panel {
  padding: 25px;
  margin-bottom: 25px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.panel-head h2,
.admin-create h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.035em;
}
.admin-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.admin-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.8fr 0.8fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.admin-table-head {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.status {
  display: inline-flex;
  width: max-content;
  padding: 4px 7px;
  border-radius: 4px;
  background: #ecece8;
  font-size: 10px;
  font-weight: 800;
}
.status-new { background: #fff2c9; color: #866000; }
.status-approved, .status-completed { background: #d8f5f6; color: #00666c; }
.status-hidden, .status-cancelled { background: #efefed; color: #777773; }
.admin-create form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 20px;
}
.admin-create label,
.admin-product-row label,
.order-status-form label {
  display: grid;
  gap: 5px;
  color: #50504c;
  font-size: 11px;
  font-weight: 800;
}
.admin-create input,
.admin-create select,
.admin-product-row input,
.order-status-form select,
.admin-login input {
  width: 100%;
  min-height: 39px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
}
.admin-wide { grid-column: 1 / -1; }
.admin-create .button { width: max-content; }
.admin-products-list { display: grid; gap: 10px; }
.admin-product-row {
  display: grid;
  grid-template-columns: 0.65fr 1.7fr 0.65fr 0.55fr 0.6fr auto;
  gap: 10px;
  align-items: end;
  padding: 13px;
  border-radius: 7px;
  background: var(--paper);
}
.admin-product-row > div { padding-bottom: 8px; }
.admin-product-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.admin-product-row .toggle { display: flex; align-items: center; gap: 5px; padding-bottom: 10px; }
.admin-product-row .toggle input { width: auto; min-height: auto; }
.admin-product-row .button { padding: 11px 14px; }
.admin-reviews,
.admin-orders { display: grid; gap: 14px; }
.admin-review,
.admin-order {
  padding: 20px;
  border-radius: 8px;
  background: var(--paper);
}
.admin-review > div:first-child,
.admin-order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.admin-review > div:first-child > strong { margin-left: 9px; font-size: 13px; }
.admin-review p { margin: 12px 0 7px; font-size: 14px; line-height: 1.5; }
.admin-review small { color: var(--muted); font-size: 11px; }
.admin-review form { display: flex; gap: 9px; margin-top: 16px; }
.admin-review .button { padding: 9px 12px; }
.admin-text-button { border: 0; background: transparent; color: var(--muted); font-size: 12px; text-decoration: underline; }
.admin-order-top > div { display: grid; gap: 4px; }
.admin-order-top span { color: var(--muted); font-size: 11px; }
.admin-order-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 17px 0; }
.admin-order-details p { margin: 0; color: #555550; font-size: 12px; line-height: 1.55; }
.order-status-form { display: flex; align-items: end; gap: 11px; }
.order-status-form select { min-width: 150px; }
.order-status-form .button { padding: 11px 14px; }
.admin-login-body { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--ink); }
.admin-login { width: min(100%, 410px); padding: 39px; border-radius: 12px; background: white; }
.admin-login .brand { margin-bottom: 42px; }
.admin-login h1 { margin: 10px 0 25px; font-size: 39px; letter-spacing: -0.06em; }
.admin-login form { display: grid; gap: 15px; }
.admin-login label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; }
.admin-login .button { margin-top: 8px; width: 100%; }
/* ===== Tablet a menší obrazovky ===== */
@media (max-width: 900px) {
  .links {
    display: none;
  }
  .search {
    margin-left: auto;
  }
  .hero-art {
    opacity: 0.56;
    right: -190px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    z-index: 1;
  }
  .categories,
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner {
    grid-template-columns: 1fr;
  }
  .rack-showcase {
    grid-template-columns: 1fr;
  }
  .product-detail,
  .cart-layout,
  .checkout-layout,
  .product-information,
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  .product-detail {
    gap: 34px;
  }
  .product-information {
    gap: 34px;
  }
  .admin-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .admin-main {
    padding: 40px 30px 60px;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-product-row {
    grid-template-columns: 1fr 1fr;
  }
  .rack-art {
    height: 310px;
  }
  .banner-art {
    height: 230px;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .benefit {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .benefit:last-child {
    border-bottom: 0;
  }
}
/* ===== Mobilní rozložení ===== */
@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }
  .notice {
    font-size: 10px;
  }
  .nav {
    height: 67px;
    gap: 7px;
  }
  .brand {
    font-size: 20px;
  }
  .brand i {
    width: 19px;
    height: 19px;
  }
  .search {
    display: none;
  }
  .hero,
  .hero-inner {
    min-height: 485px;
  }
  .hero-art {
    right: -295px;
    transform: scale(0.82);
    transform-origin: bottom right;
  }
  .section {
    padding: 58px 0;
  }
  .section h2 {
    font-size: 31px;
  }
  .categories {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .cat {
    height: 138px;
    font-size: 14px;
  }
  .products {
    gap: 12px;
  }
  .product-media {
    height: 184px;
  }
  .smartphone {
    transform: scale(0.75);
  }
  .buds,
  .speaker,
  .controller {
    transform: scale(0.7);
  }
  .product h3 {
    font-size: 12px;
    min-height: 29px;
  }
  .price {
    font-size: 13px;
  }
  .old {
    display: none;
  }
  .banner-copy {
    padding: 34px 27px;
  }
  .rack-copy {
    padding: 34px 27px;
  }
  .rack-copy h3 {
    font-size: 35px;
  }
  .rack-art {
    height: 250px;
  }
  .rack-frame {
    transform: scale(0.75);
    transform-origin: bottom right;
    right: 15px;
    top: -4px;
  }
  .banner h2 {
    font-size: 35px;
  }
  .foot-links {
    gap: 28px;
  }
  .footer {
    display: block;
  }
  .footer p {
    margin-bottom: 28px;
  }
  .product-page,
  .cart-page,
  .checkout-page {
    padding-top: 24px;
    padding-bottom: 55px;
  }
  .product-detail-media {
    min-height: 310px;
  }
  .product-detail-media .product-object {
    transform: scale(1.05);
  }
  .product-detail-media .headphone-stand {
    transform: scale(0.92);
  }
  .add-to-cart {
    flex-wrap: wrap;
  }
  .cart-title {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  .cart-item {
    grid-template-columns: 70px 1fr 70px;
    gap: 11px;
    padding: 13px;
  }
  .cart-thumb {
    height: 70px;
  }
  .cart-item strong {
    grid-column: 2 / 4;
    text-align: left;
  }
  .empty-cart {
    padding: 38px 20px;
  }
  .checkout-form {
    padding: 22px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .success-page {
    min-height: calc(100vh - 100px);
    padding-top: 65px;
  }
  .success-page h1 {
    font-size: 46px;
  }
  .admin-shell {
    display: block;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    padding: 20px 18px;
  }
  .admin-sidebar > p,
  .admin-user {
    display: none;
  }
  .admin-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
  }
  .admin-main {
    padding: 32px 18px 50px;
  }
  .admin-heading {
    align-items: start;
    flex-direction: column;
  }
  .admin-heading h1 {
    font-size: 33px;
  }
  .admin-stats {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .admin-stats article,
  .admin-panel {
    padding: 17px;
  }
  .admin-stats strong {
    font-size: 27px;
  }
  .admin-row {
    grid-template-columns: 1fr 1fr;
  }
  .admin-table-head {
    display: none;
  }
  .admin-product-row,
  .admin-create form,
  .admin-order-details {
    grid-template-columns: 1fr;
  }
  .admin-order-details {
    gap: 9px;
  }
  .order-status-form {
    align-items: stretch;
    flex-direction: column;
  }
  .order-status-form .button {
    width: max-content;
  }
  .product-information,
  .reviews-section {
    margin-top: 58px;
    padding-top: 48px;
  }
  .reviews-heading {
    align-items: start;
    gap: 15px;
    flex-direction: column;
  }
  .review-average {
    text-align: left;
  }
  .specifications,
  .review-form {
    padding: 21px 18px;
  }
}
