:root {
  --red: #0066cc;
  --red-2: #0052a3;
  --green: #19a45b;
  --dark: #141414;
  --text: #1c1c1c;
  --muted: #6a6a6a;
  --bg: #f6f7f9;
  --line: #e7e7ea;
  --card: #ffffff;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  --radius: 10px;
  --radius-sm: 8px;
  --container: 1400px;
  --mobile-gutter: 16px;
  --touch-min: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Roboto Condensed", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
}

body.no-scroll {
  overflow: hidden;
}

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

/* Top bar (copied from existing page styles) */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}
.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
}
.topbar__center {
  color: #111;
  font-weight: 700;
  text-align: center;
}
.topbar__link {
  color: #3a3a3a;
}
.topbar__link:hover {
  color: #000;
  text-decoration: underline;
}
.topbar__dot {
  opacity: 0.55;
}

/* Masthead + nav (copied from existing page styles) */
.masthead {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 60;
}
.masthead.is-scrolled {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.masthead__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 16px 0;
}
.masthead__burger {
  display: none;
}
.icon-btn {
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}
.icon-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}
.burger {
  width: 22px;
  height: 16px;
  position: relative;
  display: inline-block;
}
.burger::before,
.burger::after,
.burger span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #111;
  border-radius: 2px;
}
.burger::before {
  top: 0;
}
.burger span {
  top: 7px;
}
.burger::after {
  bottom: 0;
}

.brand {
  display: grid;
  line-height: 1;
  user-select: none;
}
.brand__logo-img {
  display: block;
  height: auto;
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.masthead__mid {
  display: flex;
  justify-content: center;
  gap: 26px;
  align-items: center;
}
.contact {
  display: grid;
  grid-template-columns: 44px auto;
  gap: 10px;
  align-items: center;
  min-width: 240px;
}
.contact__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
}
.contact__icon svg {
  width: 22px;
  height: 22px;
  fill: #111;
  opacity: 0.9;
}
.contact__label {
  font-size: 12px;
  letter-spacing: 0.3px;
  color: #4a4a4a;
  font-weight: 700;
}
.contact__value {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: #111;
  line-height: 1.05;
}

.masthead__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.location {
  display: grid;
  grid-template-columns: 44px auto;
  gap: 10px;
  align-items: center;
}
.location__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
}
.location__icon svg {
  width: 22px;
  height: 22px;
  fill: #111;
  opacity: 0.9;
}
.location__text {
  display: grid;
  gap: 2px;
}
.location__label {
  font-size: 12px;
  letter-spacing: 0.2px;
  font-weight: 800;
  color: #333;
  line-height: 1.1;
}

.headIcons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.headIcon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  background: #fff;
}
.headIcon:hover {
  background: rgba(0, 0, 0, 0.04);
}
.headIcon svg {
  width: 22px;
  height: 22px;
  fill: #111;
}
.headIcon__badge {
  position: absolute;
  top: -7px;
  right: -7px;
  height: 20px;
  min-width: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
}

.navline {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.navline__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 14px;
}
.primary {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.primary__link {
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 15px;
  color: #111;
}
.primary__link:hover {
  color: var(--red);
}
.stock {
  font-size: 14px;
  color: #444;
  white-space: nowrap;
}
.stock__sep {
  opacity: 0.5;
  margin: 0 6px;
}

/* Mobile nav (overlay + drawer) from index.html – use styles.css */

/* Footer (copied from existing page styles) */
.footer {
  background: #0f0f10;
  color: #fff;
}
.footer__nav-wrap {
  padding: 28px 0;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
}
.footer__link {
  color: #cfcfd3;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.footer__link:hover {
  color: #fff;
  text-decoration: underline;
}
.footer a {
  color: #cfcfd3;
}
.footer a:hover {
  color: #fff;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__bottomInner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}
.footer__brand {
  font-weight: 900;
  letter-spacing: 0.8px;
}

/* To top (copied from existing page styles) */
.toTop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  height: 44px;
  width: 44px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 900;
  z-index: 65;
}
.toTop:hover {
  transform: translateY(-1px);
}

/* Breadcrumbs (copied from catalog pages) */
.pdp__crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 0 8px;
}
.crumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
.crumb:hover {
  background: rgba(0, 0, 0, 0.03);
}
.crumb__home {
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
}
.crumbText {
  font-weight: 700;
  color: #111;
}
.crumbText:hover {
  color: var(--red);
}
.crumb__sep {
  opacity: 0.7;
}
.crumb__current {
  font-weight: 700;
  color: #111;
}

