/*
 Theme Name:   SOTV Child
 Theme URI:    https://servantofthevineyard.com
 Description:  Two Guys GeneratePress child theme
 Author:       Two Guys and a Mouse
 Author URI:   https://twoguysandamouse.com
 Template:     generatepress
 Version:      0.1
*/

/* ====================================
   BOOK 1 SALES PAGE - HERO SECTION
   ==================================== */

.book-hero-section {
    position: relative;
    overflow: visible;
}

.book-hero-row {
    min-height: 520px;
    position: relative;
	background-position-y: bottom !important;
	background-position-x: center !important;
}

.book-mid-row {
    position: relative;
	background-position: center top !important;
}


.book-hero-image-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.book-hero-image {
    position: relative;
    z-index: 50;
    text-align: center;
    margin: 0 auto;
}

.book-hero-image img {
    width: 370px !important;
    max-width: 370px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
	position: relative;
	z-index: 9999;
}

.book-hero-title {
    font-family: 'EB Garamond', Georgia, serif !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    margin-top: 10px !important;
    margin-bottom: 3px !important;
    padding-top: 0 !important;
	color: #fbfcea !important;
	text-shadow: 1px 2px #29190b;
}

.book-hero-title {
    font-family: 'EB Garamond', Georgia, serif !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    margin-top: 10px !important;
    margin-bottom: 3px !important;
    padding-top: 0 !important;
}

.book-hero-subtitle {
    font-family: 'EB Garamond', Georgia, serif !important;
    font-weight: 400 !important;
    font-style: italic !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
	color: #fbfcea !important;
}

.book-page-subtitle {
    font-family: 'EB Garamond', Georgia, serif !important;
	font-size: 36px !important;
    font-weight: 500 !important;
    font-style: italic !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
	color: #29190b !important;
}

.book-subtitle-bar-lite {
    font-family: 'EB Garamond', Georgia, serif !important;
	font-size: 38px !important;
    font-weight: 600 !important;
    font-style: italic !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
	color: #fbfcea !important;
	text-shadow: 1px 2px #29190b;
}

.book-subtitle-bar {
    font-family: 'EB Garamond', Georgia, serif !important;
	font-size: 38px !important;
    font-weight: 600 !important;
    font-style: italic !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
	color: #29190b !important;
}

.toc-box {
    height:450px;
	overflow:scroll;
	overflow-x: hidden !important;
    overflow-y: auto !important;
	background-color: #F2E9E0 !important;
	border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.toc-box::-webkit-scrollbar {
  width: 8px;
}

.toc-box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.toc-box::-webkit-scrollbar-thumb {
  background: rgba(120, 90, 60, 0.35);
  border-radius: 10px;
}

.toc-box::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 90, 60, 0.5);
}

.toc-box {
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 90, 60, 0.5) rgba(255, 255, 255, 0.3);
}

.bookstore-icon {
    background-color: #f9f4ee !important;
    border-radius: 16px !important;
    }

.bookstore-icon:hover {
    background-color: #ffffff !important;
	transform: translateY(-2px);
    border-radius: 16px !important;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.25) !important;
    }

.download-pdf:hover {
	transform: translateY(3px);
    }
	

/* Mobile responsiveness */
@media (max-width: 768px) {
    .book-hero-row {
        min-height: 450px;
    }
    
    .book-hero-content {
        margin-top: -220px !important;
    }
    
    .book-hero-image img {
        width: 240px !important;
        max-width: 240px !important;
    }
    
    .book-hero-title {
        font-size: 36px !important;
    }
    
    .book-hero-subtitle {
        font-size: 22px !important;
    }
}

@media (max-width: 480px) {
    .book-hero-row {
        min-height: 400px;
    }
    
    .book-hero-content {
        margin-top: -180px !important;
    }
    
    .book-hero-image img {
        width: 200px !important;
        max-width: 200px !important;
    }
    
    .book-hero-title {
        font-size: 32px !important;
        margin-top: 8px !important;
    }
    
    .book-hero-subtitle {
        font-size: 20px !important;
    }
}



/* Signed Book Form Header */
.signed-book-form-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d4c4a8;
}

.signed-book-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: #654321;
  margin-bottom: 10px;
}

.signed-book-description {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.5;
  margin-bottom: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.signed-book-price {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: #654321 !important;
  text-shadow: 1px 2px #ffffff;
  margin-bottom: 30px;
}

.signed-price {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: #fbfcea !important;
  text-shadow: 1px 2px #29190b;
  margin-bottom: 30px;
}


/* ====================================
   SIGNED COPY SECTION
   ==================================== */

.signed-copy-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
}

