.active{
    color: #ffdb33 !important;
}
@media (max-width: 768px) {
    .logo.logo-width-1 a img {
        display: none;
    }
}

/* Footer banner redesign (scoped to avoid layout conflicts) */
.footer-banner-redesign {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    position: relative;
    padding: 0 !important;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e7effa;
    background: linear-gradient(135deg, #f6f9ff 0%, #ffffff 48%, #edf5ff 100%);
    box-shadow: 0 16px 44px rgba(16, 30, 55, 0.08);
}

.footer-banner-redesign .footer-banner-content-wrap {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2.4vw, 34px);
    padding: clamp(20px, 2.6vw, 36px);
}

.footer-banner-redesign .footer-banner-content {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
    /*max-width: 620px;*/
}

.footer-banner-redesign .footer-banner-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f7a4d;
}

.footer-banner-redesign .footer-banner-title {
    margin: 0 0 12px;
    color: #1a2533;
    font-size: clamp(24px, 2.3vw, 36px);
    line-height: 1.2;
    font-weight: 800;
}

.footer-banner-redesign .footer-banner-desc {
    margin: 0 0 22px;
    max-width: 540px;
    font-size: 16px;
    line-height: 1.75;
    color: #4d5b6a;
}

.footer-banner-redesign .footer-banner-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(59, 183, 126, 0.25);
}

.footer-banner-redesign .footer-banner-image-wrap {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right:30px;
    
    /*flex: 0 1 40%;*/
    width: 100%;
    /*max-width: 420px;*/
    min-width: 240px;
    /*display: flex;*/
    align-items: center;
    /*justify-content: center;*/
}
.newsletter .newsletter-inner img {
    max-width: 100% !important;
    right: auto !important;
    bottom: auto !important;
    padding-right:20px;
}

.footer-banner-redesign .full-banner-img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none;
    display: block;
    object-fit: contain !important;
    object-position: center center;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    border-radius: 14px;
}

/* Tablet and down: stack content then image to prevent cutting */
@media only screen and (max-width: 991px) {
    .footer-banner-redesign .footer-banner-content-wrap {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        text-align: center;
        padding: 22px 18px;
    }

    .footer-banner-redesign .footer-banner-content {
        order: 1;
        max-width: 100%;
    }

    .footer-banner-redesign .footer-banner-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-banner-redesign .footer-banner-image-wrap {
        order: 2;
        min-width: 0;
        max-width: 420px;
        width: 100%;
    }

    .footer-banner-redesign .footer-banner-cta {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile fine tune */
@media only screen and (max-width: 767px) {
    .footer-banner-redesign .footer-banner-title {
        font-size: 24px;
    }

    .footer-banner-redesign .footer-banner-desc {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 16px;
    }

    .footer-banner-redesign .footer-banner-cta {
        width: auto;
        min-width: 132px;
        padding: 11px 20px;
        font-size: 13px;
    }
}

/* Laptop */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .footer-banner-redesign .footer-banner-content-wrap {
        padding: 26px 24px;
    }

    .footer-banner-redesign .footer-banner-image-wrap {
        max-width: 360px;
    }
}

/* Desktop */
@media only screen and (min-width: 1200px) and (max-width: 1599px) {
    .footer-banner-redesign .footer-banner-image-wrap {
        /*max-width: 400px;*/
    }
}

/* Large screens */
@media only screen and (min-width: 1600px) {
    .footer-banner-redesign .footer-banner-content-wrap {
        padding: 40px 44px;
    }

    .footer-banner-redesign .footer-banner-image-wrap {
        max-width: 470px;
    }
}

/* Home hero slider redesign (scoped) */
.rb-home-hero {
    overflow: hidden;
}

.rb-home-hero .home-slide-cover {
    border-radius: 24px;
    overflow: hidden;
}

.rb-home-hero .hero-slider-1 .rb-hero-slide {
    min-height: 0 !important;
    height: auto !important;
    background: linear-gradient(122deg, #f6fbff 0%, #ffffff 48%, #edf6ff 100%) !important;
    border: 1px solid #e8f1ff;
    border-radius: 24px;
}

.rb-home-hero .rb-hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(18px, 2.8vw, 40px);
    padding: clamp(20px, 3vw, 44px);
    width: 100%;
    box-sizing: border-box;
}

.rb-home-hero .rb-hero-copy {
    min-width: 0;
    max-width: 620px;
    direction: ltr;
}

.rb-home-hero .rb-hero-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f7a4d;
    background: #e9f8f0;
    border-radius: 999px;
}

