/* ===== Modern Luxury Editorial (v7) ===== */
*{margin:0;padding:0;box-sizing:border-box}

html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  overscroll-behavior-x:none;
}
img, svg, video, canvas{
  max-width:100%;
  height:auto;
}


:root{
  --bg:#000000;
  --text:#f5f5f5;
  --muted:rgba(245,245,245,.65);
  --line:rgba(245,245,245,.12);
  --gold:#b79a63;
  --gold-soft:rgba(183,154,99,.14);
  --wrap: min(1140px, 88%);
}

/* ==============================
   Cookie consent
   ============================== */
.cookie-consent{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 14px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.cookie-consent.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-consent.is-hiding{
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}
.cookie-consent__inner{
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(20,20,20,.92);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.cookie-consent__text{min-width: 0;}
.cookie-consent__desc{
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}
.cookie-consent__desc a{
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(183,154,99,.55);
}
.cookie-consent__actions{
  display:flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-consent__btn{
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}
.cookie-consent__btn:hover{ transform: translateY(-1px); border-color: rgba(183,154,99,.45); }
.cookie-consent__btn:active{ transform: translateY(0); opacity: .9; }
.cookie-consent__btn--accept{
  background: linear-gradient(135deg, var(--gold), #e6d2a5);
  color: #000;
  border-color: rgba(0,0,0,.12);
}
.cookie-consent__btn--accept:hover{ border-color: rgba(0,0,0,.18); }

@media (max-width: 720px){
  .cookie-consent__inner{
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-consent__actions{
    width: 100%;
  }
  .cookie-consent__btn{
    flex: 1;
    justify-content: center;
  }
}

html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'DM Sans', sans-serif;
  line-height:1.55;
}

h1,h2{
  font-family:'Marcellus', serif;
  font-weight:400;
  letter-spacing:.01em;
}

a{color:inherit;text-decoration:none}
.muted{color:var(--muted)}
.wrap{width:var(--wrap); margin:0 auto}
.micro{font-size:12px; letter-spacing:.08em}

.kicker{
  display:inline-block;
  font-size:11px;
  letter-spacing:.30em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:22px;
}

/* ===== HEADER ===== */
.header{
  position:fixed;
  top:0; left:0;
  width:100%;
  padding:28px 6%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:20;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245,245,245,.08);
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}
.logo-img{
  height:70px;
  width:auto;
  display:block;
}
.logo-text{
  font-size:12px;
  letter-spacing:.35em;
  font-weight:500;
  text-transform:uppercase;
  display:none; /* keep layout clean; still in DOM for accessibility */
}

.nav{
  display:flex;
  gap:28px;
  align-items:center;
}

.nav a{
  font-size:11px;
  letter-spacing:.25em;
  color:var(--muted);
}

.nav-cta{
  padding:10px 18px;
  border:1px solid var(--gold);
  color:var(--gold)!important;
  text-decoration:none;
  border-radius:999px;
}
.nav-cta:hover{
  background:rgba(193,154,99,.08);
}

/* ===== MOBILE HAMBURGER MENU ===== */
.hamburger{
  display:none;
  width:46px;
  height:46px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  border-radius:12px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.hamburger span{
  display:block;
  width:18px;
  height:2px;
  background:var(--gold);
  border-radius:2px;
  transition: transform .28s ease, opacity .20s ease;
}
.hamburger.active span:nth-child(1){transform: translateY(8px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform: translateY(-8px) rotate(-45deg)}

/* Mobile cart icon next to hamburger */
.mobile-cart{
  display:none;
  width:46px;
  height:46px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  border-radius:12px;
  position:relative;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.mobile-cart svg{ width:20px; height:20px; fill:none; stroke:var(--gold); stroke-width:1.8; }
.mobile-cart .cart-count{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:600;
  color:#000;
  background:var(--gold);
  border:1px solid rgba(0,0,0,.4);
}

.mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  opacity:0;
  pointer-events:none;
  transition: opacity .28s ease;
  z-index:60;
}
.mobile-overlay.show{
  opacity:1;
  pointer-events:auto;
}

.mobile-nav{
  position:fixed;
  top:0;
  right:0;
  transform: translateX(110%);
  width:min(86vw, 360px);
  height:100vh;
  background:rgba(0,0,0,.92);
  border-left:1px solid rgba(245,245,245,.10);
  padding:26px 22px;
  z-index:70;
  transition: transform .34s ease;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.mobile-nav.open{ transform: translateX(0); }
.mobile-nav a{
  color:var(--text);
  text-decoration:none;
  letter-spacing:.22em;
  font-size:12px;
  padding:12px 10px;
  border-radius:12px;
  border:1px solid rgba(245,245,245,.08);
  background:rgba(245,245,245,.02);
}
.mobile-nav a:active{ transform: translateY(1px); }
.mobile-nav a.mobile-cta{
  border-color: var(--gold);
  color: var(--gold);
}

body.no-scroll{ overflow:hidden; }

@media (max-width:900px){
  .nav{ display:none; }
  .hamburger{ display:flex; }
  .mobile-cart{ display:flex; }
  .header{ padding:18px 6%; }
  main.section{ padding-top:140px; }
}
/* ===== HERO ===== */
.hero{
  height:100vh;
  position:relative;
  overflow:hidden;
}

.hero-image{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.92) 0%,
      rgba(0,0,0,.65) 45%,
      rgba(0,0,0,.25) 70%),
    url("../images/hero.jpg") center right / cover no-repeat;
  transform:scale(1.02);
}

.hero-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-left:6%;
  max-width:660px;
}

.eyebrow{
  font-size:11px;
  letter-spacing:.3em;
  color:var(--muted);
  margin-bottom:28px;
}

.hero h1{
  font-size:clamp(48px,6vw,86px);
  line-height:1.05;
  margin-bottom:24px;
}

.hero p{
  font-size:16px;
  line-height:1.7;
  color:var(--muted);
  margin-bottom:38px;
}

/* CTAs */
.hero-actions{display:flex; gap:14px; flex-wrap:wrap}
.cta{
  display:inline-block;
  padding:18px 42px;
  border:1px solid var(--gold);
  color:var(--gold);
  font-size:11px;
  letter-spacing:.35em;
  text-transform:uppercase;
  width:max-content;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.cta:hover{transform:translateY(-1px); border-color:rgba(183,154,99,.85)}
.cta.full{width:100%; flex:1 1 100%; text-align:center}
.cta.ghost{
  border-color:rgba(245,245,245,.22);
  color:rgba(245,245,245,.78);
}
.cta.ghost:hover{border-color:rgba(183,154,99,.55); color:var(--gold)}

/* Proof row */
.proof-row{
  margin-top:26px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.proof{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border:1px solid rgba(245,245,245,.10);
  background:rgba(255,255,255,.02);
  color:rgba(245,245,245,.72);
  font-size:13px;
}
.proof img{width:18px;height:18px; opacity:.9}

/* ===== STRIP ===== */
.strip{
  border-top:1px solid rgba(245,245,245,.06);
  border-bottom:1px solid rgba(245,245,245,.06);
  background:rgba(255,255,255,.01);
  overflow:hidden;
}
.strip-inner{
  display:flex;
  gap:16px;
  padding:12px 0;
  white-space:nowrap;
  animation: scroll 18s linear infinite;
  text-transform:uppercase;
  letter-spacing:.34em;
  font-size:11px;
  color:rgba(245,245,245,.48);
}
.strip .dot{opacity:.5}
@keyframes scroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* ===== SECTIONS ===== */
.section{padding:92px 0}
/*
  Pages like cart/checkout use <main class="section"> directly under the fixed header.
  Give them extra top padding so titles never slide under the header.
*/
main.section{padding-top:160px}
.section-head{max-width:820px}
.section-head h2{font-size:clamp(28px,3.2vw,44px); line-height:1.12; margin-bottom:10px}
.section-head p{max-width:68ch}

/* Grid tiles */
.grid-3{
  margin-top:34px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.tile{
  border:1px solid rgba(245,245,245,.10);
  background:rgba(255,255,255,.02);
  padding:22px;
  min-height:190px;
}
.tile .icon{
  width:44px;height:44px;
  border:1px solid rgba(183,154,99,.28);
  background:rgba(183,154,99,.08);
  display:grid;
  place-items:center;
  margin-bottom:14px;
}
.tile .icon img{width:18px;height:18px}
.tile .title{font-weight:600; letter-spacing:.06em; margin-bottom:8px}
.tile .text{color:rgba(245,245,245,.70); font-size:14px}

/* Editorial product block */
.editorial{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:stretch;
}
.editorial-copy{
  border:1px solid rgba(245,245,245,.10);
  background:rgba(255,255,255,.02);
  padding:26px;
}
.editorial-copy h2{font-size:clamp(26px,2.6vw,40px); line-height:1.12; margin-bottom:10px}
.lines{margin-top:20px; display:grid; gap:14px}
.features{margin-top:20px; line-height:1.7}
.features ul{margin:0; padding-left:18px}
.features li{margin:0 0 8px 0}
.features p{margin:0 0 10px 0}
.line{border-top:1px solid rgba(245,245,245,.10); padding-top:14px}
.line-top{display:flex; align-items:center; justify-content:space-between; gap:12px}
.name{font-weight:600; letter-spacing:.04em}
.tag{
  font-size:10px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(245,245,245,.75);
  padding:8px 10px;
  border:1px solid rgba(183,154,99,.30);
  background:rgba(183,154,99,.08);
}
.desc{color:rgba(245,245,245,.70); font-size:14px; margin-top:6px}
.buy-row{margin-top:22px; display:flex; align-items:center; gap:16px; flex-wrap:wrap}

.editorial-media{
  border:1px solid rgba(245,245,245,.10);
  background:
    radial-gradient(500px 320px at 30% 30%, rgba(183,154,99,.12), transparent 60%),
    url("../images/hero.jpg") center right / cover no-repeat;
  opacity:.95;
  min-height:520px;
}

/* Mini cards under product */
.mini-cards{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.mini{
  border:1px solid rgba(245,245,245,.10);
  background:rgba(255,255,255,.02);
  padding:20px;
}
.mini-kicker{font-size:10px; letter-spacing:.32em; text-transform:uppercase; color:rgba(245,245,245,.55); margin-bottom:10px}
.mini-title{font-weight:600; letter-spacing:.06em; margin-bottom:6px}
.mini-text{font-size:14px}

/* About */
.about{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:stretch;
}
.about-copy{
  border:1px solid rgba(245,245,245,.10);
  background:rgba(255,255,255,.02);
  padding:26px;
}
.about-copy h2{font-size:clamp(26px,2.6vw,40px); line-height:1.12; margin-bottom:10px}
.bullets{margin:18px 0 22px; display:grid; gap:10px}
.bullet{display:flex; align-items:center; gap:10px; color:rgba(245,245,245,.78)}
.b-dot{width:8px;height:8px; background:var(--gold); box-shadow:0 0 0 10px var(--gold-soft)}
.about-media{
  border:1px solid rgba(245,245,245,.10);
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.25)),
    url("../images/hero.jpg") center / cover no-repeat;
  min-height:520px;
  opacity:.85;
}

/* ===== PRODUCT SLIDER ===== */
/* Slider wrapper and slider */
/* Slider wrapper */
.product-slider-wrapper{
  margin-top:32px;
  width:100%;
}

/* Slider itself */
.product-slider{
  display:flex;
  overflow:hidden;
  scroll-behavior:smooth;
  width:100%;
}

/* Each slide */
.product-slider .slide{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
  align-items:stretch;
  min-width:100%;
}

/* Navigation arrows below slider */
/* Product list navigation */
.product-list{
  display:flex;
  gap:0;
  margin-bottom:10px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.product-list::-webkit-scrollbar{ display:none; }

.product-page{
  flex:0 0 100%;
  display:grid;
  grid-template-columns:repeat(var(--pp, 4), 1fr);
  gap:16px;
  padding-bottom:6px;
  scroll-snap-align:start;
}

.product-item{
  flex:0 0 auto;
  border:1px solid rgba(245,245,245,.10);
  background:rgba(255,255,255,.02);
  padding:16px 12px;
  text-align:center;
  cursor:pointer;
  transition:border-color .2s ease, color .2s ease;
}
.product-item img{
  width:100%;
  height:100px;
  object-fit:cover;
  margin-bottom:10px;
}
.product-item span{
  font-size:14px;
  letter-spacing:.02em;
  display:block;
}

.product-item .meta{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.product-item .name{
  font-size:14px;
  letter-spacing:.02em;
}
.product-item .price-tag{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
  opacity:.95;
}

.product-price{
  margin:10px 0 8px;
  display:inline-flex;
  align-items:baseline;
  gap:10px;
  padding:10px 14px;
  border:1px solid rgba(183,154,99,.35);
  background:rgba(183,154,99,.10);
  color:var(--gold);
  border-radius:12px;
  font-family:'DM Sans', sans-serif;
  font-weight:700;
  font-size:20px;
  letter-spacing:.02em;
}
.product-item.active{
  border-color:var(--gold);
  color:var(--gold);
}

/* Gallery styles */
/* Gallery fills the entire right column
 * Set position relative so nav arrows can be absolutely positioned. Set
 * a fixed aspect ratio and min-height to keep image containers from
 * jumping when switching between photos of different proportions. A
 * border is applied to the main image area to clearly frame the image.
 */
.editorial-gallery{
  border:1px solid rgba(245,245,245,.10);
  background:rgba(255,255,255,.02);
  display:flex;
  flex-direction:column;
  position:relative;
  /* fixed height so all product images display consistently without jumping */
  height: 552px; /* 480 * 1.15 */
  overflow: hidden;
  transition: height 0.55s ease;
}


/* main image fills available space and stays within border */
.editorial-gallery .gallery-main{
  flex:1 1 auto;
  width:100%;
  object-fit:cover;
  border-bottom:1px solid rgba(245,245,245,.10);
  display:block;
}

/* thumbnails bar */
.editorial-gallery .gallery-thumbs{
  display:flex;
  gap:6px;
  padding:12px;
  border-top:1px solid rgba(245,245,245,.10);
  flex:0 0 auto;
  background:rgba(255,255,255,.02);
}

/* each thumb image gets a consistent size and border */
.editorial-gallery .gallery-thumb{
  width:60px;
  height:60px;
  object-fit:cover;
  cursor:pointer;
  border:1px solid rgba(245,245,245,.10);
  transition:opacity .2s ease;
  flex-shrink:0;
}

.editorial-gallery .gallery-thumb:hover{
  opacity:.7;
}

/* Navigation buttons for the gallery. These appear when there are
 * multiple images. They are positioned over the main image area and
 * allow users to cycle through photos. We make them larger and more
 * obvious with a circular background and gold text. */
.editorial-gallery .gallery-prev,
.editorial-gallery .gallery-next {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.4);
  color:var(--gold);
  border:none;
  font-size:28px;
  width:36px;
  height:36px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:3;
}
.editorial-gallery .gallery-prev{left:10px;}
.editorial-gallery .gallery-next{right:10px;}
.editorial-gallery .gallery-prev:hover,
.editorial-gallery .gallery-next:hover{
  background:rgba(255,255,255,0.3);
}
/* FAQ accordion */
.acc{margin-top:30px; border-top:1px solid rgba(245,245,245,.10)}
.acc-item{border-bottom:1px solid rgba(245,245,245,.10)}
.acc-btn{
  width:100%;
  padding:18px 0;
  background:transparent;
  border:0;
  color:rgba(245,245,245,.90);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  text-align:left;
  font-size:12px;
  letter-spacing:.20em;
  text-transform:uppercase;
  cursor:pointer;
}
.acc-btn img{width:18px;height:18px; opacity:.9; transition: transform .2s ease}
.acc-panel{
  max-height:0;
  overflow:hidden;
  transition: max-height .25s ease;
  padding:0;
  font-size:14px;
}
.acc-item.is-open .acc-panel{
  max-height:220px;
  padding:0 0 18px 0;
}
.acc-item.is-open .acc-btn img{transform:rotate(45deg)}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}
.contact-copy h2{font-size:clamp(26px,2.6vw,40px); line-height:1.12; margin-bottom:10px}
.contact-lines{margin-top:18px; display:grid; gap:10px}
.cl{color:rgba(245,245,245,.78)}
.cl span{display:block; font-size:10px; letter-spacing:.30em; text-transform:uppercase; color:rgba(245,245,245,.52); margin-bottom:3px}

.form{
  border:1px solid rgba(245,245,245,.10);
  background:rgba(255,255,255,.02);
  padding:22px;
  display:grid;
  gap:12px;
}
label{
  display:grid;
  gap:6px;
  font-size:10px;
  letter-spacing:.30em;
  text-transform:uppercase;
  color:rgba(245,245,245,.55);
}
input,textarea{
  width:100%;
  padding:14px 12px;
  border:1px solid rgba(245,245,245,.12);
  background:rgba(255,255,255,.01);
  color:var(--text);
  outline:none;
}
input:focus,textarea:focus{border-color:rgba(183,154,99,.55)}

/* Footer */
.footer{
  border-top:1px solid rgba(245,245,245,.08);
  padding:46px 0 22px;
  background: rgba(0,0,0,.96);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:28px;
  align-items:start;
}
.footer-brand{}
.footer-logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}
.footer-logo-img{
  height:146px;
  width:auto;
  display:block;
}
.footer-logo-text{
  font-size:12px;
  letter-spacing:.35em;
  font-weight:500;
  text-transform:uppercase;
}
.footer-tagline{margin-top:10px; max-width:34ch; line-height:1.55}
.footer-title{
  font-size:10px;
  letter-spacing:.30em;
  text-transform:uppercase;
  color:rgba(245,245,245,.75);
  margin-bottom:12px;
}
.footer-contact-list{display:flex; flex-direction:column; gap:12px}
.footer-contact-item{
  display:flex;
  flex-direction:column;
  gap:4px;
  text-decoration:none;
  color:rgba(245,245,245,.9);
}
.footer-contact-item:hover{color:rgba(245,245,245,1)}
.footer-contact-label{font-size:10px; letter-spacing:.22em; text-transform:uppercase}
.footer-links{display:flex; flex-direction:column; gap:10px}
.footer-links a{
  font-size:10px;
  letter-spacing:.30em;
  text-transform:uppercase;
  color:rgba(245,245,245,.55);
  text-decoration:none;
}
.footer-links a:hover{color:rgba(245,245,245,.90)}
.footer-bottom{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid rgba(245,245,245,.08);
}
.footer-copy{
  font-size:11px;
  color:rgba(245,245,245,.55);
  letter-spacing:.06em;
}
@media (max-width: 980px){
  .footer-grid{grid-template-columns:1fr; gap:20px}
  .footer-logo-img{height:120px}
}

/* Reveal */
html.js [data-reveal]{opacity:0; transform:translateY(16px); transition: opacity .7s ease, transform .7s ease}
[data-reveal]{opacity:1; transform:none}
html.js [data-reveal].is-visible{opacity:1; transform:none}

/* Responsive */
@media (max-width: 980px){
  .grid-3{grid-template-columns:1fr}
  .editorial{grid-template-columns:1fr}
  .editorial-media{min-height:360px}
  .mini-cards{grid-template-columns:1fr}
  .about{grid-template-columns:1fr}
  .about-media{min-height:360px}
  .contact{grid-template-columns:1fr}
}

@media (max-width:900px){
  .nav{display:none}
  .hero-content{padding:0 8%}
}

@media (max-width:520px){
  .cta{padding:16px 28px; letter-spacing:.28em}
}







/* Product details absolute slide */
.product-details {
  position: relative;
  /*
    IMPORTANT:
    We must NOT clip overflow here.
    When "További részletek" expands, the page should grow and push
    the content below downward. If overflow is hidden + a fixed height
    is applied via JS, the expanded text gets cut off.
  */
  overflow: visible;
  /* Let the height be driven by the active .detail (which becomes relative). */
  min-height: 0;
}
.product-details .detail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* start hidden and slightly shifted */
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .5s ease, transform .5s ease;
  display: grid;
  /* IMPORTANT: prevent hidden slides from stealing clicks
     (fixes gallery thumbnails + main image/lightbox opening the wrong product) */
  pointer-events: none;
}
.product-details .detail.active {
  opacity: 1;
  transform: translateX(0);
  /* The active slide must participate in document flow so the container can grow */
  position: relative;
  pointer-events: auto;
}

/* ===== CART & CHECKOUT STYLES ===== */
/* Container for cart items on cart and checkout pages */
.cart-items {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Single cart item row */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.cart-item .name {
  font-size: 14px;
  font-weight: 500;
}
.cart-item .qty-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cart-item .qty {
  min-width: 32px;
  text-align: center;
}
.cart-item button {
  background: none;
  border: 0;
  color: var(--gold);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 8px;
}
.cart-summary {
  margin-top: 32px;
}
.cart-summary .total {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
}
.cart-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cart-actions .cta {
  text-align: center;
}
/* Checkout summary & form */
.checkout-summary {
  margin-top: 32px;
  margin-bottom: 32px;
}
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 540px;
}
.checkout-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
}
.checkout-form input[type=text],
.checkout-form input[type=email],
.checkout-form input[type=tel] {
  padding: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
}
.checkout-form .radio-group {
  display: flex;
  gap: 20px;
}
.checkout-form .form-actions {
  margin-top: 16px;
}
.checkout-form .cta {
  width: max-content;
}

/*
 * Button hover effects
 * Apply a subtle lift and golden glow on hover for buttons and CTA links.
 */
.btn,
.button,
a.btn,
a.button,
.cta {
  transition: all 0.25s ease;
}

.btn:hover,
.button:hover,
a.btn:hover,
a.button:hover,
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.6), 0 8px 20px rgba(212, 175, 55, 0.15);
}