/* Product page layout (new, dedicated to this page) */
.pdp {
  padding: 8px 0 44px;
  background: var(--bg);
}
.pdp__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: start;
}
.pdp__gallery {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
}
.pdp__thumbs {
  display: grid;
  gap: 10px;
  align-content: start;
}
.pdpThumb {
  height: 62px;
  width: 62px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f1f2f5;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}
.pdpThumb.is-active {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.pdpThumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.pdp__hero {
  display: grid;
  place-items: center;
  min-height: 420px;
}
.pdpImg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid #d5d7dd;
}
.pdp__info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 20px;
}
.pdp__ribbons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.tag--red {
  background: #ffe6e6;
  color: #7b1111;
}
.tag--mint {
  background: #d8f5e5;
  color: #0f5e3e;
}
.tag--violet {
  background: #e8e2ff;
  color: #3a1c7a;
}
.tag--orange {
  background: #ffc59b;
  color: #7b2c00;
}
.tag--blue {
  background: #c7e0ff;
  color: #0a3d7a;
}

.pdp__title {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: 0.2px;
  line-height: 1.18;
}
.pdp__cena {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0 18px;
  flex-wrap: wrap;
}
.pdp__cenaLabel {
  font-weight: 900;
  font-size: 18px;
  color: #111;
}
.pdp__cenaAmount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
}
.pdp__cenaSep {
  color: #999;
  font-weight: 700;
}

.pdp__buyRow {
  padding: 14px 0;
}