.rb-home-hero .rb-hero-title {
    margin: 0 0 12px;
    color: #162230;
    font-size: clamp(26px, 2.8vw, 46px);
    line-height: 1.15;
    font-weight: 800;
}

.rb-home-hero .rb-hero-description {
    margin: 0 0 24px;
    color: #516173;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.7;
    max-width: 560px;
}

.rb-home-hero .rb-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rb-home-hero .rb-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 136px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(59, 183, 126, 0.25);
}

.rb-home-hero .rb-hero-media-wrap {
    width: 100%;
    max-width: 560px;
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 1.3vw, 16px);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px #edf3fd;
}

.rb-home-hero .rb-hero-media {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none !important;
    display: block;
    object-fit: contain !important;
    object-position: center center;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    border-radius: 12px;
}

/* Prevent theme defaults from forcing crop/stretch in hero */
.rb-home-hero .hero-slider-1 img {
    max-height: none !important;
    border-radius: 12px;
}

.rb-home-hero .hero-slider-1 .slider-content {
    position: static !important;
    transform: none !important;
}

/* Arrow placement */
.rb-home-hero .home-slide-cover .slider-arrow {
    right: 20px;
    left: auto;
}

/* Tablet and mobile */
@media only screen and (max-width: 991px) {
    .rb-home-hero .rb-hero-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
        padding: 22px 18px;
    }

    .rb-home-hero .rb-hero-copy {
        order: 1;
        max-width: 100%;
    }

    .rb-home-hero .rb-hero-description {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .rb-home-hero .rb-hero-actions {
        justify-content: center;
    }

    .rb-home-hero .rb-hero-media-wrap {
        order: 2;
        justify-self: center;
        width: 100%;
        max-width: 560px;
    }
}

/* Mobile */
@media only screen and (max-width: 767px) {
    .rb-home-hero {
        margin-bottom: 16px;
    }

    .rb-home-hero .home-slide-cover {
        border-radius: 18px;
    }

    .rb-home-hero .hero-slider-1 .rb-hero-slide {
        border-radius: 18px;
    }

    .rb-home-hero .rb-hero-title {
        font-size: 24px;
    }

    .rb-home-hero .rb-hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .rb-home-hero .rb-hero-btn {
        padding: 11px 20px;
        font-size: 13px;
    }

    .rb-home-hero .home-slide-cover .slider-arrow {
        display: none;
    }
}
.rb-hero-banner-only{
    width:100%;
    overflow:hidden;
    border-radius:24px;
}

.rb-full-banner{
    width:100%;
    height:450px;
    display:block;
    object-fit:cover;
    border-radius:24px;
}

@media(max-width:768px){
    .rb-full-banner{
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 18px;
    }

    .rb-hero-banner-only{
        border-radius: 18px;
    }
}
/* Laptop */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .rb-home-hero .rb-hero-layout {
        grid-template-columns: 1.1fr 0.9fr;
        padding: 26px 24px;
    }

    .rb-home-hero .rb-hero-media-wrap {
        max-width: 430px;
    }
}

/* Desktop */
@media only screen and (min-width: 1200px) and (max-width: 1599px) {
    .rb-home-hero .rb-hero-media-wrap {
        max-width: 500px;
    }
}

/* Large screens */
@media only screen and (min-width: 1600px) {
    .rb-home-hero .rb-hero-layout {
        padding: 44px 48px;
    }

    .rb-home-hero .rb-hero-media-wrap {
        max-width: 620px;
    }
}

/* Category banner redesign (scoped) */
.rb-category-banner-section {
    overflow: hidden;
}

.rb-category-banner-card {
    width: 100%;
    border-radius: 24px;
    border: 1px solid #e7effa;
    background: linear-gradient(130deg, #f6f9ff 0%, #ffffff 52%, #eef5ff 100%);
    box-shadow: 0 16px 44px rgba(16, 30, 55, 0.08);
    overflow: hidden;
}

.rb-category-banner-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(18px, 2.4vw, 36px);
    padding: clamp(18px, 2.8vw, 40px);
    box-sizing: border-box;
}

.rb-category-banner-image-col,
.rb-category-banner-content-col {
    min-width: 0;
}

