@font-face {
  font-family: DM-Serif-Text;
  src: url("../fonts/text_fonts/DMSerifText-Regular.ttf");
  font-weight: 400;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: DM-Serif-Text;
}

body {
  position: relative;
}

/*common*/
.container-fluid {
  padding: 0 7%;
}

section {
  padding: 5% 0;
}

h1 {
  font-size: 42px;
  margin-bottom: 0;
}

h2 {
  font-size: 36px;
  margin-bottom: 0;
}

h3 {
  font-size: 32px;
  margin-bottom: 0;
}

h4 {
  font-size: 26px;
  margin-bottom: 0;
}

h5 {
  font-size: 20px;
  margin-bottom: 0;
}

p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #828282;
  letter-spacing: 1px;
  font-weight: 500;
}

a {
  font-size: 18px;
}

button {
  font-size: 20px;
  padding: 8px;
  border: none;
  cursor: pointer;
  outline: none;
  border-radius: 6px;
}

button.btn-dark-outline {
  border: 1px solid black;
}

button.btn-light-outline {
  border: 1px solid white;
  background-color: transparent;
}

button.btn-light,
button.btn-dark-outline {
  background-color: white;
}

button.btn-dark {
  background-color: black;
  color: white;
}

button.btn-light a,
button.btn-dark-outline a {
  text-decoration: none;
  color: black;
}

button.btn-dark a,
button.btn-light-outline a {
  text-decoration: none;
  color: white;
}

.blank {
  height: 80px;
}

.error {
  color: red;
}

/*header*/
#header .container-fluid {
  padding: 0 3%;
}

#header .header-actions {
  gap: 15px;
}

#header .header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-size: 22px;
  text-decoration: none;
  line-height: 1;
}

#header .header-icon-link:hover {
  color: #828282;
}

#header .dropdown-toggle.header-icon-link::after {
  display: none;
}

#header {
  background-color: white;
}
.dropdown-menu[data-bs-popper]{
  left: -114px !important;
}
button.navbar-toggler {
  width: auto;
}

.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
}

#header .nav-link {
  position: relative;
  text-decoration: none;
}

#header .nav-link::after,
#header .nav-item.current-item .nav-link::after {
  content: "";
  display: block;
  height: 2px;
  background: black;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}

#header .nav-link:hover,
#header .nav-item.current-item .nav-link {
  color: black;
}

#header .nav-link:hover::after,
#header .nav-item.current-item .nav-link::after {
  width: 100%;
}

#header .nav-link.active::after,
#header .nav-item.current-item .nav-link::after {
  background: black;
  /* Color for the active state underline */
}

/*home banner*/
.home {
  width: 100%;
  height: 100vh;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.home video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  opacity: 0.5;
  pointer-events: none;
}

.home .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #4950574d;
  mix-blend-mode: overlay;
}

.home .content {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  color: white;
  text-align: center;
  z-index: 2;
  padding: 10px;
}

.home .content h1 {
  font-size: 50px;
  margin-bottom: 10px;
}

.home .content p {
  font-size: 20px;
  width: 980px;
  max-width: 100%;
  margin: 0 auto;
  line-height: 28px;
  margin-bottom: 30px;
  color: #c0c0c0;
  font-weight: 500;
}

/*home about us*/
.about-content img {
  width: 40px;
  height: 40px;
  max-width: 100%;
  max-height: 100%;
}

/*In depth*/
.in-depth .climate-change-img img,
.human-cosmos .what-for-img img,
.carbon .carbon-emissions-img img,
.nue .nue-img img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.in-depth .content,
.human-cosmos .content,
.carbon .content,
.nue .content {
  display: flex;
  align-items: start;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.in-depth .content h2 {
  width: 75%;
}

/*book section*/
.books .card {
  width: 400px;
  max-width: 100%;
  height: 400px;
  max-height: 100%;
  border-radius: 15px;
  padding: 1.5rem;
  background: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0.4s ease-out;
  overflow: hidden;
  border: none;
}

.books .card:hover:before {
  opacity: 1;
}

.books .card:hover .info {
  opacity: 1;
  transform: translateY(0);
}

.books .card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: #000000cc;
  z-index: 2;
  transition: 0.5s;
  opacity: 0;
}

