 /* =========================
  under-nav_art
========================= */

.under-nav {
  background-image: url("../web-assets/web_backgrounds/tienda.webp");

}

.header-main {
 
  background-image: url("../web-assets/web_backgrounds/nav-bar_element_art.webp");
  
}

/* =========================
   BOOK SYNOPISIS
========================= */

.book-synopsis {
  background: #fff;
  padding: 40px 15px 60px;
}

.book-synopsis .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.synopsis-nav {
  font-size: 13px;
  margin: 25px 0 25px; /* restore vertical spacing above and below nav */
}

.synopsis-nav a {
  color: #000;
  text-decoration: none;
  margin: 0 4px;
}

.synopsis-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 35px;
}

.synopsis-text p:not(:last-child) {
  margin-bottom: 15px;
}

.synopsis-content {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: flex-start;
}

.book-cover img {
  width: 100%;
  height: auto;
  display: block;
 box-shadow: -12px 6px 26px -5px rgba(0,0,0,0.62);
-webkit-box-shadow: -12px 6px 26px -5px rgba(0,0,0,0.62);
-moz-box-shadow: -12px 6px 26px -5px rgba(0,0,0,0.62);
 border-radius: 2px;
}

.book-data {
  font-size: 13px;
  line-height: 1.6;
}

.book-data h3 {
  font-size: 14px;
  margin-bottom: 10px;
}

.book-data p {
  margin-bottom: 6px;
}


/* STORE ITEMS */

.product-info {
  font-size: 14px;
  line-height: 1.6;
}

.product-title {
  font-size: 18px;
  margin-bottom: 15px;
}

.product-description {
  margin-bottom: 20px;
  max-width: 500px;
}

.product-purchase {
  display: flex;
  align-items: center;
  gap: 15px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #d5d9d9;
  border-radius: 6px;
  overflow: hidden;
}

.qty-control button {
  background: #f0f2f2;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
}

.qty-control input {
  width: 40px;
  text-align: center;
  border: none;
  height: 32px;
}

.product-purchase label {
  font-size: 13px;
}

.product-purchase input {
  width: 70px;
  padding: 6px;
  border: 1px solid #000;
}

.buy-button {
  padding: 8px 18px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}


.contact-trigger {
  padding: 12px 28px;
  font-size: 13px;
  letter-spacing: 1px;
  background: var(--green);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.contact-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.product-layout {
  grid-template-columns: 220px 1fr 260px;
}

.cover-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  
}


.cover-actions a {
    text-decoration: none;
    color: #000;
}



.secondary-btn {
  padding: 8px;
  font-size: 12px;
  background: #fff;
  border: 1px solid #000;
  cursor: pointer;
}

.breadcrumb {
  font-size: 12px;
  margin: 20px 0 10px; /* add top spacing above breadcrumb */
}

.author-line {
  font-size: 13px;
  margin-bottom: 8px;
}

.rating-row {
  font-size: 13px;
  margin-bottom: 15px;
}

.product-meta {
  font-size: 12px;
  margin-top: 20px;
}

.product-meta div {
  margin-bottom: 6px;
}

.purchase-box {
  border: 1px solid #d5d9d9;
  border-radius: 8px;
  padding: 20px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


.price-row {
  font-size: 26px;
  font-weight: 600;
  color: black;
  margin-bottom: 5px;
}

.price-type {
  display: block; /* always under price */
  margin-top: 4px;
  font-size: 14px; /* Amazon-like secondary text size */
  font-weight: 500;
  color: #333;
}

/* small transparent toggle buttons to select format */
.format-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.format-toggle-btn {
  padding: 4px 10px;
  font-size: 12px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.1);
  color: #000;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.format-toggle-btn.active,
.format-toggle-btn:hover {
  background: rgba(0,0,0,0.08);
}

.discount {
  color: #c00;
  margin-right: 8px;
}

.stock {
  font-size: 13px;
  color: #007600;
  font-weight: 500;
}

.full-width {
  width: 100%;
  margin-top: 15px;
}

.secure-note {
  font-size: 11px;
  text-align: center;
  color: #555;
}
/* Mobile */
@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    justify-content: center; 
    justify-items: center;   
    margin-top: 50px;
  }

  .book-cover {
    max-width: 250px;
    width: 100%;
    margin-bottom: 20px;
  }

  .product-info {
    max-width: 500px;
    width: 100%;
    text-align: left;  
  }

  .purchase-box {
    margin-top: 30px;
    max-width: 400px;
    width: 100%;
    gap: 15px;
  }
}

.format-toggle-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  background: #fff;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.format-toggle-btn:hover {
  background: #000;
  color: #fff;
}

#buyButton {
  margin-top: 5px;
}