/* =========================================================
   OnePaint Hungary – egyedi stílusok (Shoptet)
   Színek: zemin #F3EFE7 · szöveg #23211D · kiemelés #4E5A44
   ========================================================= */

/* 1. Alap: zemin, szöveg, betűtípus */
body, #content-wrapper, .content-wrapper, #content, main, .overall-wrapper {
  background-color: #F3EFE7 !important;
}
body {
  color: #23211D;
  font-family: 'Figtree', system-ui, sans-serif !important;
}

/* 2. Címsorok */
h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #23211D !important;
}

/* 3. Linkek */
a:hover { color: #4E5A44; }

/* 4. Gombok */
.btn, button[type="submit"], input[type="submit"] {
  background: #4E5A44 !important;
  border-color: #4E5A44 !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-weight: 600;
}
.btn:hover, button[type="submit"]:hover, input[type="submit"]:hover {
  background: #3E4836 !important;
  border-color: #3E4836 !important;
}

/* 5. Fejléc és menü */

/* A sablon saját változói */
:root {
  --template-font: 'Figtree', system-ui, sans-serif;
  --template-headings-font: 'Cormorant Garamond', Georgia, serif;
  --color-header-background: #F3EFE7;
}

/* Fejléc háttere és alsó vonala */
#header {
  background-color: #F3EFE7 !important;
  border-bottom: 1px solid #DDD5C7;
}

/* Logó */
#header .site-name img {
  max-height: 72px;
  width: auto;
}

/* Bal felső e-mail és telefon */
#header .contact_header a {
  font-size: 14px !important;
  color: #23211D !important;
}
#header .contact_header img {
  width: 18px !important;
  opacity: 0.75;
}

/* Menüsor: fehér vonalak helyett finom vonal */
.navigation-in {
  background: transparent !important;
  border-top: 1px solid #DDD5C7 !important;
  border-bottom: none !important;
}

/* Menüpontok: nagybetű helyett normál írás */
.navigation-in > ul > li > a,
.navigation-in ul li a b {
  font-family: 'Figtree', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  color: #23211D !important;
  background: transparent !important;
}
.navigation-in > ul > li > a:hover,
.navigation-in > ul > li > a:focus,
.navigation-in > ul > li.active > a {
  color: #4E5A44 !important;
  background: transparent !important;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Kosár darabszám jelölője */
#header [data-testid="headerCartCount"] {
  background: #4E5A44 !important;
  color: #FFFFFF !important;
}

/* Saját ikonok (a korábbi, külső oldalról betöltött ikonok helyett) */
#header .navigation-buttons .btn,
#header .navigation-buttons .btn-icon,
#header .navigation-buttons .top-nav-button,
#header .navigation-buttons a {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
#header .navigation-buttons .btn:hover,
#header .navigation-buttons .top-nav-button:hover,
#header .navigation-buttons a:hover {
  background: rgba(35, 33, 29, 0.06) !important;
}
#header .icon-search::before,
#header .icon-login::before,
#header .icon-cart::before {
  content: '' !important;
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
#header .icon-search::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323211D' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") !important;
}
#header .icon-login::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323211D' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E") !important;
}
#header .icon-cart::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323211D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 13H6L5 8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") !important;
}
a.social-icon.instagram::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323211D' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='0.8' fill='%2323211D'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* 6. Kategória- és termékoldalak – később */