.books .card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
}

.books .info {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  z-index: 3;
  color: white;
  opacity: 0;
  transform: translateY(100%);
  transition: 0.5s;
  padding: 20px;
  text-align: start;
}

.books .info h1 {
  margin: 0;
}

.books .info button {
  width: 135px;
  padding: 3px;
}

.books .info button a {
  font-size: 16px;
  line-height: 27px;
}

/*upcoming releases*/
section.upcoming-releases {
  background-color: #f2f2f2;
}

section.upcoming-releases .content {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  height: 100%;
}

.upcoming-releases p {
  width: 900px;
  max-width: 100%;
  margin: 0 auto 40px;
}

/* .release-1 {
    border-top-left-radius: 10px;
}

.release-img-1 {
    border-top-right-radius: 10px;
}

.release-2 {
    border-bottom-right-radius: 10px;
}

.release-img-2 {
    border-bottom-left-radius: 10px;
} */

/*upcoming features*/
/* .carousel-item img {
    height: 100%;
    max-height: 100%;
}

.carousel-caption {
    top: 0;
    left: 0;
    bottom: auto;
    right: auto;
    text-align: left;
    padding: 5rem 2rem 2rem 5rem;
    width: 1100px;
    max-width: 100%;
}

.carousel-caption p {
    font-size: 18px;
    color: #C6C6C6;

}

.carousel-fade .carousel-item {
    transition: opacity 0.5s ease-in-out;
    Change duration to 0.5s for faster fade
} */
.section-heading {
  text-align: center;
}

/*contact us*/
#contact {
  background: #f8f8f8;
}

#contact .contact-wrapper p {
  color: #828282;
  font-weight: 400;
}

#contact form label {
  font-family: "Helvetica";
  color: #7b7b7b;
  font-weight: 400;
}

#contact .form-control {
  background: #efefef;
  border-radius: 8px;
  box-shadow: none;
  outline: none;
  border: none;
}

#contact input.form-control {
  height: 60px;
}

.iti {
  width: 100%;
}

.iti__flag-container {
  margin-right: 10px;
}

/*listing page*/

#listing .banner {
  background: url("../images/books_banner_bg.png");
  color: white;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-content p {
  color: white;
}

#listing .nue-price {
  color: #1a1a1a;
  margin-bottom: 20px;
}

#listing .nue-details-link {
  font-size: 15px;
  color: #1a1a1a;
  text-decoration: underline;
}

#listing button.btn-dark-outline[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

/*about*/
#about .banner, #news .banner, #gallery .banner, #gallery-folder .banner, #blogs .banner, #blogs-folder .banner {
  background: url("../images/about_banner_bg.png");
  color: white;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/*blog reader*/
#blog-reader .blog-title {
  color: #1a1a1a;
  font-size: 25px;
  margin-bottom: 24px;
}

#blog-reader .blog-featured-image {
  display: block;
  width: 280px;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

#blog-reader .blog-share {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

#blog-reader .share-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
}

#blog-reader .share-facebook {
  background-color: #3b5998;
}

#blog-reader .share-twitter {
  background-color: #1da1f2;
}

#blog-reader .share-whatsapp {
  background-color: #25d366;
}

#blog-reader .share-email {
  background-color: #ea4335;
}

#blog-reader .share-linkedin {
  background-color: #0077b5;
}

#blog-reader .blog-meta {
  color: #828282;
  margin-bottom: 24px;
}

#blog-reader .blog-body {
  color: #2c2c2c;
  line-height: 1.7;
}

