* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding-top: 74px;

  font-family:
    system-ui,
    -apple-system,
    sans-serif;

  background: #fffaf7;
  color: #382a28;
}


/* =========================================================
   MODAL ALATTI OLDAL BLOKKOLÁSA
========================================================= */

body.product-modal-open,
body.cart-modal-open {
  overflow: hidden;
}


/* =========================================================
   FEJLÉC
========================================================= */

.top {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 999;

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

  height: 74px;
  min-height: 74px;

  padding: 5px 20px;

  background: #fff;

  border-bottom: 1px solid #eaded9;
}


.brand-wrap {
  display: flex;
  align-items: center;

  gap: 14px;

  min-width: 0;
}


.site-logo {
  width: 64px;
  height: 64px;

  flex: 0 0 64px;

  object-fit: contain;

  border-radius: 14px;
}


.brand-wrap > div {
  min-width: 0;
}


.top h1 {
  margin: 0;

  font-size: 1.5rem;
  line-height: 1.2;

  white-space: nowrap;
}


.top p {
  margin: 3px 0 0;

  color: #765f59;

  line-height: 1.3;

  white-space: nowrap;
}


/* =========================================================
   FEJLÉC JOBB OLDALA
========================================================= */

.header-actions {
  display: flex;
  align-items: center;

  gap: 8px;

  flex: 0 0 auto;
}


.social-links {
  display: flex;
  align-items: center;

  gap: 6px;
}


.social-link {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  padding: 0;

  overflow: hidden;

  border-radius: 50%;

  text-decoration: none;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease;
}


.social-link img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}


.social-link:hover {
  transform: scale(1.08);

  opacity: 0.85;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   KOSÁR GOMB
========================================================= */

#cartBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 4px;

  height: 42px;

  padding: 0 10px;

  border: 0;
  border-radius: 12px;

  background: #6b4b45;
  color: #fff;

  cursor: pointer;

  white-space: nowrap;

  font: inherit;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease;
}


#cartBtn:hover {
  transform: scale(1.06);

  opacity: 0.9;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.18);
}


#cartBtn:active {
  transform: scale(0.98);
}


#count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  min-width: 20px;
  height: 20px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.2);

  color: #fff;

  font-size: 12px;
  font-weight: 700;
}


/* =========================================================
   ÁLTALÁNOS GOMBOK
========================================================= */

button {
  border: 0;

  border-radius: 12px;

  padding: 11px 16px;

  background: #6b4b45;
  color: #fff;

  cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  width: calc(100% - 40px);
  max-width: 1550px;

  margin: 24px auto;

  padding: 30px;

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

  gap: 28px;

  border-radius: 22px;

  background: #f3e5de;
}


.hero img {
  width: 180px;
  height: 180px;

  flex-shrink: 0;

  object-fit: cover;

  border-radius: 18px;
}


.hero-text {
  text-align: center;
}


.hero h2 {
  margin: 0 0 8px;

  font-size: 2rem;
}


.hero p {
  margin: 0;
}


/* =========================================================
   FŐTARTALOM
========================================================= */

main {
  width: 100%;
  max-width: 1550px;

  margin: auto;

  padding: 0 20px 50px;
}


/* =========================================================
   TERMÉKEK
========================================================= */

.grid {
  display: grid;

  grid-template-columns:
    repeat(5, 285px);

  gap: 20px;

  justify-content: center;

  align-items: start;
}


/* =========================================================
   TERMÉKKÁRTYA
========================================================= */