/* 7. Főoldal: "Válasszon hatás szerint" kártyák */
.op-hatasok {
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 24px;
  box-sizing: border-box;
  color: #23211D;
  font-family: 'Figtree', system-ui, sans-serif;
}
.op-hatasok__fej {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 56px;
}
.op-szemoldok {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4E5A44;
}
.op-hatasok h2 {
  margin: 0 !important;
  font-size: 52px !important;
  line-height: 1.05 !important;
}
.op-hatasok__fej p {
  max-width: 420px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5E584F;
}
.op-hatasok__racs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 28px;
}
.op-kartya {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #23211D !important;
  text-decoration: none !important;
}
.op-kartya__kep {
  display: block;
  aspect-ratio: 4 / 3;
  background-color: #D8CCB6;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.op-kartya:hover .op-kartya__kep { transform: scale(1.02); }
.op-kartya__cim {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.op-kartya__cim strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}
.op-kartya__cim small {
  font-size: 13px;
  color: #5E584F;
  white-space: nowrap;
}
.op-kartya__lista {
  font-size: 14px;
  line-height: 1.5;
  color: #5E584F;
}
.op-kartya--tanacs {
  justify-content: space-between;
  padding: 32px;
  background: #E6DFD3;
}
.op-kartya--tanacs strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}
.op-kartya--tanacs span { font-size: 15px; line-height: 1.6; color: #5E584F; }
.op-kartya--tanacs em { font-style: normal; font-weight: 600; color: #4E5A44; }

/* Ideiglenes textúrák – amíg nincs saját fotó */
.op-tex-ko { background-image: repeating-linear-gradient(177deg, #D8CCB6 0 7px, #CBBDA3 7px 10px, #E3D9C7 10px 19px, #D1C4AC 19px 23px); }
.op-tex-beton { background-color: #9F9A92; background-image: radial-gradient(circle at 30% 40%, #8C877F 0 2px, transparent 3px), radial-gradient(circle at 70% 75%, #B2ADA5 0 1.5px, transparent 2.5px); background-size: 23px 23px, 17px 17px; }
.op-tex-gyongy { background-image: linear-gradient(135deg, #C9BCA8 0%, #EFE7DA 38%, #BFAF98 62%, #E7DDCD 100%); }
.op-tex-barsony { background-image: linear-gradient(160deg, #4B5343 0%, #66705A 48%, #434A3C 100%); }
.op-tex-mesz { background-color: #E4DED1; background-image: radial-gradient(ellipse at 22% 30%, #F1ECE3 0%, transparent 55%), radial-gradient(ellipse at 78% 72%, #D2CABB 0%, transparent 50%); }
.op-tex-repedes { background-color: #C8B79E; background-image: repeating-linear-gradient(33deg, transparent 0 26px, #7A6A57 26px 27px), repeating-linear-gradient(-52deg, transparent 0 37px, #7A6A57 37px 38px); }
.op-tex-patina { background-image: linear-gradient(118deg, #7E6650 0%, #B39676 38%, #8A705A 70%, #A98C6D 100%); }

/* Tablet és mobil */
@media (max-width: 991px) {
  .op-hatasok { padding: 64px 20px; }
  .op-hatasok__fej { flex-direction: column; align-items: flex-start; gap: 16px; }
  .op-hatasok h2 { font-size: 40px !important; }
  .op-hatasok__racs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
}
@media (max-width: 480px) {
  .op-kartya__cim { flex-direction: column; gap: 2px; }
  .op-kartya__cim strong { font-size: 20px; }
  .op-kartya--tanacs { padding: 20px; }
  .op-kartya--tanacs strong { font-size: 22px; }
}

/* 8. Főoldal: Rétegek, Padlók, Minta és workshop */

/* Közös gombok */
.op-gomb {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 52px;
  padding: 0 28px;
  background: #4E5A44;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.op-gomb:hover { background: #3E4836; }
.op-gomb--korvonal { background: transparent; color: #23211D !important; border: 1px solid #23211D; }
.op-gomb--korvonal:hover { background: rgba(35, 33, 29, 0.06); }
.op-gomb--korvonal-vilagos { background: transparent; color: #F3EFE7 !important; border: 1px solid #F3EFE7; }
.op-gomb--korvonal-vilagos:hover { background: rgba(243, 239, 231, 0.1); }
.op-szemoldok--vilagos { color: #C9B99F; }

/* Rétegek */
.op-retegek {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 112px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  color: #23211D;
}
.op-retegek__kepek { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.op-retegek__kep {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}
.op-retegek__kep em {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  background: #23211D;
  color: #F3EFE7;
  font-size: 13px;
  font-style: normal;
}
.op-retegek__szoveg { display: flex; flex-direction: column; gap: 24px; }
.op-retegek h2 { margin: 0 !important; font-size: 52px !important; line-height: 1.05 !important; }
.op-retegek p { margin: 0; font-size: 17px; line-height: 1.65; color: #5E584F; }
.op-retegek__lista { display: flex; flex-direction: column; border-top: 1px solid #DDD5C7; }
.op-retegek__lista a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid #DDD5C7;
  color: #23211D !important;
  text-decoration: none !important;
  font-size: 16px;
}
.op-retegek__lista a small { color: #5E584F; font-size: 14px; }
.op-retegek__lista a:hover span { color: #4E5A44; }

/* Padlók */
.op-padlok { background: #23211D; color: #F3EFE7; }
.op-padlok__belso {
  max-width: 1320px;
  margin: 0 auto;
  padding: 104px 24px;
  box-sizing: border-box;
}
.op-padlok__fej {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}
.op-padlok h2 { margin: 0 !important; font-size: 52px !important; line-height: 1.05 !important; color: #F3EFE7 !important; }
.op-padlok__racs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.op-padlo { display: flex; flex-direction: column; gap: 12px; color: #F3EFE7 !important; text-decoration: none !important; }
.op-padlo__kep { display: block; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.op-padlo strong { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; font-weight: 600; }
.op-padlo small { font-size: 15px; color: #C9C1B3; }

/* Minta és workshop */
.op-duo {
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 24px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  color: #23211D;
}
.op-duo__doboz {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  border: 1px solid #DDD5C7;
}
.op-duo__doboz--kitoltott { background: #E6DFD3; border-color: #E6DFD3; }
.op-duo h3 { margin: 0 0 12px !important; font-size: 38px !important; }
.op-duo p { margin: 0; font-size: 16px; line-height: 1.6; color: #5E584F; }

/* Ideiglenes textúrák */
.op-tex-ko-patina { background-image: repeating-linear-gradient(177deg, #A88D6F 0 7px, #957A5E 7px 10px, #B59B7D 10px 19px, #9C8164 19px 23px); }
.op-tex-stonecarpet { background-color: #B9B2A6; background-image: radial-gradient(circle at 20% 30%, #A59E92 0 2px, transparent 3px), radial-gradient(circle at 60% 80%, #CCC6BB 0 2px, transparent 3px); background-size: 14px 14px, 11px 11px; }
.op-tex-mikrocement { background-image: linear-gradient(170deg, #CFC9BF 0%, #BDB6AA 50%, #D6D0C6 100%); }
.op-tex-epoxi { background-image: linear-gradient(180deg, #8E949A 0%, #A4AAB0 50%, #8A9096 100%); }

/* Tablet és mobil */
@media (max-width: 991px) {
  .op-retegek { grid-template-columns: 1fr; gap: 40px; padding-bottom: 72px; }
  .op-retegek h2, .op-padlok h2 { font-size: 40px !important; }
  .op-padlok__belso { padding: 72px 20px; }
  .op-padlok__fej { flex-direction: column; align-items: flex-start; }
  .op-padlok__racs { grid-template-columns: 1fr; gap: 36px; }
  .op-duo { grid-template-columns: 1fr; padding: 64px 20px; }
  .op-duo__doboz { padding: 32px; }
  .op-duo h3 { font-size: 32px !important; }
}

/* 9. Főoldal: Új cikkek (blog kártyák) */
.homepage-blog-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 40px 28px;
  max-width: 1320px;
  margin: 0 auto !important;
  padding: 0 24px 96px !important;
  box-sizing: border-box;
}
.homepage-blog-wrapper .homepage-group-title {
  flex-basis: 100%;
  margin: 0 !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 44px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #23211D !important;
}
.homepage-blog-wrapper .news-item {
  flex: 1 1 280px !important;
  width: auto !important;
  max-width: calc((100% - 56px) / 3);
  padding: 0 !important;
  margin: 0 !important;
}
.homepage-blog-wrapper .news-item > a {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  text-decoration: none !important;
  color: #23211D !important;
}
.homepage-blog-wrapper .news-item a::before,
.homepage-blog-wrapper .news-item a::after,
.homepage-blog-wrapper .news-item .image::before,
.homepage-blog-wrapper .news-item .image::after {
  display: none !important;
}
.homepage-blog-wrapper .news-item .image {
  position: static !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0 !important;
}
.homepage-blog-wrapper .news-item .image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0 !important;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.4s ease;
}
.homepage-blog-wrapper .news-item a:hover .image img { transform: scale(1.03); }
.homepage-blog-wrapper .news-item .text {
  position: static !important;
  padding: 0 !important;
  background: none !important;
  color: #23211D !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.homepage-blog-wrapper .news-item .title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  line-height: 1.2;
  color: #23211D !important;
}
.homepage-blog-wrapper .news-item .description {
  font-size: 15px !important;
  line-height: 1.6;
  color: #5E584F !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.homepage-blog-wrapper .news-item .read-article {
  font-size: 14px !important;
  font-weight: 600;
  color: #4E5A44 !important;
}
.homepage-blog-wrapper .news-item .read-article i { display: none; }

@media (max-width: 991px) {
  .homepage-blog-wrapper { padding: 0 20px 64px !important; }
  .homepage-blog-wrapper .homepage-group-title { font-size: 36px !important; }
  .homepage-blog-wrapper .news-item { max-width: 100%; flex-basis: 100% !important; }
}

/* 9b. Blog kártyák – erősebb szabályok a sablon felülírásához */
.homepage-blog-wrapper {
  width: 100% !important;
  max-width: 1320px !important;
  justify-content: flex-start !important;
}
.homepage-blog-wrapper .homepage-group-title { text-align: left !important; }
.homepage-blog-wrapper .news-item {
  flex: 0 0 calc((100% - 56px) / 3) !important;
  width: calc((100% - 56px) / 3) !important;
  max-width: calc((100% - 56px) / 3) !important;
  height: auto !important;
}
.homepage-blog-wrapper .news-item > a { height: auto !important; }
.homepage-blog-wrapper .news-item .image { height: auto !important; max-height: none !important; }
.homepage-blog-wrapper .news-item .image img {
  aspect-ratio: 4 / 3;
  height: auto !important;
  max-height: none !important;
}
.homepage-blog-wrapper .news-item .text {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  height: auto !important;
  max-height: none !important;
  inset: auto !important;
}
@media (max-width: 991px) {
  .homepage-blog-wrapper .news-item {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* 10. Termékoldal */

/* Terméknév és ár */
.type-detail .p-detail-inner-header h1 {
  font-size: 44px !important;
  line-height: 1.1 !important;
  margin-bottom: 12px !important;
}
.type-detail .brand-wrapper a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4E5A44 !important;
  text-decoration: none;
}
.type-detail .p-short-description {
  font-size: 16px;
  line-height: 1.65;
  color: #5E584F;
}
.type-detail .price-final { font-size: 28px !important; font-weight: 600; color: #23211D !important; }

/* Változatválasztó és kosár gomb */
.type-detail .variant-list select,
.type-detail .add-to-cart .amount {
  border: 1px solid #B5AB9B !important;
  border-radius: 2px !important;
  background: #FFFFFF !important;
  min-height: 48px;
}
.type-detail .add-to-cart-button {
  min-height: 52px;
  padding: 0 32px !important;
  font-size: 16px !important;
}
.type-detail .add-to-cart-button .icon-cart { display: none; }

/* Fülek */
.type-detail .shp-tabs { border-bottom: 1px solid #DDD5C7 !important; }
.type-detail .shp-tab-link {
  font-size: 15px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  color: #5E584F !important;
  background: transparent !important;
  border: none !important;
}
.type-detail .shp-tab.active .shp-tab-link,
.type-detail .shp-tab-link:hover {
  color: #23211D !important;
  box-shadow: inset 0 -2px 0 #4E5A44;
}
.type-detail .basic-description > h4 { display: none; }

/* Leírás sablon */
.op-leiras { max-width: 880px; color: #23211D; font-size: 16px; line-height: 1.65; }
.op-leiras h2 { margin: 56px 0 20px !important; font-size: 34px !important; }
.op-leiras__bevezeto { font-size: 19px; line-height: 1.6; margin: 8px 0 0; }
.op-adatok {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin: 0;
}
.op-adatok > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #DDD5C7;
}
.op-adatok dt { font-weight: 400; color: #5E584F; }
.op-adatok dd { margin: 0; text-align: right; font-weight: 500; }
.op-dokumentumok { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.op-dokumentumok a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 20px;
  background: #E6DFD3;
  color: #23211D !important;
  text-decoration: none !important;
}
.op-dokumentumok a span { display: flex; flex-direction: column; gap: 2px; }
.op-dokumentumok a small { font-size: 13px; color: #5E584F; }
.op-dokumentumok a::after {
  content: '';
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323211D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.op-dokumentumok a:hover { background: #DDD5C7; }
.op-video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 28px; background: #23211D; }
.op-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.op-lepesek { list-style: none; counter-reset: lepes; margin: 0; padding: 0; }
.op-lepesek li {
  counter-increment: lepes;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #DDD5C7;
}
.op-lepesek li::before {
  content: counter(lepes);
  grid-row: span 2;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  line-height: 1;
  color: #4E5A44;
}
.op-lepesek li strong { font-size: 17px; }
.op-lepesek li span { color: #5E584F; }
.op-megjegyzes { font-size: 14px; color: #5E584F; margin-top: 20px; }

@media (max-width: 767px) {
  .type-detail .p-detail-inner-header h1 { font-size: 32px !important; }
  .op-leiras h2 { font-size: 28px !important; margin-top: 40px !important; }
  .op-adatok, .op-dokumentumok { grid-template-columns: 1fr; }
}

/* 11. A feltöltött fotó felülírja az ideiglenes textúrát */
.op-kartya__kep[style],
.op-padlo__kep[style],
.op-retegek__kep[style] {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* 12. Főoldali borító (hero) */
.op-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 140px 24px 80px;
  background-image: url('https://www.onepaint.hu/user/documents/upload/hero.jpg');
  background-size: cover;
  background-position: center;
}
.op-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(243, 239, 231, 0.88) 0%, rgba(243, 239, 231, 0.55) 38%, rgba(243, 239, 231, 0) 62%);
}
.op-hero__szoveg {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  color: #23211D;
}
.op-hero h1 {
  max-width: 620px;
  margin: 0 0 20px !important;
  font-size: 68px !important;
  font-weight: 500 !important;
  line-height: 1.02 !important;
  text-transform: none !important;
}
.op-hero p {
  max-width: 480px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.6;
  color: #4A443C;
}
.op-hero__gombok { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 767px) {
  .op-hero {
    min-height: 560px;
    padding: 120px 20px 48px;
    align-items: flex-end;
    background-image: url('https://www.onepaint.hu/user/documents/upload/hero-mobil.jpg');
  }
  .op-hero::before {
    background: linear-gradient(0deg, rgba(243, 239, 231, 0.92) 0%, rgba(243, 239, 231, 0.7) 40%, rgba(243, 239, 231, 0) 75%);
  }
  .op-hero h1 { font-size: 40px !important; }
  .op-hero p { font-size: 16px; margin-bottom: 24px; }
  .op-hero__gombok .op-gomb { flex: 1 1 100%; justify-content: center; }
}

/* 13. A borító a teljes képernyő szélességében */
html { overflow-x: hidden; }
.op-hero {
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
}

/* 14. Főoldali kapcsolatfelvétel (welcome + űrlap) */
.welcome-wrapper {
  max-width: 1320px;
  margin: 0 auto !important;
  padding: 96px 24px !important;
  box-sizing: border-box;
}
.welcome-wrapper .welcome { max-width: 760px; }
.welcome-wrapper .welcome .h1 {
  display: block;
  margin: 0 0 24px !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 52px !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  color: #23211D !important;
}
.welcome-wrapper .welcome p {
  font-size: 17px;
  line-height: 1.65;
  color: #5E584F;
  text-align: left !important;
}
.welcome-wrapper .contact-form { margin-top: 32px; }
.welcome-wrapper .contact-form fieldset { border: none; padding: 0; margin: 0; }
.welcome-wrapper .form-group { margin-bottom: 20px; }
.welcome-wrapper .form-group label { font-size: 14px; font-weight: 600; color: #23211D; }
.welcome-wrapper .form-control {
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #B5AB9B !important;
  border-radius: 2px !important;
  background: #FFFFFF !important;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 16px;
  color: #23211D;
}
.welcome-wrapper .form-control:focus {
  border-color: #4E5A44 !important;
  outline: 2px solid rgba(78, 90, 68, 0.25);
  outline-offset: 1px;
}
.welcome-wrapper textarea.form-control { min-height: 160px; }
.welcome-wrapper .consents label { font-weight: 400; font-size: 14px; line-height: 1.5; color: #5E584F; }
.welcome-wrapper .consents input[type="checkbox"] { width: 20px; height: 20px; }
.welcome-wrapper .submit-wrapper .btn {
  min-height: 56px;
  padding: 0 32px !important;
  font-size: 16px !important;
  background: #4E5A44 !important;
  border-color: #4E5A44 !important;
  border-radius: 2px !important;
}
@media (max-width: 767px) {
  .welcome-wrapper { padding: 64px 20px !important; }
  .welcome-wrapper .welcome .h1 { font-size: 34px !important; }
}

/* 15. Főoldali blog szekció elrejtve
   (a 9. és 9b. pontban lévő stílusok maradnak – ha később visszatér a blog,
   elég ezt a szabályt törölni) */
.homepage-blog-wrapper { display: none !important; }

/* 16. Lábléc: kétoszlopos linklista */
.op-lablec-lista { display: flex; flex-wrap: wrap; gap: 32px; }
.op-lablec-lista > div { min-width: 130px; }
.op-lablec-lista h4 { margin: 0 0 12px !important; font-size: 17px !important; }
.op-lablec-lista ul { list-style: none; margin: 0; padding: 0; }
.op-lablec-lista li { margin-bottom: 8px; }

/* 17. Lábléc: kapcsolat és saját közösségi ikonok */
#footer .contact-box ul { list-style: none; margin: 0; padding: 0; }
#footer .contact-box > ul > li { margin-bottom: 8px; }
#footer .contact-box a { color: #23211D !important; text-decoration: none; }
#footer .contact-box a:hover { color: #4E5A44 !important; }
#footer .contact-box .social-icon-list { display: inline-block; margin: 16px 8px 0 0 !important; }
#footer .social-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  background: transparent !important;
  border: 1px solid #C9BFAE !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}
#footer .social-icon:hover { background: rgba(35, 33, 29, 0.06) !important; }
#footer .social-icon::after { display: none !important; }
#footer .social-icon::before {
  content: '' !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
#footer .social-icon.facebook::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2323211D'%3E%3Cpath d='M13.5 21v-7h2.3l.4-3h-2.7V9.2c0-.9.3-1.4 1.5-1.4H16V5.1A19 19 0 0 0 13.9 5C11.8 5 10.5 6.2 10.5 8.6V11H8v3h2.5v7z'/%3E%3C/svg%3E") !important;
}
#footer .social-icon.instagram::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323211D' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='0.9' fill='%2323211D' stroke='none'/%3E%3C/svg%3E") !important;
}
#footer .social-icon.youtube::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2323211D'%3E%3Cpath d='M21.6 7.2a2.7 2.7 0 0 0-1.9-1.9C18 4.8 12 4.8 12 4.8s-6 0-7.7.5A2.7 2.7 0 0 0 2.4 7.2 28 28 0 0 0 2 12a28 28 0 0 0 .4 4.8 2.7 2.7 0 0 0 1.9 1.9c1.7.5 7.7.5 7.7.5s6 0 7.7-.5a2.7 2.7 0 0 0 1.9-1.9A28 28 0 0 0 22 12a28 28 0 0 0-.4-4.8zM10 15.2V8.8l5.3 3.2z'/%3E%3C/svg%3E") !important;
}
#footer .social-icon.tiktok::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2323211D'%3E%3Cpath d='M14 3h2.4a5.4 5.4 0 0 0 3.9 3.7v2.4a7.6 7.6 0 0 1-3.9-1.2v6.2a5.6 5.6 0 1 1-5.6-5.6c.3 0 .6 0 .9.1v2.5a3.2 3.2 0 1 0 2.3 3.1z'/%3E%3C/svg%3E") !important;
}

/* 18. Lábléc: oszlopok igazítása */
#footer .custom-footer { align-items: flex-start; }
#footer h4 {
  margin: 0 0 20px !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  text-transform: none !important;
}
#footer .banner-wrapper > span > p:first-child { margin-top: 0 !important; }
#footer .contact-box { margin-top: 0 !important; }
#footer .contact-box > ul { margin-top: 0 !important; }
#footer .custom-footer__banner4 img { max-width: 190px; height: auto; }
#footer .custom-footer__banner4 p { margin: 0 !important; text-align: left !important; }
.op-lablec-lista h4 { font-size: 20px !important; }

/* 18b. Lábléc: minden oszlop felülről induljon */
#footer .custom-footer > div,
#footer .custom-footer .banner,
#footer .custom-footer .banner-wrapper { padding-top: 0 !important; margin-top: 0 !important; }
#footer .custom-footer h4,
#footer .custom-footer .menu-box h4,
#footer .custom-footer > div > *:first-child { margin-top: 0 !important; line-height: 1.2 !important; }
#footer .custom-footer__banner4 .banner-wrapper > span { display: block; }