#blog-reader .blog-body h2,
#blog-reader .blog-body h3 {
  color: #1a1a1a;
  font-weight: 700;
  margin: 24px 0 12px;
}

#blog-reader .blog-body p {
  margin-bottom: 14px;
}

.about-wrapper {
  background: #f2f2f2;
  border-radius: 10px;
}

#about .about-title p {
  color: #4e4e4e;
  font-weight: 400;
  line-height: 20px;
  font-size: 16px;
}

#about .company .nav-link {
  color: #000000;
  border-radius: 4px;
  font-family: DM-Serif-Text;
  border: 1px solid #000000;
  width: 130px;
}

#about .company .nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: black;
  color: white;
}

.timeline-item {
  display: flex;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #ccc;
  left: 0;
  bottom: 0;
}

/*vision-mission*/
.vm-content {
  background: #f2f2f2;
  border-radius: 10px;
}

.vision-mission img {
  width: 100%;
}

.company h3 {
  width: 40%;
}

/*experience*/
#counter {
  height: 6em;
  overflow: hidden;
}

.digits {
  margin: 0;
  padding: 0;
  animation: luckie 2s ease forwards;
}

.digits h1 {
  font-size: 100px;
}

@keyframes luckie {
  100% {
    margin-top: -23em;
  }

  /* Moves from 30 to 55 */
}

.counter-div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  height: 100%;
}

.counter-div h1 {
  font-size: 100px;
}

/*privacy*/
#privacy .banner {
  background: url("../images/privacy_banner_bg.jpg");
  color: white;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.privacy-info h3{
    font-size: 20px;
}
.privacy-info p, .privacy-info ul li{
    font-size: 16px;
    color: #828282;
}

/**footer**/
.footer-company {
  font-size: 16px;
  color: #828282;
}

.footer-company img {
  width: 30px;
  height: 30px;
}

.footer-company a {
  text-decoration: none;
  font-size: 18px;
  color: white;
}

/*social media*/
.social a {
  color: #fff;
  text-decoration: none;
  text-transform: capitalize;
}

.social {
  position: fixed;
  bottom: 0px;
  z-index: 3;
  width: 40px;
}

.social ul {
  padding: 0px;
  transform: translate(-270px, 0);
}

.social ul li {
  display: block;
  margin: 5px;
  background: rgb(102 97 97 / 39%);
  width: 317px;
  text-align: right;
  padding: 10px;
  border-radius: 0 30px 30px 0;
  transition: all 1s;
}

.social ul li:hover {
  transform: translate(90px, 0);
  background: rgba(0, 0, 0, 0.36);
}

.social ul li:hover a {
  color: #ffffff;
  text-decoration: none;
}

.social ul li:hover i {
  color: #fff;
  background: rgba(0, 0, 0, 0.36);
  transform: rotate(360deg);
  transition: all 1s;
}

.social ul li i {
  margin-left: 10px;
  color: #ffffff;
  background: #fff;
  padding: 5px 8px;
  border-radius: 50%;
  font-size: 20px;
  background: #ffffff;
  transform: rotate(0deg);
}

.social ul li i.bi-twitter {
  background-color: #00aced;
}

.social ul li i.bi-facebook {
  background-color: #003e9b;
}

.social ul li i.bi-instagram {
  background-color: #d600a8;
}

.social ul li i.bi-youtube {
  background-color: #ed0000;
}

.social ul li i.bi-linkedin {
  background-color: #003e9b;
}

/*gallery Images*/
.masonry {
  column-count: 3;
  margin: 0 auto;
}

.masonry .grid-item img {
  width: 100%;
  height: auto;
  margin-bottom: 1em;
  border-radius: 6px;
}

.masonry .grid-item video {
  width: 100%;
  height: auto;
  display: block;
}

.dropdown-details {
  position: relative;
}

.dropdown-details summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.dropdown-details summary::-webkit-details-marker {
  display: none;
  /* remove default arrow */
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  min-width: 180px;
}