.product {
  width: 285px;
  min-width: 285px;
  max-width: 285px;

  padding: 14px;

  display: flex;
  flex-direction: column;

  background: #fff;

  border: 1px solid #eaded9;

  border-radius: 18px;

  box-shadow:
    0 4px 18px #0000000b;

  cursor: pointer;

  overflow: hidden;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.product:hover {
  transform: translateY(-4px);

  box-shadow:
    0 8px 25px #00000012;
}


/* =========================================================
   FŐOLDALI TERMÉKKÉP

   2:3 álló arány
   CONTAIN
   LEKEREKÍTETT
========================================================= */

.product-img {
  display: block;

  width: 100%;

  height: auto;

  aspect-ratio: 2 / 3;

  flex: 0 0 auto;

  margin: 0 0 10px;

  padding: 0;

  background: #fff;

  border-radius: 14px;

  overflow: hidden;

  object-fit: contain;
}


/* =========================================================
   TERMÉKNÉV PC
========================================================= */

.product h3 {
  width: 100%;
  min-width: 0;

  min-height: 27px;
  height: 27px;

  margin: 0 0 5px;

  padding: 0 2px;

  overflow: hidden;

  white-space: nowrap;

  text-overflow: ellipsis;

  font-size: 1.10rem;

  line-height: 27px;

  text-align: center;
}


/* =========================================================
   TERMÉK ÁR PC
========================================================= */

.product p {
  width: 100%;
  min-width: 0;

  height: 30px;
  min-height: 30px;

  margin: 0 0 8px;

  padding: 0 2px;

  overflow: hidden;

  white-space: nowrap;

  text-overflow: ellipsis;

  font-size: 1.25rem;
  font-weight: 700;

  line-height: 30px;

  text-align: center;
}


/* =========================================================
   KOSÁRBA GOMB
========================================================= */

.product button {
  display: block;

  width: 100%;
  min-width: 0;

  height: 42px;
  min-height: 42px;

  margin: 0;

  padding: 8px 10px;

  overflow: hidden;

  white-space: nowrap;

  text-overflow: ellipsis;
}


/* =========================================================
   TERMÉK GALÉRIA OVERLAY
========================================================= */

.product-detail {
  position: fixed;

  top: 74px;
  right: 0;
  bottom: 0;
  left: 0;

  z-index: 1500;

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

  padding: 18px;

  overflow: hidden;

  background:
    rgba(0, 0, 0, 0.58);

  overscroll-behavior: contain;
}


.product-detail.hidden {
  display: none;
}


.product-detail-window {
  width: min(1100px, 100%);

  height: 100%;

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

  padding: 20px;

  background: #fffaf7;

  border-radius: 18px;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.25);

  overscroll-behavior: contain;

  -webkit-overflow-scrolling: touch;
}


/* =========================================================
   VISSZA GOMB
========================================================= */

.back-button {
  display: block;

  margin-bottom: 18px;
  margin-left: auto;

  background: #f3e5de;

  color: #382a28;
}


/* =========================================================
   TERMÉK RÉSZLETEK
========================================================= */

.product-detail-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(300px, 0.9fr);

  gap: 40px;

  align-items: start;
}


/* =========================================================
   GALÉRIA
========================================================= */

.main-image-wrap {
  position: relative;

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


.detail-main-image {
  display: block;

  width: 100%;
  height: auto;

  max-height: 500px;

  object-fit: contain;

  border-radius: 18px;

  background: transparent;
}


.image-zoom-button {
  position: absolute;

  top: 12px;
  left: 12px;

  z-index: 3;

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

  width: 46px;
  height: 46px;

  padding: 0;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.92);

  color: #382a28;

  font-size: 21px;

  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.20);
}


.image-zoom-button:hover {
  transform: scale(1.08);

  background: #fff;
}


/* =========================================================
   GALÉRIA NYILAK
========================================================= */

.gallery-arrow {
  position: absolute;

  z-index: 2;

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

  width: 44px;
  height: 44px;

  padding: 0;

  border-radius: 50%;

  background:
    rgba(107, 75, 69, 0.9);

  color: #fff;

  font-size: 32px;
}


.gallery-prev {
  left: 14px;
}


.gallery-next {
  right: 14px;
}


/* =========================================================
   BÉLYEGKÉPEK
========================================================= */

.gallery {
  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 10px;

  margin-top: 12px;

  padding: 4px 2px 10px;

  width: 100%;
}


.gallery-thumb {
  width: 100%;

  aspect-ratio: 1 / 1;

  min-width: 0;

  padding: 3px;

  background: #fff;

  border: 2px solid transparent;

  border-radius: 10px;

  cursor: pointer;

  overflow: hidden;
}


.gallery-thumb.active {
  border-color: #6b4b45;
}


