/* Bookhy source restoration, 2026-10-02.
 * Source: designs/originals/bookhy/index{,-buy,-get,-form}.html and the
 * unchanged assets/assets/css/style.css. Bootstrap, Lato, the original coral,
 * slate bands, shadows, 75/50px rhythm and source component styles own design.
 * Adaptations: nonfixed navigation, real WooCommerce forms and data, safe
 * flowing rich text columns, visible mobile book covers, and a centered image
 * only when the merchant's actual cover is landscape. No invented content.
 */
body.dgks-original-bookhy {background:#eee;}
.dgks-original-bookhy #header {position:relative;top:auto;left:auto;}
.dgks-original-bookhy #header .navbar {display:flex;align-items:center;justify-content:space-between;gap:30px;height:auto;min-height:80px;}
.dgks-original-bookhy #header #logo {width:auto;float:none;max-width:300px;flex:0 1 300px;}
.dgks-original-bookhy .dgks-shop-brand {font-size:20px;line-height:1.3;color:#000;display:inline-block;}
.dgks-original-bookhy .dgks-shop-logo {display:block;max-height:60px;max-width:200px;width:auto;height:auto;}
.dgks-original-bookhy #header #sidemenu {position:static;float:none;margin:0;min-width:0;}
.dgks-original-bookhy #header #sidemenu .menu-holder {display:block;}
.dgks-original-bookhy #header #sidemenu .menu-holder ul {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px 34px;}
.dgks-original-bookhy #header #sidemenu .menu-holder ul li {display:block;float:none;}
.dgks-original-bookhy #header #sidemenu .menu-holder ul li>a {padding:8px 0;margin:0;font-size:16px;line-height:1.5;}
.dgks-original-bookhy #header #dgks-shop-navigation {display:flow-root;}
.dgks-original-bookhy #page-content.header-static {margin-top:0!important;}
/* Original hero starts 140px from the page top. The static 80px header now
 * supplies the first 80px, so 60px is kept here instead of adding both. */
.dgks-original-bookhy #home-header {padding-top:60px;}
.dgks-original-bookhy #home-header h1 {font-size:40px;line-height:1.2;}
.dgks-original-bookhy #home-header h2 {font-size:30px;line-height:1.2;}
.dgks-original-bookhy #home-header h2:empty,.dgks-original-bookhy #home-header .styled:empty {display:none;}
.dgks-original-bookhy #home-header .bookhy-excerpt p {color:#000;font-size:16px;line-height:1.4;font-weight:300;}
.dgks-original-bookhy #home-header .dgks-hero-price {font-size:25px;color:#E84C3D;line-height:1.4;}
/* Woo's image has its own class; map it to the source main-img composition. */
.dgks-original-bookhy #home-header .bookhy-main-cover {height:100%;}
.dgks-original-bookhy #home-header .bookhy-main-cover>.dgks-book-cover,
.dgks-original-bookhy #home-header .bookhy-main-cover>.dgks-cover-placeholder {position:absolute;right:50px;bottom:-120px;top:auto;width:auto;max-width:calc(100% - 100px);max-height:633px;height:auto;object-fit:contain;box-shadow:0 2px 17px rgba(0,0,0,.3);}
/* The supplied testshop cover is a real landscape image. Keep all of it;
 * only this source slot uses vertical centering instead of portrait overlap. */
.dgks-original-bookhy #home-header .bookhy-main-cover.bookhy-cover-landscape {display:flex;align-items:center;min-height:100%;padding:50px!important;}
.dgks-original-bookhy #home-header .bookhy-main-cover.bookhy-cover-landscape>.dgks-book-cover {position:static;width:100%;max-width:100%;height:auto;max-height:none;}
.dgks-original-bookhy #home-header .bookhy-simple-cover>.dgks-book-cover {display:block;position:static;margin:0 0 0 auto;width:auto;max-width:100%;max-height:none;height:auto;object-fit:contain;box-shadow:0 2px 17px rgba(0,0,0,.3);}
.dgks-original-bookhy #home-header .bookhy-main-cover>.dgks-cover-placeholder {display:flex;width:350px;min-height:400px;}
/* Original two equal text columns, without cutting merchant HTML in half. */
.dgks-original-bookhy .bookhy-overview-columns,.dgks-original-bookhy .bookhy-author-columns {column-count:2;column-gap:100px;}
.dgks-original-bookhy .bookhy-overview-columns>*,.dgks-original-bookhy .bookhy-author-columns>* {break-inside:avoid;}
/* Keep Lato Light and the source palette, with stronger text contrast on white. */
.dgks-original-bookhy .bookhy-overview-columns p,.dgks-original-bookhy #a-konyvrol>p {color:#333;}
.dgks-original-bookhy .bookhy-chapter-grid .box-service p.big.color {color:#c63c30;}
.dgks-original-bookhy .bookhy-gallery:empty {display:none;}
.dgks-original-bookhy #author.color-background .bookhy-author-columns {color:#EBEFF0;}
.dgks-original-bookhy .bookhy-chapter-grid {display:flex;flex-wrap:wrap;row-gap:50px;}
.dgks-original-bookhy .bookhy-chapter-grid>div {display:flex;}
.dgks-original-bookhy .bookhy-chapter-grid .box-service {width:100%;height:auto;}
.dgks-original-bookhy .bookhy-chapter-grid .box-service p:empty {display:none;}
.dgks-original-bookhy #page-content #author .single-person img {object-fit:cover;}
/* Review images only come from real review data. No blank 200/85px gap when
 * the shop has no local reviewer portrait; no demo people or network avatars. */
.dgks-original-bookhy .bookhy-review {display:flow-root;}
.dgks-original-bookhy .single-review:not(:has(>img)) .content {padding-left:0;}
.dgks-original-bookhy .bookhy-review-text p {color:#E84C3D;font-size:30px;font-weight:300;line-height:1.4;font-style:italic;}
.dgks-original-bookhy .bookhy-review-rating:empty {display:none;}
.dgks-original-bookhy .testimonials-carousel-simple .person:not(:has(>img)) .description {padding-left:0;}
.dgks-original-bookhy .testimonials-carousel-simple .item .text {display:flow-root;}
.dgks-original-bookhy .testimonials-carousel-simple blockquote p {font-size:16px;line-height:26px;font-weight:300;}
/* Preserve source index-form overlay. These anchors exist in source CSS;
 * their restored ID also reactivates the original mobile form-first order. */
.dgks-original-bookhy #page-content #info-form #vasarlas {scroll-margin-top:24px;}
/* Keep the source single 30% image overlay, not the generic extra gradient. */
body.dgks-original-bookhy.dgks-source-layout #home-header.bg:before {content:none;}
.dgks-original-bookhy #cta .bookhy-price,.dgks-original-bookhy #info-form .bookhy-price {color:#E84C3D;font-size:30px;margin:20px 0;}
.dgks-original-bookhy #cta .stock {margin-bottom:18px;}
.dgks-original-bookhy .bookhy-purchase form {text-align:left;max-width:500px;margin:auto;}
.dgks-original-bookhy .bookhy-purchase form.cart:not(.variations_form) {display:flex;justify-content:center;flex-wrap:wrap;gap:12px;}
/* A deeper shade of the source coral makes small white action labels readable. */
.dgks-original-bookhy a.btn-alt:not(.active) {background-color:#cf3d30;}
.dgks-original-bookhy a.btn-alt:not(.active):hover {background-color:#000;}
.dgks-original-bookhy .bookhy-purchase .single_add_to_cart_button {background:#cf3d30;color:#fff;border:0;border-radius:2px;padding:14px 30px;line-height:1.5;font-size:14px;text-transform:uppercase;}
.dgks-original-bookhy .bookhy-purchase .single_add_to_cart_button:hover {background:#2D3E50;}
.dgks-original-bookhy .bookhy-purchase input.qty {width:85px;padding:13px;border:1px solid #ccc;background:#fff;color:#000;}
.dgks-original-bookhy .bookhy-purchase select {border:1px solid #ccc;background:#fff;color:#000;padding:13px;max-width:100%;}
.dgks-original-bookhy .bookhy-purchase .variations th,.dgks-original-bookhy .bookhy-purchase .variations td {padding:6px;}
.dgks-original-bookhy .bookhy-purchase .reset_variations {font-size:14px!important;display:inline-block;text-decoration:underline;padding-left:12px;}
.dgks-original-bookhy #cta a:not(.reset_variations) {font-size:inherit;}
.dgks-original-bookhy footer .dgks-footer-content p {color:#bdc8d0;margin:6px 0;font-size:13px;line-height:1.8;}
.dgks-original-bookhy footer .dgks-footer-content a {color:#e3e8ec;}
.dgks-original-bookhy .bookhy-footer-social:has(>.row:empty) {display:none;}
.dgks-original-bookhy #dgks-commerce {background:#fff;padding:55px 0;}
.dgks-original-bookhy :is(a,button,input,select):focus-visible {outline:3px solid #E84C3D;outline-offset:4px;}
/* Retain the original open-square wordmark around a merchant's text logo. */
.dgks-original-bookhy #logo .dgks-shop-brand:not(:has(img)) {position:relative;min-height:54px;display:inline-flex;align-items:center;padding:12px 0;}
.dgks-original-bookhy #logo .dgks-shop-brand:not(:has(img)):before,.dgks-original-bookhy #logo .dgks-shop-brand:not(:has(img)):after {content:'';position:absolute;width:48px;height:12px;left:50%;transform:translateX(-50%);border:1px solid #000;pointer-events:none;}
.dgks-original-bookhy #logo .dgks-shop-brand:not(:has(img)):before {top:0;border-bottom:0;}
.dgks-original-bookhy #logo .dgks-shop-brand:not(:has(img)):after {bottom:0;border-top:0;}
@media(max-width:1199px){
 .dgks-original-bookhy #header #sidemenu .menu-holder ul {gap:8px 20px;}
}
@media(max-width:991px){
 .dgks-original-bookhy #header .navbar {flex-wrap:wrap;padding:18px 0;gap:16px;}
 .dgks-original-bookhy #header #logo {flex:1 1 auto;}
 .dgks-original-bookhy #header #sidemenu {display:block!important;visibility:visible;opacity:1;transform:none;height:auto;width:auto;background:none;}
 .dgks-original-bookhy #header #sidemenu .menu-holder ul {justify-content:flex-start;}
 .dgks-original-bookhy #home-header {padding-top:20px;}
 .dgks-original-bookhy #home-header .bookhy-main-cover {height:auto;padding-top:50px!important;}
 .dgks-original-bookhy #home-header .bookhy-main-cover>.dgks-book-cover,.dgks-original-bookhy #home-header .bookhy-main-cover>.dgks-cover-placeholder {position:static;display:block;max-width:75%;max-height:450px;margin:0 auto;}
 .dgks-original-bookhy #home-header .bookhy-main-cover.bookhy-cover-landscape {padding:50px!important;}
 .dgks-original-bookhy #home-header .bookhy-main-cover.bookhy-cover-landscape>.dgks-book-cover {max-width:100%;}
 .dgks-original-bookhy #home-header .bookhy-simple-cover>.dgks-book-cover {margin:0;}
 .dgks-original-bookhy .bookhy-chapter-grid {display:block;}
 .dgks-original-bookhy .bookhy-chapter-grid>div {display:block;width:100%;}
 .dgks-original-bookhy .bookhy-chapter-grid .box-service {width:auto;}
 .dgks-original-bookhy .bookhy-overview-columns,.dgks-original-bookhy .bookhy-author-columns {column-count:1;}
 .dgks-original-bookhy #home-header .bookhy-main-cover>.dgks-cover-placeholder {min-height:340px;}
}
@media(max-width:600px){
 .dgks-original-bookhy #header>.container {padding:0 30px;}
 .dgks-original-bookhy #header #sidemenu {width:100%;}
 .dgks-original-bookhy #header #sidemenu .menu-holder ul {gap:4px 22px;}
 .dgks-original-bookhy #header #sidemenu .menu-holder ul li>a {font-size:14px;}
 .dgks-original-bookhy #home-header h1 {font-size:30px;}
 .dgks-original-bookhy #home-header h2 {font-size:25px;}
 .dgks-original-bookhy #home-header .bookhy-main-cover.bookhy-cover-landscape {padding:50px 30px!important;}
 .dgks-original-bookhy #home-header .bookhy-main-cover>.dgks-book-cover {max-height:360px;}
 .dgks-original-bookhy #home-header .btn-alt {margin-right:12px;font-size:12px;padding:0 18px;}
 .dgks-original-bookhy .bookhy-review-text p {font-size:25px;}
}
