/*
Theme Name: EBOOKING Editorial
Description: Editorial child theme for the existing EBOOKING WooCommerce store.
Version: 1.0.0
Template: booklovers
Text Domain: ebooking-editorial
*/
:root{--eb-ink:#071d30;--eb-teal:#007887;--eb-muted:#52616c;--eb-line:#d8e2e6;--eb-radius:8px;--eb-width:1280px}
body.eb-editorial{background:#fff;color:var(--eb-ink);font:17px/1.65 Arial,sans-serif;margin:0;overflow-wrap:break-word}
.eb-editorial *{box-sizing:border-box}.eb-editorial img{max-width:100%;height:auto}.eb-editorial a{color:var(--eb-teal);text-decoration:none}.eb-editorial a:hover{text-decoration:underline}.eb-editorial :focus-visible{outline:3px solid #d67548;outline-offset:4px}
.eb-editorial h1,.eb-editorial h2,.eb-editorial h3,.eb-editorial h4{font-family:Georgia,serif;color:var(--eb-ink);font-weight:700;line-height:1.15;letter-spacing:-.025em;margin:0 0 24px}.eb-editorial h1{font-size:clamp(36px,4.5vw,64px)}.eb-editorial h2{font-size:clamp(28px,3vw,42px)}.eb-editorial h3{font-size:26px}.eb-editorial p{margin:0 0 20px}
.eb-shell{width:min(var(--eb-width),calc(100% - 80px));margin:auto}.eb-header{border-bottom:1px solid var(--eb-line);background:white}.eb-header-inner{min-height:100px;display:flex;align-items:center;gap:40px}.eb-brand{font:bold 42px/1 Georgia,serif!important;color:var(--eb-ink)!important;letter-spacing:-1.5px}.eb-header nav{margin-left:auto;display:flex;gap:34px;align-items:center}.eb-header nav a{color:var(--eb-ink);padding:14px 0;font-size:18px}.eb-header nav a[aria-current=page]{color:var(--eb-teal);border-bottom:3px solid var(--eb-teal)}.eb-cart{display:flex;align-items:center;gap:8px}.eb-cart svg{width:28px;height:28px}.eb-menu-toggle{display:none}
.eb-skip{position:fixed;top:-100px;left:20px;background:white;padding:12px;z-index:999999}.eb-skip:focus{top:40px}.eb-main{padding:54px 0 80px;min-height:50vh}.eb-prose{max-width:850px;margin:auto}.eb-prose h2{margin-top:40px}.eb-prose ul,.eb-prose ol{padding-left:24px}.eb-hero{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;min-height:480px;gap:16px;padding:40px 0}.eb-hero h1{font-size:clamp(42px,5.8vw,80px);max-width:650px}.eb-hero p{font-size:21px}.eb-hero img{width:100%;display:block}.eb-button,.eb-editorial .woocommerce a.button,.eb-editorial .woocommerce button.button,.eb-editorial .woocommerce input.button,.eb-editorial button[type=submit],.eb-editorial input[type=submit]{background:var(--eb-teal)!important;color:white!important;border:1px solid var(--eb-teal)!important;border-radius:var(--eb-radius)!important;padding:14px 24px!important;min-height:48px;font:600 17px/1.3 Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important}.eb-button:hover{background:#005e6a!important}.eb-pack-section{padding:20px 0 64px}.eb-packs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}.eb-pack h3{margin:18px 0 8px}.eb-pack-price{font-size:26px;font-weight:bold;color:var(--eb-teal);margin:8px 0 16px}.eb-pack .eb-button{width:100%}.eb-covers{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;align-items:center;background:#f5f8f8;padding:20px;border-radius:8px}.eb-covers img{width:100%;aspect-ratio:2/3;object-fit:contain;box-shadow:0 4px 12px #071d301a}.eb-pack .eb-covers{height:280px;overflow:hidden}.eb-pack .eb-covers img{max-height:240px}.eb-pack .eb-covers.eb-many{grid-template-columns:repeat(4,1fr);gap:6px}.eb-support-strip{border-top:1px solid var(--eb-line);padding:42px 0;display:flex;justify-content:space-between;align-items:center;gap:30px}.eb-support-strip p{margin:0}.eb-footer{border-top:1px solid var(--eb-line);padding:42px 0 24px}.eb-footer-top{display:flex;justify-content:space-between;align-items:start;gap:40px}.eb-footer nav{display:flex;gap:14px 24px;flex-wrap:wrap;max-width:780px}.eb-footer small{display:block;font-size:13px;color:var(--eb-muted);margin-top:28px}.eb-footer .eb-brand{font-size:30px!important}
.eb-editorial .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin:30px 0!important}.eb-editorial .woocommerce ul.products::before,.eb-editorial .woocommerce ul.products::after{display:none!important}.eb-editorial .woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;clear:none!important;padding:0!important}.eb-editorial .woocommerce ul.products li.product img{aspect-ratio:2/3;object-fit:contain;background:#f5f8f8}.eb-editorial .woocommerce ul.products li.product .woocommerce-loop-product__title{font:700 24px/1.25 Georgia,serif!important}.eb-editorial .woocommerce .price{color:var(--eb-teal)!important}.eb-editorial .woocommerce div.product .product_title{font-size:clamp(32px,4vw,56px)}.eb-editorial .woocommerce div.product .price{font-size:32px!important}.eb-editorial .eb-product-art{float:left;width:45%;margin-bottom:40px}.eb-editorial .woocommerce div.product div.summary{width:49%}.eb-editorial .woocommerce input.input-text,.eb-editorial .woocommerce textarea,.eb-editorial .woocommerce select,.eb-editorial .wpcf7 input:not([type=submit]),.eb-editorial .wpcf7 textarea{background:#fff!important;border:1px solid #aabcc4!important;border-radius:6px!important;padding:12px!important;font:16px/1.4 Arial,sans-serif!important;color:var(--eb-ink)!important;min-height:46px;max-width:100%}.eb-editorial .woocommerce input.qty{min-width:78px}.eb-editorial .woocommerce form .form-row label{font:600 15px/1.5 Arial,sans-serif;margin-bottom:8px}.eb-editorial .woocommerce table.shop_table{border:1px solid var(--eb-line);border-radius:8px;border-collapse:collapse;background:white}.eb-editorial .woocommerce table.shop_table td,.eb-editorial .woocommerce table.shop_table th{padding:16px;border-color:var(--eb-line);color:var(--eb-ink)}.eb-editorial .woocommerce-checkout #payment{background:#f4f8f9;border-radius:8px}.eb-editorial .woocommerce-checkout #payment div.payment_box{background:white}.eb-editorial .woocommerce-checkout #payment ul.payment_methods li{padding:12px 0;line-height:1.6}.eb-editorial .woocommerce-MyAccount-navigation ul{list-style:none;padding:0}.eb-editorial .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--eb-line);padding:12px}.eb-editorial .woocommerce-MyAccount-navigation .is-active a{font-weight:bold}.eb-editorial .woocommerce-error,.eb-editorial .woocommerce-info,.eb-editorial .woocommerce-message{font:16px/1.6 Arial,sans-serif!important;padding:18px 20px 18px 52px!important}.eb-editorial .woocommerce .related.products{clear:both;padding-top:40px}.eb-editorial .woocommerce-tabs{clear:both}.eb-editorial .woocommerce .product_meta{font-size:14px}.eb-editorial .woocommerce .woocommerce-breadcrumb{font-size:14px;margin-bottom:28px}.eb-editorial .woocommerce ul.products li.product .post_item_wrap{height:100%}
@media(max-width:950px){.eb-shell{width:calc(100% - 40px)}.eb-header-inner{gap:20px}.eb-header nav{gap:18px}.eb-header nav a{font-size:16px}.eb-brand{font-size:34px!important}.eb-packs,.eb-editorial .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.eb-hero{min-height:420px}.eb-hero h1{font-size:52px}.eb-footer-top{flex-direction:column}}
@media(max-width:640px){.eb-header-inner{min-height:78px;flex-wrap:wrap;gap:16px;padding:20px 0}.eb-brand{font-size:32px!important}.eb-menu-toggle{display:block;margin-left:auto;background:white;border:0;font:17px Arial,sans-serif;color:var(--eb-ink);padding:8px}.eb-header nav{display:none;width:100%;margin:0;flex-direction:column;align-items:start;gap:0}.eb-header nav.is-open{display:flex}.eb-header nav a{width:100%;padding:12px 0}.eb-cart span{font-size:14px}.eb-hero{grid-template-columns:1fr;padding:32px 0;gap:20px}.eb-hero h1{font-size:46px}.eb-hero p{font-size:18px}.eb-hero img{max-height:300px;object-fit:contain}.eb-main{padding:32px 0 50px}.eb-packs{gap:24px 16px}.eb-pack .eb-covers{height:190px;padding:10px;gap:6px}.eb-pack h3{font-size:23px}.eb-pack .eb-button{font-size:15px!important;padding:12px 8px!important}.eb-support-strip{flex-direction:column;align-items:start}.eb-editorial .eb-product-art,.eb-editorial .woocommerce div.product div.summary{float:none;width:100%}.eb-editorial .woocommerce ul.products{gap:24px 16px!important}.eb-editorial .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:21px!important}.eb-editorial .woocommerce table.shop_table td,.eb-editorial .woocommerce table.shop_table th{padding:12px}.eb-editorial .woocommerce .col2-set .col-1,.eb-editorial .woocommerce .col2-set .col-2{float:none;width:100%}.eb-editorial .woocommerce .woocommerce-ordering,.eb-editorial .woocommerce .woocommerce-result-count{float:none}.eb-editorial .woocommerce .woocommerce-ordering select{width:100%}.eb-footer nav{gap:10px 20px}}
@media(prefers-reduced-motion:reduce){.eb-editorial *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Review refinements: contain covers and keep the native checkout fields. */
.eb-pack .eb-covers{grid-template-rows:repeat(2,minmax(0,1fr));align-items:stretch}.eb-pack .eb-covers:has(img:nth-child(2)):not(:has(img:nth-child(3))){grid-template-rows:minmax(0,1fr)}.eb-pack .eb-covers img{height:100%;max-height:100%;object-fit:contain;box-shadow:none;min-height:0}
.eb-product-art .eb-covers{max-width:500px;margin:auto;gap:12px;padding:16px}.eb-product-art .eb-covers img{max-height:300px;box-shadow:none}.eb-product-art .eb-many{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(min-width:900px){.eb-editorial form.checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);column-gap:48px;align-items:start}.eb-editorial form.checkout #customer_details{grid-column:1;grid-row:1 / span 3;width:100%}.eb-editorial form.checkout #customer_details .col-1,.eb-editorial form.checkout #customer_details .col-2{float:none;width:100%}.eb-editorial form.checkout #order_review_heading{grid-column:2;grid-row:1}.eb-editorial form.checkout #order_review{grid-column:2;grid-row:2}.eb-editorial form.checkout>.woocommerce-NoticeGroup{grid-column:1/-1}.eb-editorial .woocommerce-additional-fields{margin-top:32px}}
@media(max-width:640px){.eb-product-art .eb-covers{max-width:320px;padding:12px;gap:8px}.eb-product-art .eb-covers img{max-height:190px}.eb-editorial .eb-product-art{margin-bottom:28px}.eb-header nav{order:4}.eb-cart{order:3}}
