:root {
  --clamar: #ef4f6c;
  --text: #333;
  --cream: #fffaf7;
  --dark: #303030;
  --halvanyRozsaszin: #ffdbdb;
  --container: 1180px;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff
}

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

img {
  width: 100%;
  display: block
}
html {
    scroll-behavior: smooth;
}

#collectionBrowser {
    scroll-margin-top: 90px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: auto
}

.center {
  text-align: center
}

.site-header {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid #eee
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 24px
}

.logo,
.footer-logo {
  font-size: 34px;
  letter-spacing: 5px;
  font-weight: 300
}

.logo span,
.footer-logo span {
  color: var(--clamar)
}
.fokep {
 float: right;
 max-width: 250px;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: 34px
}

.main-nav a {
  font-size: 13px;
  text-transform: uppercase
}

.main-nav a:hover {
  color: var(--clamar)
}

.header-icons {
  display: flex;
  gap: 14px
}

.menu-toggle {
  display: none;
  border: 0;
  background: none
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #333;
  margin: 5px 0
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #f6f1ed
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .85) 30%, rgba(255, 255, 255, .12) 55%, rgba(255, 255, 255, 0) 100%),
    url('../kepek/hero-surkana.jpg') center right/cover no-repeat
}

.hero-content {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center
}

.hero-copy {
  width: 46%;
  text-align: center
}

.eyebrow {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 15px
}

.hero h1 {
  font: 400 74px Georgia, serif;
  color: var(--clamar);
  margin: 0
}

.subhead {
  font-size: 18px;
  letter-spacing: 2px
}

.line,
.accent-line {
  width: 44px;
  height: 2px;
  background: var(--clamar);
  margin: 16px auto
}

.hero p {
  font-size: 19px;
  line-height: 1.5;
  margin: 10px 0 30px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 0 24px;
  text-transform: uppercase;
  font-size: 13px
}

.btn-primary {
  background: var(--clamar);
  color: #fff;
  border: 1px solid var(--clamar)
}

.btn-outline {
  border: 1px solid var(--clamar);
  color: var(--clamar);
  background: #fff
}

.btn-outline:hover {
  background: var(--clamar);
  color: #fff
}

.small {
  min-height: 42px;
  font-size: 12px
}

.slider-dots {
  position: absolute;
  left: 37%;
  bottom: 24px;
  display: flex;
  gap: 10px
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #888;
  background: #fff;
  padding: 0
}

.slider-dots .active {
  background: var(--clamar);
  border-color: var(--clamar)
}

.intro {
  padding: 28px 0 24px;
  background: linear-gradient(90deg, #fff, #fff8f4, #fff)
}

.serif-title {
  font: 400 29px Georgia, serif;
  letter-spacing: 3px;
  margin: 0
}

.intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #555
}

.brands {
  padding: 20px 0 30px
}

.section-heading {
  text-align: center;
  margin-bottom: 16px
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 5px;
  font-weight: 400
}

.section-heading .accent-line {
  margin-top: 11px;
  margin-bottom: 0
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.brand-card {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #eee
}

.brand-card img {
  height: 100%;
  object-fit: cover;
  transition: .3s
}

.brand-card:hover img {
  transform: scale(1.035)
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .03))
}

.brand-copy {
  position: absolute;
  inset: 0;
  padding: 24px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start
}

.brand-copy strong {
  font: 400 28px Georgia, serif
}

.brand-copy span {
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 25px
}

.more-wrap {
  margin-top: 20px
}