.dropdown-list li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  /* color: #333; */
  font-size: 16px;
}

.dropdown-list li a:hover {
  background-color: #f8f9fa;
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropdown-details[open] .arrow {
  transform: rotate(180deg);
}

.eventCat .event-img {
  height: 250px;
  max-height: 100%;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  /* Background color while loading */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#logo {
  width: 90px;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(0.9);
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

#content {
  display: none;
}

#muteToggle {
  position: absolute;
  bottom: 20px;
  left: 0px;
  z-index: 11111111;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  color: white;
  font-size: 31px;
}

.documentry {
  width: 100%;
  height: 400px;
  max-height: 100%;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-deck .card {
  height: 400px;
}

.card-deck .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Fixed Audio Player Styles */
.audio-player-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ffffff 0%, #cbcbcb 100%);
  padding: 15px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.audio-player-fixed audio {
  width: 100%;
  max-width: 600px;
  border-radius: 25px;
  outline: none;
}

.audio-player-fixed .close-btn {
  background: #bdbdbd9e;
  border: none;
  color: black;
  font-size: 24px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  flex-shrink: 0;
}

/*media*/
@media (max-width: 1200px) {
  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 24px;
  }

  p {
    font-size: 14px;
  }

  .author-img img {
    width: 50%;
  }

  .vision-mission img {
    width: auto;
  }

  button {
    font-size: 16px;
  }

  .card-deck .card {
    height: 345px;
  }
}

@media screen and (max-width: 992px) {

  #header .nav-link:hover::after,
  #header .nav-item.current-item .nav-link::after {
    width: 14%;
  }

  h3 {
    font-size: 22px;
  }

  /* .release-1, .release-img-2 {
        border-radius: 10px 0 0 10px;
    }

    .release-img-1, .release-2 {
        border-radius: 0 10px 10px 0;
    } */
  .dropdown-details {
    position: static;
  }

  .dropdown-list {
    position: static;
    border: none;
    box-shadow: none;
  }

  .dropdown-list li a {
    padding-left: 2rem;
  }

  .card-deck .card {
    height: 295px;
  }
}

@media (max-width: 768px) {
  .audio-player-fixed {
    padding: 10px 15px;
    flex-direction: column;
    gap: 10px;
  }

  .audio-player-fixed audio {
    max-width: 100%;
  }

  .audio-player-fixed .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .container-fluid {
    padding: 0 20px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 24px;
  }

  h4 {
    font-size: 18px;
  }

  a {
    font-size: 16px;
  }

  .vision-mission img,
  .in-depth .content h2 {
    width: 100%;
  }

  #listing .banner,
  #about .banner {
    height: 80vh;
  }

  .banner-content {
    margin-top: 20%;
  }

  .home .content h1 {
    font-size: 28px;
  }

  .home .content p {
    font-size: 14px;
    line-height: normal;
  }

  .section-heading {
    text-align: start;
    width: 85%;
  }

  section.upcoming-releases .content {
    padding: 15px 3px;
  }

  .note {
    font-size: 12px;
  }

  .company h3 {
    width: 100%;
  }

  .author-img img {
    width: 75%;
  }

  .footer-company a {
    font-size: 13px;
  }

  /* .release-1, .release-2 {
        border-radius: 0 0 10px 10px;
    } */

  /* .release-img-1, .release-img-2 {
        border-radius: 10px 10px 0 0;
    } */

  .marshall-logo,
  .ciia-logo {
    width: 92px;
  }

  .card-deck .card {
    height: 100%;
  }
}

/* Minimal spacing for VJM Kundali section */
.books .content p {
  margin-bottom: 8px;
}

.books ol {
  margin-bottom: 10px;
  margin-top: 8px;
}

.books li {
  margin-bottom: 3px;
}

