@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

body {background:#fff;font-family: 'Poppins', sans-serif;font-size:18px;color:#000;padding:0;margin:0 auto;}
h1, h2, h3, h4 {margin:0 0 15px;}
h1 {font-size:30px;}
h2 {font-size:26px;}
h3 {font-size:22px;}
h4 {font-size:18px;} 
p {margin:0 0 15px;}
input:focus {outline:0;}
.form-control:focus, .btn-success.focus, .btn-success:focus  {box-shadow:none;}
section {padding:80px 0;}
a {text-decoration:none;color: #31a9dc;}
ul {padding:0;}
button:focus {outline: none;}
img {max-width: 100%;}

.book_btn {
    background: #b57f21;
    padding: 9px 12px;
    color: #fff;
    border-radius: 4px;
    font-size: 16px; 
}
.navbar {
	padding:0;
}
.navbar-nav {
    margin-left: auto;
}
.navbar-expand-lg .navbar-nav li .nav-link {
	padding:2rem 1.5rem;
	color:#454545;
	transition:all 0.4s ease-in-out;
	-webkit-transition:all 0.4s ease-in-out;
}
.navbar-expand-lg .navbar-nav li a.nav-link:hover, .navbar-expand-lg .navbar-nav li.active a.nav-link {
	background:#b57f21;
	color:#fff !important;
}

/*======================== BANNER CSS STARTS ========================*/
#banner {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    padding: 20px 0 32px;
    position: relative;
    width: 100%;
}
/*#banner:before {
	content:"";
	position:absolute;
	top:8%;
	left:2%;
	background-image:url(../images/circel_shape01.png);
	background-repeat:no-repeat;
	background-size:100%;
	height:320px;
	width:320px;
}
#banner:after {
	content:"";
	position:absolute;
	bottom:-68px;
	left:0;  
	background-image:url(../images/waves.jpg);
	background-repeat:repeat-x;
	height:68px;
	width:100%;
}*/
.fs_t1-item-txt h1 {
	font-size:74px;
	line-height:1.1;
	color:#282828;
}
.fs_t1-item-txt strong {
	color:#b57f21;
}
.fs_t1-item-txt h4 {
	font-size:37px;
	line-height:1.2;
	color:#000;	
}
.fs_t1-item-txt p {
	font-size:19px;
	line-height:1.2;
	color:#282828;	
	max-width:510px;
}
.subscribe {
    margin: 50px 0 0;
}
.subscribe .input-group {
    border-radius: 90px;
    background: #fff;
    border: 1px solid #e3e3e3;
    padding: 10px 10px 10px 0;
}
.subscribe .input-group input.form-control {
    border-radius: 90px 0 0 90px;
    border: none;
    color: #000;
    padding: 0 30px;
}
.subscribe .input-group .btn-success {
    border-radius: 90px;
    background: #b57f21;
    border: none;
    padding: 10px 20px;
	font-style: italic;
    text-transform: uppercase;
}
.subscribe .input-group .btn-success:hover, .subscribe .input-group .btn-success:focus, .subscribe .input-group .btn-success:active, .subscribe .input-group .btn-success:active:focus {
	background: #000;
	box-shadow:none;
}
.fs_t1-item-img img {
    width: 100%;
}
#book_deal {
	padding:140px 0 80px;
}
.head_title h2 {
    font-size: 43px;
    color: #282828;
    font-weight: 700;
    margin: 0 auto 40px;
    max-width: 720px;
}
.fs_t2-item .fs_t2-item-img img {
    border: 11px solid #f2f2f2;
}
.fs_t2-item h4 {
	color:#282828;
	font-size:17px;
	margin:15px 0 10px;
}
.fs_t2-item a {
    text-decoration: none;
}
.fs_t2-item span {
	color:#b57f21;
	font-size:15px;
}
#best_seller {
	background:#eee;
	position:relative;
}
/*#best_seller:before {
	content:"";
	position:absolute;
	top:8%;
	right:10px;
	background-image:url(../images/circel_shape01.png);
	background-repeat:no-repeat;
	background-size:100%;
	height:320px;
	width:320px;
}*/
.fs_t3-item {
    background: #fff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 4px 8px 16px rgb(0 0 0 / 9%);
    margin: 0 0 30px;
}
.fs_t3-item-img img {
    width: 100%;
    margin: 0 0 26px;
}
.fs_t2-item-txt h2 {
	font-size:21px;
	color:#171717;
	font-weight:700;
}
.fs_t2-item-txt p {
	font-size:15px;
	color:#525252;
}
.fs_t2-item-txt a {
	color:#b57f21;
	transition:all 0.4s ease-in-out;
	-webkit-transition:all 0.4s ease-in-out;
}
.fs_t2-item-txt a:hover {
	color:#000;
}
#testimonial {
	background-image:url(../images/testimonial_bg.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#testimonial .head_title h2 {
	color:#fff;
}
.fs_t4-item {
    background: #fff;
    display: inline-block;
    width: 100%;
    padding: 20px;
}
.fs_t4-item-img {
    float: left;
    margin: 0 20px 0 0;
}
.fs_t4-item-text {
    padding: 10px 0 0;
}
.fs_t4-item-text h4 {
    margin: 0;
    color: #161616;
    font-size: 18px;
    font-weight: 700;
}
.fs_t4-item-text span {
    color: #515151;
    font-size: 14px;
	position:relative;
}
.fs_t4-item-text span:after {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 0;
    border: 2px solid #b57f21;
    height: 2px;
    width: 46px;
}
.rating {
    margin: 14px 0 0;
}
.fs_t4-item p {
    width: 100%;
    float: left;
    margin: 20px 0 0;
}
footer {
    padding: 80px 0 50px;
    background: #b57f21;
    position: relative;
}
footer .fs_t5-item-txt ul {
    list-style: none;
    padding: 0;
}
footer .fs_t5-item-txt .social li {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    padding: 0;
        line-height: unset;
}
footer .fs_t5-item-txt .social {
    padding: 0;
    display: flex;
}
/*footer:before {
	content: "";
    position: absolute;
    top: 12%;
    left: -10px;
    height: 64px;
    width: 166px;
	background-image:url(../images/ftr_pattern.png);
	background-repeat:no-repeat;
	background-size:100%;
}
footer:after {
	content: "";
    position: absolute;
    bottom: 12%;
    right: 0;
    height: 64px;
    width: 166px;
	background-image:url(../images/ftr_pattern.png);
	background-repeat:no-repeat;
	background-size:100%;
}*/
.fs_t5-item-txt h3 {
    color: #fff;
    font-size: 19px;
    position: relative;
    margin: 0 0 34px;
	z-index:99;
}
.fs_t5-item-txt h3:after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 0;
    background: #fff;
    width: 37px;
    height: 3px;
}
.fs_t5-item-txt ul {
    padding-left: 15px;
}
.fs_t5-item-txt li {
    color: #fff;
    padding: 0 0 15px 0;
}
.fs_t5-item-txt li a {
    color: #fff;
    font-size: 15px;
	text-decoration:none;
}
.fs_t5-item-txt li a:hover {
    color: #b57f21;
}
.fs_t5-item-txt .social {
    padding: 0;
}
.fs_t5-item-txt .social li {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    margin: 0 7px;
    background: #efefef;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
}
.fs_t5-item-txt .social li:hover {
    background: #b57f21;
}