.signed-copy-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.signed-copy-image {
    text-align: center;
}

.signed-copy-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
}

.signed-copy-details {
    text-align: left;
}

.signed-copy-title {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 42px;
    font-weight: 600;
    color: #654321;
    margin-bottom: 20px;
    line-height: 1.2;
}

.signed-copy-description {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 20px;
}

.signed-copy-price {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    color: #654321;
    margin-bottom: 30px;
}

.signed-copy-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #654321 0%, #8b6f47 100%);
    color: #fff !important;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(101, 67, 33, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.signed-copy-button:hover {
    background: linear-gradient(135deg, #7d5428 0%, #a38456 100%);
    box-shadow: 0 6px 16px rgba(101, 67, 33, 0.4);
    transform: translateY(-2px);
}

/* Modal Styling */
.frm_modal_content {
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
}

.frm_modal_title {
    font-family: 'EB Garamond', Georgia, serif !important;
    font-size: 32px !important;
    color: #654321 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .signed-copy-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .signed-copy-details {
        text-align: center;
    }
    
    .signed-copy-title {
        font-size: 32px;
    }
    
    .signed-copy-price {
        font-size: 36px;
    }
    
    .signed-copy-button {
        display: block;
        width: 100%;
        text-align: center;
    }
}

.frmmodal-content .frm_modal_link {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #654321 0%, #8b6f47 100%);
    color: #fff !important;
    font-family: 'EB Garamond', Georgia, serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(101, 67, 33, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.frmmodal-content .frm_modal_link:hover {
    background: linear-gradient(135deg, #7d5428 0%, #a38456 100%);
    box-shadow: 0 6px 16px rgba(101, 67, 33, 0.4);
    transform: translateY(-2px);
}

.signed-copy-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #654321 0%, #8b6f47 100%);
    color: #fff !important;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(101, 67, 33, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.signed-copy-button:hover {
    background: linear-gradient(135deg, #7d5428 0%, #a38456 100%);
    box-shadow: 0 6px 16px rgba(101, 67, 33, 0.4);
    transform: translateY(-2px);
}


/* ====================================
   ORDER CONFIRMATION IN MODAL
   ==================================== */

.order-confirmation-success {
    text-align: center;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.confirmation-title {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 36px;
    font-weight: 600;
    color: #654321;
    margin-bottom: 15px;
}

.confirmation-message {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 18px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 30px;
}

.confirmation-divider {
    width: 60px;
    height: 2px;
    background: #d4c4a8;
    margin: 30px auto;
}

.confirmation-subtitle {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #654321;
    margin-bottom: 25px;
}

.confirmation-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.confirmation-action-item {
    background: #f9f7f4;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e8dfd0;
}

.confirmation-action-item h4 {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #654321;
    margin-bottom: 8px;
}

.confirmation-action-item p {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 15px;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.confirmation-button {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #654321 0%, #8b6f47 100%);
    color: #fff !important;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.confirmation-button:hover {
    background: linear-gradient(135deg, #7d5428 0%, #a38456 100%);
    transform: translateY(-2px);
}

.confirmation-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8dfd0;
}

.confirmation-link {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 16px;
    color: #654321;
    text-decoration: none;
}

.confirmation-link:hover {
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .confirmation-title {
        font-size: 28px;
    }
    
    .confirmation-actions {
        gap: 20px;
    }
}

.frm_inline_total {
        bottom: -5px !important;
		position: relative !important;
		font-weight: 600 !important;
		font-size: 1.25em !important;
    }
	
	
/* Kindle Ebook Section */
/* Kindle Ebook Section */
.sv-ebook-section {
    max-width: 800px;
    margin: 80px auto 40px;
}

.sv-ebook-container {
    background: linear-gradient(135deg, #f5f0e8 0%, #e8dcc8 100%);
    border: 2px solid #c4b59a;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sv-ebook-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.sv-ebook-title {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: #654321;
    margin: 0 0 16px 0;
}

.sv-ebook-text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 18px;
    color: #666;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.sv-ebook-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #654321 0%, #8b6f47 100%);
    color: #fff;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(101, 67, 33, 0.3);
}

.sv-ebook-button:hover {
    background: linear-gradient(135deg, #7d5428 0%, #a38456 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(101, 67, 33, 0.4);
    color: #fff;
    text-decoration: none;
}

.sv-ebook-button-icon {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .sv-ebook-container {
        padding: 30px 20px;
    }
    
    .sv-ebook-title {
        font-size: 26px;
    }
    
    .sv-ebook-text {
        font-size: 16px;
    }
}