@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//ai.astbooks.gr/wp-content/themes/woodmart/fonts/woodmart-font-3-400.woff2?v=8.3.6") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//ai.astbooks.gr/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//ai.astbooks.gr/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//ai.astbooks.gr/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//ai.astbooks.gr/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//ai.astbooks.gr/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//ai.astbooks.gr/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//ai.astbooks.gr/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//ai.astbooks.gr/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 16px;
	--wd-title-font: "Readex Pro", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Readex Pro", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Readex Pro", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Readex Pro", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 16px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(22,114,158);
	--wd-alternative-color: rgba(22,114,158,0.36);
	--btn-default-bgcolor: rgba(22,114,158,0.41);
	--btn-default-bgcolor-hover: rgba(22,114,158,0.3);
	--btn-accented-bgcolor: rgb(6,66,91);
	--btn-accented-bgcolor-hover: rgba(6,66,91,0.8);
	--btn-font-family: "Readex Pro", Arial, Helvetica, sans-serif;
	--btn-font-weight: 500;
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(109,78,236);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(255,255,255);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a {
	font-family: "Readex Pro", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: rgb(51,51,51);
}
html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a:hover, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a:hover, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu  li a:hover, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a:hover {
	color: rgb(109,78,236);
}
html table th {
	text-transform: none;
}
html .wd-checkout-steps li {
	text-transform: capitalize;
}
html .wd-buy-now-btn {
	color: rgb(36,36,36);
	background: rgb(235, 230, 255);
}
html .wd-buy-now-btn:hover {
	color: rgb(36,36,36);
	background: rgb(214,209,232);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(255,255,255);
	color: rgb(36,36,36);
}
.product-labels .product-label.new {
	background-color: rgb(255,255,255);
	color: rgb(36,36,36);
}
.product-labels .product-label.featured {
	background-color: rgb(255,255,255);
	color: rgb(36,36,36);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1520px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

@media (min-width: 1520px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgba(151,151,151,0.11);
}

/* ============================
   AST Chat UI – Clean CSS
   ============================ */

/* ============================
   Layout
   ============================ */
.ast-chat-wrap {
  max-width: 1100px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .ast-chat-wrap {
    grid-template-columns: 1fr;
  }
}

/* ============================
   Sidebar
   ============================ */
.ast-chat-sidebar {
  background: #f5f7fb;
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ast-chat-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.ast-chat-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.ast-chat-info-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.ast-chat-small {
  font-size: 0.8rem;
  color: #64748b;
}

/* ============================
   Guest view (not logged in)
   ============================ */
.ast-chat-guest-wrap {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ast-chat-guest-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  text-align: center;
}

.ast-chat-guest-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.ast-chat-guest-text {
  font-size: 16px;
  margin-bottom: 24px;
  color: #4b5563;
}

.ast-chat-guest-note {
  font-size: 13px;
  margin-top: 18px;
  color: #6b7280;
}

.ast-chat-guest-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ast-chat-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ast-chat-btn-primary {
  background: #4f46e5;
  color: #ffffff;
}

.ast-chat-btn-primary:hover {
  background: #4338ca;
  color: #ffffff;
}

.ast-chat-btn-secondary {
  border: 1px solid #d1d5db;
  color: #374151;
  background: #f9fafb;
}

.ast-chat-btn-secondary:hover {
  background: #e5e7eb;
  color: #111827;
}

/* ============================
   Main chat box
   ============================ */
.ast-chat-main {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  width: 100%;
  max-width: 100%;
}

/* Messages area */
.ast-chat-messages {
  flex: 1;
  padding: 14px 16px;
  overflow-y: auto;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================
   Message bubbles & avatars
   ============================ */
.ast-chat-msg {
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 18px;
  margin-bottom: 10px;
}

.ast-chat-text {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.ast-chat-meta {
  margin-top: 4px;
  font-size: 11px;
  color: #9ca3af;
  text-align: right;
}

/* Bot bubble */
.ast-chat-msg-bot {
  align-self: flex-start;
  background: #f3f4f7;
  border-radius: 18px 18px 18px 4px;
  padding-left: 48px; /* space for avatar */
}

/* User bubble */
.ast-chat-msg-user {
  align-self: flex-end;
  background: #e8f0fe;
  border-radius: 18px 18px 4px 18px;
  min-width: 25%;
  padding-right: 48px; /* space for avatar */
}

/* Error bubble */
.ast-chat-msg-error {
  align-self: flex-start;
  background: #ffe5e5;
  color: #b00020;
  border-radius: 18px 18px 18px 4px;
}

/* Avatars */
.ast-chat-msg-bot::before,
.ast-chat-msg-user::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Bot avatar */
.ast-chat-msg-bot::before {
  content: "AI";
  left: 8px;
  background: #111827;
  color: #fff;
}

/* User avatar – dynamic initials */
.ast-chat-msg-user::before {
  content: attr(data-initials);
  right: 8px;
  background: #2563eb;
  color: #fff;
}

/* ============================
   Loading bubble + animated dots
   ============================ */
.ast-chat-msg-loading {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 13px;
}

.ast-loading-text {
  font-weight: 500;
}

.ast-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 2px;
}

.ast-dots .ast-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #9ca3af;
  animation: ast-dotBounce 0.8s infinite ease-in-out;
  opacity: 0.4;
}

.ast-dots .ast-dot:nth-child(2) { animation-delay: 0.12s; }
.ast-dots .ast-dot:nth-child(3) { animation-delay: 0.24s; }

@keyframes ast-dotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.3; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* ============================
   Form (composer)
   ============================ */
form.ast-chat-form {
  border-top: 1px solid #e2e8f0;
  padding: 10px 12px;
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
}

form.ast-chat-form #chat-input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  resize: none;
  min-height: 56px;
  max-height: 160px;
  padding: 14px 16px;
  line-height: 1.4;
  font-size: 16px; /* iOS zoom fix */
  border-radius: 16px;
  border: 1px solid #cbd5f5;
  box-sizing: border-box;
}

form.ast-chat-form #chat-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

/* Optional: voice button icon sizing */
.ast-voice-btn svg {
  width: 18px !important;
  height: 18px !important;
  overflow: visible !important;
}
.ast-voice-btn svg path {
  stroke: #1E2F46 !important;
  opacity: 1 !important;
}

/* Send button (icon-only) */
form.ast-chat-form #chat-send {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0; /* hide label text */
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

form.ast-chat-form #chat-send::before {
  content: "➤";
  font-size: 18px;
  color: #fff;
  margin-left: 2px;
}