/* Prevent VJM content overflow on books page */
.release-1 .collapse ol,
.release-2 .collapse ol {
  margin-right: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.release-1 .collapse li,
.release-2 .collapse li {
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-right: 10px;
}

@media (max-width: 480px) {
  .audio-player-fixed {
    padding: 8px 10px;
  }

  .audio-player-fixed audio {
    height: 40px;
  }
}

/* Constrain release section content within column */
.release-1,
.release-2 {
  overflow: hidden;
}

.release-1 .content,
.release-2 .content {
  padding: 30px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* VJM Details collapse styling - apply to both .collapse and .collapsing for consistent animation */
.release-1 .collapse,
.release-1 .collapsing,
.release-2 .collapse,
.release-2 .collapsing {
  max-width: 100%;
  overflow: hidden;

  padding: 15px 20px;
  border-radius: 6px;
  margin-top: 12px;
}

/* Strong heading - make it bigger and more prominent */
.release-1 .collapse strong,
.release-1 .collapsing strong,
.release-2 .collapse strong,
.release-2 .collapsing strong {
  font-size: 20px;
  color: #2c2c2c;
  display: block;
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 700;
}

/* List styling - smaller and cleaner */
.release-1 .collapse ol,
.release-1 .collapsing ol,
.release-2 .collapse ol,
.release-2 .collapsing ol {
  font-size: 15px;
  margin-bottom: 8px;
  color: #555;
  letter-spacing: 0.3px;
  font-weight: 400;
  padding-left: 22px;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  box-sizing: border-box;
  list-style-position: outside;
  line-height: 1.6;
}

.release-1 .collapse ol li,
.release-1 .collapsing ol li,
.release-2 .collapse ol li,
.release-2 .collapsing ol li {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  max-width: 100%;
  padding-right: 10px;
  box-sizing: border-box;
  margin-bottom: 6px;
}

/* Read More/Less links styling */
#readMoreLink,
#readLessLink,
#readMoreLink-books,
#readLessLink-books {
  /* color: #c9a76d !important; */
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted #c9a76d;
  transition: all 0.3s ease;
}

/*book details*/
#book-details .breadcrumb-trail {
  display: block;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

#book-details .breadcrumb-trail a {
  font-size: 13px;
  color: #828282;
  text-decoration: none;
}

#book-details .breadcrumb-trail a:hover {
  color: #1a1a1a;
}

#book-details .breadcrumb-trail .sep {
  margin: 0 8px;
  color: #c0c0c0;
}

#book-details .book-gallery img {
  width: 100%;
  border-radius: 6px;
}

#book-details .book-gallery-main {
  margin-bottom: 15px;
}

#book-details .book-gallery-thumbs {
  max-width: 200px;
}

#book-details .book-gallery-thumbs .slick-slide {
  padding: 0 6px;
}

#book-details .book-gallery-thumbs .slick-slide div div {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 6px;
  overflow: hidden;
}

#book-details .book-gallery-thumbs img {
  height: 80px;
  object-fit: cover;
}

#book-details .book-gallery-thumbs .slick-current div div {
  border-color: #989797;
}

#book-details .book-info h1 {
  font-size: 34px;
}

#book-details .book-info h2 {
  font-size: 20px;
  font-weight: normal;
  color: #828282;
  margin-bottom: 20px;
}

#book-details .book-info p {
  font-size: 16px;
  margin-bottom: 18px;
}

#book-details .book-price {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
}

#book-details .book-price .label {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: #828282;
}

#book-details .book-price .amount {
  font-size: 32px;
  color: #1a1a1a;
}

#book-details .book-price .note {
  font-size: 14px;
  color: #828282;
}

#book-details .book-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

#book-details .book-actions button {
  width: 230px;
  max-width: 100%;
  color: black;
}

#book-details .book-features h4 {
  margin-bottom: 20px;
}

#book-details .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

#book-details .feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #9e9e9e54;
  padding: 16px;
  background: #80808026;
}

