/* ============================= */
/* 🔥 MAIN CONTAINER */
/* ============================= */
.cw-buy-wrap {
max-width: 400px;
margin: 20px auto;
padding: 15px;
border: 1px solid #eee;
border-radius: 15px;
background: #fff;
}
/* ============================= */
/* 🎥 VIDEO BOX */
/* ============================= */
.cw-video-box {
position: relative;
width: 100% !important;
aspect-ratio: 16 / 9 !important;
border-radius: 12px !important;
overflow: hidden;
background: #000;
margin-bottom: 20px;
}
.cw-video-box img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
}
/* ============================= */
/* 💰 PRICE */
/* ============================= */
.cw-price-box {
display: flex;
align-items: baseline;
gap: 10px;
margin-bottom: 15px;
}
/* ============================= */
/* ⏳ TIMER + STOCK */
/* ============================= */
.cw-timer-box,
.cw-stock-box {
display: block;
text-align: left;
padding: 8px 12px;
border-radius: 6px;
font-size: 14px;
margin-bottom: 10px;
}
/* ============================= */
/* 🚀 BUY BUTTON */
/* ============================= */
.cw-open-lead {
cursor: pointer;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* ============================= */
/* 🌍 GUMROAD BUTTON IMPROVE */
/* ============================= */
.cw-buy-wrap a[href*="gumroad"] {
transition: all 0.25s ease;
}
.cw-buy-wrap a[href*="gumroad"]:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
/* ============================= */
/* 🔥 FINAL MODAL FIX */
/* ============================= */
#cw-lead-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: none;
align-items: center;
justify-content: center;
background: rgba(0,0,0,0.65);
z-index: 999999;
}
/* show state */
#cw-lead-modal.show {
display: flex !important;
}
/* ============================= */
/* 📦 MODAL BOX */
/* ============================= */
.cw-modal-content {
background: #ffffff;
padding: 20px;
border-radius: 16px;
width: 90%;
max-width: 380px;
position: relative;
box-shadow: 0 20px 50px rgba(0,0,0,0.3);
animation: cwPop 0.25s ease;
}
/* close button */
.cw-modal-content button:first-child {
position: absolute;
top: 10px;
right: 12px;
background: none;
border: none;
font-size: 20px;
cursor: pointer;
}
/* ============================= */
/* ✍ INPUTS */
/* ============================= */
.cw-modal-content input {
width: 100%;
padding: 12px;
margin-bottom: 10px;
border-radius: 10px;
border: 1px solid #ddd;
font-size: 14px;
}
/* ============================= */
/* 🚀 SUBMIT BUTTON */
/* ============================= */
.cw-modal-content button[type="submit"] {
width: 100%;
padding: 14px;
border-radius: 12px;
border: none;
background: linear-gradient(135deg,#00c853,#009624);
color: #fff;
font-weight: 600;
font-size: 16px;
transition: all 0.25s ease;
}
.cw-modal-content button[type="submit"]:hover {
transform: translateY(-1px);
box-shadow: 0 10px 25px rgba(0,200,83,0.3);
}
/* ============================= */
/* 💬 RESPONSE TEXT */
/* ============================= */
.cw-lead-response {
margin-top: 10px;
font-size: 13px;
text-align: center;
}
/* ============================= */
/* 🎬 ANIMATION */
/* ============================= */
@keyframes cwPop {
from {
transform: scale(0.85);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
/* ========================================================================== */
/* 🆕 APPENDED PREMIUM COMPATIBLE STYLING FOR ISLAMIC DIGITAL BOOK STORE      */
/* ========================================================================== */
/* GLOBAL COMPATIBILITY & OVERLAY FIXES */
.cw-main-content {
max-width: 1200px;
margin: 0 auto;
padding: 20px 20px 100px 20px;
box-sizing: border-box;
}
/* 1. SINGLE BOOK PAGE */
.cw-book-hero-section {
display: flex;
gap: 40px;
margin: 40px auto;
max-width: 1100px;
align-items: center;
}
.cw-book-cover {
width: 100%;
height: auto;
border-radius: 12px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
display: block;
transition: transform 0.3s ease;
flex: 1;
max-width: 450px;
}
.cw-book-cover:hover {
transform: translateY(-4px);
}
.cw-book-content-section {
flex: 1.2;
}
.cw-book-title {
font-size: 32px;
font-weight: 700;
color: #1a237e;
margin-bottom: 15px;
line-height: 1.3;
}
.cw-book-content {
font-size: 16px;
line-height: 1.7;
color: #4a5568;
margin-bottom: 25px;
}
.cw-primary-buy-button-wrap,
.cw-secondary-buy-button-wrap {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 20px;
}
.cw-secondary-buy-button-wrap {
margin: 40px auto;
max-width: 600px;
justify-content: center;
padding: 20px;
background: #fdfdfd;
border-radius: 12px;
border: 1px dashed #e2e8f0;
}
.cw-btn-demo,
.cw-btn-youtube,
.cw-btn-gumroad {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 24px;
font-size: 15px;
font-weight: 600;
border-radius: 8px;
text-decoration: none;
transition: all 0.25s ease;
cursor: pointer;
border: none;
}
.cw-btn-demo {
background: #f1f5f9;
color: #334155;
border: 1px solid #cbd5e1;
}
.cw-btn-demo:hover {
background: #e2e8f0;
}
.cw-btn-youtube {
background: #ff0000;
color: #ffffff;
}
.cw-btn-youtube:hover {
background: #cc0000;
box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}
.cw-btn-gumroad {
background: #ff90d9;
color: #000000;
}
/* 2. COMBO LANDING PAGE */
.cw-combo-hero-section {
background: linear-gradient(135deg, #f4f9f5 0%, #ffffff 100%);
border-radius: 20px;
padding: 40px;
max-width: 1100px;
margin: 40px auto;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
border: 1px solid #e8f5e9;
display: flex;
gap: 40px;
align-items: center;
position: relative;
}
.cw-combo-cover {
width: 100%;
height: auto;
border-radius: 16px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
flex: 1;
max-width: 480px;
}
.cw-combo-book-count {
position: absolute;
top: 28px;
left: 28px;
background: #2e7d32;
color: #fff;
padding: 6px 14px;
font-size: 14px;
font-weight: 700;
border-radius: 20px;
box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
z-index: 10;
}
.cw-combo-title {
font-size: 36px;
font-weight: 800;
color: #1b5e20;
margin-bottom: 15px;
line-height: 1.25;
}
.cw-combo-short-description {
font-size: 16px;
line-height: 1.6;
color: #4b5563;
margin-bottom: 25px;
}
.cw-combo-pricing-block {
background: #ffffff;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.02);
border: 1px solid #e5e7eb;
margin-bottom: 25px;
display: inline-block;
min-width: 280px;
}
.cw-combo-orig-price {
font-size: 18px;
text-decoration: line-through;
color: #9ca3af;
margin-right: 12px;
}
.cw-combo-curr-price {
font-size: 30px;
font-weight: 800;
color: #2e7d32;
margin-right: 12px;
display: inline-block;
vertical-align: middle;
}
.cw-combo-discount-badge {
background: #e8f5e9;
color: #2e7d32;
padding: 4px 10px;
font-size: 12px;
font-weight: 700;
border-radius: 6px;
text-transform: uppercase;
display: inline-block;
vertical-align: middle;
}
.cw-combo-savings {
font-size: 13px;
color: #d32f2f;
font-weight: 600;
display: block;
margin-top: 8px;
}
.cw-combo-bottom-cta-section {
margin-top: 15px;
}
/* 3. TRUST ICONS */
.cw-trust-icons-container {
display: grid;
grid-template-columns: repeat(4, 150px);
gap: 20px;
justify-content: center;
margin: 35px auto;
max-width: 100%;
padding: 0 20px;
}
.cw-trust-icon-item {
background: #ffffff;
border: 1px solid #f0f0f0;
padding: 15px 10px;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
transition: transform 0.2s ease;
}
.cw-trust-icon-item:hover {
transform: translateY(-2px);
}
.cw-trust-icon-img {
width: 32px;
height: 32px;
margin: 0 auto 8px auto;
display: block;
object-fit: contain;
}
.cw-trust-text {
font-size: 12px;
font-weight: 600;
color: #374151;
line-height: 1.3;
}
/* 4. INCLUDED BOOKS SECTION */
.cw-combo-included-books-section {
max-width: 1100px;
margin: 50px auto;
padding: 0 20px;
}
.cw-included-books-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 25px;
margin-top: 25px;
}
.cw-included-book-card {
background: #ffffff;
border: 1px solid #edf2f7;
border-radius: 12px;
padding: 16px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
display: flex;
flex-direction: column;
justify-content: space-between;
transition: box-shadow 0.25s ease;
}
.cw-included-book-card:hover {
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
}
.cw-inc-book-cover {
width: 100%;
aspect-ratio: 3 / 4;
overflow: hidden;
border-radius: 8px;
margin-bottom: 14px;
background: #f7fafc;
}
.cw-inc-book-cover img {
width: 100%;
height: 100%;
object-fit: cover;
}
.cw-inc-book-details {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.cw-inc-book-title {
font-size: 16px;
font-weight: 700;
color: #1f2937;
margin-bottom: 6px;
line-height: 1.4;
}
.cw-inc-book-description {
font-size: 13px;
color: #6b7280;
line-height: 1.5;
margin-bottom: 12px;
flex-grow: 1;
}
.cw-inc-book-price {
font-size: 15px;
font-weight: 700;
color: #2e7d32;
}
.cw-inc-book-view-details {
font-size: 12px;
font-weight: 600;
color: #2563eb;
text-decoration: none;
padding: 4px 8px;
border-radius: 4px;
transition: background 0.2s ease;
}
.cw-inc-book-view-details:hover {
background: #eff6ff;
}
/* 5. PRODUCTION FAQ SECTION */
.cw-faq-section {
max-width: 750px;
margin: 50px auto;
padding: 0 20px;
}
.cw-faq-heading {
margin-bottom: 25px;
font-size: 24px;
font-weight: 700;
color: #1f2937;
}
.cw-faq-row {
margin-bottom: 12px;
border: 1px solid #e5e7eb;
border-radius: 8px;
overflow: hidden;
background: #ffffff;
}
.cw-faq-q {
display: flex;
justify-content: space-between;
align-items: center;
padding: 18px 20px;
font-weight: 600;
color: #1f2937;
cursor: pointer;
background: #ffffff;
user-select: none;
transition: background 0.2s ease;
}
.cw-faq-q:hover {
background: #f9fafb;
}
.cw-faq-a {
background: #ffffff;
border-top: 1px solid #f3f4f6;
padding: 18px 20px;
margin: 0;
color: #4b5563;
font-size: 14px;
line-height: 1.6;
}
/* 6. FLOATING BUY BAR */
.cw-floating-buy-container {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: #ffffff;
box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
z-index: 9999;
padding: 12px 24px;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
}
.cw-floating-buy-inner {
width: 100%;
max-width: 1100px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}
.cw-floating-product-meta {
display: flex;
align-items: center;
gap: 15px;
}
.cw-floating-product-title {
font-size: 15px;
font-weight: 700;
color: #1f2937;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 400px;
}
.cw-floating-product-price {
font-size: 16px;
font-weight: 800;
color: #2e7d32;
margin: 0;
}
.cw-floating-product-action {
display: flex;
align-items: center;
}
.cw-floating-buy-now-btn {
cursor: pointer;
}
/* 7. RESPONSIVE DEVICE SYSTEM */
/* Desktop / Large Screens Layout */
@media (min-width: 1025px) {
.cw-book-hero-section, .cw-combo-hero-section {
gap: 50px;
}
}
/* Tablet Layout */
@media (max-width: 1024px) {
.cw-book-hero-section, .cw-combo-hero-section {
flex-direction: column;
text-align: center;
gap: 30px;
}
.cw-book-cover, .cw-combo-cover {
max-width: 360px;
margin: 0 auto;
}
.cw-combo-book-count {
top: 15px;
left: 50%;
transform: translateX(-50%);
}
.cw-book-title {
font-size: 28px;
}
.cw-combo-title {
font-size: 32px;
}
.cw-primary-buy-button-wrap, .cw-secondary-buy-button-wrap {
justify-content: center;
}
.cw-trust-icons-container {
grid-template-columns: repeat(2, 160px);
gap: 15px;
}
.cw-floating-product-title {
max-width: 250px;
}
}
/* Mobile Layout */
@media (max-width: 767px) {
.cw-main-content {
padding-bottom: 110px;
}
.cw-book-hero-section, .cw-combo-hero-section {
padding: 20px;
margin: 20px 10px;
}
.cw-combo-hero-section {
padding: 25px 15px;
}
.cw-book-title {
font-size: 22px;
}
.cw-combo-title {
font-size: 24px;
}
.cw-book-content, .cw-combo-short-description {
font-size: 14px;
line-height: 1.6;
}
.cw-trust-icons-container {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
padding: 0 10px;
}
.cw-included-books-list {
grid-template-columns: 1fr;
gap: 20px;
}
.cw-floating-buy-container {
padding: 10px 15px;
}
.cw-floating-buy-inner {
flex-direction: row;
justify-content: space-between;
}
.cw-floating-product-title {
display: none;
}
.cw-floating-product-meta {
gap: 0;
}
.cw-floating-product-price {
font-size: 15px;
}
}
