/*
 Theme Name:   Neve Child
 Theme URI:    https://example.com/
 Description:  Child theme for Neve
 Author:       Book Price
 Template:     neve
 Version:      1.0.0
*/



.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}


.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-color: #3f51b5;
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.15);
    outline: none;
}


.wpcf7-submit {
    background-color: #3f51b5;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-submit:hover {
    background-color: #2c3ea3;
}


.wpcf7-response-output {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 4px;
}

.wpcf7-form .wpcf7-not-valid-tip{
    margin-top: 1em;
    padding-left: 0.5em;
}

.wpcf7-mail-sent-ok {
    background-color: #e6f4ea;
    border-left: 4px solid #34a853;
}

.wpcf7-validation-errors,
.wpcf7-not-valid-tip {
    background-color: #fdecea;
    border-left: 4px solid #d93025;
}


#content ul {
    padding: 1.5rem;
    list-style: none;
    /*box-shadow: 1px 1px 15px 1px rgba(0,0,0,0.15);*/
}

#content ul li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

#content ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-size: 1.1rem;
    color: #2f5aae;
}

.custom-footer{
    text-align: center;
    padding: 20px;
    background-color: #000000;
    color: #fff;
}

.book-item{
    width: 200px;
    border: 1px solid #ddd;
    padding: 10px;
    display: flex;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    transition: opacity 0.3s ease;
}

.book-item.disable {
    opacity: 0.5;
}

.book-item .image{
    overflow: hidden;
}

.book-item .image img{
    transition: all 0.3s ease;
}

.book-item .image img:hover{
    transform: scale(1.25);
}

.book-item a {
    display: block;
    width: 100%;
    text-align: center;
    border: 2px solid;
    margin-top: auto;
}


.bookprice-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.bookprice-search-field {
    flex: 1 1 auto;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 250px;
}

.bookprice-search-submit {
    padding: 12px 24px;
    background-color: #3475ca;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.bookprice-search-submit:hover {
    background-color: #222;
}

.book-search-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.book-search-list li {
    display: flex;
    align-items: flex-start;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    gap: 15px;
    background: #fff;
}

.book-search-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: 1;
    gap: 15px;
}

.book-search-item img {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    background: #f2f2f2;
}

.book-search-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.book-search-text a {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.book-search-text a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.book-search-author {
    font-size: 14px;
    color: #666;
}

.book-search-price {
    font-weight: bold;
    font-size: 15px;
    white-space: nowrap;
    margin-top: 8px;
    color: #2a7d2e;
}

.book-meta {
    font-size: 13px;
    color: #777;
    margin-top: 6px;
}

.book-offers{
    margin-bottom: 35px;
}







.bp-books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 24px;
}
.bp-book-card {
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.bp-book-img-wrap {
    text-align: center;
    margin-bottom: 12px;
    width: 100%;
}
.bp-book-img {
    max-width: 100%;
    max-height: 180px;
    border-radius: 4px;
    box-shadow: 0 1px 4px #ccc;
}
.bp-book-title {
    font-size: 18px;
    margin-bottom: 4px;
    width: 100%;
}
.bp-book-author {
    color: #555;
    margin-bottom: 8px;
    font-size: 15px;
}
.bp-book-offers {
    margin-top: 12px;
}
.bp-book-offer {
    font-size: 15px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 1px solid #dedede;
    padding-bottom: 15px;
}

.bp-book-offers  .bp-book-offer:last-child{
    border-bottom: unset;
}


.bp-book-shop {
    font-weight: 500;
    color: #2356ad;
}
.bp-book-price {
    font-weight: bold;
    color: #20713a;
}
.bp-book-avail {
    color: #888;
}
.bp-book-link {
    background: #f3f6ff;
    color: #245fc6;
    text-decoration: none;
    border: 1px solid #d1e0fa;
    border-radius: 4px;
    padding: 1px 10px;
    margin-left: 8px;
    font-size: 14px;
    transition: background .2s;
}
.bp-book-link:hover {
    background: #245fc6;
    color: #fff;
}
@media (max-width: 1024px) {
    .bp-books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .bp-books-grid {
        grid-template-columns: 1fr;
    }
}

.book-authors-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.book-authors-list li::before{
    content: '';
}

.shop-promo {
    margin-bottom: 25px;
    padding: 20px;
    background: #f0f0f0;
    overflow: hidden;
}

.shop-promo p.code {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f6f6f6;
    border: 2px dashed #3778ff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 10px;
    max-width: 300px;
    position: relative;
}



/************************author************************/
.author-books-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 28px;
    clear: both;
}