.gallery-thumb img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 7px;
}


/* =========================================================
   TERMÉK INFORMÁCIÓ
========================================================= */

.product-info h2 {
  margin-top: 0;

  font-size: 2rem;
}


.detail-price {
  margin: 12px 0 22px;

  font-size: 1.5rem;

  font-weight: 700;
}


.detail-description {
  margin-bottom: 25px;

  color: #5e4b46;

  line-height: 1.7;
}


.product-specs {
  margin-bottom: 24px;

  border-top: 1px solid #eaded9;

  border-bottom: 1px solid #eaded9;
}


.product-specs > div {
  display: grid;

  grid-template-columns:
    110px 1fr;

  gap: 15px;

  padding: 12px 0;

  border-bottom: 1px solid #eee;
}


.product-specs > div:last-child {
  border-bottom: 0;
}


.product-specs strong {
  color: #6b4b45;
}


.detail-cart-button {
  width: 100%;

  padding: 14px;

  font-size: 1rem;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.image-lightbox {
  position: fixed;

  inset: 0;

  z-index: 2000;

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

  padding: 30px;

  background:
    rgba(0, 0, 0, 0.88);
}


.image-lightbox.hidden {
  display: none;
}


.image-lightbox img {
  width: auto;
  height: auto;

  max-width: 95vw;
  max-height: 92vh;

  object-fit: contain;

  border-radius: 8px;
}


.lightbox-close {
  position: fixed;

  top: 18px;
  right: 22px;

  z-index: 2001;

  width: 48px;
  height: 48px;

  padding: 0;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.9);

  color: #382a28;

  font-size: 32px;

  line-height: 1;
}


/* =========================================================
   KOSÁR OVERLAY
========================================================= */

.cart-overlay {
  position: fixed;

  top: 74px;
  right: 0;
  bottom: 0;
  left: 0;

  z-index: 1500;

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

  padding: 18px;

  overflow: hidden;

  background:
    rgba(0, 0, 0, 0.58);

  overscroll-behavior: contain;
}


.cart-overlay.hidden {
  display: none;
}


/* =========================================================
   KOSÁR ABLAK
========================================================= */

.cart-panel {
  position: relative;

  width: min(1100px, 100%);

  height: 100%;

  overflow: hidden;

  background: #fffaf7;

  border-radius: 18px;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.25);

  overscroll-behavior: contain;
}


.cart-panel-content {
  width: 100%;
  height: 100%;

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

  padding: 20px;

  overscroll-behavior: contain;

  -webkit-overflow-scrolling: touch;
}


.cart-panel h2 {
  margin-top: 0;

  padding-right: 55px;

  font-size: 2rem;
}


/* =========================================================
   KOSÁR BEZÁRÓ GOMB
========================================================= */

.cart-close {
  position: absolute;

  top: 18px;
  right: 18px;

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

  width: 48px;
  height: 48px;

  padding: 0;

  border-radius: 50%;

  background: #f3e5de;

  color: #382a28;

  font-size: 30px;

  line-height: 1;

  z-index: 5;
}


.cart-close:hover {
  background: #ead8d0;

  transform: scale(1.05);
}


/* =========================================================
   KOSÁR TARTALOM
========================================================= */

.cart-row {
  display: flex;
  justify-content: space-between;

  gap: 10px;

  padding: 8px 0;

  border-bottom: 1px solid #eee;
}


.cart-right {
  display: flex;
  align-items: center;

  gap: 8px;

  white-space: nowrap;
}


.cart-grand-total {
  font-weight: 700;

  border-top: 2px solid #eee;

  margin-top: 6px;

  padding-top: 10px;
}


button.mini {
  padding: 2px 10px;

  border-radius: 8px;

  font-size: 1rem;

  line-height: 1.4;
}


input,
textarea,
select {
  width: 100%;

  padding: 11px;

  margin: 6px 0;

  border: 1px solid #d9cbc5;

  border-radius: 10px;

  font: inherit;
}


textarea {
  min-height: 80px;
}


#status {
  margin-top: 12px;
}