@media screen and (max-width: 1199px) {
.fs_t1-item-txt h1 {
    font-size: 56px;
}


}

@media screen and (max-width: 991px) {
.fs_t2-item {
    margin: 0 0 30px;
}
.fs_t2-item-img img{
	width:100%;
}
.fs_t5-item-txt h3 {
	font-size:18px;
}
.fs_t5-item-txt li a {
	font-size:14px;	
}
.navbar-nav {
    float: none;
}
.navbar-expand-lg .navbar-nav li .nav-link {
	padding:1rem 1.5rem;
}
.navbar-nav {
	margin-top:20px;
}

}

@media screen and (max-width: 767px) {
.fs_t1-item-txt h1 {
    font-size: 39px;
}
.head_title h2 {
    font-size: 22px;
}
.fs_t4-item {
    margin: 0 0 20px;
}
.fs_t5-item {
    margin: 0 0 40px;
}
footer {
    padding: 80px 0 40px;
}

	
}




.navbar-nav li>span {
    position: relative;
    display: block;
    padding: 10px 15px;
    font-weight:bold;
}

/* adds some margin below the link sets  */
.navbar .dropdown-menu div[class*="col"] {
   margin-bottom:1rem;
}



/* breakpoint and up - mega dropdown styles */
@media screen and (min-width: 767px) {
  
  /* remove the padding from the navbar so the dropdown hover state is not broken */
.navbar {
  padding-top:0px;
  padding-bottom:0px;
}

/* remove the padding from the nav-item and add some margin to give some breathing room on hovers */
.navbar .nav-item {
  padding: 0 .5rem;
  margin:0 .25rem;
}

  
/* makes the dropdown full width  */
.navbar .dropdown {position:static;}

  
.navbar .dropdown-menu {
  width:100%;
  left:0;
  right:0;
/*  height of nav-item  */
  top:100%;
  
  display:block;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s linear;
  
}
  
 

  
  /* shows the dropdown menu on hover */
.navbar .dropdown:hover .dropdown-menu, .navbar .dropdown .dropdown-menu:hover {
  display:block;
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.3s linear;
}
  
  .navbar .dropdown-menu {
    border: 1px solid rgba(0,0,0,.15);
    background-color: #fff;
  }

}
.dropdown-menu ul li {
    display: inline-block;
    list-style: none;
    padding: 5px 10px;
}