.publishing-books-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);/*3*/
  gap: 24px;
}

.bp-book-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*width: 230px; */
    min-height: 310px;
    margin: 0 auto;
    padding: 18px 14px 14px 14px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #f5f6fb;
    transition: box-shadow .2s;
}
.bp-book-card:hover {
    box-shadow: 0 6px 26px #e6e6f9;
}
.bp-book-content {
    width: 100%;
    margin-top: 14px;
}
.bp-book-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.25;
    text-align: center;
}
.bp-book-author {
    color: #6179b4;
    font-size: 0.95em;
    margin-bottom: 8px;
    text-align: center;
}
.bp-book-offers {
    margin-top: 16px;
}
.bp-book-offer {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.97em;
    gap: 4px;
}
.bp-book-offer img {
    width: 22px;
    height: 28px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 5px;
    background: #f0f1f3;
}
.bp-book-shop {
    font-weight: 500;
    margin-right: 2px;
}
.bp-book-price {
    color: #229d3a;
    font-weight: 600;
    margin-right: 2px;
}
.bp-book-avail {
    font-size: 0.94em;
    color: #b1b1b1;
    margin-left: 2px;
	/*display: none;*/
}
.bp-book-link {
    background: #f3f6ff;
    color: #355ed7;
    padding: 2px 10px;
    border-radius: 6px;
    margin-left: 7px;
    font-size: 0.97em;
    border: none;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.bp-book-link:hover {
    background: #355ed7;
    color: #fff;
}

.bp-book-img-wrap {
    position: relative;
}

.bp-book-slide-img {
    width: 110px;
    height: 165px;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    top: 0; left: 0;
    background: #f5f6fa;
    box-shadow: 0 2px 10px #eee;
    transition: opacity 0.25s;
}


.bp-book-img-wrap {
    position: relative;
    text-align: center;
    margin-bottom: 12px;
}
.bp-book-slider {
    width: 110px;
    height: 165px;
    position: relative;
    margin: 0 auto;
}
.bp-book-slide-img {
    width: 110px;
    height: 165px;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    top: 0; left: 0;
    background: #f5f6fa;
    box-shadow: 0 2px 10px #eee;
    transition: opacity 0.25s;
}
.bp-book-slider-hint {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    position: absolute;
    bottom: -22px;
    width: 100%;
    left: 0;
}
@media (max-width: 600px) {
    .bp-book-slider { width: 70px; height: 105px; }
    .bp-book-slide-img { width: 70px; height: 105px; }
}


a.author-card img:hover {
    transform: scale(1.25);
}

.author-card:hover,
.author-card:focus-visible {
  box-shadow:
    0 10px 28px rgba(0,0,0,.12),
    0 2px 6px rgba(0,0,0,.06); 
  transform: translateY(-2px); 
  border: 1px solid #dedede;
}


.notification-bar{
    width: 80%;
    margin: 20px auto;
    border: 2px solid #2f5aae;
    padding: 20px;
}

.notification-bar p {
    margin-bottom: 10px;
}

ul.shop-publishers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.bp-book-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;
    min-width: 96px;

    background: #2563eb; /* blue-600 */
    color: #fff !important;

    font-weight: 600;
    font-size: 14px;
    line-height: 1;

    border-radius: 8px;
    text-decoration: none !important;

    transition: background .15s ease, transform .05s ease, box-shadow .15s ease;
}


.bp-book-buy:hover {
    background: #1d4ed8; /* blue-700 */
    box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

.bp-book-buy:active {
    transform: translateY(1px);
}


.bp-book-buy::before {
    content: "🛒";
    margin-right: 6px;
    font-size: 14px;
}


.publishing-books-pagination{
  margin:32px 0;
  display:flex;
  gap:6px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}

.publishing-books-pagination .bp-page{
  min-width:34px;
  height:34px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e6e6e6;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
}

.publishing-books-pagination .bp-page.is-current{
  border-color:#2355bd;
}

.publishing-books-pagination .bp-page.is-disabled{
  opacity:.35;
  pointer-events:none;
}

.publishing-books-pagination .bp-ellipsis{
  border:none;
  padding:0 6px;
  min-width:auto;
}