#book-details .feature-card i {
  color: #1a1a1a;
}

#book-details .feature-card h5 {
  margin-bottom: 4px;
}

#book-details .feature-card p {
  font-size: 14px;
  margin-bottom: 6px;
  color: #828282;
}

#book-details .feature-card a {
  font-size: 14px;
  text-decoration: underline;
  color: #1a1a1a;
  font-weight: 500;
}

#book-details .book-meta {
  display: flex;
  gap: 60px;
  padding-top: 20px;
  border-top: 1px solid #e6e6e6;
}

#book-details .book-meta .label {
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: #000000;
}

#book-details .book-meta .value {
  display: block;
  font-size: 16px;
  color: #97979d;
  font-weight: normal;
}

@media (max-width: 767px) {
  #book-details .feature-grid {
    grid-template-columns: 1fr;
  }

  #book-details .book-meta {
    gap: 30px;
  }
}

/*checkout steps*/
#cart .checkout-steps,
#shipping .checkout-steps,
#order-confirmation .checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

#cart .checkout-steps .step,
#shipping .checkout-steps .step,
#order-confirmation .checkout-steps .step {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c0c0c0;
  text-decoration: none;
}

#cart .checkout-steps .step.active,
#shipping .checkout-steps .step.active,
#order-confirmation .checkout-steps .step.active {
  color: #1a1a1a;
  font-weight: 700;
}

#shipping .checkout-steps .step.done,
#order-confirmation .checkout-steps .step.done {
  color: #828282;
}

#shipping .checkout-steps .step.done:hover,
#order-confirmation .checkout-steps .step.done:hover {
  color: #1a1a1a;
}

#cart .checkout-steps .step-sep,
#shipping .checkout-steps .step-sep,
#order-confirmation .checkout-steps .step-sep {
  width: 40px;
  height: 1px;
  background: #d9d9d9;
}

/*cart*/

#cart h1 {
  margin-bottom: 8px;
}

#cart .items-count {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: #828282;
  margin-bottom: 30px;
}

#cart .cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e6e6e6;
}

#cart .cart-item-img {
  width: 160px;
  max-width: 100%;
  flex-shrink: 0;
}

#cart .cart-item-img img {
  width: 100%;
  border-radius: 6px;
}

#cart .cart-item-body {
  flex-grow: 1;
}

#cart .cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

#cart .cart-item-top h5 {
  font-size: 18px;
  margin-bottom: 4px;
}

#cart .cart-item-price {
  flex-shrink: 0;
  text-align: right;
  font-size: 16px;
  color: #1a1a1a;
  white-space: nowrap;
}

#cart .cart-item-body .author {
  font-size: 14px;
  color: #828282;
  margin-bottom: 4px;
}

#cart .cart-item-body .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #828282;
}

#cart .cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

#cart .cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 4px 8px;
  flex-shrink: 0;
}

#cart .cart-item-qty .qty-btn {
  background: none;
  font-size: 16px;
  padding: 0 4px;
  color: #1a1a1a;
}

#cart .cart-item-qty .qty-input {
  width: 24px;
  border: none;
  text-align: center;
  font-size: 16px;
}

#cart .cart-item-remove {
  background: none;
  color: #828282;
  font-size: 18px;
  flex-shrink: 0;
}

#cart .cart-item-remove:hover {
  color: #c0392b;
}

#cart .cart-summary {
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 25px;
}

#cart .cart-summary h6 {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: #828282;
  margin-bottom: 20px;
}

#cart .summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #828282;
  margin-bottom: 12px;
}

#cart .summary-row.total {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 20px;
}

#cart .checkout-btn {
  width: 100%;
  margin-bottom: 15px;
  color: white;
  font-size: 16px;
  font-weight: 100;
}

#cart .summary-note {
  font-size: 13px;
  color: #828282;
  margin-bottom: 8px;
}

