.book-cover-wrapper {
    position: relative;
    display: block; 
    cursor: pointer;
    overflow: hidden; 
}

.book-cover-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; 
}

.book-overlay-text {
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.9em;
    text-align: center;
    padding: 8px 5px;
    opacity: 0;
    transform: translateY(100%); 
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-sizing: border-box; 
}

.book-cover-wrapper:hover .book-overlay-text {
    opacity: 1;
    transform: translateY(0); 
}

.book-cover-wrapper:hover img {
    transform: scale(1.05); 
}

.bookstore-short-description-wrapper .bookstore-short-description,
.bookstore-short-description-wrapper .bookstore-short-description p {
    text-align: justify !important; 
}

.bookstore-short-description {
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.bookstore-read-more-wrapper { text-align: center; position: relative; margin-top: 15px; }
.bookstore-read-more-wrapper::before { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: #eee; z-index: 1; }
.bookstore-read-more-toggle-btn { position: relative; z-index: 2; background: #fff; border: 1px solid #ddd; border-radius: 20px; padding: 4px 16px; color: #d83131; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; }
.bookstore-read-more-toggle-btn:hover { background: #f9f9f9; text-decoration: none; }
.bookstore-read-more-toggle-btn svg { width: 16px; height: 16px; fill: currentColor; }

.bookstore-custom-short-description p {
    display: inline; 
}

.bookstore-read-more-btn,
.bookstore-read-less-btn {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: bold;
    color: #c82121;
    text-decoration: none;
    cursor: pointer;
    display: inline !important; 
    box-shadow: none !important;
}

.bookstore-read-more-btn:hover,
.bookstore-read-less-btn:hover {
    text-decoration: underline;
}

.bookstore-pdf-image-click-text {
    text-align: center;
    font-size: 0.9em;
    color: #555; 
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: default;
}

.woocommerce-product-gallery {
    margin-bottom: 10px;
}
.bookstore-product-image-pdf-trigger-wrapper {
    display: block;
    cursor: pointer;
    position: relative;
}
.bookstore-product-image-pdf-trigger-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

.bookstore-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.7);
    padding: 10px;
    box-sizing: border-box;
}

@keyframes bookstoreModalPopupFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(15px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.bookstore-modal.modal-is-visible {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bookstore-modal.modal-is-visible .bookstore-modal-content {
    animation: bookstoreModalPopupFadeIn 0.3s ease-out forwards;
}

.bookstore-modal-close-top {
    color: #999;
    background-color: transparent;
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 999;
}

.bookstore-modal-close-top:hover,
.bookstore-modal-close-top:focus {
    background-color: transparent;
    color: #333;
}

.bookstore-modal-content {
    background-color: #fff;
    padding: 0;
    border: none;
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: 85vh;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#bookstore-pdf-viewer {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
    padding-top: 10px;
}

#bookstore-pdf-viewer canvas {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border: none;
    box-shadow: none;
}

.pdf-canvas-container {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    text-align: center;
    padding: 0 5px;
    box-sizing: border-box;
}

.bookstore-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #eee;
    text-align: right;
    background: #fff;
    flex-shrink: 0;
}

.bookstore-modal-close-bottom {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 24px;
    border-radius: 4px;
    cursor: pointer;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.bookstore-modal-close-bottom:hover {
    background: #f5f5f5;
    border-color: #bbb;
    color: #333;
}

@media (max-width: 768px) {
    .bookstore-modal-content {
        height: 90vh;
        max-height: 90vh;
        width: 95%;
    }
    .bookstore-modal-footer {
        text-align: center;
        padding: 12px;
    }
    .bookstore-modal-close-bottom {
        width: 100%;
        display: block;
        padding: 10px;
        font-size: 16px;
    }
}

.pdf-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.bookstore-taxonomies-summary .taxonomy-item {
    margin-bottom: 5px;
    font-size: 0.9em;
}
.bookstore-taxonomies-summary .taxonomy-label {
    margin-right: 5px;
}
.bookstore-taxonomies-summary .taxonomy-terms a {
    text-decoration: none;
}
.bookstore-taxonomies-summary .taxonomy-terms a:hover {
    text-decoration: underline;
}

.bookstore-taxonomy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95em;
    border: 1px solid #eee;
}
.bookstore-taxonomy-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}
.bookstore-taxonomy-table tr:last-child td {
    border-bottom: none;
}
.bookstore-taxonomy-table .taxonomy-label {
    width: 30%;
}
.bookstore-taxonomy-table .taxonomy-terms a {
    text-decoration: none;
}
.bookstore-taxonomy-table .taxonomy-terms a:hover {
    text-decoration: underline;
}

.single-product .product_title .bookstore-by-writer {
    font-size: 0.55em !important;
    font-weight: normal !important;
    display: inline-block !important;
    vertical-align: baseline !important;
    text-transform: none !important;
    margin-left: 5px !important;
}

.single-product .product_title .bookstore-by-writer a {
    color: inherit !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

.single-product .product_title .bookstore-by-writer a:hover {
    text-decoration: underline !important;
}

.woocommerce-product-details__short-description {
    display: none !important;
}

.bookstore-custom-short-description {
    display: block !important;
    margin-top: 1em;
    margin-bottom: 1em;
}

.bookstore-review-toggle-wrapper {
    margin-bottom: 2em;
}

.bookstore-reviews-title {
    font-size: 24px;
    margin-bottom: 15px;
}

a.bookstore-open-review-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d83131;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

a.bookstore-open-review-form:hover {
    color: #333;
}

a.bookstore-open-review-form .dashicons {
    font-size: 20px;
}

#reviews #reply-title,
.woocommerce-review-link {
    display: none !important;
}

#review_form_wrapper {
    margin-top: 2em;
    border-top: 1px solid #e0e0e0;
    padding-top: 2em;
}

@media (max-width: 768px) {
    .bookstore-modal-content {
        height: 75vh;
        max-height: 75vh;
        width: 95%;
    }
}
.bookstore-whatsapp-order-btn{background-color:#25D366!important;border-color:#25D366!important;color:#fff!important;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.bookstore-whatsapp-order-btn:hover{background-color:#128C7E!important;border-color:#128C7E!important;color:#fff!important}
.bookstore-whatsapp-order-icon{display:inline-block;vertical-align:middle}
.bookstore-whatsapp-order-text{display:inline-block}

.woocommerce form .form-row.bookstore-has-icon:before { display: none; }
.woocommerce form .form-row.bookstore-has-icon .woocommerce-input-wrapper { position: relative; display: block; }
.woocommerce form .form-row.bookstore-has-icon .woocommerce-input-wrapper::before {
    font-family: dashicons; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 38px;
    background-color: #f5f5f5; border-right: 1px solid #ddd; display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #666; pointer-events: none; border-top-left-radius: 3px; border-bottom-left-radius: 3px; z-index: 2;
}
.woocommerce form .form-row.bookstore-has-icon.bookstore-icon-user .woocommerce-input-wrapper::before { content: "\f110"; }
.woocommerce form .form-row.bookstore-has-icon.bookstore-icon-phone .woocommerce-input-wrapper::before { content: "\f525"; }
.woocommerce form .form-row.bookstore-has-icon.bookstore-icon-email .woocommerce-input-wrapper::before { content: "\f466"; }
.woocommerce form .form-row.bookstore-has-icon.bookstore-icon-address .woocommerce-input-wrapper::before { content: "\f231"; }
.woocommerce form .form-row.bookstore-has-icon.bookstore-icon-city .woocommerce-input-wrapper::before { content: "\f319"; }
.woocommerce form .form-row.bookstore-has-icon.bookstore-icon-postcode .woocommerce-input-wrapper::before { content: "\f175"; }
.woocommerce form .form-row .bookstore-input-has-icon { padding-left: 48px !important; }

.bookstore-popup-banner {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}
.bookstore-popup-banner.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.bookstore-popup-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}
.bookstore-popup-banner__modal {
    position: relative;
    background: #fff;
    max-width: 560px;
    width: 90%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    z-index: 1;
}
.bookstore-popup-banner__title {
    padding: 5px 20px; 
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    background: #fff;
    color: #d83131;
    border-bottom: none;
    min-height: 54px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.bookstore-popup-banner__close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #cccccc !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    padding: 0 !important;
    padding-bottom: 2px !important;
    box-shadow: none !important;
}

.bookstore-popup-banner__close:hover {
    background: #a8a8a8 !important;
    color: #ffffff !important;
}
.bookstore-popup-banner__modal img {
    display: block;
    width: 100%;
    height: auto;
}

.bookstore-product-ads-grid{display:grid;grid-template-columns:1fr;gap:12px; margin-bottom:22px; margin-top:22px}
@media (min-width:768px){.bookstore-product-ads-grid{grid-template-columns:repeat(2,1fr)}}
.bookstore-product-ads-item img{display:block;width:100%;height:auto;border-radius:6px}
.bookstore-product-ads-title{margin-top:8px;font-size:14px;font-weight:600}

.bookstore-package-list{margin:22px 0;border:1px solid rgba(0,0,0,.08);border-radius:10px;overflow:hidden}
.bookstore-package-list__title{padding:12px 14px;background:rgba(0,0,0,.03);font-weight:700}
.bookstore-package-list__items{display:flex;flex-direction:column}
.bookstore-package-list__item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid rgba(0,0,0,.06)}
.bookstore-package-list__img{flex:0 0 54px;width:54px}
.bookstore-package-list__img img{display:block;width:100%;height:auto;border-radius:6px}
.bookstore-package-list__name{flex:1 1 auto}
.bookstore-package-list__name a{text-decoration:none}
.bookstore-package-list__price{white-space:nowrap;font-weight:700}
.bookstore-package-list__notes{padding:12px 14px;background:rgba(255,200,80,.18)}