/* Dark buttons hover variation */
.btn-dark:hover {
  background: linear-gradient(135deg, #111, #1a1a1a);
}

/* Gold buttons hover variation */
.btn-gold:hover {
  background: linear-gradient(135deg, #d4af37, #f0d67c);
  color: #000;
}


/* Ensure gallery nav buttons sit above the image */
.editorial-gallery .gallery-prev,
.editorial-gallery .gallery-next{
  z-index: 3;
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.lightbox.is-open{display:block;}
.lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.85);
}
.lightbox-inner{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.lightbox-img{
  max-width:92vw;
  max-height:88vh;
  width:auto;
  height:auto;
  border:1px solid rgba(245,245,245,.12);
  box-shadow:0 10px 40px rgba(0,0,0,.55);
  background:rgba(0,0,0,0.2);
}
.lightbox-close{
  position:absolute;
  top:14px;
  right:18px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(245,245,245,.18);
  background:rgba(0,0,0,0.35);
  color:var(--gold);
  font-size:28px;
  cursor:pointer;
}
.lightbox-prev,
.lightbox-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border-radius:50%;
  border:1px solid rgba(245,245,245,.18);
  background:rgba(0,0,0,0.35);
  color:var(--gold);
  font-size:34px;
  cursor:pointer;
}
.lightbox-prev{left:18px;}
.lightbox-next{right:18px;}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover{
  background:rgba(255,255,255,0.18);
}

/* ---- Custom product detail layout adjustments ---- */
.product-details .detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
/* Force the summary card to match the gallery height and arrange content vertically */
.product-details .summary {
  height: 552px; /* 480 * 1.15 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  transition: height 0.55s ease;
}

/* Clamp the summary text to three lines */
.product-details .summary .short-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  margin-bottom: 10px;
}

/* Expandable summary ("Tovább") inside the product card */
.product-details .summary .more-toggle{
  color:#caa75a;
  font-family: Inter;
  text-decoration: underline;
  display: inline-block;
  margin: 6px 0 12px;
}
.product-details .summary .summary-full{
  overflow: visible;
}
.product-details .summary .buy-row{
  margin-top: auto; /* keep CTA at bottom */
}

/* Spacing for bottom section and toggle link */
.product-details .detail-bottom {
  margin-top: 18px;
}
.product-details .detail-bottom .toggle-desc {
  color: var(--gold);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 10px;
}
/* Hidden by default; shown when .open class present */
/*
 * When toggling product descriptions, ensure the expanded content scrolls within
 * its own area instead of pushing the entire page down.  The container
 * "full-desc" remains hidden until the `.open` class is added, and when
 * visible it has a capped height with vertical scrolling enabled.  The margin
 * provides separation from the toggle link.
 */
/*
 * The full description is initially collapsed via max-height. When toggled
 * open/closed in JavaScript, its max-height is adjusted to the element’s
 * scrollHeight to create a smooth slide animation. Overflow is hidden
 * during the animation. Margin-top ensures spacing from the toggle link.
 */
.product-details .full-desc {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.55s ease;
  margin-top: 10px;
}
.product-details .full-desc.open {
  /* The .open class can be used for styling, but max-height is set via JS */
}
.product-details .full-desc .desc-body {
  margin-bottom: 20px;
}
.product-details .detail-bottom .lines {
  margin-top: 0;
}

/*
 * The detail-bottom area expands naturally when the description is opened.
 * There is intentionally no height limit so that the full description is
 * revealed and the page grows accordingly.
 */
/* (no explicit max-height is set on .detail-bottom) */

/*
 * Reduce the heading size within the product summary to ensure the short
 * description and price have more room. This overrides the default h2
 * sizing only inside the `.summary` container in product details.
 */
.product-details .summary h2 {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.2;
  margin-bottom: 12px;
}


.product-pagination{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  margin: 0 0 26px;
  user-select:none;
}
.product-pagination button{
  min-width:34px;
  height:30px;
  padding:0 10px;
  border-radius:10px;
  border:1px solid rgba(245,245,245,.14);
  background:rgba(255,255,255,.02);
  color:rgba(245,245,245,.75);
  cursor:pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.product-pagination button:hover{
  border-color: rgba(214,171,82,.55);
  color:#fff;
  transform: translateY(-1px);
}
.product-pagination button.active{
  border-color: rgba(214,171,82,.85);
  background: rgba(214,171,82,.12);
  color:#fff;
}


/* ===== MOBILE: product detail stack (text first, gallery below) ===== */
@media (max-width: 768px){
  .product-details .detail-top{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .product-details .summary{
    height: auto;
  }
  .product-details .summary{ order: 1; }
  .product-details .editorial-gallery{ order: 2; }
}