#cart .cart-summary blockquote {
  font-size: 14px;
  font-style: italic;
  color: #828282;
  border-top: 1px solid #e6e6e6;
  padding-top: 95px;
  margin: 15px 0 0;
}

@media (max-width: 767px) {
  #cart .cart-item {
    flex-wrap: wrap;
  }

  #cart .cart-item-price {
    text-align: left;
  }
}

/*shipping*/
#shipping h1 {
  margin-bottom: 30px;
}

#shipping .form-group {
  margin-bottom: 30px;
}

#shipping .form-group label {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: black;
  margin-bottom: 10px;
}

#shipping .form-control {
  width: 100%;
  border: none;
  border-bottom: 1px solid #000000;
  border-radius: 0;
  padding: 6px 0;
  font-size: 15px;
  color: #1a1a1a;
  background: transparent;
  box-shadow: none;
}

#shipping .form-control:focus {
  outline: none;
  border-bottom-color: #1a1a1a;
  box-shadow: none;
}

#shipping .form-control::placeholder {
  color: #c0c0c0;
}

#shipping .continue-btn {
  width: 100%;
  color: white;
  font-size: 16px;
  margin-top: 10px;
}

#shipping .order-summary {
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 25px;
}

#shipping .order-summary h6 {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: #828282;
  margin-bottom: 20px;
}

#shipping .order-summary-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

#shipping .order-summary-item-img {
  width: 120px;
  flex-shrink: 0;
}

#shipping .order-summary-item-img img {
  width: 100%;
  border-radius: 4px;
}

#shipping .order-summary-item-body {
  flex-grow: 1;
}

#shipping .order-summary-item-body h5 {
  font-size: 14px;
  margin-bottom: 4px;
}

#shipping .order-summary-item-body .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #828282;
  margin-bottom: 6px;
}

#shipping .order-summary-item-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #1a1a1a;
}

#shipping .summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #828282;
  margin-bottom: 12px;
}

#shipping .summary-row.total {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 0;
}

/*order confirmation*/
#order-confirmation .confirmation-wrapper {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

#order-confirmation h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

#order-confirmation .confirmation-subtext {
  margin-bottom: 0;
}

#order-confirmation hr {
  margin: 35px 0;
  border-color: #e6e6e6;
}

#order-confirmation .confirmation-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  text-align: center;
}

#order-confirmation .confirmation-details .label {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: #828282;
  margin-bottom: 6px;
}

#order-confirmation .confirmation-details .value {
  display: block;
  font-size: 18px;
  color: #1a1a1a;
}

#order-confirmation .confirmation-next .label {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: #828282;
  margin-bottom: 15px;
}

#order-confirmation .confirmation-next p {
  margin-bottom: 0;
}

#order-confirmation .confirmation-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

#order-confirmation .confirmation-actions button,
#order-confirmation .confirmation-actions a.btn-dark-outline {
  width: 220px;
  max-width: 100%;
  font-size: 16px;
}

#order-confirmation .confirmation-actions a.btn-dark-outline {
  display: inline-block;
  padding: 8px;
  border: 1px solid black;
  border-radius: 6px;
  background-color: white;
  color: black;
  text-decoration: none;
  text-align: center;
}

#order-confirmation .confirmation-actions button.btn-dark {
  color: white;
}

@media (max-width: 575px) {
  #order-confirmation .confirmation-details {
    grid-template-columns: 1fr;
  }

  #order-confirmation .confirmation-actions {
    flex-direction: column;
    align-items: center;
  }
}

/*profile*/
#profile-page .profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

#profile-page .profile-header h1 {
  font-size: 32px;
}

#profile-page .logout-form {
  display: inline;
}

#profile-page .logout-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #c0392b;
  text-decoration: none;
}

#profile-page .label {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: #828282;
  margin-bottom: 10px;
}

#profile-page .profile-card {
  display: flex;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 50px;
}

#profile-page .profile-card-col {
  flex: 1;
}