.sidebar-item .subscribe .input-group {
    display: block;
	border: none;
	background: none;
	border-radius: 0;
	padding: 0;
}
.sidebar-item .subscribe .input-group input.form-control {
    border: none;
    width: 100%;
    border-radius: 0;
    padding: 5px 10px;
}
.sidebar-item .fs-t1-inr {
    background: #b57f21;
    color: #fff;
    padding: 16px;
	margin: 0 0 30px;
}
.sidebar-item .subscribe {margin: 0;}
.sidebar-item .subscribe .input-group .btn-success {
    background: #000;
    border-radius: 0;
    width: 100%;
    margin: 5px 0 0;
    padding: 7px 10px;
}
.audible_img_amz {
    margin: 50px 0;
}
.book-item-price  {
    font-size: 20px;
}
.book-item-price span {
    font-size: 30px;
}
/* Phase 8 item 9/17: card treatment -- white bg, subtle border + shadow, own bottom margin. */
.book-item {
    margin: 0 0 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 6%);
    padding: 25px 25px 20px;
}
.book-item a {color:#b57f21;}
.book-item-book h2 {
    margin: 6px 0 2px;
}
.book-item-book h2 a {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
.book-item-date {
    margin: 0 0 12px;
}
.book-item-desc {
    line-height: 1.6;
    margin: 0 0 16px;
}
.book-item-links {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
}
.book-item-book h2 span {
    display: block;
    font-size: 18px;
}
header {
    border-bottom: 1px solid #ddd;
}
/* Phase 8 item 24: bottom margin too, so a shorter sidebar column doesn't touch the footer. */
main {
    margin: 40px 0;
}


.main_contact {
    padding: 70px 0;
}
.main_contact .contact_text {
	text-align:center;
}
.main_contact form {
    max-width: 560px;
    margin: 60px auto 0;
}
.book_btn:hover{
    background: #a5721a;
    color: #fff;
    text-decoration: none;
}
.navbar .dropdown-menu {
   margin: 0;
}







/* redesign */

.best_seller-dk{
    background: #fff !important;
}


/* 404 page css */
.not-found-dk{
    padding: 30px 0 80px;
}
.not-found-dk img{
        width: 280px;
        margin: auto;
}
.not-found-dk header{
    border-bottom: unset;
}

.not-found-dk header h1{
        margin-top: 30px;
}
.not-found-dk header h2{
    font-size: 200px;
    line-height: 165px;
    margin-top: 30px;
    color: #b57f21;
}
.not-found-dk p{
    margin-bottom: 40px;
}


.not-found-dk .book_btn{
    padding: 15px 30px;
    border-radius: 30px;
}



/* redesign */
@media(max-width: 767px){
    #book_deal {
        padding: 40px 0 30px;
    }
    section {
        padding: 50px 0 20px;
    }
}
@media(max-width: 360px){
    .navbar-brand img{
        width: 200px !important;
    }
    footer {
        padding: 40px 0 0px;
    }
    .not-found-dk header h2 {
        font-size: 150px;
    }
}

/* ==========================================================================
   Phase 8 -- Book listing/detail page UI pattern
   ========================================================================== */

/* Item 9: author on its own line, directly under the title. */
.book-item-author {
    color: #555;
    font-size: 15px;
    margin: 0 0 10px;
}

/* Item 5: sale/current price is the loudest element in the price row;
   the crossed-out regular price stays muted. */
.book-item-price .price-current {
    color: #b57f21;
    font-weight: 700;
}
.book-item-price .price-regular {
    color: #999;
    text-decoration: line-through;
    font-size: 18px;
    margin-left: 8px;
}

/* Item 9: genre + book length share one row instead of two stacked blocks. */
.book-item-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
}

