/**
Theme Name: Astra child 
Author: Brainstorm Force
Author URI: http://ryvorent.com
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

body.single-product .site-content > .ast-container,
body.single-product .site-content .ast-container,
body.single-product .site-content .ast-container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.woocommerce-message {
    display: none !important;
}
body.single-product #primary,
body.single-product #secondary {
    width: 100% !important;
}

body.single-product #secondary {
    display: none !important;
}

.ryvo-product-template {
    width: 100%;
}
ul.wc-bacs-bank-details.order_details.bacs_details{
        display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
        margin-bottom: 10px !important;
}
.ryvo-rental-product {
    width: 100%;
    padding: 24px 32px 56px;
    background:
        radial-gradient(circle at top right, rgba(199, 164, 68, 0.12), transparent 24%),
        linear-gradient(180deg, #f7fafc 0%, #ffffff 260px);
}

.ryvo-rental-product__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ryvo-rental-product__primary,
.ryvo-rental-product__summary {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.ryvo-rental-product__gallery,
.ryvo-rental-product__summary-card,
.ryvo-rental-product__booking,
.ryvo-rental-product__details {
    background: #fff;
    border: 1px solid #e6ecf2;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(9, 35, 50, 0.08);
}

.ryvo-rental-product__gallery {
    overflow: hidden;
    padding: 20px;
}

.ryvo-rental-product__summary-card {
    padding: 26px;
}

.ryvo-rental-product__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f5f1e6;
    color: #a07d1e;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.ryvo-rental-product__title {
    margin: 0 0 12px;
    color: #092332;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 800;
}

.ryvo-rental-product__price {
    margin-bottom: 14px;
}

.ryvo-rental-product__price .price,
.ryvo-rental-product__price .woocommerce-Price-amount {
    color: #c7a444;
    font-size: 30px;
    font-weight: 800;
}

.ryvo-rental-product__excerpt {
    color: #5d6772;
    font-size: 15px;
    line-height: 1.8;
}

.ryvo-rental-product__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ryvo-rental-product__meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f7fafc;
    border: 1px solid #dde5ed;
    color: #092332;
    font-size: 13px;
    font-weight: 700;
}

.ryvo-rental-product__booking {
    padding: 24px;
    min-height: 100%;
}

.ryvo-rental-product__details {
    margin-top: 28px;
    padding: 24px;
}

.ryvo-rental-product__details .woocommerce-tabs,
.ryvo-rental-product__details .related.products {
    background: #fff;
    border: 1px solid #e6ecf2;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(9, 35, 50, 0.06);
}

.ryvo-rental-product__details .related.products {
    margin-top: 24px;
}

.ryvo-rental-product__details .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border: 0;
    padding: 0;
    margin: 0 0 22px;
}

.ryvo-rental-product__details .woocommerce-tabs ul.tabs::before,
.ryvo-rental-product__details .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.ryvo-rental-product__details .woocommerce-tabs ul.tabs li {
    border: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ryvo-rental-product__details .woocommerce-tabs ul.tabs li a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #f6f8fb;
    border: 1px solid #dce5ed;
    color: #092332;
    font-weight: 700;
}

.ryvo-rental-product__details .woocommerce-tabs ul.tabs li.active a {
    background: #0f3146;
    border-color: #0f3146;
    color: #fff;
}

.ryvo-rental-product__details #reviews h2,
.ryvo-rental-product__details .related.products > h2 {
    color: #092332;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 20px;
}

.ryvo-rental-product__details .woocommerce-Reviews {
    display: grid;
    gap: 22px;
}

.ryvo-rental-product__details .woocommerce-Reviews .commentlist {
    display: grid;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.ryvo-rental-product__details .woocommerce-Reviews .commentlist li {
    margin: 0 !important;
}

.ryvo-rental-product__details .woocommerce-Reviews .comment_container {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e3eaf1;
}

.ryvo-rental-product__details .woocommerce-Reviews .avatar {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    object-fit: cover;
    padding: 0 !important;
    background: #eef3f8;
}

.ryvo-rental-product__details .woocommerce-Reviews .meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px !important;
    color: #64748b;
}

.ryvo-rental-product__details .woocommerce-Reviews .description p:last-child {
    margin-bottom: 0;
}

.ryvo-rental-product__details .comment-form-rating,
.ryvo-rental-product__details .comment-form-comment,
.ryvo-rental-product__details .comment-form-author,
.ryvo-rental-product__details .comment-form-email {
    margin-bottom: 14px;
}

.ryvo-rental-product__details input[type="text"],
.ryvo-rental-product__details input[type="email"],
.ryvo-rental-product__details textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #dbe4ec;
    background: #f8fafc;
    padding: 14px 16px;
}

.ryvo-rental-product__details button[type="submit"],
.ryvo-rental-product__details input[type="submit"] {
    min-height: 48px;
    border-radius: 14px;
    border: 0;
    background: #0f3146;
    color: #fff;
    font-weight: 800;
    padding: 0 22px;
}

.ryvo-rental-product__details .related.products ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
}

.ryvo-rental-product__details .related.products ul.products::before,
.ryvo-rental-product__details .related.products ul.products::after {
    display: none !important;
}

.ryvo-rental-product__details .related.products ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}

.ryvo-loop-card {
    list-style: none;
}

.ryvo-loop-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(9, 35, 50, 0.07);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ryvo-loop-card__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(9, 35, 50, 0.1);
}

.ryvo-loop-card__media {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    padding: 26px 22px 8px;
}

.ryvo-loop-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10.4;
    object-fit: contain;
}

.ryvo-loop-card__body {
    display: grid;
    gap: 12px;
    padding: 6px 22px 18px;
}

.ryvo-loop-card__topline {
    min-height: 22px;
    display: flex;
    justify-content: flex-end;
}

.ryvo-loop-card__brand {
    color: #a9a48e;
    font-size: 15px;
    font-weight: 500;
}

.ryvo-loop-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.ryvo-loop-card__title {
    margin: 0 !important;
    color: #17354b;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 800;
    order: 1;
}

.ryvo-loop-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    background: #cfab44;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    order: 2;
}

.ryvo-loop-card__price-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
    color: #c7a444;
}

.ryvo-loop-card__price-row .price,
.ryvo-loop-card__price-row .woocommerce-Price-amount {
    color: #c7a444;
    font-size: 21px;
    font-weight: 800;
}

.ryvo-loop-card__price-label {
    color: #7f8791;
    font-size: 14px;
    font-weight: 700;
}

.ryvo-loop-card__currency {
    display: none;
}

.ryvo-loop-card__specs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 2px;
}

.ryvo-loop-card__spec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: #faf7f1;
    color: #6d7680;
    font-size: 13px;
    font-weight: 700;
}

.ryvo-loop-card__spec-icon {
    color: #cfab44;
    font-size: 13px;
    line-height: 1;
}

.ryvo-loop-card__footer {
    margin: 0 18px 18px;
    min-height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #123149;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.ryvo-loop-card__footer.is-available {
    background: linear-gradient(135deg, #c7a444 0%, #b5922f 100%);
}

.ryvo-loop-card__footer.is-unavailable {
    background: #123149;
}

.ryvo-rental-product .woocommerce-product-gallery {
    margin: 0 !important;
}

.ryvo-rental-product .woocommerce-product-gallery__wrapper,
.ryvo-rental-product .flex-viewport {
    border-radius: 18px;
    overflow: hidden;
    background: #eef3f8;
}

.ryvo-rental-product .woocommerce-product-gallery__image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.ryvo-rental-product .woocommerce-product-gallery ol.flex-control-nav {
    margin-top: 14px;
}


/* استهداف الحاوية وحقن الصور بداخلها */
.woocommerce-bacs-bank-details .order_details.bacs_details:last-child {
    display: block !important;
    position: relative;
    padding-bottom: 60px; /* مساحة فارغة في الأسفل لوضع الصور */
}