.business-links {
  padding: 5px 0 20px
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.business-card {
  position: relative;
  min-height: 270px;
  padding: 48px 70px 28px 120px
}

.consumer {
  background: var(--halvanyRozsaszin)
}

.wholesale {
  background: linear-gradient(135deg, #fbf7f2, #f1e8df)
}

.business-icon {
    position: absolute;

    /* az ikon fele lógjon ki a dobozból */
    top: -29px;

    /* pontosan középre */
    left: 50%;
    transform: translateX(-50%);

    width: 58px;
    height: 58px;

    border-radius: 50%;

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

    color: #fff;
    font-size: 44px;

    z-index: 5;
}

.consumer .business-icon {
  background: var(--clamar)
}

.wholesale .business-icon {
  background: #b58c6a
}

.business-card h3 {
  margin: 0 0 4px;
  font-size: 18px
}

.business-kicker {
  font-size: 13px;
  letter-spacing: .7px;
  color: var(--clamar);
  margin-bottom: 22px
}

.wholesale .business-kicker {
  color: #a77758
}

.business-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #555
}


/* =========================================================
   HÍRLEVÉL / INSTAGRAM SÁV
   ========================================================= */

.newsletter {
  border-top: 1px solid #eee;
  background: #fff;
  padding: 0;
}

.newsletter-grid {
  min-height: 108px;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(360px, 440px)
    minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

/* Bal és jobb információs blokk */
.newsletter-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #111;
}

.newsletter-copy:first-child {
  justify-content: flex-start;
}

.newsletter-copy:last-child {
  justify-content: flex-end;
}

/* Régi .round-icon markuphoz is szép, egységes megjelenés */
.round-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;

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

  border: 1px solid #bdbdbd;
  border-radius: 50%;

  background: #fff;
  color: #222;

  font-size: 0;
  line-height: 1;
}



.newsletter-copy strong {
  display: block;
  margin: 0 0 5px;
  color: #111;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1px;
}

.newsletter-copy span {
  display: block;
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.45;
}

.newsletter-copy:last-child span {
  white-space: nowrap;
}

/* Középső űrlap ténylegesen középen */
.newsletter-form {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  height: 44px;
}

.newsletter-form input[type="email"] {
  min-width: 0;
  flex: 1 1 auto;
  width: auto;
  height: 44px;
  border: 1px solid #f3f3f3;
  border-right: 0;
  background: #f6f6f6;
  padding: 0 18px;
  color: #333;
  font: inherit;
  font-size: 12px;
  outline: 0;
  transition:
    background-color .2s ease,
    border-color .2s ease;
}

.newsletter-form input[type="email"]:focus {
  background: #fff;
  border-color: #ddd;
}

.newsletter-form button {
  flex: 0 0 138px;
  height: 44px;
  border: 0;
  background: var(--clamar);
  color: #fff;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15px;
  cursor: pointer;
  transition:
    background-color .25s ease,
    transform .15s ease;
}

.newsletter-form button:hover {
  background: #dd405d;
}

.newsletter-form button:active {
  transform: translateY(1px);
}


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

.site-footer {
  background: #292929;
  color: #fff;
  padding: 24px 0;
  border-bottom: 2px solid var(--clamar);
}

.footer-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.footer-logo {
  font-size: 30px;
}

.footer-contact {
  text-align: center;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 26px;
  border-left: 0px solid rgba(255,255,255,.28);
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  transition:
    background-color .22s ease,
    border-color .22s ease,
    transform .22s ease;
}

.footer-social a:hover {
  background: var(--clamar);
  border-color: var(--clamar);
  transform: translateY(-2px);
}

.footer-social a i,
.footer-social a i::before {
  color: #fff !important;
}

.business-card.consumer {
    position: relative;
    overflow: visible;
    z-index: 2;
}

/* nagyobb fehér háromszög = szegély */
.business-card.consumer::before {
    content: "";
    position: absolute;

    top: 50%;
    right: -32px;
    transform: translateY(-50%);

    width: 0;
    height: 0;

    border-top: 32px solid transparent;
    border-bottom: 32px solid transparent;
    border-left: 22px solid #fff;

    z-index: 3;
}

/* belső rózsaszín háromszög */
.business-card.consumer::after {
    content: "";
    position: absolute;

    top: 50%;
    right: -25px;
    transform: translateY(-50%);

    width: 0;
    height: 0;

    border-top: 32px solid transparent;
    border-bottom: 32px solid transparent;
    border-left: 27px solid var(--halvanyRozsaszin);

    z-index: 4;
}


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