.rb-category-banner-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 1.5vw, 16px);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px #edf3fd;
}

.rb-category-banner-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    display: block;
    object-fit: contain;
    object-position: center center;
    border-radius: 14px;
}

.rb-category-banner-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f7a4d;
    background: #e9f8f0;
    border-radius: 999px;
}

.rb-category-banner-title {
    margin: 0 0 12px;
    color: #172434;
    font-size: clamp(24px, 2.4vw, 42px);
    line-height: 1.2;
    font-weight: 800;
}

.rb-category-banner-subtitle {
    margin: 0 0 22px;
    color: #516173;
    font-size: clamp(14px, 1.1vw, 18px);
    line-height: 1.75;
    max-width: 560px;
}

.rb-category-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 136px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(59, 183, 126, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rb-category-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(59, 183, 126, 0.3);
}

/* Tablet and mobile: image first, content second, centered */
@media only screen and (max-width: 991px) {
    .rb-category-banner-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
        padding: 20px 16px;
    }

    .rb-category-banner-image-col {
        order: 1;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .rb-category-banner-content-col {
        order: 2;
    }

    .rb-category-banner-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .rb-category-banner-btn {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile fine tune */
@media only screen and (max-width: 767px) {
    .rb-category-banner-card {
        border-radius: 18px;
    }

    .rb-category-banner-layout {
        padding: 16px;
    }

    .rb-category-banner-image {
        max-height: 280px;
    }

    .rb-category-banner-title {
        font-size: 24px;
    }

    .rb-category-banner-subtitle {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 16px;
    }

    .rb-category-banner-btn {
        padding: 11px 20px;
        font-size: 13px;
    }
}

/* Laptop balance */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .rb-category-banner-layout {
        grid-template-columns: 1.05fr 0.95fr;
        padding: 24px;
    }

    .rb-category-banner-image {
        max-height: 360px;
    }
}

/* Large screens keep image sharp and visible */
@media only screen and (min-width: 1600px) {
    .rb-category-banner-layout {
        padding: 42px 46px;
    }

    .rb-category-banner-image {
        max-height: 500px;
    }
}

/* Product review section */
.rb-product-reviews {
    padding: 8px 0;
}

.rb-review-summary {
    background: linear-gradient(135deg, #f7faff 0%, #ffffff 100%);
    border: 1px solid #e8f0ff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 22px;
}

.rb-review-summary-score h3 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 800;
    color: #172434;
}

.rb-review-summary-score p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.rb-review-stars {
    display: inline-flex;
    gap: 4px;
    font-size: 20px;
    line-height: 1;
}

.rb-review-stars span {
    color: #d1d5db;
}

.rb-review-stars span.filled {
    color: #f59e0b;
}

.rb-review-list {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.rb-review-item {
    border: 1px solid #eceff4;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
}

.rb-review-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rb-review-item-head strong {
    color: #111827;
    font-size: 15px;
}

.rb-review-item-head span {
    color: #6b7280;
    font-size: 12px;
}

.rb-review-item p {
    margin: 10px 0 0;
    color: #374151;
    line-height: 1.7;
}

.rb-review-form-wrap {
    border: 1px solid #eceff4;
    border-radius: 14px;
    padding: 18px;
    background: #fff;
}

.rb-review-form-wrap h4 {
    margin: 0 0 12px;
    font-size: 18px;
}

.rb-review-form .form-group {
    margin-bottom: 12px;
}

.rb-rating-input {
    direction: rtl;
    display: inline-flex;
    gap: 2px;
    margin-bottom: 12px;
}

.rb-rating-input input {
    display: none;
}

.rb-rating-input label {
    font-size: 26px;
    color: #d1d5db;
    cursor: pointer;
    line-height: 1;
}

.rb-rating-input input:checked ~ label,
.rb-rating-input label:hover,
.rb-rating-input label:hover ~ label {
    color: #f59e0b;
}

@media only screen and (max-width: 767px) {
    .rb-review-summary,
    .rb-review-form-wrap {
        padding: 14px;
    }

    .rb-review-item {
        padding: 12px;
    }

    .rb-review-item-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media only screen and (max-width: 767px) {

    .product-cart-wrap .product-img img{
        width: 75%;
        height: auto;
        margin: auto;
        display: block;
        object-fit: contain;
    }

    .product-cart-wrap .product-img{
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 140px;
    }
}