.pdp__add-cart {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

.pdp__add-cart .qty {
  justify-self: start;
}

.qty {
  display: grid;
  grid-template-columns: 40px 64px 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.qty__btn {
  border: 0;
  background: #f3f4f6;
  font-weight: 900;
  cursor: pointer;
  font-size: 18px;
}
.qty__btn:hover {
  background: #e9ebef;
}
.qty__input {
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 900;
  color: #111;
  padding: 10px 6px;
  outline: none;
}
.btnBuy {
  border: 0;
  width: 100%;
  min-height: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(25, 164, 91, 0.25);
  transition: filter 0.2s ease, transform 0.15s ease;
}
.btnBuy:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}
.pdp__spec {
  margin-top: 14px;
}
.specList {
  margin: 0;
  padding-left: 18px;
  color: #111;
}
.specList li {
  margin: 6px 0;
  line-height: 1.5;
}

/* More products section (reuses existing .card components) */
.section {
  padding: 18px 0 28px;
  background: #fff;
}
.section--more {
  padding-top: 8px;
}
.h2 {
  font-size: 32px;
  text-align: center;
  letter-spacing: 0.4px;
  margin: 18px 0 18px;
}
.products {
  display: grid;
  gap: 22px;
  align-items: stretch;
}
.products--more {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  position: relative;
  display: grid;
  grid-template-rows: auto 220px auto auto 60px auto auto auto;
  width: 100%;
  min-width: 0;
  height: 500px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

/* Full-card link: clicking anywhere on the card (except actions) opens the product page */
.card__link {
  position: absolute;
  inset: 0;
  z-index: 0;
  text-indent: -9999px;
  overflow: hidden;
}

.card__ribbons,
.card__image,
.card__brand,
.card__title,
.card__msrp,
.card__price {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.card__actions {
  position: relative;
  z-index: 2;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 102, 204, 0.035);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, background 180ms ease;
}
.card:hover {
  border-color: rgba(0, 102, 204, 0.55);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}
.card:hover::after {
  opacity: 1;
}
.card:active {
  border-color: rgba(0, 82, 163, 0.75);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}
.card:active::after {
  opacity: 1;
  background: rgba(0, 102, 204, 0.08);
}
.card__ribbons {
  padding: 10px 10px 0;
  display: grid;
  gap: 6px;
}
.ribbon {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.2px;
  color: #1c1c1c;
}
.ribbon--red {
  background: var(--red, #c0392b);
  color: #fff;
}
.ribbon--mint {
  background: #b9f0d6;
  color: #0b5c3a;
}
.ribbon--violet {
  background: #d8c7ff;
  color: #3c1f7a;
}
.ribbon--orange {
  background: #ffc59b;
  color: #7b2c00;
}
.ribbon--blue {
  background: #c7e0ff;
  color: #0a3d7a;
}

.card__image {
  padding: 10px 12px 0;
  display: grid;
  place-items: center;
  min-height: 210px;
  overflow: hidden;
}
.card__image img {
  display: block;
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}
.card__image img.card__img--wide {
  max-height: 170px;
}
.card__image,
.card__image img {
  isolation: isolate;
}
.product-img {
  width: 100%;
  height: 102px;
  border-radius: 14px;
  background: radial-gradient(180px 70px at 18% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.18)),
    linear-gradient(135deg, #f1f2f5, #dfe2e8);
  border: 1px solid #d5d7dd;
  position: relative;
}
.product-img::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 38px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
}
.product-img--alt {
  background: radial-gradient(180px 70px at 18% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.12)),
    linear-gradient(135deg, #f4f6fa, #d7deec);
}
.product-img--wide {
  height: 86px;
}

.card__brand {
  text-align: center;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.card__title {
  font-size: 15px;
  padding: 0 12px;
  margin: 0;
  color: #1c1c1c;
  line-height: 1.25;
  height: 3.75em;
  min-height: 54px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.card__msrp {
  padding: 10px 12px 0;
  color: #8b8b8b;
  font-size: 12px;
}
.card__price {
  padding: 8px 12px 0;
  font-size: 24px;
  color: var(--red);
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}
.card__price span {
  font-size: 20px;
  color: var(--red);
  font-weight: 800;
}
.card__actions {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.buy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px 0 10px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  background: #12a857;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.4px;
}
.buy:hover {
  filter: brightness(0.98);
}
.buy__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
}
.buy__icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
/* Responsive */
@media (max-width: 980px) {
  .pdp__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pdp__gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pdp__thumbs {
    grid-auto-flow: column;
    grid-template-columns: repeat(3, 1fr);
    justify-content: start;
    gap: 8px;
  }
  .pdpThumb {
    width: 100%;
  }
  .products--more {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 920px) {
  .topbar__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .topbar__left,
  .topbar__right {
    justify-content: center;
    flex-wrap: wrap;
  }
  .masthead__inner {
    grid-template-columns: auto 1fr auto;
  }
  .masthead__mid {
    justify-content: flex-start;
    gap: 18px;
  }
  .contact {
    min-width: 0;
  }
  .contact__value {
    font-size: 20px;
  }
  .primary {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - var(--mobile-gutter) * 2);
    max-width: 100%;
  }
  .topbar__inner { padding: 10px 0; }
  .topbar__center { font-size: 13px; }
  .masthead__inner { padding: 12px 0; gap: 12px; }
  .masthead__burger {
    display: inline-grid;
    min-width: var(--touch-min);
    min-height: var(--touch-min);
  }
  .masthead__mid { display: none; }
  .brand__logo-img { max-height: 42px; }
  .headIcon {
    min-width: var(--touch-min);
    min-height: var(--touch-min);
  }
  .navline__inner { padding: 8px 0; flex-wrap: wrap; justify-content: center; }
  .stock { font-size: 13px; white-space: normal; }
  .location { display: none; }
  .pdp__crumbs {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
  }
  .pdp__grid { gap: 14px; }
  .pdp__info { padding: 16px; }
  .pdp__title { font-size: 24px; margin-bottom: 8px; }
  .pdp__nowEuro { font-size: 28px; }
  .pdp__nowBgn { font-size: 18px; }
  .pdp__buyRow {
    padding: 12px 0;
  }
  .pdp__add-cart {
    gap: 14px;
  }
  .pdp__buyRow .btn,
  .pdp__buyRow .btnBuy,
  .pdp__buyRow .buy {
    min-height: var(--touch-min);
    width: 100%;
    justify-content: center;
  }
  .products--more {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card {
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto auto auto auto auto auto auto;
  }
  .card__title { font-size: 14px; padding: 0 10px; -webkit-line-clamp: 3; }
  .card__price { font-size: 20px; }
  .card__actions { padding: 10px; }
  .buy { min-height: var(--touch-min); flex: 1; }
  .footer__nav-wrap { padding: 22px 0; }
  .footer__nav { gap: 8px 18px; }
  .footer__link { font-size: 14px; }
  .footer__bottomInner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .toTop {
    right: calc(18px + env(safe-area-inset-right, 0));
    bottom: calc(18px + env(safe-area-inset-bottom, 0));
    min-width: var(--touch-min);
    min-height: var(--touch-min);
  }
}

@media (max-width: 440px) {
  .container { width: calc(100% - 20px); }
  .brand__logo-img { max-height: 38px; }
  .footer__nav-wrap { padding: 18px 0; }
  .footer__link { font-size: 13px; }
  .pdp__info { padding: 14px; }
  .pdp__title {
    font-size: 20px;
    line-height: 1.25;
  }
  .pdp__nowEuro {
    font-size: 26px;
  }
  .pdp__nowBgn { font-size: 16px; }
  .pdp__ribbons { gap: 6px; }
  .pdp__buyRow .btn,
  .pdp__buyRow .btnBuy,
  .pdp__buyRow .buy {
    font-size: 14px;
  }
  .products--more {
    grid-template-columns: 1fr;
  }
  .card__title { font-size: 13px; }
  .card__price { font-size: 18px; }
}