.payinfo {
  margin: 12px 0;

  padding: 12px;

  border: 1px dashed #d9cbc5;

  border-radius: 10px;

  background: #fdfaf8;

  font-size: 14px;

  line-height: 1.5;
}


.payinfo p {
  margin: 6px 0;
}


/* =========================================================
   KOSÁRBA HELYEZÉS ÜZENET
========================================================= */

.cart-success {
  position: fixed;

  top: 86px;
  left: 50%;

  z-index: 2500;

  transform:
    translateX(-50%)
    translateY(-15px);

  padding: 13px 22px;

  background: #6b4b45;

  color: #fff;

  border-radius: 12px;

  font-size: 15px;
  font-weight: 600;

  box-shadow:
    0 6px 25px rgba(0, 0, 0, 0.18);

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}


.cart-success.show {
  opacity: 1;

  transform:
    translateX(-50%)
    translateY(0);
}


/* =========================================================
   CAPTCHA
========================================================= */

.captcha-box {
  margin: 18px 0;

  padding: 14px;

  border: 1px solid #ddd;

  border-radius: 10px;

  background: #fafafa;
}


.captcha-box label {
  display: block;

  margin-bottom: 8px;

  font-weight: 600;
}


.captcha-error {
  min-height: 20px;

  margin: 6px 0 0;

  color: #c62828;

  font-size: 14px;
}


/* =========================================================
   LÁBLÉC
========================================================= */

footer {
  margin-top: 40px;

  padding: 20px 10px;

  background: #f8f9fa;

  color: #333;

  border-top: 1px solid #e0e0e0;

  text-align: center;

  font-size: 14px;

  line-height: 1.6;
}


footer p {
  margin: 5px 0;
}


footer a {
  color: #007bff;

  text-decoration: none;

  font-weight: bold;
}


footer a:hover {
  text-decoration: underline;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1500px) and (min-width: 751px) {

  main {
    padding-left: 15px;
    padding-right: 15px;
  }


  .grid {
    grid-template-columns:
      repeat(4, 285px);
  }
}


@media (max-width: 1250px) and (min-width: 751px) {

  .grid {
    grid-template-columns:
      repeat(3, 285px);
  }
}


/* =========================================================
   MOBIL
   1 TERMÉK / SOR
========================================================= */