@media(max-width:980px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: block;
    order: -1;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: #fff;
    padding: 24px;
    z-index: 99;
    flex-direction: column;
  }

  .main-nav.open {
    display: flex;
  }

  .header-icons a:nth-child(-n+2) {
    display: none;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-card {
    padding-left: 70px;
  }

  /* Hírlevél: két információs blokk felül, űrlap teljes sorban */
  .newsletter {
    padding: 22px 0;
  }

  .newsletter-grid {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
  }

  .newsletter-form {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 520px;
  }

  .newsletter-copy:last-child {
    justify-content: flex-end;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    padding-left: 0;
    border-left: 0;
  }
}


/* =========================================================
   MOBIL
   ========================================================= */

@media(max-width:640px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .header-icons {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 690px;
  }

  .hero-image {
    background:
      linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.96) 46%, rgba(255,255,255,.15) 68%),
      url('../kepek/hero-surkana.jpg') 65% top/auto 54% no-repeat;
    background-color: #f6f1ed;
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 48px;
  }

  .hero-copy {
    width: 100%;
    text-align: left;
  }

  .hero-copy .line {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }

  .slider-dots {
    left: 50%;
    transform: translateX(-50%);
  }

  .serif-title {
    font-size: 24px;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    height: 160px;
  }

  /* Mobilon az üzleti kártyák egymás alatt legyenek */
  .business-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .business-card {
    padding: 52px 24px 26px;
  }

  /* FONTOS: az ikon mobilon is középen marad */
  .business-icon {
    left: 50%;
    transform: translateX(-50%);
  }

  /* A két kártya közötti asztali háromszög mobilon ne jelenjen meg */
  .business-card.consumer::before,
  .business-card.consumer::after {
    display: none;
  }

  .newsletter {
    padding: 28px 0;
  }

  .newsletter-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .newsletter-copy,
  .newsletter-copy:first-child,
  .newsletter-copy:last-child {
    width: 100%;
    justify-content: flex-start;
  }

  .newsletter-form {
    width: 100%;
    max-width: none;
    order: 2;
  }

  .newsletter-copy:last-child {
    order: 3;
  }

  .footer-grid {
    gap: 14px;
  }
}


/* =========================================================
   KIS MOBIL
   ========================================================= */

@media(max-width:480px) {
  .newsletter-form {
    height: auto;
    flex-direction: column;
    gap: 8px;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    height: 44px;
    flex: none;
    border: 0;
  }

  .newsletter-copy:last-child span {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}


/* =========================================================
   BELSŐ MÁRKA OLDALAK
   ========================================================= */

.brand-detail {
    padding: 38px 0 42px;
    background: #fff;
}


/* finom elválasztás az egymást követő márkák között */

.brand-detail + .brand-detail {
    border-top: 1px solid #f0ece9;
}


/* =========================================================
   CÍM
   ========================================================= */

.brand-detail__heading {
    text-align: center;
    margin-bottom: 28px;
}

.brand-detail__heading .serif-title {
    margin: 0;

    font: 400 32px Georgia, serif;
    letter-spacing: 3px;

    color: #222;
}

.brand-detail__heading .accent-line {
    width: 44px;
    height: 2px;

    margin: 14px auto 0;

    background: var(--clamar);
}


/* =========================================================
   TARTALOM
   ========================================================= */

.brand-detail__content {
    width: min(100%, 980px);
    margin: 0 auto;

    color: #444;

    font-size: 15px;
    line-height: 1.7;

    text-align: left;
}


/* float után mindig rendesen záródjon a blokk */

.brand-detail__content::after {
    content: "";
    display: block;
    clear: both;
}


/* =========================================================
   BEKEZDÉSEK
   ========================================================= */

.brand-detail__content p {
    margin: 0 0 18px;

    /*
     * A régi adatbázisban inline:
     * style="text-align: justify"
     * szerepel, ezt felülírjuk.
     */
    text-align: left !important;
}


/*
 * A régi tartalomban lévő fölösleges <br>
 * ne adjon extra üres sort.
 */

.brand-detail__content > br {
    display: none;
}


/* =========================================================
   LOGÓ / FŐKÉP
   ========================================================= */

.brand-detail__content .fokep {
    float: right;

    width: 260px;
    max-width: 30%;

    height: auto;

    margin:
        0
        0
        24px
        50px;

    object-fit: contain;

    background: transparent;
}


/* =========================================================
   FINOM TIPOGRÁFIA
   ========================================================= */

.brand-detail__content strong {
    color: #222;
    font-weight: 600;
}

.brand-detail__content em {
    color: #555;
}


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

@media(max-width: 850px) {

    .brand-detail {
        padding: 32px 0 36px;
    }

    .brand-detail__content {
        width: min(100%, 760px);
    }

    .brand-detail__content .fokep {
        width: 220px;
        max-width: 34%;

        margin-left: 35px;
    }

}


/* =========================================================
   MOBIL
   ========================================================= */

@media(max-width: 640px) {

    .brand-detail {
        padding: 30px 0 34px;
    }

    .brand-detail__heading {
        margin-bottom: 22px;
    }

    .brand-detail__heading .serif-title {
        font-size: 27px;
        letter-spacing: 2px;
    }

    .brand-detail__content {
        width: 100%;

        font-size: 14px;
        line-height: 1.65;
    }

    .brand-detail__content .fokep {
        float: none;

        display: block;

        width: min(260px, 75%);
        max-width: none;

        margin:
            0
            auto
            26px;
    }

}

/* =========================================================
   KOLLEKCIÓ GOMB – BELSŐ MÁRKA OLDAL
   ========================================================= */

.brand-detail__content .tovabb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 44px;
    margin-top: 8px;
    padding: 0 22px;

    border: 1px solid var(--clamar);
    background: #fff;

    color: var(--clamar);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .35px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color .25s ease,
        color .25s ease,
        padding .25s ease;
}