/* Item 12/14/20: Amazon-US and Other-Stores buttons match as a pair. */
.book-item-links .btn-store,
.book-item-links .btn-other-stores {
    background: #f0f0f0;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 6px;
    line-height: 1.6;
    display: inline-block;
    margin: 0 6px 5px 0;
    cursor: pointer;
    font-size: 14px;
}
.book-item-links .btn-store:hover,
.book-item-links .btn-other-stores:hover {
    background: #e2e2e2;
}
.book-item-links .btn-store {
    background: #b57f21;
    color: #fff !important;
    border: 1px solid #b57f21;
}
.book-item-links .btn-store:hover {
    background: #a5721a;
    border: 1px solid #a5721a;
}
.book-item-links .btn-other-stores {
    background: #6c757d;
    color: #fff !important;
    border: 1px solid #6c757d;
}
.book-item-links .btn-other-stores:hover {
    background: #5c636a;
    border: 1px solid #5c636a;
}

/* Item 1: "Other Stores" modal popup (real backdrop + centered box, not a dropdown). */
.other-stores {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.other-stores.open {
    display: block;
}
.other-stores-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.other-stores-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    width: 90%;
    max-width: 640px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgb(0 0 0 / 25%);
}
.other-stores-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}
.other-stores-box h4 {
    margin: 0 0 20px;
}
.other-stores-links {
    column-count: 3;
    column-gap: 20px;
}
.other-stores-links a {
    display: block;
    padding: 6px 0;
    color: #333;
    break-inside: avoid;
}
.other-stores-links a:hover {
    color: #b57f21;
}
@media (max-width: 767px) {
    .other-stores-links {
        column-count: 1;
    }
}

/* Item 8: Read More / Read Less toggle for long, flat descriptions. */
.book-item-desc.collapsed {
    max-height: 220px;
    overflow: hidden;
    position: relative;
}
.book-item-desc.collapsed:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}
.read-more-btn {
    background: none;
    border: none;
    color: #b57f21;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin: 10px 0 15px;
    display: inline-block;
}
.read-more-btn:hover {
    text-decoration: underline;
}

/* Item 2: one signup section per page -- white card with border + shadow. */
.site-signup-section {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgb(0 0 0 / 6%);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0 0;
}
.site-signup-section h3 {
    font-size: 22px;
    margin: 0 0 15px;
}
.site-signup-section .subscribe {
    margin: 0;
}
.site-signup-section .subscribe form,
.site-signup-section .subscribe .input-group {
    display: flex;
    flex-wrap: nowrap;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.site-signup-section .subscribe .input-group input.form-control {
    border: none;
    flex: 1 1 auto;
}
.site-signup-section .subscribe .input-group .btn-success {
    border-radius: 0;
    font-style: normal;
}

/* Item 22: subscribe button padding consistent wherever userSubscribeform() renders on the detail page. */
.single-books input.subBtn {
    padding: 10px !important;
}

/* Item 18: "Recent Books" sidebar widget -- plain bordered white box, distinct from the signup card above it. */
.recent-books-widget {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}
.recent-books-widget h3 {
    font-size: 18px;
    margin: 0 0 15px;
}
.recent-books-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.recent-books-list li {
    margin: 0 0 12px;
}
.recent-books-list li:last-child {
    margin-bottom: 0;
}
.recent-books-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #282828;
}
.recent-books-list a:hover span {
    color: #b57f21;
}
.recent-books-list img {
    width: 50px;
    height: 75px;
    object-fit: cover;
    flex: 0 0 auto;
    border-radius: 4px;
}

/* Item 19: wider container at large viewports (client design preference). Plain .container is
   used directly by header/footer on this theme, so no separate .header-inner override is needed. */
@media (min-width: 1400px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1350px;
  }
}