@media (max-width: 750px) {

  body {
    padding-top: 56px;
  }


  .top {
    height: 56px;
    min-height: 56px;

    padding: 5px 10px;

    gap: 6px;
  }


  .brand-wrap {
    gap: 7px;

    flex: 1 1 auto;

    min-width: 0;
  }


  .site-logo {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;
  }


  .top h1 {
    font-size: 1rem;

    line-height: 1.1;
  }


  .top p {
    margin-top: 2px;

    font-size: 0.68rem;

    line-height: 1.1;
  }


  .header-actions {
    gap: 4px;
  }


  .social-links {
    gap: 3px;
  }


  .social-link {
    width: 34px;
    height: 34px;
  }


  #cartBtn {
    height: 34px;

    padding: 0 6px;

    gap: 2px;

    border-radius: 9px;

    font-size: 12px;
  }


  #count {
    width: 18px;
    min-width: 18px;
    height: 18px;

    font-size: 10px;
  }


  /* =======================================================
     HERO
  ======================================================= */

  .hero {
    width: calc(100% - 20px);

    margin: 16px auto;

    padding: 20px;

    gap: 15px;

    flex-direction: row;
  }


  .hero img {
    width: 100px;
    height: 100px;
  }


  .hero h2 {
    font-size: 1.5rem;
  }


  .hero p {
    font-size: 0.9rem;
  }


  /* =======================================================
     FŐTARTALOM
  ======================================================= */

  main {
    width: 100%;

    padding:
      0 10px 50px;

    overflow-x: hidden;
  }


  /* =======================================================
     1 KÁRTYA / SOR
  ======================================================= */

  .grid {
    display: grid;

    grid-template-columns: 1fr;

    width: 100%;

    gap: 16px;

    justify-items: center;
  }


  /* =======================================================
     MOBIL KÁRTYA
  ======================================================= */

  .product {
    width: min(285px, calc(100vw - 20px));

    max-width: 285px;

    min-width: 0;

    padding: 10px;

    display: flex;
    flex-direction: column;

    background: #fff;

    border: 1px solid #eaded9;

    border-radius: 18px;

    overflow: hidden;
  }


  /* =======================================================
     MOBIL TERMÉKKÉP
     
     PONTOSAN 2:3
     CONTAIN
     LEKEREKÍTETT
  ======================================================= */

  .product-img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 2 / 3;

    flex: 0 0 auto;

    margin: 0 0 6px;

    padding: 0;

    background: #fff;

    border-radius: 14px;

    overflow: hidden;

    object-fit: contain;
  }


  /* =======================================================
     MOBIL TERMÉKNÉV

     CSAK 1 SOR!
     NINCS 44 PX-ES ÜRES HELY.
  ======================================================= */

  .product h3 {
    width: 100%;
    max-width: 100%;

    min-width: 0;

    height: 22px;
    min-height: 22px;
    max-height: 22px;

    flex: 0 0 22px;

    margin: 0 0 4px;

    padding: 0 2px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 0.95rem;

    line-height: 22px;

    text-align: center;
  }


  /* =======================================================
     MOBIL ÁR
  ======================================================= */

  .product p {
    width: 100%;
    max-width: 100%;

    min-width: 0;

    height: 30px;
    min-height: 30px;

    flex: 0 0 30px;

    margin: 0 0 8px;

    padding: 0 2px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 1.1rem;

    font-weight: 700;

    line-height: 30px;

    text-align: center;
  }


  /* =======================================================
     MOBIL KOSÁRBA GOMB
  ======================================================= */

  .product button {
    display: block;

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

    height: 42px;
    min-height: 42px;

    flex: 0 0 42px;

    margin: 0;

    padding: 8px 10px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
  }


  /* =======================================================
     TERMÉK RÉSZLETEK
  ======================================================= */

  .product-detail {
    top: 56px;

    padding: 10px;
  }


  .product-detail-window {
    padding: 14px;

    border-radius: 14px;
  }


  .product-detail-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }


  .detail-main-image {
    max-height: 400px;
  }


  .image-zoom-button {
    top: 10px;
    left: 10px;

    width: 42px;
    height: 42px;

    font-size: 19px;
  }


  .product-info h2 {
    font-size: 1.6rem;
  }


  .gallery {
    grid-template-columns:
      repeat(5, minmax(0, 1fr));

    gap: 6px;
  }


  /* =======================================================
     KOSÁR
  ======================================================= */

  .cart-overlay {
    top: 56px;

    padding: 10px;
  }


  .cart-panel {
    border-radius: 14px;
  }


  .cart-panel-content {
    padding: 14px;
  }


  .cart-panel h2 {
    font-size: 1.6rem;
  }


  .cart-close {
    top: 12px;
    right: 12px;

    width: 42px;
    height: 42px;

    font-size: 26px;
  }


  .cart-success {
    top: 68px;

    width: calc(100% - 30px);

    padding: 12px 16px;

    text-align: center;
  }
}


/* =========================================================
   KISEBB TELEFON
========================================================= */