#profile-page .profile-card-divider {
  width: 1px;
  background: #e6e6e6;
  margin: 0 40px;
  align-self: stretch;
}

#profile-page .profile-identity {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

#profile-page .profile-avatar {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ececec;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

#profile-page .profile-identity h4 {
  margin-bottom: 4px;
}

#profile-page .edit-icon {
  font-size: 14px;
  color: #828282;
  margin-left: 6px;
  cursor: pointer;
}

#profile-page .member-since {
  font-style: italic;
  color: #828282;
  font-size: 14px;
  margin-bottom: 0;
}

#profile-page .contact-line {
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 6px;
}

#profile-page .address-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#profile-page .badge-primary {
  background: #1a1a1a;
  color: white;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
}

#profile-page .address-line {
  font-size: 15px;
  color: #828282;
  margin-bottom: 6px;
}

#profile-page .address-line.strong {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 17px;
  margin-bottom: 8px;
}

#profile-page .manage-addresses {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  text-decoration: underline;
}

#profile-page .purchase-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e6e6e6;
}

#profile-page .history-filters a {
  margin-left: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c0c0c0;
  text-decoration: none;
}

#profile-page .history-filters a.active {
  color: #1a1a1a;
  font-weight: 700;
  text-decoration: underline;
}

#profile-page .purchase-subtitle {
  font-size: 14px;
  color: #828282;
  margin-bottom: 4px;
  word-break: break-word;
  overflow-wrap: break-word;
}

#profile-page .status {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

#profile-page .status.delivered {
  color: #2e8b57;
}

#profile-page .status.cancelled {
  color: #c0392b;
}

#profile-page .order-group {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}

#profile-page .order-group.cancelled {
  background: #fafafa;
}

#profile-page .order-item-row {
  display: grid;
  grid-template-columns: 220px 100px 1fr 120px 200px;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

#profile-page .order-item-row:last-child {
  border-bottom: none;
}

#profile-page .order-info-col {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

#profile-page .order-info-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

#profile-page .order-info-top strong {
  font-size: 14px;
  color: #1a1a1a;
}

#profile-page .order-info-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #999;
}

#profile-page .order-item-img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

#profile-page .order-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#profile-page .order-item-details {
  min-width: 0;
}

#profile-page .order-item-details h5 {
  font-size: 15px;
  margin: 0 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

#profile-page .purchase-subtitle {
  font-size: 13px;
  color: #999;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

#profile-page .order-item-price-qty {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

#profile-page .order-item-price-qty .price {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

#profile-page .order-item-price-qty .qty {
  font-size: 13px;
  color: #999;
}

#profile-page .order-item-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#profile-page .order-item-actions a,
#profile-page .order-item-actions button {
  width: 100%;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
}

@media (max-width: 991px) {
  #profile-page .order-item-row {
    grid-template-columns: 180px 80px 1fr 120px;
    gap: 16px;
  }

  #profile-page .order-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  #profile-page .order-item-actions a,
  #profile-page .order-item-actions button {
    flex: 1;
  }
}

@media (max-width: 576px) {
  #profile-page .order-item-row {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 16px;
  }

  #profile-page .order-info-col {
    grid-column: 1 / -1;
  }

  #profile-page .order-item-price-qty {
    align-items: flex-start;
    text-align: left;
  }

  #profile-page .order-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
}

#profile-page .load-more {
  text-align: center;
  margin-top: 40px;
}

#profile-page .load-more a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
  text-decoration: underline;
}

@media (max-width: 767px) {
  #profile-page .profile-card {
    flex-direction: column;
  }

  #profile-page .profile-card-divider {
    width: 100%;
    height: 1px;
    margin: 25px 0;
  }

}

#readMoreLink:hover,
#readLessLink:hover,
#readMoreLink-books:hover,
#readLessLink-books:hover {
  color: #8b6f3d !important;
  border-bottom-color: #8b6f3d;
}