.bookstore-best-seller {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 5px 0 15px; 
    flex-wrap: wrap;
}

.bookstore-best-seller__badge {
    display: inline-flex !important;
    align-items: center;
    background: #e53935 !important; 
    color: #fff !important;
    font-weight: bold !important;
    font-size: 14px !important;
    padding: 5px 24px 5px 12px !important; 
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%) !important; 
    line-height: 1.2 !important;
}

.bookstore-best-seller__cat {
    font-size: 15px;
    color: #333;
}

.bookstore-best-seller__cat strong {
    font-weight: 600;
    color: #555;
}

.bookstore-gift-text{display:flex;align-items:flex-center;gap:8px;margin:0 0 12px;padding:10px 12px;background:rgba(37,211,102,.08);border:1px solid rgba(37,211,102,.25);border-radius:8px}
.bookstore-gift-text__icon{line-height:1.2,display: flex;align-items: center}

.bookstore-popup-checkout-form table.shop_table.woocommerce-checkout-review-order-table img { max-width: 60px !important; height: auto !important; display: inline-block; vertical-align: middle; margin-right: 10px; border-radius: 4px; }

.bookstore-popup-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:10001;max-width:680px;width:92%;max-height:90vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.2);display:none}
.bookstore-popup-modal.is-visible{display:block}
.bookstore-popup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.55);z-index:10000;display:none}
.bookstore-popup-checkout-open{overflow:hidden}
.bookstore-popup-modal .popup-content{padding:18px}
.bookstore-popup-modal .popup-close{position:absolute;top:10px;right:12px;border:none;background:transparent;font-size:28px;line-height:1;cursor:pointer}
.bookstore-popup-modal .popup-loader{display:none;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,.65);border-radius:14px}