@media (max-width: 600px) {

  .top p {
    display: none;
  }


  .product {
    width: calc(100vw - 20px);

    max-width: 285px;

    padding: 10px;

    background: #fff;

    border: 1px solid #eaded9;

    border-radius: 18px;

    overflow: hidden;
  }


  /* =======================================================
     KÉP
  ======================================================= */

  .product-img {
    width: 100%;

    height: auto;

    aspect-ratio: 2 / 3;

    flex: 0 0 auto;

    margin: 0 0 6px;

    padding: 0;

    background: #fff;

    border-radius: 14px;

    overflow: hidden;

    object-fit: contain;
  }


  /* =======================================================
     NÉV - 1 SOR
  ======================================================= */

  .product h3 {
    width: 100%;

    height: 22px;
    min-height: 22px;
    max-height: 22px;

    flex-basis: 22px;

    margin: 0 0 4px;

    padding: 0 2px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 0.92rem;

    line-height: 22px;

    text-align: center;
  }


  /* =======================================================
     ÁR
  ======================================================= */

  .product p {
    width: 100%;

    height: 30px;
    min-height: 30px;

    flex-basis: 30px;

    margin: 0 0 8px;

    padding: 0 2px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 1.08rem;

    line-height: 30px;

    text-align: center;
  }


  /* =======================================================
     GOMB
  ======================================================= */

  .product button {
    width: 100%;

    height: 42px;
    min-height: 42px;

    flex-basis: 42px;

    padding: 8px;

    font-size: 0.9rem;
  }


  .product-detail {
    padding: 7px;
  }


  .product-detail-window {
    padding: 12px;

    border-radius: 14px;
  }


  .cart-overlay {
    padding: 7px;
  }


  .cart-panel {
    border-radius: 14px;
  }


  .cart-panel-content {
    padding: 12px;
  }


  .gallery {
    gap: 5px;
  }


  .image-lightbox {
    padding: 15px;
  }


  .image-lightbox img {
    max-width: 100vw;

    max-height: 90vh;
  }


  .cart-row {
    align-items: flex-start;

    flex-wrap: wrap;
  }


  .cart-right {
    margin-left: auto;
  }
}


/* =========================================================
   NAGYON KESKENY TELEFON
========================================================= */

@media (max-width: 400px) {

  body {
    padding-top: 48px;
  }


  .top {
    height: 48px;
    min-height: 48px;

    padding-left: 7px;
    padding-right: 7px;

    gap: 3px;
  }


  .brand-wrap {
    gap: 5px;
  }


  .site-logo {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }


  .top h1 {
    font-size: 0.82rem;

    line-height: 1;
  }


  .top p {
    display: none;
  }


  .header-actions {
    gap: 3px;
  }


  .social-links {
    gap: 2px;
  }


  .social-link {
    width: 30px;
    height: 30px;

    flex-basis: 30px;
  }


  #cartBtn {
    height: 30px;

    padding: 0 5px;

    gap: 2px;

    border-radius: 8px;

    font-size: 10px;
  }


  #count {
    width: 16px;
    min-width: 16px;
    height: 16px;

    font-size: 9px;
  }


  /* =======================================================
     KÁRTYA
  ======================================================= */

  .product {
    width: calc(100vw - 20px);

    max-width: 285px;

    padding: 8px;

    background: #fff;

    border: 1px solid #eaded9;

    border-radius: 18px;

    overflow: hidden;
  }


  /* =======================================================
     KÉP
  ======================================================= */

  .product-img {
    width: 100%;

    height: auto;

    aspect-ratio: 2 / 3;

    flex: 0 0 auto;

    margin: 0 0 5px;

    padding: 0;

    background: #fff;

    border-radius: 14px;

    overflow: hidden;

    object-fit: contain;
  }


  /* =======================================================
     NÉV - 1 SOR
  ======================================================= */

  .product h3 {
    width: 100%;

    height: 20px;
    min-height: 20px;
    max-height: 20px;

    flex-basis: 20px;

    margin: 0 0 3px;

    padding: 0 2px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 0.84rem;

    line-height: 20px;

    text-align: center;
  }


  /* =======================================================
     ÁR
  ======================================================= */

  .product p {
    width: 100%;

    height: 26px;
    min-height: 26px;

    flex-basis: 26px;

    margin: 0 0 5px;

    padding: 0 2px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 1rem;

    line-height: 26px;

    text-align: center;
  }


  /* =======================================================
     GOMB
  ======================================================= */

  .product button {
    width: 100%;

    height: 40px;
    min-height: 40px;

    flex-basis: 40px;

    padding: 7px 5px;

    border-radius: 9px;

    font-size: 0.82rem;
  }


  .product-detail {
    top: 48px;
  }


  .cart-overlay {
    top: 48px;

    padding: 5px;
  }


  .cart-panel {
    border-radius: 12px;
  }


  .cart-panel-content {
    padding: 10px;
  }


  .cart-close {
    top: 9px;
    right: 9px;

    width: 38px;
    height: 38px;
  }


  .cart-success {
    top: 58px;
  }


  .gallery {
    gap: 4px;
  }
}