/*
Theme Name: Anya-Lánya-Unokája
Author: Szöllősi-Kincs Anett
Version: 1.0
*/

/* =========================
   ALAPBEÁLLÍTÁSOK
========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, serif;
    background: #f9f6f2;
    color: #2f2f2f;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* =========================
   FEJLÉC
========================= */
.site-header {
    background: #f1e7dc;
    padding: 16px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.branding {
    display: flex;
    align-items: center;
    gap: 25px;
    min-width: 0;
    flex: 1 1 auto;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    max-height: 90px;
    width: auto;
}

.site-title {
    font-size: 34px;
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    letter-spacing: 1px;
    color: #3a3a3a;
    line-height: 1.1;
    white-space: nowrap;
    margin: 0;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-title a:hover {
    color: inherit;
}

.main-nav {
    flex: 0 0 auto;
    margin-left: auto;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav li {
    margin: 0;
    padding: 0;
    position: relative;
}

.main-nav a {
    text-decoration: none;
    color: #2f2f2f;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: #7fa36b;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #7fa36b;
    transition: 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.current-menu-item a {
    color: #7fa36b;
}

.main-nav ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #f1e7dc;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    z-index: 999;
}

.main-nav ul li:hover ul.sub-menu {
    display: block;
}

.main-nav ul li ul.sub-menu li {
    width: 100%;
}

.main-nav ul li ul.sub-menu a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
}

.main-nav ul li ul.sub-menu a::after {
    display: none;
}

/* =========================
   VISSZA LINKEK
========================= */
.shop-back-link-hook,
.blog-back-link {
    max-width: 1100px;
    margin: 8px auto 8px;
    padding: 0 20px;
}

.shop-back-link-hook a,
.blog-back-link a {
    display: inline-block;
    color: #7fa36b !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.shop-back-link-hook a:hover,
.blog-back-link a:hover {
    color: #5f7d4f !important;
    text-decoration: none !important;
}

.shop-back-link-hook a:visited,
.blog-back-link a:visited {
    color: #7fa36b !important;
}

.page-back-link {
    max-width: 1100px;
    margin: 10px auto 0;
    padding: 10px 20px;
    text-align: left;
}

.page-back-link a {
    display: inline-block;
    color: #7fa36b !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.page-back-link a:hover {
    color: #5f7d4f !important;
    text-decoration: none !important;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    max-width: 1100px;
    margin: 20px auto 40px;
    padding: 50px 32px;
    background: linear-gradient(180deg, #ead2c4 0%, #e7cfc1 100%);
    border-radius: 18px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}

.hero-corner-leaf {
    position: absolute;
    top: 0;
    right: -20px;
    width: 300px;
    height: auto;
    opacity: 0.50;
    transform: rotate(-60deg);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7fa36b;
    font-weight: bold;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: 50px;
    line-height: 1.05;
    color: #2f2f2f;
    letter-spacing: -1px;
}

.hero-text {
    margin: 0 auto 26px;
    font-size: 20px;
    line-height: 1.6;
    max-width: 650px;
    color: #3f3a37;
}

.hero-button {
    display: inline-block;
    padding: 14px 34px;
    background: #7fa36b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: #5f7d4f;
    transform: translateY(-2px);
}

.hero-about {
    text-align: center;
    padding: 100px 20px 60px;
    margin-bottom: 70px;
}

.hero-about .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-about .hero-kicker {
    color: #7ea16b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-about h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-about .hero-text {
    font-size: 22px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.hero-shop {
    margin-bottom: 50px;
}

.hero-blog-single {
    max-width: 1100px;
    margin: 10px auto 40px;
    padding: 45px 30px;
    min-height: auto;
}

.hero-blog-single h1 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.hero-blog-single .hero-kicker {
    margin-bottom: 8px;
}

.hero-blog-single .hero-text {
    font-size: 18px;
    margin-bottom: 0;
}

/* =========================
   GOMBOK
========================= */
button {
    padding: 12px 28px;
    background: #7fa36b;
    border: none;
    color: white;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background: #5f7d4f;
}

/* =========================
   BEMUTATKOZÁS
========================= */
.bemutatkozas {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 80px auto;
    padding: 50px;
    background: #f1e7dc;
    border-radius: 18px;
}

.bemutatkozas h2 {
    margin: 0 0 20px;
    font-size: 42px;
    line-height: 1.1;
    color: #2f2f2f;
}

.bemutatkozas p {
    margin: 0 0 18px;
    line-height: 1.8;
    font-size: 18px;
    color: #3f3a37;
}

.bemutatkozas-kep {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.bemutatkozas-kep img,
.bemutatkozas-kep-placeholder {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.bemutatkozas-kep-placeholder {
    background: #ead2c4;
    color: #7a6e67;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    font-size: 20px;
    line-height: 1.6;
}

.bemutatkozas-kep img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    filter: saturate(0.88) contrast(0.92) brightness(1.04);
}

.bemutatkozas-kep::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(241, 231, 220, 0.12);
    pointer-events: none;
    border-radius: 20px;
}

.text-link {
    color: #7fa36b;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #5f7d4f;
    text-decoration: underline;
}

/* =========================
   KATEGÓRIÁK / KÁRTYÁK
========================= */
.kategoriak {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    max-width: 1250px;
    margin: 70px auto;
    align-items: stretch;
}

.kartya {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 340px;
    text-align: center;
}

.kartya:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.kartya h3 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.2;
    color: #2f2f2f;
    min-height: 70px;
}

.kartya p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #4a4542;
}

.kartya-link {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.kartya-link:hover {
    text-decoration: none;
    color: inherit;
}

.kartya-link h3,
.kartya-link p {
    color: inherit;
}

/* =========================
   CTA
========================= */
.cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 80px 20px;
    background: #f1e7dc;
    border-radius: 20px;
    margin: 60px auto 30px;
    max-width: 900px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta .hero-button {
    padding: 14px 34px;
    font-size: 17px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.cta button:hover {
    background: #8f728a;
    transform: translateY(-2px);
}

.cta::after {
    content: "";
    position: absolute;
    top: -10px;
    right: -35px;
    width: 200px;
    height: 120px;
    background: url('/wp-content/themes/anya-lanya-unokaja/images/level.png') no-repeat center;
    background-size: contain;
    opacity: 0.50;
    transform: rotate(-70deg);
    pointer-events: none;
}

.cta::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: -35px;
    width: 200px;
    height: 120px;
    background: url('/wp-content/themes/anya-lanya-unokaja/images/level.png') no-repeat center;
    background-size: contain;
    opacity: 0.5;
    transform: rotate(-240deg);
    pointer-events: none;
}

/* =========================
   FOOTER
========================= */
.site-footer {
    background: #e8ded3;
    padding: 32px 20px 18px;
    margin-top: 30px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-social {
    text-align: left;
}

.footer-social h4,
.footer-links h4 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #5f5a56;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f6eee7;
    color: #2f2f2f;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.social-icons a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icons a:hover {
    transform: translateY(-2px);
    color: #fff;
}

.social-icons a:nth-child(1):hover {
    background: #1877f2;
}

.social-icons a:nth-child(2):hover {
    background: #e1306c;
}

.social-icons a:nth-child(3):hover {
    background: #e60023;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    max-height: 180px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.footer-links {
    text-align: right;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: #2f2f2f;
    margin-bottom: 7px;
    font-size: 17px;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #7fa36b;
}

.footer-bottom {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #777;
}

.footer-bottom p {
    margin: 0;
}

/* =========================
   KAPCSOLAT OLDAL
========================= */
.kapcsolat {
    padding: 20px 20px 60px;
}

.kapcsolat-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.kapcsolat-text,
.kapcsolat-form {
    margin-top: 0;
}

.kapcsolat-text {
    flex: 1;
}

.kapcsolat-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.kapcsolat-text p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.kapcsolat-adatok p {
    margin: 5px 0;
}

.kapcsolat-social {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.kapcsolat-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f3e7dd;
    color: #2f2f2f;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kapcsolat-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.kapcsolat-social a:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.kapcsolat-social a:nth-child(1):hover {
    background: #1877f2;
}

.kapcsolat-social a:nth-child(2):hover {
    background: #e1306c;
}

.kapcsolat-social a:nth-child(3):hover {
    background: #e60023;
}

.kapcsolat-form {
    flex: 1;
    background: #ead2c4;
    padding: 40px;
    border-radius: 20px;
    max-width: 420px;
    margin-left: auto;
}

.kapcsolat-form label {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
    color: #2f2f2f;
}

.kapcsolat-form input,
.kapcsolat-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-top: 8px;
    border: none;
    border-radius: 12px;
    background: #fffaf6;
    font-family: inherit;
    font-size: 16px;
    color: #2f2f2f;
}

.kapcsolat-form textarea {
    min-height: 140px;
    resize: vertical;
}

.kapcsolat-form .wpcf7-acceptance {
    display: block;
    margin: 18px 0 22px;
}

.kapcsolat-form .wpcf7-list-item {
    margin: 0;
}

.kapcsolat-form .wpcf7-list-item-label {
    display: inline;
    font-size: 15px;
    line-height: 1.5;
}

.kapcsolat-form .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.kapcsolat-form .wpcf7-submit,
.kapcsolat-form input[type="submit"] {
    width: auto;
    display: block;
    margin: 10px auto 0;
    background: #7fa36b;
    color: white;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.kapcsolat-form .wpcf7-submit:hover,
.kapcsolat-form input[type="submit"]:hover {
    background: #5f7d4f;
    transform: translateY(-2px);
}

.wpcf7-spinner {
    display: none;
}

/* =========================
   RÓLUNK OLDAL
========================= */
.generaciok {
    max-width: 1100px;
    margin: 0 auto 70px;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.generacio {
    flex: 1 1 280px;
    max-width: 320px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.generacio:hover {
    transform: translateY(-8px);
}

.generacio-foto {
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.generacio-foto img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.generacio:hover .generacio-foto img {
    transform: scale(1.04);
    filter: brightness(1.03);
}

.generacio h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2f2f2f;
}

.generacio p {
    font-size: 17px;
    line-height: 1.7;
    color: #3d3d3d;
    margin: 0;
}

.rolunk-idezet {
    max-width: 700px;
    margin: 40px auto 60px;
    padding: 0 20px;
    text-align: center;
}

.rolunk-idezet p {
    font-size: 26px;
    line-height: 1.6;
    font-style: italic;
    color: #2f2f2f;
    margin: 0;
}

.rolunk-cta {
    text-align: center;
    margin-bottom: 90px;
}

.rolunk-cta .hero-button {
    display: inline-block;
    padding: 14px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 22px rgba(127, 163, 107, 0.22);
}

.rolunk-cta .hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(127, 163, 107, 0.28);
}

/* =========================
   BLOG
========================= */
.blog-lista {
    padding: 0 20px 30px;
}

.blog-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 10px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 260px);
    gap: 30px;
    justify-content: start;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.blog-card {
    background: #ead8cc;
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blog-card a {
    color: #6b8f71;
    font-weight: 600;
    text-decoration: none;
}

.blog-card a:hover {
    text-decoration: underline;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: #e2cec1;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card h2 {
    font-size: 34px;
    margin: 0 0 16px;
    line-height: 1.2;
}

.blog-card h2 a {
    text-decoration: none;
    color: #1f2a44;
}

.blog-card p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.blog-read-more {
    margin-top: auto;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    color: #7ea16b;
}

.nincs-bejegyzes {
    text-align: center;
    font-size: 20px;
}

.blog-single-section {
    padding: 10px 20px 80px;
}

.blog-single-container {
    max-width: 820px;
    margin: 0 auto;
}

.blog-single-container p {
    font-size: 22px;
    line-height: 1.9;
    color: #2f2f2f;
    margin-bottom: 24px;
}

.blog-single-image {
    margin-bottom: 30px;
}

.blog-single-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

.blog-single-content {
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.blog-single-content p {
    margin-bottom: 20px;
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
    margin: 30px 0 15px;
}

.blog-single-back {
    margin-top: 40px;
}

.blog-single-back a {
    text-decoration: none;
    color: #7ea16b;
    font-weight: 600;
}

/* =========================
   WOOCOMMERCE / WEBSHOP
========================= */
.shop-content,
.single-product .woocommerce,
.post-type-archive-product .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Shop fejléc */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 30px;
}

.woocommerce .woocommerce-ordering select {
    border: 1px solid #d8cec2;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    color: #2f2f2f;
    font-family: Georgia, serif;
}

/* TERMÉKLISTA */
.woocommerce ul.products,
.related.products ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product,
.related.products ul.products li.product {
    width: 240px !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    list-style: none !important;
    background: transparent;
}

.woocommerce ul.products li.product a {
    text-decoration: none;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    border-radius: 12px;
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.woocommerce ul.products li.product a:hover img {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    color: #2f2f2f;
    font-size: 28px;
    line-height: 1.3;
    margin: 14px 0 10px;
}

.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product a:hover h2,
.related.products ul.products li.product a:hover .woocommerce-loop-product__title,
.related.products ul.products li.product a:hover h2 {
    color: #7fa36b;
}

.woocommerce ul.products li.product .price,
.related.products ul.products li.product .price {
    color: #8b7a2b;
    font-weight: 600;
    margin-bottom: 14px;
    display: block;
}

.related.products > h2 {
    margin: 0 0 20px 0;
    text-align: left;
    font-size: 32px;
    color: #2f2f2f;
}

/* WooCommerce default after/before törlése */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.related.products ul.products::before,
.related.products ul.products::after {
    display: none !important;
    content: none !important;
}

/* Gombok */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce ul.products li.product .button,
.woocommerce div.product .single_add_to_cart_button,
.wc-block-cart__submit-button,
.wc-block-components-button,
.wc-block-components-button:not(.is-link),
.woocommerce-account .woocommerce-message a.button,
.woocommerce-account .woocommerce-info a.button {
    background: #7fa36b !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(127, 163, 107, 0.18);
    transition: all 0.3s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-button:hover,
.wc-block-components-button:not(.is-link):hover,
.woocommerce-account .woocommerce-message a.button:hover,
.woocommerce-account .woocommerce-info a.button:hover {
    background: #6d9159 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(127, 163, 107, 0.28) !important;
}

/* SINGLE PRODUCT */
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    flex: 1 1 420px;
}

.woocommerce div.product div.images img {
    border-radius: 16px;
}

.woocommerce div.product .product_title {
    font-size: 42px;
    line-height: 1.15;
    color: #2f2f2f;
    margin-bottom: 18px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #8b7a2b;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 18px;
}

.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.woocommerce div.product form.cart .qty {
    width: 70px;
    height: 42px;
    border: 1px solid #d8cec2;
    border-radius: 10px;
    text-align: center;
    font-family: Georgia, serif;
}

.woocommerce div.product .product_meta {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #3d3d3d;
}

.woocommerce div.product .product_meta a {
    color: #7fa36b;
    text-decoration: none;
}

.woocommerce div.product .product_meta a:hover {
    text-decoration: underline;
}

/* Tabok */
.woocommerce div.product .woocommerce-tabs {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0 0 20px 0;
    padding: 0;
    border-bottom: 1px solid #e5ddd5;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 10px 0 0;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
    content: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: #f1e7dc;
    color: #2f2f2f;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    background: #e8dccf;
    color: #2f2f2f;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    background: #7fa36b;
    color: #fff;
}

/* Kapcsolódó termékek */
.related.products {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
}

.related.products ul.products li.product .woocommerce-loop-product__title,
.related.products ul.products li.product h2 {
    color: #2f2f2f;
    font-size: 22px;
    line-height: 1.35;
    margin: 14px 0 10px;
}

.single-product .site-footer {
    margin-top: 20px;
}

/* Értékelés csillagok */
.woocommerce p.stars a {
    color: #7a9c6b !important;
}

.woocommerce p.stars a:hover,
.woocommerce p.stars a.active {
    color: #5f7f55 !important;
}

/* már meglévő értékelések csillagai */
.woocommerce .star-rating span {
    color: #7a9c6b !important;
}

/* FIÓK OLDAL */
.woocommerce-account .page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.woocommerce-account .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left;
    width: 240px;
    margin-right: 40px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: left;
    width: calc(100% - 280px);
    min-width: 0;
    background: #fffaf6;
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    line-height: 1.8;
    font-size: 17px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 18px;
    background: #f1e7dc;
    border-radius: 18px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0 0 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    margin-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #2f2f2f;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #e8dccf;
    color: #7fa36b;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #7fa36b;
    color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    margin-top: 0;
    margin-bottom: 18px;
}

.woocommerce-account .woocommerce-MyAccount-content a,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title a {
    color: #7fa36b;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content a:hover,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title a:hover {
    text-decoration: underline;
}

.woocommerce-account .woocommerce::after {
    content: "";
    display: block;
    clear: both;
}

/* Címek oldal */
.woocommerce-account .woocommerce-Addresses {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    width: 100%;
    float: none;
    margin: 0;
    background: #fffaf6;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #2f2f2f;
}

/* Rendelések üzenet */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
    border-top-color: #7fa36b !important;
    color: #2f2f2f !important;
    background: #fffaf6 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    border-radius: 16px;
    padding: 22px 24px !important;
}

.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before {
    color: #7fa36b !important;
}

.woocommerce-info {
    border-top: none;
    background: transparent;
}

/* WooCommerce info ikon eltüntetése */
.woocommerce-info::before {
    display: none !important;
}

/* Termékgaléria */
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    padding: 0;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 90px !important;
    margin: 0 !important;
    list-style: none;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 12px;
    cursor: pointer;
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* =========================
   TABLET
========================= */
@media (max-width: 1100px) {
    .header-inner {
        gap: 20px;
    }

    .site-title {
        font-size: 28px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .main-nav a {
        font-size: 16px;
    }

    .kategoriak {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bemutatkozas {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
        margin: 60px auto;
    }

    .generaciok {
        gap: 24px;
        margin-bottom: 50px;
    }

    .kapcsolat-inner {
        flex-direction: column;
    }

    .kapcsolat-form {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
    }

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

    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 24px;
    }
}

/* =========================
   MOBIL NÉZET
========================= */
@media (max-width: 768px) {
    .site-header {
        padding: 20px 15px;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
    }

    .branding {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .site-title {
        font-size: 28px;
        white-space: normal;
        text-align: center;
    }

    .main-nav {
        margin-left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 12px;
    }

    main {
        padding: 15px;
    }

    .hero {
        padding: 75px 20px;
        margin: 30px 0 50px;
    }

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

    .hero-text {
        font-size: 18px;
    }

    .hero-kicker {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .hero-button {
        width: 100%;
        max-width: 280px;
    }

    .bemutatkozas h2 {
        font-size: 32px;
    }

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

    .bemutatkozas-kep img,
    .bemutatkozas-kep-placeholder {
        min-height: 280px;
    }

    .kartya {
        min-height: auto;
        padding: 25px 20px;
    }

    .kartya h3 {
        font-size: 24px;
        min-height: auto;
    }

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

    .kapcsolat-social {
        justify-content: center;
    }

    .hero-about {
        padding: 80px 20px 60px;
    }

    .hero-about h1 {
        font-size: 40px;
    }

    .hero-about .hero-text {
        font-size: 18px;
    }

    .generacio {
        width: 100%;
        max-width: 340px;
    }

    .generacio-foto img {
        height: 220px;
    }

    .rolunk-idezet p {
        font-size: 20px;
    }

    .rolunk-cta {
        margin-bottom: 60px;
    }

    .blog-card h2 {
        font-size: 28px;
    }

    .blog-card p {
        font-size: 17px;
    }

    .woocommerce ul.products li.product,
    .related.products ul.products li.product {
        width: 100% !important;
    }

    .woocommerce div.product {
        gap: 30px;
        padding: 0 15px;
    }

    .woocommerce div.product .product_title {
        font-size: 32px;
    }

    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 24px;
    }

    .woocommerce div.product form.cart {
        align-items: stretch;
    }
   
    .hero-corner-leaf {
        display: none !important;
    }
}