.bookstore-popup-modal .blockUI.blockOverlay,
.bookstore-popup-modal .blockUI.blockMsg,
.bookstore-popup-modal .woocommerce .blockUI.blockOverlay,
.bookstore-popup-modal .woocommerce .blockUI.blockMsg,
.bookstore-popup-modal .woocommerce-checkout .blockUI.blockOverlay,
.bookstore-popup-modal .woocommerce-checkout .blockUI.blockMsg,
.bookstore-popup-modal .woocommerce-checkout-review-order .blockUI.blockOverlay,
.bookstore-popup-modal .woocommerce-checkout-review-order .blockUI.blockMsg{
    display:none !important;
}

.bookstore-popup-title-row{padding:4px 0 12px}
.bookstore-popup-title{margin:0 !important;font-size:18px;line-height:1.25;font-weight:800}

.bookstore-popup-cart-toggle{border:1px solid #edf0f4;border-radius:12px;padding:12px 14px;margin:12px 0 16px;background:#fff}
.bookstore-popup-cart-toggle-inner{display:flex;align-items:center;gap:10px;font-weight:800;cursor:pointer;margin:0}
.bookstore-popup-cart-toggle input[type="checkbox"]{width:18px;height:18px}
.bookstore-popup-cart-toggle-title{font-size:14px}
.bookstore-popup-cart-toggle-note{margin-top:6px;font-size:12px;opacity:.75;line-height:1.35}
.bookstore-popup-remove-cart-items{margin-top:10px;width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;border-radius:10px;border:1px solid rgba(0,0,0,.12);background:#fff;font-weight:700;cursor:pointer}
.bookstore-popup-remove-cart-items:hover{border-color:rgba(0,0,0,.22)}

.bookstore-popup-cart-box{border:1px solid #e6e8ec;border-radius:14px;overflow:hidden;margin:0 0 16px}
.bookstore-popup-cart-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;background:#fff}
.bookstore-popup-cart-head-left{font-weight:700}
.bookstore-popup-cart-head-right{font-weight:700}
.bookstore-popup-cart-items-list{padding:0 12px 12px}
.bookstore-popup-cart-item{display:flex;gap:14px;align-items:center;border:1px solid #edf0f4;border-radius:14px;padding:14px;margin-top:12px;background:#fff;position:relative}
.bookstore-popup-cart-thumb{flex:0 0 78px;width:78px}
.bookstore-popup-cart-thumb img{width:78px;height:78px;object-fit:cover;border-radius:12px;display:block}
.bookstore-popup-cart-meta{flex:1;min-width:0}
.bookstore-popup-cart-name{font-weight:800;font-size:18px;line-height:1.25;margin:0 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bookstore-popup-cart-variation{font-size:12px;line-height:1.3;margin:-4px 0 10px;opacity:.75}
.bookstore-popup-cart-variation dl{margin:0}
.bookstore-popup-cart-variation dt,.bookstore-popup-cart-variation dd{display:inline;margin:0}
.bookstore-popup-cart-variation dt:after{content:': ';}
.bookstore-popup-cart-variation dd:after{content:'  ';}
.bookstore-popup-cart-price{display:flex;flex-wrap:wrap;gap:10px;align-items:baseline;margin-bottom:10px}
.bookstore-popup-price-current{font-weight:800;font-size:20px;color:#e44343}
.bookstore-popup-price-regular{font-weight:700;font-size:18px;color:#8a8f98}
.bookstore-popup-price-off{font-weight:800;font-size:18px;color:#d87a11}
.bookstore-popup-cart-qty{display:inline-flex;align-items:center;border:2px solid #d7dbe3;border-radius:10px;overflow:hidden;height:44px}
.bookstore-popup-qty-btn{width:44px;height:44px;border:none;background:transparent;font-size:26px;cursor:pointer;line-height:1}
.bookstore-popup-cart-qty-input{width:56px;height:44px;border:none;text-align:center;font-weight:800;font-size:18px;outline:none;appearance:textfield}
.bookstore-popup-cart-qty-input::-webkit-outer-spin-button,.bookstore-popup-cart-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.bookstore-popup-cart-remove{flex:0 0 auto;border:none;background:#fde8ea;color:#d83b46;width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer}
.bookstore-popup-cart-empty{padding:14px}
@media (max-width:480px){.bookstore-popup-cart-name{font-size:16px}.bookstore-popup-price-current{font-size:18px}.bookstore-popup-price-regular,.bookstore-popup-price-off{font-size:16px}.bookstore-popup-cart-thumb{width:64px;flex-basis:64px}.bookstore-popup-cart-thumb img{width:64px;height:64px}.bookstore-popup-cart-remove{width:42px;height:42px}}

.bookstore-popup-modal .bookstore-popup-cart-item{padding:12px !important;gap:12px !important}
.bookstore-popup-modal .bookstore-popup-cart-thumb{flex:0 0 56px !important;width:56px !important}
.bookstore-popup-modal .bookstore-popup-cart-thumb img{width:56px !important;height:56px !important;border-radius:10px !important}
.bookstore-popup-modal .bookstore-popup-cart-name{font-size:14px !important;margin:0 0 6px !important;font-weight:800 !important}
.bookstore-popup-modal .bookstore-popup-cart-price{margin-bottom:8px !important;gap:8px !important}
.bookstore-popup-modal .bookstore-popup-price-current{font-size:16px !important;color:#111 !important}
.bookstore-popup-modal .bookstore-popup-price-regular{font-size:14px !important}
.bookstore-popup-modal .bookstore-popup-price-off{font-size:14px !important}

.bookstore-popup-modal .bookstore-popup-cart-qty{display:inline-flex !important;align-items:center !important;height:30px !important;border-width:1px !important;border-radius:10px !important;overflow:hidden !important;gap:0 !important;max-width:none !important;background:#fff !important}
.bookstore-popup-modal .bookstore-popup-qty-btn{all:unset;display:inline-flex !important;align-items:center !important;justify-content:center !important;width:30px !important;height:30px !important;font-size:18px !important;line-height:1 !important;background:transparent !important;cursor:pointer !important;opacity:1 !important;visibility:visible !important;pointer-events:auto !important;position:relative !important;z-index:3 !important;box-sizing:border-box !important}
.bookstore-popup-modal .bookstore-popup-cart-qty-input{all:unset;display:block !important;width:34px !important;min-width:34px !important;height:30px !important;padding:0 !important;margin:0 !important;text-align:center !important;font-size:13px !important;font-weight:800 !important;color:inherit !important;opacity:1 !important;visibility:visible !important;background:transparent !important;pointer-events:auto !important;position:relative !important;z-index:3 !important;box-sizing:border-box !important}

.bookstore-popup-modal .bookstore-popup-cart-remove{all:unset;display:flex !important;align-items:center !important;justify-content:center !important;width:34px !important;height:34px !important;border-radius:999px !important;background:#ffe9ea !important;color:#e11d2e !important;cursor:pointer !important;opacity:1 !important;visibility:visible !important;pointer-events:auto !important;position:absolute !important;top:12px !important;right:12px !important;z-index:5 !important}
.bookstore-popup-modal .bookstore-popup-cart-remove svg{display:block !important}

.bookstore-popup-modal .bookstore-popup-cart-item{
    border-color:#eef1f4 !important;
    border-radius:14px !important;
    box-shadow:0 1px 0 rgba(0,0,0,.02) !important;
}
.bookstore-popup-modal .bookstore-popup-cart-meta{min-width:0 !important}
.bookstore-popup-modal .bookstore-popup-cart-name{letter-spacing:-.01em !important}
.bookstore-popup-modal .bookstore-popup-cart-price{row-gap:4px !important}

.bookstore-custom-action-buttons {
    display: flex !important;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}
.bookstore-custom-action-buttons button {
    flex: 1;
    margin: 0 !important;
    padding: 5px !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce div.product form.cart,
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    padding: 5px 0px !important;
    align-items: stretch;
    margin-bottom: 20px;
    width: 100%;
    margin-top: 0.5em !important;
}
.woocommerce div.product form.cart .quantity {
    display: none !important;
}
.woocommerce div.product form.cart button.single_add_to_cart_button {
    flex: 1;
    margin: 0 !important;
}
.woocommerce div.product form.cart .bookstore-whatsapp-order-btn {
    flex: 1;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto; 
    border-radius: 5px; 
}

.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before {
    display: none !important;
}

.bookstore-sticky-bottom-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    z-index: 99999;
    transition: bottom 0.3s ease-in-out;
    display: flex;
    justify-content: center;
}
.bookstore-sticky-bottom-bar.is-visible {
    bottom: 0;
}
.bookstore-sticky-bottom-bar .bookstore-popup-checkout-btn {
    width: 100%;
    padding: 5px !important;
    max-width: 600px; 
    margin: 0 !important;
    display: block;
}

.wd-sticky-btn, 
.woodmart-sticky-add-to-cart, 
.ast-sticky-add-to-cart, 
.flatsome-sticky-add-to-cart,
.sticky-add-to-cart__product,
.storefront-sticky-add-to-cart { 
    display: none !important; 
}

.bookstore-gift-text { margin: 0 0 15px 0; }
.bookstore-package-list { margin: 0 0 20px 0; }

.bookstore-content-access-wrapper {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 25px 0;
    background: #ffffff;
}
.bookstore-ca-title {
    text-align: center;
    color: #3b5998;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0 !important;
    position: relative;
    padding-bottom: 15px;
}
.bookstore-ca-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2%;
    right: 2%;
    border-bottom: 2px dashed #f1c40f;
}
.bookstore-ca-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}
.bookstore-ca-item {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    color: #333 !important;
    cursor: pointer;
    transition: all 0.2s ease;
}
.bookstore-ca-item:hover {
    opacity: 0.85;
}
.ca-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}
.ca-icon svg { width: 22px; height: 22px; stroke: #fff; }
.ca-icon-green { background-color: #82e0aa; }
.ca-icon-blue { background-color: #85c1e9; }
.ca-icon-red { background-color: #f1948a; }

.ca-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

.ca-action {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ca-action svg { width: 22px; height: 22px; stroke: #333; }
.ca-bg-green { background-color: #d5f5e3; }
.ca-bg-green svg { stroke: #27ae60; }
.ca-bg-blue { background-color: #d6eaf8; }
.ca-bg-blue svg { stroke: #2980b9; }
.ca-bg-red { background-color: #fadbd8; }
.ca-bg-red svg { stroke: #c0392b; }