.woocommerce-bacs-bank-details .order_details.bacs_details:last-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0; /* إلصاق العنصر ككل جهة اليمين */
    width: 150px; /* مساحة عرض كافية لصور صغيرة بجانب بعضها */
    height: 50px;
    
    /* استدعاء الصور */
    background-image: 
        url('https://ryvorent.com/wp-content/uploads/2026/04/tamara.webp'), 
        url('https://ryvorent.com/wp-content/uploads/2026/04/Tabby.webp') !important;

    /* التموضع: الصورة الأولى في أقصى اليمين، الثانية بجوارها بمسافة 50 بكسل */
    background-position: right top, right 55px top !important;
    
    background-repeat: no-repeat !important;
    
    /* تصغير حجم الصور إلى 45 بكسل */
    background-size: 45px auto, 45px auto !important;
}

/* للموبايل: التأكد من بقائها جهة اليمين */
@media (max-width: 768px) {
    .woocommerce-bacs-bank-details .order_details.bacs_details:last-child::after {
        right: 0;
        background-size: 40px auto, 40px auto !important;
        background-position: right top, right 45px top !important;
    }
}

@media (max-width: 980px) {
    .ryvo-rental-product {
        padding: 18px 18px 40px;
    }

    .ryvo-rental-product__hero {
        grid-template-columns: 1fr;
    }

    .ryvo-rental-product__title {
        font-size: 30px;
    }

    .ryvo-rental-product__details .related.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ryvo-rental-product__details .woocommerce-Reviews .comment_container {
        grid-template-columns: 1fr;
    }

    .ryvo-rental-product__details .related.products ul.products {
        grid-template-columns: 1fr;
    }

    .ryvo-loop-card__title {
        font-size: 21px;
    }
}