/* kis nyíl */

.brand-detail__content .tovabb::after {
    content: "→";

    font-size: 15px;
    line-height: 1;

    transition: transform .25s ease;
}


/* hover */

.brand-detail__content .tovabb:hover {
    background: var(--clamar);
    color: #fff;
}


.brand-detail__content .tovabb:hover::after {
    transform: translateX(4px);
}

/* =========================================================
   KOLLEKCIÓ AKTUÁLIS SZŰRÉS CÍME
   ========================================================= */

.collection-heading {
    text-align: center;
    margin: 0 0 38px;
}

.collection-heading .serif-title {
    margin: 0;

    font-size: 32px;
    font-weight: 400;
    letter-spacing: 3px;
}

.collection-heading .accent-line {
    width: 44px;
    height: 2px;

    margin: 14px auto 12px;

    background: var(--clamar);
}

.collection-type-title {
    color: #777;

    font-size: 12px;
    font-weight: 400;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* =========================================================
   HERO SLIDER – FINOM CROSSFADE + FOLYAMATOS ZOOM
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-images {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-images .hero-image {
    position: absolute;
    inset: -2%;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.03);

    transition:
        opacity 1s ease,
        transform 5s ease-out;

    will-change: opacity, transform;
}

/* Új/aktív kép: lassan közelít. */
.hero-images .hero-image.active {
    opacity: 1;
    transform: scale(1.085);
}

/*
 * Távozó kép: a már elért nagyításon marad,
 * csak elhalványul. Ettől nincs visszaugrás.
 */
.hero-images .hero-image.leaving {
    opacity: 0;
    transform: scale(1.085);

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


/* =========================================================
   SZÖVEG ANIMÁCIÓ
   ========================================================= */

.hero-copy.hero-animate {

    animation:
        heroTextIn .75s ease-out;

}


@keyframes heroTextIn {

    from {

        opacity: 0;

        transform:
            translateY(12px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   MOZGÁSCSÖKKENTÉS
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-images .hero-image,
    .hero-images .hero-image.active,
    .hero-images .hero-image.leaving {
        transition: opacity .25s ease;
        transform: scale(1.03);
    }

    .hero-copy.hero-animate {
        animation: none;
    }

}

.terkep {
	float: right;
	height: 400px;
	width: 600px;
	margin-left: 20px;
	margin-top: 0px;
}