form.ast-chat-form #chat-send:hover,
form.ast-chat-form #chat-send:focus {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.45);
  opacity: 0.98;
}

form.ast-chat-form #chat-send:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  opacity: 0.95;
}

/* ============================
   Export buttons (print/pdf)
   ============================ */
form.ast-chat-form .ast-export-btn {
  flex: 0 0 auto;
  height: 44px;
  border-radius: 999px;
  padding: 0 16px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
}

/* ============================
   Mobile: input+send in first row,
   export buttons below
   ============================ */
@media (max-width: 768px) {
  form.ast-chat-form {
    display: grid !important;
    grid-template-columns: 1fr auto; /* input | send */
    grid-template-areas:
      "input send"
      "print print"
      "pdf pdf";
    gap: 10px;
    align-items: center;
  }

  form.ast-chat-form #chat-input {
    grid-area: input;
    height: 44px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  form.ast-chat-form #chat-send {
    grid-area: send;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
  }

  form.ast-chat-form .ast-export-print {
    grid-area: print;
    width: 100%;
    border-radius: 12px;
  }

  form.ast-chat-form .ast-export-pdf {
    grid-area: pdf;
    width: 100%;
    border-radius: 12px;
  }

  form.ast-chat-form .ast-export-btn {
    width: 100%;
    border-radius: 12px;
  }
	
	button.ast-export-btn.ast-export-print {
    margin-left: 0px;
	}
	button.ast-export-btn.ast-export-pdf  {
    margin-left: 0px;
	}
}



/* ============================
   Desktop tweaks (>1024px)
   ============================ */
@media (min-width: 1024px) {
  .ast-chat-wrap {
    max-width: 1200px;
    margin: 20px auto;
  }

  .ast-chat-main {
    min-height: 560px;
  }

  .ast-chat-messages {
    min-height: 420px;
    max-height: 65vh;
  }

  form.ast-chat-form textarea#chat-input {
    min-height: 70px;
    height: auto;
  }
}

/* ============================
   Woodmart extra padding override
   ============================ */
.wd-text-block:not(.inline-element).text-left {
  padding: 0px 15px 15px 15px;
}



#ast-total-credits-label.is-infinite{
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}



/* AST: menu σε μία γραμμή */
@media (min-width: 1025px){
.whb-header-bottom .whb-col-center{flex:1 1 auto !important;}
.whb-header-bottom .whb-col-right{flex:0 0 auto !important;}
.whb-header-bottom .wd-header-main-nav ul{flex-wrap:nowrap !important;}
.whb-header-bottom .wd-header-main-nav ul > li > a{font-family:"Readex Pro",Arial,Helvetica,sans-serif !important;font-size:12.5px !important;font-weight:500 !important;padding-left:7px !important;padding-right:7px !important;white-space:nowrap !important;}
.whb-header-bottom .wd-header-search-form{max-width:170px !important;}
}
@media (min-width: 1025px) {
	/* Fix header overflow σε desktop: αγορές μετακόμισαν στο taxpress.gr/eshop — κρύψιμο καλαθιού/wishlist, συμπύκνωση μενού για να χωράει σε μία γραμμή */
.whb-header .wd-header-cart,
.whb-header .wd-header-wishlist{display:none!important;}
.whb-header .wd-header-nav .menu > li > a{padding-left:4px!important;padding-right:4px!important;font-size:11.8px!important;}
.whb-header .wd-header-nav .menu > li{margin-left:2px!important;margin-right:2px!important;}
.whb-header .wd-header-nav .menu{gap:5px 8px!important;}
.whb-header .whb-col-left{max-width:120px!important;}
.whb-header .whb-space-element{width:8px!important;}
.whb-header .wd-header-search-form{max-width:140px!important;}
.whb-header .wd-header-search-form .searchform,
.whb-header .wd-header-search-form input.s{width:130px!important;max-width:130px!important;}
@media (min-width:1025px) and (max-width:1650px){
  .whb-header .wd-header-search-form{display:none!important;}
  .whb-header .wd-header-nav .menu > li > a{font-size:11px!important;padding-left:3px!important;padding-right:3px!important;}
}
}

