/*
Theme Name: Jegenye Kiadó
Description: Egyedi WooCommerce téma a Jegenye Kiadó három könyvéhez.
Version: 0.5.8
Text Domain: jegenye-kiado
*/

:root{font-family:Georgia,'Times New Roman',serif;color:#242a22;background:#f8f7f3}*{box-sizing:border-box}body{margin:0}button,a{font:inherit}button{cursor:pointer}a{color:inherit}.wrap{width:min(1120px,calc(100% - 40px));margin:auto}.top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0}.brand img{display:block;width:225px;max-width:100%;mix-blend-mode:multiply}.nav{display:flex;gap:24px;align-items:center;font-family:Arial,sans-serif;font-size:14px}.nav a{text-decoration:none}.cart-button,.primary,.secondary{border:1px solid #2a4735;background:#2a4735;color:white;padding:12px 19px;min-height:44px;border-radius:2px;font-family:Arial,sans-serif;font-size:14px}.cart-button{background:transparent;color:#2a4735}.cart-button:hover,.secondary:hover{background:#e9eee7}.primary:hover{background:#193021}.hero{position:relative;height:310px;overflow:hidden;background:#e6e8df}.hero img{width:100%;height:100%;object-fit:cover;display:block}.intro{text-align:center;padding:48px 16px 27px}.eyebrow{font:700 12px Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#536b55}.intro h1{font-size:clamp(32px,5vw,52px);font-weight:normal;margin:13px 0 9px}.intro p{font-size:17px;line-height:1.5;margin:0;color:#5c6058}.books{display:grid;gap:16px;padding-bottom:65px}.book{display:grid;grid-template-columns:1fr 1fr;min-height:340px;background:#fff;border:1px solid #d7d9d0}.book:nth-child(even) .photo:not(:where(.avatar)){order:2}.photo:not(:where(.avatar)){background:#ece8e1;min-height:320px;display:grid;place-items:center;overflow:hidden}.photo:not(:where(.avatar)) img{width:100%;height:100%;max-height:430px;object-fit:cover}.book:nth-child(2) .photo:not(:where(.avatar)) img{object-fit:contain;background:#f2ece5}.detail{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(28px,5vw,62px)}.detail h2{font-size:clamp(27px,3.4vw,39px);line-height:1.12;font-weight:normal;margin:10px 0 13px}.detail p{font:16px/1.55 Arial,sans-serif;color:#54594f;margin:0 0 18px}.meta{font:14px/1.6 Arial,sans-serif;color:#54594f}.price{font:700 22px Arial,sans-serif;margin:18px 0}.detail .primary{margin-top:4px}.bundle{background:#233c2e;color:#fff;padding:30px clamp(25px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:22px}.bundle h2{font-size:clamp(24px,3vw,34px);font-weight:normal;margin:7px 0}.bundle p{font:15px/1.5 Arial,sans-serif;margin:0;color:#e8eee6}.bundle .eyebrow{color:#d4bd83}.bundle button{background:#fff;color:#233c2e;white-space:nowrap;border-color:#fff}.bundle button:hover{background:#e5eadf}.discount{display:flex;justify-content:space-between;color:#2a4735;font:15px Arial,sans-serif;padding:0 0 10px}.foot{border-top:1px solid #d7d9d0;padding:27px 0 45px;display:flex;flex-wrap:wrap;gap:14px 28px;font:14px Arial,sans-serif;color:#4f574e}.foot a{text-decoration:none}.foot a:hover,.nav a:hover{text-decoration:underline}.drawer-back{position:fixed;inset:0;background:#0008;z-index:4}.drawer{position:fixed;z-index:5;right:0;top:0;height:100dvh;width:min(430px,100%);background:#fff;padding:25px;box-shadow:-10px 0 30px #0002;overflow-y:auto}.drawer-head{display:flex;align-items:center;justify-content:space-between}.drawer h2{font-weight:normal;font-size:30px;margin:0}.close{border:0;background:transparent;font-size:30px;line-height:1;padding:4px 10px}.cart-line{border-bottom:1px solid #ddd;padding:20px 0;display:grid;grid-template-columns:1fr auto;gap:10px;font:15px/1.4 Arial,sans-serif}.qty{display:flex;align-items:center;gap:12px}.qty button{width:32px;height:32px;background:white;border:1px solid #bbb}.total{display:flex;justify-content:space-between;font:700 18px Arial,sans-serif;padding:24px 0}.note{font:14px/1.5 Arial,sans-serif;color:#64685f}.dialog{position:fixed;z-index:8;inset:0;display:grid;place-items:center;padding:20px;background:#0008}.dialog article{background:white;padding:30px;max-width:520px;width:100%;position:relative}.dialog .close{position:absolute;right:12px;top:12px}.dialog h2{font-weight:normal;font-size:28px;margin:0 30px 15px 0}.dialog p{font:16px/1.55 Arial,sans-serif}button:focus-visible,a:focus-visible{outline:3px solid #c4892b;outline-offset:3px}[hidden]{display:none!important}@media(max-width:700px){.top{padding:14px 0}.brand img{width:160px}.nav{gap:11px}.nav a{display:none}.hero{height:210px}.intro{padding:34px 0 23px}.books{gap:15px}.book{display:flex;flex-direction:column}.book:nth-child(even) .photo:not(:where(.avatar)){order:0}.photo:not(:where(.avatar)){height:290px;min-height:0}.detail{padding:25px}.detail h2{font-size:29px}.bundle{display:block}.bundle button{margin-top:19px}.foot{padding-bottom:30px}}


body{font-family:'Abyssinica SIL',Georgia,serif}
.intro h1,.detail h2,.bundle h2,.drawer h2,.dialog h2{font-family:'Abril Fatface',Georgia,serif;font-weight:400}
.detail h2,.bundle h2{text-transform:uppercase}
.intro h1{text-transform:uppercase}
.detail p,.bundle p,.meta,.note,.dialog p{font-family:'Abyssinica SIL',Georgia,serif}
.photo:not(:where(.avatar)){position:relative}.photo:not(:where(.avatar)) button{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}
.photo:not(:where(.avatar)) button img{display:block;width:100%;height:100%;object-fit:contain;background:#f2ece5}
.photo:not(:where(.avatar)) .gallery-cue{position:absolute;bottom:12px;right:12px;background:#fffdf4ef;color:#243b2c;padding:7px 11px;font:13px Arial,sans-serif;pointer-events:none}
.gallery{position:fixed;inset:0;z-index:12;background:#121711ed;color:#fff;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:14px}
.gallery-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.gallery-head h2{font:23px 'Abril Fatface',Georgia,serif;margin:0;text-transform:uppercase}
.gallery .close{color:#fff}.gallery-stage{display:flex;align-items:center;justify-content:center;gap:10px;min-height:0}
.gallery-stage img{max-width:min(100%,1080px);max-height:100%;object-fit:contain}
.gallery-arrow{flex:0 0 auto;border:1px solid #fff8;background:#fff2;color:#fff;font:35px Arial,sans-serif;width:46px;height:52px}
.gallery-foot{text-align:center;font:14px Arial,sans-serif;padding:6px}.gallery-thumbs{display:flex;gap:7px;justify-content:center;margin-top:10px}
.gallery-thumbs button{width:60px;height:45px;padding:0;border:2px solid transparent;background:transparent}.gallery-thumbs button.active{border-color:#e7c784}.gallery-thumbs img{width:100%;height:100%;object-fit:cover}
@media(max-width:700px){.gallery{padding:8px}.gallery-head h2{font-size:17px}.gallery-arrow{width:35px;height:45px;font-size:26px}.gallery-stage{gap:3px}}
.content-page{min-height:60vh;background:#fff;padding:42px clamp(20px,5vw,60px);margin-bottom:50px}
.content-page h1{font:clamp(30px,4vw,48px) 'Abril Fatface',Georgia,serif;text-transform:uppercase}
.content-page p,.content-page li{font:17px/1.6 'Abyssinica SIL',Georgia,serif}
.bundle-notice{padding:14px 18px;background:#eaf0e8;color:#244632;border-left:4px solid #52795d}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:#2a4735;color:#fff;border-radius:2px;font-family:Arial,sans-serif}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#193021;color:#fff}

/* A Jegenye Kiadó monokróm logójához igazított felület. */
:root{color:#282828;background:#f5f5f3}
body{color:#282828;background:#f5f5f3}
.top{padding:18px 0;gap:32px}
.brand img{width:min(390px,48vw);mix-blend-mode:normal}
.nav{color:#3a3a3a}
.cart-button,.primary,.secondary{border-color:#393939;background:#393939;color:#fff}
.cart-button{background:transparent;color:#393939}
.cart-button:hover,.secondary:hover{background:#e5e5e3;color:#282828}
.primary:hover{background:#202020;border-color:#202020}
.hero{height:auto;aspect-ratio:943/285;background:#e9e9e7}
.hero img{object-fit:cover}
.intro{padding-top:42px}
.eyebrow{color:#767676}
.intro p,.detail p,.meta,.note{color:#626262}
.book{border-color:#d7d7d4}
.photo:not(:where(.avatar)),.photo:not(:where(.avatar)) button img,.book:nth-child(2) .photo:not(:where(.avatar)) img{background:#ecebe8}
.gallery-cue{color:#303030!important;background:#fafafaed!important}
.bundle{background:#414141}
.bundle p{color:#ebebeb}
.bundle .eyebrow{color:#d1d1d1}
.bundle .secondary{display:inline-block;white-space:nowrap;background:#fff;color:#343434;border-color:#fff;text-decoration:none}
.bundle .secondary:hover{background:#e8e8e8;color:#252525}
.foot{border-color:#d0d0ce;color:#5a5a5a}
.discount{color:#393939}
button:focus-visible,a:focus-visible{outline-color:#777}
.bundle-notice{background:#ededeb;color:#333;border-color:#777}
.gallery{background:#151515ee}
.gallery-thumbs button.active{border-color:#c6c6c6}
.woocommerce a{color:#353535}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:#393939;color:#fff}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#202020;color:#fff}
.woocommerce-info{border-top-color:#777}
.woocommerce-info::before{color:#555}
.woocommerce-message{border-top-color:#777}
.woocommerce-message::before{color:#555}
@media(max-width:700px){.brand img{width:min(230px,56vw)}.hero{height:185px;aspect-ratio:auto}.intro{padding-top:32px}.bundle .secondary{white-space:normal;text-align:center}}

/* Történeti képek: az eredeti nyitókép 943:285 arányát tartjuk. */
.hero{position:relative;aspect-ratio:943/285;height:auto;overflow:hidden}
.hero .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .7s ease;display:block}
.hero .hero-slide.is-active{opacity:1}
.hero-controls{position:absolute;right:15px;bottom:13px;display:flex;align-items:center;gap:8px;background:#222a;color:#fff;padding:4px 6px;border-radius:2px;font:13px Arial,sans-serif}
.hero-controls button{border:0;background:transparent;color:#fff;width:32px;height:32px;font:25px/1 Arial,sans-serif}
.hero-counter{min-width:36px;text-align:center}
.intro{padding-top:20px;padding-bottom:36px}
.intro h1{margin-top:0}
.brand img{mix-blend-mode:normal}
@media(max-width:700px){.hero{height:auto;aspect-ratio:943/285}.intro{padding-top:15px;padding-bottom:29px}.hero-controls{right:6px;bottom:6px}}
@media(prefers-reduced-motion:reduce){.hero .hero-slide{transition:none}}

/* Fortepan archív városképek és képgaléria. */
.brand img{width:min(450px,52vw)}
.hero .hero-slide{margin:0;display:block;pointer-events:none}
.hero .hero-slide.is-active{pointer-events:auto}
.hero .hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center 54%;display:block}
.hero figcaption{position:absolute;right:14px;bottom:13px;padding:7px 11px;background:#181818aa;color:#fff;font:17px 'Abyssinica SIL',Georgia,serif;letter-spacing:.02em}
.hero-credit{position:absolute;left:14px;bottom:13px;padding:5px 8px;background:#181818aa;color:#fff;font:12px Arial,sans-serif;text-decoration:none}
.hero-credit:hover{text-decoration:underline}
.hero-controls{right:50%;transform:translateX(50%)}
.gallery:not([hidden]){display:grid}.gallery-stage{overflow:hidden}.gallery-stage img{min-width:0;min-height:0;max-height:calc(100dvh - 160px)}
.photo:not(:where(.avatar)) button{position:relative;z-index:1}.photo:not(:where(.avatar)) .gallery-cue{z-index:2}
@media(max-width:700px){.brand img{width:min(275px,64vw)}.hero figcaption{right:5px;bottom:5px;font-size:12px;padding:4px 6px}.hero-credit{left:5px;bottom:5px;font-size:9px;padding:4px}.hero-controls{bottom:50%;transform:translate(50%,50%);opacity:.8}.hero-controls button{width:27px;height:27px}.hero-counter{display:none}}
body.gallery-open{overflow:hidden}
.gallery-stage img{max-width:calc(100vw - 130px);width:auto;height:auto;object-fit:contain}
@media(max-width:700px){.gallery-stage img{max-width:calc(100vw - 90px)}}

/* Nagyobb logó és a második Fortepan-kép utcaszintje. */
.brand img{width:min(520px,55vw)}
.hero .hero-slide:nth-of-type(2) img{object-position:center bottom}
@media(max-width:700px){.brand img{width:min(315px,72vw)}}

/* 0.3.2 – könyvkártyák és világos, teljes képernyős képnézegető. */
.hero .hero-slide:nth-of-type(1) img{object-position:center bottom}
.photo:not(:where(.avatar)) button{cursor:pointer;transition:transform .25s ease}
.photo:not(:where(.avatar)) .gallery-cue{display:none}
@media(hover:hover){.photo:not(:where(.avatar)) button:hover{transform:translateY(-5px) scale(1.025)}}
.photo:not(:where(.avatar)) button:focus-visible{outline-offset:-5px;outline:3px solid #777}
.detail h2 a{text-decoration:none;cursor:pointer}
.detail h2 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.detail .book-subtitle{font-family:'Abril Fatface',Georgia,serif;font-size:clamp(17px,1.75vw,21px);font-weight:400;line-height:1.4;color:#333;text-transform:uppercase;margin:0 0 17px}
.book-premier{position:relative}
.premier-sticker{position:absolute;right:15px;top:15px;z-index:3;display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#414141;color:#fff;border:5px double #dededb;box-shadow:0 3px 12px #0002;font:16px 'Abyssinica SIL',Georgia,serif;letter-spacing:.06em;transform:rotate(9deg);pointer-events:none}
.gallery{background:#fff;color:#333;padding:0;gap:0;grid-template-rows:50px minmax(0,1fr);overscroll-behavior:contain}
.gallery-head{padding:6px 12px;gap:15px}
.gallery-head h2,.gallery-foot{display:none}
.gallery-count{font:20px 'Abyssinica SIL',Georgia,serif;letter-spacing:.06em}
.gallery-tools{display:flex;gap:7px;align-items:center;margin-left:auto}
.gallery-tools button{display:grid;place-items:center;width:36px;height:36px;border:0;background:transparent;color:#4a3941;padding:7px;cursor:pointer}
.gallery-tools button:hover{background:#f0efed}
.gallery-tools svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gallery .close{font:30px/1 Arial,sans-serif;color:#4a3941}
.gallery-stage{position:relative;display:grid;place-items:center;padding:12px 58px 30px;overflow:auto;touch-action:pan-y}
.gallery-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 92px);object-fit:contain;cursor:zoom-in}
.gallery-arrow{position:fixed;top:50%;transform:translateY(-50%);width:34px;height:38px;border:0;background:#b9b9b9b3;color:#fff;font:26px/1 Arial,sans-serif;z-index:2;cursor:pointer}
.gallery-arrow:hover{background:#777b}
#gallery-prev{left:8px}#gallery-next{right:8px}
.gallery.is-zoomed .gallery-stage{display:block;text-align:center}
.gallery.is-zoomed .gallery-stage img{max-width:none;max-height:none;width:150%;height:auto;margin:0 auto;cursor:zoom-out}
.gallery-tools button[aria-pressed=true]{background:#ecebea}
@media(max-width:700px){.gallery{padding:0}.gallery-stage{padding:8px 38px 20px}.gallery-stage img{max-width:100%;max-height:calc(100dvh - 80px)}.gallery-arrow{width:28px;height:34px}#gallery-prev{left:4px}#gallery-next{right:4px}.premier-sticker{width:70px;height:70px;right:10px;top:10px;font-size:13px}.detail .book-subtitle{font-size:19px}}
@media(prefers-reduced-motion:reduce){.photo:not(:where(.avatar)) button{transition:none}.photo:not(:where(.avatar)) button:hover{transform:none}}

/* 0.3.3 – oldalsó képváltó és premier kártya. */
.hero .hero-slide:nth-of-type(1) img{object-position:center 78%}
.hero-controls{position:absolute;inset:0;right:0;bottom:0;transform:none;padding:0;background:transparent;display:block;pointer-events:none;opacity:1}
.hero-counter{display:none}
.hero-controls button{position:absolute;top:0;bottom:0;width:9%;min-width:44px;height:100%;border:0;border-radius:0;background:transparent;color:white;pointer-events:auto;font:44px/1 Arial,sans-serif;text-shadow:0 1px 6px #0008;opacity:0;transition:opacity .2s ease,background .2s ease}
.hero-controls .hero-prev{left:0}.hero-controls .hero-next{right:0}
.hero-controls button:hover,.hero-controls button:focus-visible{opacity:1;background:#0002}
.hero-credit,.hero figcaption{z-index:2}
.detail .book-subtitle{font-size:13px;white-space:nowrap;max-width:100%;letter-spacing:0}
.book-premier .premier-sticker{width:105px;height:105px;right:-18px;top:-20px;font-size:19px;z-index:4}
@media(max-width:700px){.hero-controls{inset:0;transform:none}.hero-controls button{font-size:30px}.book-premier .premier-sticker{width:88px;height:88px;right:-10px;top:-16px;font-size:16px}.detail .book-subtitle{font-size:12px}}
@media(hover:none){.hero-controls button{opacity:.75;background:#0001}}
@media(prefers-reduced-motion:reduce){.hero-controls button{transition:none}}

/* 0.3.4 – összehangolt címek, finom keretezett szalag és tömörebb premier kártya. */
.intro h1{margin-bottom:2px}.intro p{line-height:1.25}
.book-premier .detail{padding-top:28px;padding-bottom:28px}
.book-premier .detail h2{max-width:100%;white-space:nowrap}
.book-premier .book-subtitle{font-size:19px;line-height:1.2;margin-bottom:14px}
.book-premier .detail p{text-align:justify;hyphens:auto;margin-bottom:14px}
.book-premier .meta{border-top:1px solid #545454;border-bottom:1px solid #545454;padding:4px 0;text-align:justify;text-align-last:justify;white-space:nowrap;max-width:100%;font-size:14px;line-height:1.5}
.book-premier .price{margin:13px 0}
.book-premier .photo:not(:where(.avatar)) button img{max-height:none;object-fit:cover}
@media(max-width:700px){.book-premier .detail{padding-top:22px;padding-bottom:22px}.book-premier .photo:not(:where(.avatar)){height:auto;aspect-ratio:1.42}.book-premier .detail h2{font-size:29px}}

/* 0.3.5 – közös könyvnézet és kosárgomb. */
.nav,.cart-button{font-family:'Abyssinica SIL',Georgia,serif;font-size:16px}
.primary,.woocommerce button.single_add_to_cart_button{font-family:'Abyssinica SIL',Georgia,serif!important;font-weight:700!important;font-size:17px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:9px;text-decoration:none;border-radius:2px!important;min-height:44px;padding:10px 19px!important;background:#393939!important;color:#fff!important;border:1px solid #393939!important;line-height:1.25!important}
.primary::before,.single_add_to_cart_button::before{content:'';display:inline-block;width:27px;height:27px;flex:0 0 27px;background:currentColor;mask:url('assets/basket.svg') center/contain no-repeat;-webkit-mask:url('assets/basket.svg') center/contain no-repeat}
.book-invitation{display:block;margin-top:10px;text-align:left}
body.single-product .content-page{padding:0;background:transparent;min-height:0;margin-top:30px}
.woocommerce div.product.jegenye-product{display:grid;grid-template-columns:1fr 1fr;margin-bottom:40px}
.woocommerce div.product.jegenye-product .summary{float:none;width:auto;margin:0;padding:28px clamp(28px,5vw,62px)}
.jegenye-product .detail h1{font:400 clamp(27px,3.4vw,39px)/1.12 'Abril Fatface',Georgia,serif;text-transform:uppercase;white-space:nowrap;margin:10px 0 13px;max-width:100%}
.jegenye-product .detail h1 a{text-decoration:none;cursor:pointer}.jegenye-product .detail h1 a:hover{text-decoration:underline;text-underline-offset:5px}
.woocommerce .jegenye-product .detail .price{font:700 22px 'Abyssinica SIL',Georgia,serif;color:#282828;margin:13px 0}
.woocommerce .jegenye-product .detail form.cart{display:flex;align-items:center;gap:12px;margin:4px 0 0;width:100%}
.woocommerce .jegenye-product form.cart .quantity{margin:0}.woocommerce .jegenye-product .quantity input{min-height:44px;width:54px;font:16px 'Abyssinica SIL',Georgia,serif}
@media(max-width:700px){.woocommerce div.product.jegenye-product{display:flex;flex-direction:column}.woocommerce div.product.jegenye-product .summary{padding:22px 25px}.jegenye-product .detail h1{font-size:29px}}

/* 0.3.6 – lábléc, termékleírás és kapcsolódó kötetek. */
.nav,.nav .cart-button{font-size:18px;font-weight:700}
.primary,.woocommerce button.single_add_to_cart_button{-webkit-text-stroke:0;text-shadow:none;box-shadow:none!important;border:0!important}
.foot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px 36px;font-family:'Abyssinica SIL',Georgia,serif;font-size:16px;line-height:1.5}
.footer-contact p{margin:0 0 6px}.footer-contact a{text-decoration:underline;text-underline-offset:3px}
.footer-publisher{text-align:right;display:flex;flex-direction:column;gap:3px}.footer-publisher strong{font-size:21px}
.footer-legal{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 28px;font-size:14px}
.jegenye-product .photo:not(:where(.avatar)){order:2}.jegenye-product .summary{order:1}
.product-description{padding:28px clamp(24px,5vw,60px);background:#fff;border:1px solid #d7d7d4;margin:0 0 40px}
.product-description h2{font:400 clamp(26px,3vw,34px) 'Abril Fatface',Georgia,serif;margin:0 0 20px}
.product-description h3{font:700 clamp(20px,2.2vw,25px)/1.4 'Abyssinica SIL',Georgia,serif;margin:0 0 18px}
.product-description p{font:18px/1.7 'Abyssinica SIL',Georgia,serif;margin:0 0 18px;text-align:justify;hyphens:auto}.product-description p:last-child{margin-bottom:0}
.related-books{margin:0 0 45px}.related-books>h2{font:400 clamp(26px,3vw,34px) 'Abril Fatface',Georgia,serif;text-align:center;margin:0 0 24px}
.related-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:760px;margin:auto}
.related-book{display:block;background:#fff;border:1px solid #d7d7d4;padding:16px;text-decoration:none;text-align:center;transition:transform .2s ease}
.related-book img{width:100%;aspect-ratio:1.42;object-fit:contain;display:block;background:#ecebe8}
.related-book h3{font:400 20px/1.35 'Abril Fatface',Georgia,serif;text-transform:uppercase;margin:15px 0 0}.related-book h3 span{display:block;font:700 17px/1.5 'Abyssinica SIL',Georgia,serif;margin-top:4px}
@media(hover:hover){.related-book:hover{transform:translateY(-4px)}}
@media(max-width:700px){.nav,.nav .cart-button{font-size:17px}.foot{grid-template-columns:1fr;gap:18px}.footer-publisher{text-align:left}.footer-legal{grid-column:auto}.jegenye-product .summary{order:0}.jegenye-product .photo:not(:where(.avatar)){order:1}.product-description{padding:24px}.product-description p{font-size:17px}.related-book-grid{gap:14px}.related-book{padding:10px}.related-book h3{font-size:16px}}

/* 0.3.7 – kedvezménymatrica, egységes kosár és finom térközök. */
.intro{padding-top:34px;padding-bottom:50px}
.nav .cart-button{font-size:17px;font-weight:700}.nav .jegenye-cart-count{display:none}
.bundle{position:relative;padding-right:118px;margin-top:5px}
.bundle .discount-sticker{right:-16px;top:-18px;width:105px;height:105px;display:flex;flex-direction:column;justify-content:center;gap:0;font-size:29px;line-height:1.05}
.discount-sticker small{font-size:14px;letter-spacing:0;margin-top:5px}
.woocommerce div.product.jegenye-product .photo:not(:where(.avatar)){order:0}.woocommerce div.product.jegenye-product .summary{order:1}
.woocommerce .jegenye-product .quantity{position:relative}
.woocommerce .jegenye-product .quantity::after{content:'db';position:absolute;right:24px;top:50%;transform:translateY(-50%);font:16px 'Abyssinica SIL',Georgia,serif;pointer-events:none;color:#282828}
.woocommerce .jegenye-product .quantity input{width:88px;padding:6px 43px 6px 10px;text-align:left;box-sizing:border-box}
.product-description h3{font-size:16px;font-weight:400;line-height:1.55}.product-description p{font-size:16px;line-height:1.55}
.footer-publisher strong{font-size:16px;font-weight:400}
@media(max-width:700px){.intro{padding-top:25px;padding-bottom:40px}.bundle{padding-right:25px;padding-top:48px;margin-top:12px}.bundle .discount-sticker{width:88px;height:88px;right:-10px;top:-25px;font-size:25px}.discount-sticker small{font-size:12px}.woocommerce div.product.jegenye-product .photo:not(:where(.avatar)){order:0}.woocommerce div.product.jegenye-product .summary{order:1}.product-description p{font-size:16px}}

/* 0.3.8 – rögzített könyvelrendezés és egységes feliratok. */
.woocommerce div.product.jegenye-product .photo:not(:where(.avatar)){grid-column:1;grid-row:1;order:0!important}
.woocommerce div.product.jegenye-product .summary{grid-column:2;grid-row:1;order:1!important}
.product-description .description-subtitle{font-family:'Abril Fatface',Georgia,serif;font-weight:400;font-size:19px;line-height:1.2;text-transform:uppercase}
.product-description .description-opening{font-style:italic}
.footer-publisher span{font-size:16px}.footer-publisher strong{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.footer-publisher strong::before{content:'';display:inline-block;width:21px;height:21px;background:currentColor;mask:url('assets/book.svg') center/contain no-repeat;-webkit-mask:url('assets/book.svg') center/contain no-repeat}
.bundle-volumes{display:block;font-size:.78em;line-height:1.35;margin-top:5px}
.bundle .secondary,.bundle button.secondary{font-family:'Abyssinica SIL',Georgia,serif;font-weight:700;font-size:17px;color:#555;background:#fff;border-color:#fff}
@media(max-width:700px){.footer-publisher strong{justify-content:flex-start}}

/* 0.3.9 – Ükanyám kártyák és piros belső kedvezményív. */
.bundle .discount-sticker{border:0;outline:0;box-shadow:0 3px 12px #0002}
.bundle .discount-sticker::before,.bundle .discount-sticker::after{content:'';position:absolute;border-radius:50%;pointer-events:none}
.bundle .discount-sticker::before{inset:0;border:1px solid #dededb}
.bundle .discount-sticker::after{inset:4px;border:1px solid #c63d3d}
.bundle .secondary::before{content:'';display:inline-block;width:27px;height:27px;flex:0 0 27px;background:currentColor;mask:url('assets/basket.svg') center/contain no-repeat;-webkit-mask:url('assets/basket.svg') center/contain no-repeat}
.bundle .secondary{display:inline-flex!important;align-items:center;justify-content:center;gap:9px}
.book .detail h2{white-space:nowrap;max-width:100%}
.book:not(.book-premier) .book-subtitle{font-size:19px;white-space:normal}
.book .meta{border-top:1px solid #545454;border-bottom:1px solid #545454;padding:4px 0;text-align:justify;text-align-last:justify;white-space:nowrap;max-width:100%;font-size:14px;line-height:1.5}

/* 0.4.0 – kétsoros címek és piros kedvezménykörök. */
.bundle .discount-sticker::before{border-color:#c63d3d}
.book-title-line{display:block;white-space:nowrap}

/* 0.4.1 – Réthy termékoldal: kép balra, szöveg jobbra. */
@media(min-width:701px){.woocommerce div.product.jegenye-product .photo:not(:where(.avatar)){order:1}.woocommerce div.product.jegenye-product .summary{order:2}}

/* 0.4.2 – a süteményes kötetek egységes termékoldalai. */
.jegenye-cookbook .detail h1{white-space:normal}
.jegenye-cookbook .detail h1 a:hover{text-decoration:none}

/* 0.4.4 – a képen áthúzott TOTAL fejléc elrejtése, a táblázat megtartásával. */
body.woocommerce-cart .wc-block-cart-items__header-total{visibility:hidden}

/* Kétlépcsős tesztpénztár. */
.jegenye-checkout [hidden]{display:none!important}.checkout-progress{display:flex;justify-content:center;gap:30px;margin-bottom:30px;font:14px Arial,sans-serif;color:#777}.checkout-progress [aria-current]{color:#222;font-weight:bold}.checkout-step-one{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:38px}.jegenye-checkout h1{font:22px Arial,sans-serif;text-align:center;margin:0 0 25px;text-transform:uppercase}.jegenye-checkout fieldset{border:0;padding:0;margin:0 0 20px;min-width:0}.jegenye-checkout legend{background:#eee;width:100%;padding:10px 15px;text-transform:uppercase;font:700 12px Arial,sans-serif;box-sizing:border-box}.checkout-fields{max-width:390px;margin:20px auto;font:13px Arial,sans-serif}.checkout-fields label{display:block;font-weight:bold;margin-bottom:12px}.checkout-fields input,.checkout-fields select{display:block;width:100%;box-sizing:border-box;min-height:38px;margin-top:5px;border:1px solid #ddd;border-radius:4px;background:white;padding:8px;font:14px Arial,sans-serif}.checkout-fields [aria-invalid=true]{border-color:#b00020}.field-error{display:block;color:#b00020;font:12px Arial,sans-serif;margin-top:4px}.address-row{display:grid;grid-template-columns:110px 1fr;gap:16px}.phone-input{display:flex;gap:5px;align-items:center}.phone-input>span{padding:10px;border:1px solid #ddd;border-radius:4px;margin-top:5px}.checkout-next{border:0;width:100%;background:#30353a;color:white;padding:13px;font:15px Arial,sans-serif;cursor:pointer}.checkout-next:disabled{opacity:.45;cursor:default}.checkout-summary{border:1px solid #ddd;border-radius:4px;align-self:start;padding:18px;font:14px 'Abyssinica SIL',Georgia,serif}.checkout-summary h2{font:20px 'Abyssinica SIL',Georgia,serif;margin:0 0 20px}.checkout-item{display:flex;gap:12px;align-items:start;margin-bottom:20px}.checkout-item img{width:50px;height:65px;object-fit:contain}.checkout-item>div{flex:1}.checkout-item span{display:block;margin-top:5px}.summary-line{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid #eee}.grand-total{font-size:20px}.checkout-methods{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px}.checkout-methods legend{background:transparent;font-size:14px;padding-left:0}.checkout-methods fieldset{border-right:5px solid #fff8fb;padding-right:20px}.method-option{display:flex;gap:9px;align-items:start;margin:20px 0 25px;font:14px Arial,sans-serif;line-height:1.5}.method-option input{margin:4px 0 0;accent-color:#a62265}.method-option>span{flex:1}.method-option b{font-weight:normal;white-space:nowrap}.carrier-name{display:block;width:max-content;padding:3px 9px;margin-top:5px;font:bold 16px Arial,sans-serif;color:white;background:#163bab}.carrier-name.mpl{background:#199b52}.checkout-methods .checkout-summary h2{font:700 14px Arial,sans-serif;text-transform:uppercase}.checkout-methods .grand-total{font:bold 17px Arial,sans-serif;color:#ec008c}.checkout-preview{font:14px Arial,sans-serif!important;color:#666;margin-bottom:25px}.checkout-back{background:white;border:1px solid #ccc;padding:10px 18px;cursor:pointer}#checkout-errors{background:#fff0f0;border:1px solid #b00020;color:#b00020;padding:12px;margin:15px 0;font:14px Arial,sans-serif}@media(max-width:800px){.checkout-step-one,.checkout-methods{grid-template-columns:1fr}.checkout-methods fieldset{border-right:0}.checkout-fields{max-width:100%}.checkout-progress{gap:15px;font-size:12px}.jegenye-checkout{padding:25px 16px}}

/* A pénztár egységes könyves tipográfiája és négy lépésjelzője. */
.jegenye-checkout{--checkout-accent:#195b72;font-family:'Abyssinica SIL',Georgia,serif}
.jegenye-checkout .checkout-page-title{font:clamp(30px,4vw,48px) 'Abril Fatface',Georgia,serif;text-transform:uppercase;text-align:left;margin:0 0 32px}
.jegenye-checkout .checkout-section-title{font:24px 'Abyssinica SIL',Georgia,serif;text-align:center;text-transform:uppercase;margin:0 0 25px}
.jegenye-checkout .checkout-fields,.jegenye-checkout input,.jegenye-checkout select,.jegenye-checkout button,.jegenye-checkout legend,.jegenye-checkout .field-error,.jegenye-checkout .method-option,.jegenye-checkout .checkout-preview,.jegenye-checkout #checkout-errors,.jegenye-checkout .checkout-methods .checkout-summary h2,.jegenye-checkout .checkout-methods .grand-total{font-family:'Abyssinica SIL',Georgia,serif!important}
.jegenye-checkout .checkout-fields{font-size:16px}.jegenye-checkout input,.jegenye-checkout select{font-size:16px}.jegenye-checkout legend{font-size:15px}.jegenye-checkout button{font-size:17px}.jegenye-checkout .method-option{font-size:16px}
.jegenye-checkout .checkout-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin:0 0 44px;color:#656565;font:17px/1.35 'Abyssinica SIL',Georgia,serif}
.checkout-progress-step{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:20px 12px;background:#faf8f5;border:1px solid #e4dfd8;border-radius:8px;min-width:0}
.checkout-progress-step svg{width:29px;height:29px;color:#7e776c}.checkout-progress-step:not(:last-child)::after{content:'→';position:absolute;right:-24px;top:50%;transform:translateY(-50%);font-size:25px;color:var(--checkout-accent)}
.jegenye-checkout .checkout-progress-step[aria-current]{background:#edf5f7;border-color:var(--checkout-accent);color:#163f4d;font-weight:bold;box-shadow:0 3px 12px #195b7210}.checkout-progress-step[aria-current] svg{color:var(--checkout-accent)}
@media(max-width:800px){.jegenye-checkout .checkout-progress{gap:18px;font-size:14px}.checkout-progress-step{padding:14px 7px}.checkout-progress-step:not(:last-child)::after{right:-17px;font-size:20px}}
@media(max-width:480px){.jegenye-checkout .checkout-progress{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.checkout-progress-step::after{display:none}.jegenye-checkout .checkout-page-title{font-size:32px}}

/* 0.5.1 – szállítási választó és teljes szélességű cím/automata panelek. */
.jegenye-checkout .checkout-methods legend{background:#f6f1ec;padding:12px 16px;width:100%;box-sizing:border-box;text-transform:none;font-size:18px}
.jegenye-checkout .checkout-methods fieldset{border:0;padding:0}.jegenye-checkout .method-option{align-items:center;gap:12px;padding:14px 10px;border:1px solid #e4dfd8;border-radius:6px;cursor:pointer;margin:12px 0;color:#30353a}.jegenye-checkout .method-option:has(input:checked){border-color:#195b72;background:#edf5f7}.jegenye-checkout .method-option input{appearance:auto!important;width:25px!important;height:25px!important;min-width:25px;margin:0;accent-color:#195b72;padding:0}.method-logo{width:35px;height:35px;object-fit:contain}.method-option svg{width:28px;height:28px;flex:0 0 28px;color:#195b72}.jegenye-checkout .checkout-methods .grand-total{color:#30353a;font-size:20px;font-weight:normal}.jegenye-checkout .checkout-methods .checkout-summary h2{text-transform:none;font-size:20px;font-weight:normal}.delivery-panel{border:1px solid #e4dfd8;border-radius:8px;padding:24px;margin:24px 0;background:#faf8f5}.delivery-panel h3{font-size:22px;margin:0 0 15px}.delivery-panel .checkout-fields{max-width:none;grid-template-columns:1fr 1fr}.delivery-panel input,.delivery-panel select{display:block;width:100%;box-sizing:border-box;border:1px solid #ccc;border-radius:4px;padding:12px;background:#fff}.locker-selects{display:grid;grid-template-columns:1fr 1fr;gap:20px}.locker-selects label{display:grid;gap:7px}#locker-map{height:420px;border-radius:6px;margin-top:20px}.delivery-panel[hidden],.delivery-panel [hidden]{display:none!important}.checkout-prototype-note{font-size:14px;color:#666;margin-top:22px}.jegenye-checkout .leaflet-container{font-family:'Abyssinica SIL',Georgia,serif}.locker-marker{background:#195b72;border:2px solid white;border-radius:50%;box-shadow:0 1px 5px #0005}.locker-marker.selected{background:#a62265}.jegenye-checkout .method-option:focus-within{outline:2px solid #195b72;outline-offset:3px}@media(max-width:650px){.locker-selects,.delivery-panel .checkout-fields{grid-template-columns:1fr}.delivery-panel{padding:16px}#locker-map{height:350px}}

/* 0.5.2 – átvevői kontakt és rendelési összegző. */
.jegenye-checkout .method-option input{width:16px!important;height:16px!important;min-width:16px}.locker-marker.foxpost{background:#e32636}.locker-marker.mpl{background:#159447}.locker-marker.selected{border:3px solid #222;box-shadow:0 0 0 3px #fff}.checkout-review-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:30px}.checkout-review-grid .delivery-panel:first-child{margin-top:0}.checkout-review-grid dl{display:grid;grid-template-columns:minmax(120px,.6fr) 1fr;gap:12px 18px;margin:0}.checkout-review-grid dt{color:#666}.checkout-review-grid dd{margin:0;overflow-wrap:anywhere}.checkout-review-actions{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:25px}.checkout-review-actions .checkout-next{width:auto}.checkout-terms a{text-decoration:underline;color:#195b72}.checkout-error-box{background:#fff0f0;border:1px solid #b00020;color:#b00020;padding:14px;margin:20px 0}.checkout-error-box[hidden],.checkout-step-three[hidden]{display:none!important}.recipient-toggle{grid-column:1/-1}#recipient-fields{grid-column:1/-1}.checkout-step-three:focus{outline:none}@media(max-width:800px){.checkout-review-grid{grid-template-columns:1fr}.checkout-review-actions{flex-direction:column;align-items:stretch}.checkout-review-actions .checkout-next{width:100%}.checkout-review-grid dl{grid-template-columns:1fr}.checkout-review-grid dt{font-weight:bold}}

/* 0.5.3 – kereshető átvételi helyek és futármegjegyzés. */
.jegenye-checkout .courier-note{display:block;margin-top:18px}.jegenye-checkout textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:12px;border:1px solid #ccc;border-radius:4px;background:white;font:16px 'Abyssinica SIL',Georgia,serif;resize:vertical}.jegenye-checkout .locker-selects input{min-width:0}.jegenye-checkout input[type=search]:disabled{background:#eee;color:#666}.checkout-review-grid dd{white-space:pre-wrap}

/* Barion payment logos */
.jegenye-payment-logos{margin:24px 0;max-width:680px;width:100%;}.jegenye-payment-logos p{font-size:14px;line-height:1.5;margin:0 0 12px;}.jegenye-payment-logos img{display:block;width:100%;height:auto;max-width:674px;object-fit:contain;}.foot .jegenye-payment-logos{grid-column:1/-1;}

/* Legal pages and necessary-cookie notice */
.content-page article h2{margin-top:32px;font-size:25px;line-height:1.3;}
.content-page article h3{margin-top:24px;font-size:20px;}
.content-page article p,.content-page article li{line-height:1.7;}
.content-page article table:not(.wc-block-cart-items){width:100%;border-collapse:collapse;display:block;overflow-x:auto;margin:20px 0;}
.content-page article table:not(.wc-block-cart-items) th,.content-page article table:not(.wc-block-cart-items) td{padding:12px;text-align:left;vertical-align:top;border:1px solid #ddd;line-height:1.5;min-width:130px;}
.content-page article table:not(.wc-block-cart-items) th{background:#f5f5f3;}
.legal-note{padding:16px;border-left:3px solid #555;background:#f5f5f3;}
.checkout-delivery-time,.checkout-privacy-note{font-size:14px;line-height:1.6;margin:12px 0 20px;}
.jegenye-cookie-notice[hidden]{display:none!important;}
.jegenye-cookie-notice{position:fixed;z-index:100000;bottom:18px;left:16px;right:16px;margin:auto;max-width:680px;background:#fff;color:#222;border:1px solid #ccc;box-shadow:0 4px 20px #0002;padding:20px;font-size:15px;line-height:1.5;}
.jegenye-cookie-notice p{margin:10px 0 16px;}
.jegenye-cookie-notice div{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;}
.jegenye-cookie-notice a{color:#222;text-decoration:underline;}
.jegenye-cookie-notice button{background:#333;color:white;border:0;padding:10px 14px;cursor:pointer;font:inherit;}
.footer-cookie-settings{border:0;background:transparent;text-decoration:underline;padding:0;font:inherit;cursor:pointer;color:inherit;}

/* Withdrawal form */
.jegenye-withdrawal-form{max-width:680px;}.jegenye-withdrawal-form label{display:block;margin:18px 0;}.jegenye-withdrawal-form input,.jegenye-withdrawal-form textarea,#jegenye-withdrawal-receipt{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid #aaa;background:#fff;font:inherit;margin-top:8px;}.jegenye-withdrawal-form button,#jegenye-withdrawal-download{font:inherit;background:#333;color:#fff;padding:12px 18px;border:0;cursor:pointer;}

/* Checkout delivery estimate stays below shipping choices. */
.jegenye-checkout .checkout-delivery-time{margin:16px 0 0;font-weight:400;line-height:1.5}

/* Shipping is chosen at checkout; never show shipping estimates in the cart. */
.wp-block-woocommerce-cart .wc-block-components-totals-shipping { display: none !important; }
