/* Evmaros: matching product buttons on Offers & book search results (27/10/2026) */
body.page-id-9174 .ct-woo-card-actions .button,
body.search.post-type-archive-product .ct-woo-card-actions .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  width: max-content !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-height: 0 !important;
  padding: 10px 15px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(130deg, #526b83, #304762) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  box-shadow: 0 3px 7px rgba(23,41,66,.1) !important;
  transition: transform .2s, filter .2s !important;
}
body.page-id-9174 .ct-woo-card-actions .button:hover,
body.search.post-type-archive-product .ct-woo-card-actions .button:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-2px) !important;
}

/* Evmaros / 27 Oct 2026: consistent catalogue cards and paginated offers/search */
body.page-id-9174 .entry-header{display:none!important}
body.page-id-9174 .entry-content{margin-top:0!important}
body.page-id-9174 .ct-container-full{padding-top:0!important}
.page-id-9174 .evm-offers{font-family:Arial,Helvetica,sans-serif;color:#172942;max-width:1220px;margin:0 auto 30px}
.page-id-9174 .evm-offers *{box-sizing:border-box}
.page-id-9174 .evm-offers-hero,.search.post-type-archive-product .evm-results-search{border:0!important;border-radius:18px!important;padding:45px 50px 43px!important;position:relative;overflow:hidden;background:linear-gradient(120deg,#f8f4ed 0%,#eaf0f2 100%)!important;box-shadow:none!important;color:#172942!important;font-family:Arial,Helvetica,sans-serif!important}
.page-id-9174 .evm-offers-hero:after,.search.post-type-archive-product .evm-results-search:after{content:'';position:absolute;width:380px;height:380px;border:1px solid rgba(38,77,105,.12);border-radius:50%;top:-190px;right:-64px;pointer-events:none}
.page-id-9174 .evm-offers-kicker,.search.post-type-archive-product .evm-results-search-text span{display:block;font-size:12px!important;font-weight:700!important;letter-spacing:2px!important;text-transform:uppercase;color:#9e6e61!important;margin:0 0 13px!important}
.page-id-9174 .evm-offers-hero h1,.search.post-type-archive-product .evm-results-search h2{font:normal clamp(35px,4.2vw,55px)/1.13 Georgia,'Times New Roman',serif!important;color:#172942!important;margin:0 0 13px!important;letter-spacing:-.9px!important}
.page-id-9174 .evm-offers-intro,.search.post-type-archive-product .evm-results-search p{font-size:15px!important;line-height:1.75!important;max-width:680px!important;margin:0 0 27px!important;color:#596779!important}
.page-id-9174 .evm-offers-search,.search.post-type-archive-product .evm-results-search form{display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:10px!important;max-width:820px!important;width:100%;position:relative;z-index:1;margin:0!important}
.page-id-9174 .evm-offers-search input[type=search],.search.post-type-archive-product .evm-results-search input[type=search]{min-width:0!important;flex:1!important;width:100%!important;border:1px solid #d4dde4!important;background:#fff!important;border-radius:8px!important;height:54px!important;padding:0 19px!important;font-size:14px!important;color:#172942!important;box-shadow:none!important}
.page-id-9174 .evm-offers-search button,.search.post-type-archive-product .evm-results-search button{height:54px!important;min-height:54px!important;border:0!important;border-radius:8px!important;background:linear-gradient(130deg,#344f69,#1b344d)!important;color:#fff!important;padding:0 28px!important;font-weight:700!important;font-size:13px!important;cursor:pointer!important;transition:transform .2s,filter .2s!important;white-space:nowrap!important}
.page-id-9174 .evm-offers-search button:hover,.search.post-type-archive-product .evm-results-search button:hover{transform:translateY(-2px)!important;filter:brightness(1.1)!important}
.page-id-9174 .evm-offers-rule{display:flex;align-items:center;gap:20px;margin:36px 5px 0!important;color:#334d66;font:normal 25px/1.3 Georgia,'Times New Roman',serif!important}
.page-id-9174 .evm-offers-rule:after{content:'';height:1px;flex:1;background:#d8dfe3}
.search.post-type-archive-product #main>.ct-container>section{display:flex;flex-direction:column}
.search.post-type-archive-product #main .woocommerce-products-header{order:0;display:none}
.search.post-type-archive-product #main .evm-results-search{order:1;display:block!important;width:100%;max-width:1220px;margin:0 auto 0!important}
.search.post-type-archive-product #main .hero-section{order:2;margin:36px 5px 18px!important;padding:0!important;background:transparent!important}
.search.post-type-archive-product #main .hero-section .entry-header{display:flex;align-items:center;gap:20px;width:100%;text-align:left}
.search.post-type-archive-product #main .hero-section .entry-header:after{content:'';height:1px;flex:1;background:#d8dfe3}
.search.post-type-archive-product #main .hero-section h1{font:normal 25px/1.3 Georgia,'Times New Roman',serif!important;color:#334d66!important;white-space:normal;margin:0!important}
.search.post-type-archive-product #main .woocommerce-notices-wrapper{order:3}
.search.post-type-archive-product #main .woo-listing-top{order:4;margin:0 0 20px!important}
.search.post-type-archive-product #main ul.products{order:5}
.search.post-type-archive-product #main nav.ct-pagination{order:6}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;column-gap:22px!important;row-gap:28px!important;list-style:none!important;max-width:1220px!important;padding:0!important;margin:0 auto!important;width:100%!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product{width:100%!important;max-width:none!important;flex:none!important;margin:0!important;padding:22px 13px 24px!important;min-height:520px!important;border:1px solid #e6e9ea!important;background:#fff!important;border-radius:13px!important;box-shadow:0 5px 19px rgba(23,41,66,.045)!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;transition:transform .2s,box-shadow .2s!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product:hover{transform:translateY(-3px)!important;box-shadow:0 13px 26px rgba(23,41,66,.095)!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product figure{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;height:302px!important;max-height:302px!important;margin:0 auto 10px!important;overflow:hidden!important;position:relative!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product figure .ct-media-container{width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;max-width:100%!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product figure img{height:290px!important;max-height:100%!important;width:auto!important;max-width:100%!important;object-fit:contain!important;display:block!important;margin:auto!important;aspect-ratio:auto!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product .woocommerce-loop-product__title{font:normal 16px/1.46 Arial,Helvetica,sans-serif!important;text-transform:none!important;color:#172942!important;min-height:48px!important;margin:5px 0 11px!important;padding:0 5px!important;width:100%!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product .woocommerce-loop-product__title a{color:#172942!important;text-decoration:none!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product .price{font-size:15px!important;font-weight:700!important;color:#334d66!important;margin:0 0 14px!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product .price ins{color:#9e6e61!important;text-decoration:none!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product .entry-meta{display:none!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product .ct-woo-card-actions{margin:auto 0 0!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important}
body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product .onsale{background:#a87369!important;color:#fff!important;border:0!important;box-shadow:none!important;font-size:11px!important;letter-spacing:.04em!important}
body:is(.page-id-9174,.search.post-type-archive-product) .ct-pagination,body.page-id-9174 .woocommerce-pagination{margin:32px auto 70px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;color:#334d66!important}
body:is(.page-id-9174,.search.post-type-archive-product) .ct-pagination .page-numbers,body.page-id-9174 .woocommerce-pagination .page-numbers{border-radius:7px!important;color:#334d66!important;border:1px solid #e0e6e8!important;background:#fff!important;min-width:36px!important;min-height:36px!important;padding:7px 11px!important;line-height:1.3!important;text-align:center!important}
body:is(.page-id-9174,.search.post-type-archive-product) .ct-pagination .page-numbers.current,body.page-id-9174 .woocommerce-pagination .page-numbers.current{background:#304762!important;color:#fff!important;border-color:#304762!important}
@media(max-width:900px){body:is(.page-id-9174,.search.post-type-archive-product) ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product figure{height:260px!important}body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product figure img{height:250px!important}}
@media(max-width:620px){body:is(.page-id-9174,.search.post-type-archive-product) ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product{padding:14px 8px 18px!important;min-height:390px!important}body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product figure{height:185px!important}body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product figure img{height:178px!important}body:is(.page-id-9174,.search.post-type-archive-product) ul.products>li.product .woocommerce-loop-product__title{font-size:13px!important}.page-id-9174 .evm-offers-hero,.search.post-type-archive-product .evm-results-search{padding:32px 23px!important}.page-id-9174 .evm-offers-search,.search.post-type-archive-product .evm-results-search form{flex-direction:column!important}.page-id-9174 .evm-offers-search button,.search.post-type-archive-product .evm-results-search button{width:100%!important}.page-id-9174 .evm-offers-rule,.search.post-type-archive-product #main .hero-section h1{font-size:21px!important}}

/* Evmaros: author name on individual book pages */
body.single-product .product_meta .posted_in:has(> a[href*="product_brand"]) {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
  padding: 12px 14px;
  border-left: 3px solid #a84654;
  border-radius: 5px;
  background: #f4f6f7;
  font-size: 0 !important;
  line-height: 1.5;
}
body.single-product .product_meta .posted_in:has(> a[href*="product_brand"])::before {
  content: "Συγγραφέας:";
  color: #536578;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}
body.single-product .product_meta .posted_in > a[href*="product_brand"] {
  color: #243e59 !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  letter-spacing: 0;
  text-decoration: underline !important;
  text-decoration-color: #b8a0a6 !important;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
body.single-product .product_meta .posted_in > a[href*="product_brand"]:hover,
body.single-product .product_meta .posted_in > a[href*="product_brand"]:focus {
  color: #a0374a !important;
  text-decoration-color: currentColor !important;
}