/* =========================================
   HOME PAGE
========================================= */

.brando-home {
    width: 100%;
    overflow: hidden;
}


/* =========================================
   HERO
========================================= */

.home-hero {
    width: 100%;
    height: 520px;

    position: relative;
    overflow: hidden;

    background: #050505;
}


/* HERO MEDIA */

.home-hero-media {
    width: 100%;

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    z-index: 0;

    overflow: hidden;

    background: #050505;
}


.home-hero-slide {
    position: absolute;
    inset: 0;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    opacity: 0;
    transform: scale(1.055);

    transition:
        opacity .9s ease,
        transform 5.8s cubic-bezier(.2,.7,.2,1);
}


.home-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}


/* GRADIENT OVERLAY */

.home-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to right,
            rgba(5,5,5,0) 0%,
            rgba(5,5,5,.02) 43%,
            rgba(5,5,5,.18) 56%,
            rgba(5,5,5,.62) 68%,
            #050505 84%,
            #050505 100%
        ),
        linear-gradient(
            to bottom,
            rgba(5,5,5,0) 0%,
            rgba(5,5,5,0) 75%,
            rgba(5,5,5,.18) 87%,
            rgba(5,5,5,.60) 100%
        );
}


.home-hero-layout {
    height: 252px;

    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    direction: rtl;
}


.home-hero-content {
    width: 45%;
    padding-right:80px;
    margin-right: 0;
    margin-left: auto;

    padding-right: 28px;

    text-align: right;
}


/* TITLE */

.home-hero-title {
    margin: 0 0 11px;

    color: #fff;

    font-size: 39px;
    font-weight: 800;
    line-height: 1.13;

    opacity: 0;
    transform: translateY(18px);

    animation:
        brandoHeroElementIn
        .7s
        .15s
        cubic-bezier(.2,.8,.2,1)
        forwards;
}


.home-hero-title span {
    display: block;

    margin-top: 2px;

    color: var(--brando-orange);
}


/* DESCRIPTION */

.home-hero-text {
    max-width: 340px;

    margin: 0 0 14px;

    color: #d7d7d7;

    font-size: 13px;
    line-height: 1.75;

    opacity: 0;
    transform: translateY(18px);

    animation:
        brandoHeroElementIn
        .7s
        .30s
        cubic-bezier(.2,.8,.2,1)
        forwards;
}


/* BUTTON */

.home-primary-button {
    width: 150px;
    height: 39px;

    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    border-radius: 5px;

    background: var(--brando-orange);
    color: #fff;

    font-size: 14px;
    font-weight: 700;

    opacity: 0;
    transform: translateY(18px);

    animation:
        brandoHeroElementIn
        .7s
        .45s
        cubic-bezier(.2,.8,.2,1)
        forwards;

    transition:
        background .25s ease,
        box-shadow .25s ease;
}


.home-primary-button:hover {
    background: #e85f00;
    color: #fff;

    box-shadow:
        0 8px 24px
        rgba(255,105,0,.25);
}


/* HERO DOTS */

.hero-slider-dots {
    position: absolute;

    left: 31%;
    bottom: 14px;

    z-index: 6;

    display: flex;
    align-items: center;

    gap: 7px;
}


.hero-dot {
    width: 8px;
    height: 8px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #fff;

    opacity: .65;

    cursor: pointer;

    transition:
        width .25s ease,
        border-radius .25s ease,
        background .25s ease,
        opacity .25s ease;
}


.hero-dot:hover {
    opacity: 1;
}


.hero-dot.is-active,
.hero-dot.active {
    width: 20px;

    border-radius: 20px;

    background: var(--brando-orange);

    opacity: 1;
}


/* HERO BENEFITS */

.home-hero-benefits {
    width: 53%;
    height: 53px;

    position: absolute;

    right: 0;
    bottom: 0;

    z-index: 5;

    padding: 0 33px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    direction: rtl;

    background:
        linear-gradient(
            to left,
            #050505 0%,
            #050505 75%,
            rgba(5,5,5,.92) 88%,
            rgba(5,5,5,.15) 100%
        );

    border-top: 1px solid rgba(255,255,255,.08);
}


.hero-benefit-item {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #fff;

    font-size: 11px;

    white-space: nowrap;
}


.hero-benefit-icon {
    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--brando-orange);
}

.hero-benefit-icon svg {
    width: 100%;
    height: 100%;

    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.hero-benefit-divider {
    width: 1px;
    height: 24px;

    background: rgba(255,255,255,.28);
}


/* HERO ENTRANCE */

@keyframes brandoHeroElementIn {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   GENERAL HOME SECTIONS
========================================= */

.home-section {
    padding: 80px 0;

    background: #fff;
}


.home-section-gray {
    background: #f7f7f7;
}


.home-section-heading {
    margin-bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.home-section-title {
    margin: 0;

    color: #111;

    font-size: 36px;
    font-weight: 800;
}


.home-section-link {
    color: var(--brando-orange);

    font-size: 13px;
    font-weight: 600;
}


.home-section-link:hover {
    color: #e85f00;
}


/* =========================================
   CATEGORIES
========================================= */

.home-categories-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 17px;
}


.home-category-card {
    min-width: 0;

    padding: 12px 12px 18px;

    background: #fff;

    border: 1px solid #e7e7e7;
    border-radius: 11px;

    text-align: center;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.home-category-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 9px 24px rgba(0, 0, 0, .07);
}


.home-category-image {
    width: 100%;

    aspect-ratio: 1 / .82;

    position: relative;

    margin-bottom: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 8px;

    background: #f8f8f8;
}


.home-category-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.home-category-icon {
    width: 34px;
    height: 34px;

    position: absolute;

    right: 9px;
    bottom: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #050505;
    color: var(--brando-orange);

    font-size: 16px;
    font-weight: 700;

    box-shadow:
        0 3px 9px rgba(0,0,0,.15);
}


.home-category-card h3 {
    margin: 0 0 5px;

    color: #111;

    font-size: 15px;
    font-weight: 700;
}


.home-category-card p {
    margin: 0;

    color: #777;

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================
   BEST SELLERS
========================================= */

.home-best-sellers {
    width: 100%;

    padding: 25px 0 32px;

    background: #f7f7f7;
}


/* =========================================
   PRODUCT GRID
========================================= */

.home-products-grid {
    width: 100%;

    display: grid;

   grid-template-columns:repeat(6,1fr);
    gap:25px;
}


/* =========================================
   PRODUCT CARD
========================================= */

.home-product-card {
    min-width: 0;

    position: relative;

    padding: 10px;

    background: #fff;

    border: 1px solid #e7e7e7;
    border-radius: 9px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.home-product-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.07);
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.home-product-image {
    width: 100%;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #fafafa;

    border-radius: 7px;
}


.home-product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================
   PRODUCT WISHLIST
========================================= */

.home-product-wishlist {
    width: 30px;
    height: 30px;

    position: absolute;

    top: 16px;
    right: 16px;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #fff;
    color: #111;

    font-size: 18px;

    cursor: pointer;

    box-shadow:
        0 2px 8px rgba(0,0,0,.08);

    transition:
        color .2s ease,
        transform .2s ease;
}


.home-product-wishlist:hover {
    color: var(--brando-orange);

    transform: scale(1.05);
}


.home-product-wishlist .wishlist-filled {
    display: none;
}


.home-product-wishlist.active {
    color: var(--brando-orange);
}


.home-product-wishlist.active .wishlist-empty {
    display: none;
}


.home-product-wishlist.active .wishlist-filled {
    display: inline;
}


/* =========================================
   PRODUCT TITLE
========================================= */

.home-product-title {
    min-height: 38px;

    margin: 10px 0 4px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}


.home-product-title a {
    color: #111;
}


.home-product-title a:hover {
    color: var(--brando-orange);
}


/* =========================================
   RATING
========================================= */

.home-product-rating {
    min-height: 18px;

    margin-bottom: 4px;

    color: var(--brando-orange);

    font-size: 11px;
}


.brando-demo-rating {
    color: var(--brando-orange);

    letter-spacing: 1px;
}


.home-product-rating .star-rating {
    float: none;

    margin: 0;
}


/* =========================================
   PRODUCT PRICE
========================================= */

.home-product-price {
    margin-bottom: 9px;

    color: #111;

    font-size: 14px;
    font-weight: 800;
}


.home-product-price del {
    margin-left: 5px;

    color: #999;

    font-size: 11px;
}


.home-product-price ins {
    color: var(--brando-orange);

    text-decoration: none;
}


/* =========================================
   ADD TO CART
========================================= */

.home-product-cart .button,
.home-add-cart {
    width: 100%;
    min-height: 36px;

    margin: 0 !important;
    padding: 9px 12px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border: 0 !important;
    border-radius: 5px !important;

    background: #050505 !important;
    color: #fff !important;

    font-size: 11px !important;
    font-weight: 600 !important;

    text-align: center;

    cursor: pointer;

    transition: .2s ease;
}


.home-product-cart .button:hover,
.home-add-cart:hover {
    background: var(--brando-orange) !important;
    color: #fff !important;
}


.home-product-cart .added_to_cart {
    display: none;
}


/* =========================================
   SPRING OFFER BANNER
========================================= */

.brando-offer-banner {
    width: 100%;
    height: 118px;
    min-height: 118px;

    display: grid;
    grid-template-columns: 23% 36% 41%;
    align-items: stretch;

    overflow: hidden;
    border-radius: 8px;

    background: #050505;
    direction: ltr;
}


/* =========================================
   LEFT FEATURES
========================================= */

.brando-offer-features {
    height: 100%;

    padding: 12px 18px 12px 14px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    gap: 8px;

    background:
        linear-gradient(
            to right,
            #ff6a00 0%,
            #ff6a00 52%,
            rgba(255,106,0,.78) 72%,
            rgba(255,106,0,.18) 100%
        );
}

.offer-feature-item {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 8px;

    direction: ltr; /* يخلي الأيقونة شمال */
}

.offer-feature-item > div {
    direction: rtl;
    text-align: right;
}

.offer-feature-icon {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #111;
    font-size: 13px;
    line-height: 1;
}

.offer-feature-item strong {
    display: block;
    margin: 0 0 2px;

    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
}

.offer-feature-item small {
    display: block;

    color: rgba(255,255,255,.88);
    font-size: 8px;
    line-height: 1.1;
}


/* =========================================
   CENTER CONTENT
========================================= */

.brando-offer-content {
    height: 100%;

    padding: 8px 10px 8px 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    direction: rtl;
    text-align: center;

    background: #050505;
}

.offer-label {
    display: block;
    margin-bottom: 4px;

    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.brando-offer-content h2 {
    margin: 0 0 5px;

    display: flex;
    align-items: baseline;
    justify-content: center;

    gap: 6px;

    color: #fff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.05;

    white-space: nowrap;
}

.brando-offer-content h2 strong {
    color: var(--brando-orange);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.brando-offer-content p {
    margin: 0 0 8px;

    color: #e7e7e7;
    font-size: 8px;
    line-height: 1.3;

    white-space: nowrap;
}

.offer-btn {
    min-width: 95px;
    height: 28px;

    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--brando-orange);
    color: #fff;

    border-radius: 4px;

    font-size: 9px;
    font-weight: 700;
    line-height: 1;

    transition: .2s ease;
}

.offer-btn:hover {
    background: #e85f00;
    color: #fff;
}


/* =========================================
   RIGHT IMAGE
========================================= */

.brando-offer-image {
    height: 100%;
    position: relative;
    overflow: hidden;

    background: #050505;
}

.brando-offer-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;

    background:
        linear-gradient(
            to right,
            #050505 0%,
            rgba(5,5,5,.78) 12%,
            rgba(5,5,5,.28) 28%,
            transparent 48%
        );

    pointer-events: none;
}

.brando-offer-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}


/* =========================================
   NEW ARRIVALS
========================================= */

.brando-new-arrivals-section {
    padding: 28px 0 34px;

    background: #fff;
}


.brando-new-arrivals-head {
    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brando-new-arrivals-head h2 {
    margin: 0;

    color: #111;

    font-size: 24px;
    font-weight: 800;
}


.brando-new-arrivals-viewall {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--brando-orange);

    font-size: 14px;
    font-weight: 700;
}


.brando-new-arrivals-viewall:hover {
    color: #e85f00;
}


.brando-new-arrivals-wrapper {
    position: relative;
}


.brando-new-arrivals-grid {
    width: 100%;

    display: flex;

    gap: 18px;

    direction: rtl;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;
}


.brando-new-arrivals-grid::-webkit-scrollbar {
    display: none;
}


.brando-new-arrival-card {
    flex: 0 0 calc((100% - 90px) / 6);

    position: relative;

    padding: 14px 14px 18px;

    background: #fff;

    border: 1px solid #ececec;
    border-radius: 10px;

    text-align: center;

    scroll-snap-align: start;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.brando-new-arrival-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 24px rgba(0,0,0,.08);
}


.brando-new-badge {
    min-width: 42px;
    height: 22px;

    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 2;

    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--brando-orange);
    color: #fff;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;
}


.brando-new-arrival-image {
    width: 100%;
    height: 150px;

    margin-bottom: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 8px;

    background: #fff;
}


.brando-new-arrival-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.brando-new-arrival-title {
    min-height: 44px;

    margin: 0 0 8px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}


.brando-new-arrival-title a {
    color: #111;
}


.brando-new-arrival-title a:hover {
    color: var(--brando-orange);
}


.brando-new-arrival-price {
    color: #111;

    font-size: 18px;
    font-weight: 800;
}


.brando-new-arrival-price del {
    margin-left: 6px;

    color: #999;

    font-size: 14px;
}


.brando-new-arrival-price ins {
    color: #111;

    text-decoration: none;
}


/* =========================================
   NEW ARRIVALS ARROWS
========================================= */

.brando-arrivals-arrow {
    width: 36px;
    height: 36px;

    position: absolute;

    top: 50%;

    z-index: 3;

    transform: translateY(-50%);

    border: 0;
    border-radius: 50%;

    background: #fff;
    color: #111;

    box-shadow:
        0 4px 12px rgba(0,0,0,.10);

    cursor: pointer;

    font-size: 24px;
    line-height: 1;
}


.brando-arrivals-arrow-right {
    right: -18px;
}


.brando-arrivals-arrow-left {
    left: -18px;
}


/* =========================================
   WOOCOMMERCE HOME HELPERS
========================================= */

.brando-home .woocommerce ul.products {
    margin: 0;
}


.brando-home .woocommerce-message,
.brando-home .woocommerce-info {
    border-top-color: var(--brando-orange);
}


.brando-home .woocommerce-message::before,
.brando-home .woocommerce-info::before {
    color: var(--brando-orange);
}

/* =========================================================
   BRANDO HOME — PROFESSIONAL DESIGN OVERRIDES
   Safe override layer: keeps existing WooCommerce logic
   and improves the visual hierarchy of the Home page.
========================================================= */

/* ---------- GLOBAL HOME CONTAINER ---------- */

.brando-home .brando-container {
    width: min(1280px, calc(100% - 48px));
    max-width: 1280px;
    margin-inline: auto;
}

/* ---------- HERO ---------- */

.brando-home .home-hero {
    height: clamp(540px, 42vw, 650px);
    min-height: 540px;
    background: #050505;
}

.brando-home .home-hero-media {
    width: 100%;
}

.brando-home .home-hero-slide {
    background-position: center center;
    background-size: cover;
}

.brando-home .home-hero::after {
    background:
        linear-gradient(
            to left,
            rgba(5,5,5,.94) 0%,
            rgba(5,5,5,.72) 24%,
            rgba(5,5,5,.30) 48%,
            rgba(5,5,5,.04) 72%,
            rgba(5,5,5,0) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(0,0,0,.05) 55%,
            rgba(0,0,0,.62) 100%
        );
}

.brando-home .home-hero-layout {
    width: min(1280px, calc(100% - 48px));
    height: 100%;
    margin-inline: auto;
    align-items: center;
}

.brando-home .home-hero-content {
    width: min(520px, 46%);
    margin-left: 0;
    margin-right: auto;
    padding: 0;
    text-align: right;
    direction: rtl;
    transform: translateY(-4px);
}

.brando-home .home-hero-title {
    margin-bottom: 18px;
    font-size: clamp(42px, 4vw, 62px);
    line-height: 1.12;
    letter-spacing: -0.8px;
}

.brando-home .home-hero-text {
    max-width: 500px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.9;
}

.brando-home .home-primary-button {
    width: auto;
    min-width: 165px;
    height: 48px;
    padding: 0 26px;
    border-radius: 7px;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(255,105,0,.18);
}

.brando-home .hero-slider-dots {
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
}

.brando-home .home-hero-benefits {
    width: min(760px, 62%);
    height: 62px;
    right: 0;
    padding: 0 30px;
    background: rgba(5,5,5,.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,.10);
}

.brando-home .hero-benefit-item {
    font-size: 12px;
}

.brando-home .hero-benefit-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
}

/* ---------- SECTION RHYTHM ---------- */

.brando-home .home-section {
    padding: 78px 0;
}

.brando-home .home-section-heading {
    margin-bottom: 30px;
    align-items: flex-end;
}

.brando-home .home-section-title {
    font-size: clamp(28px, 2.4vw, 36px);
    line-height: 1.25;
    letter-spacing: -.3px;
}

/* ---------- CATEGORIES ---------- */

.brando-home .home-categories-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.brando-home .home-category-card {
    padding: 10px 10px 18px;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.035);
}

.brando-home .home-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,.09);
}

.brando-home .home-category-image {
    aspect-ratio: 1 / .88;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #f6f6f6;
}

.brando-home .home-category-card h3 {
    margin-bottom: 6px;
    font-size: 15px;
}

.brando-home .home-category-card p {
    font-size: 11px;
}

/* ---------- BEST SELLERS ---------- */

.brando-home .home-best-sellers {
    padding: 82px 0;
    background: #f6f6f6;
}

.brando-home .home-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.brando-home .home-product-card {
    padding: 12px;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0,0,0,.035);
}

.brando-home .home-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(0,0,0,.10);
}

.brando-home .home-product-image {
    height: 250px;
    border-radius: 10px;
    background: #fafafa;
}

.brando-home .home-product-wishlist {
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    box-shadow: 0 5px 14px rgba(0,0,0,.10);
}

.brando-home .home-product-title {
    min-height: 44px;
    margin: 14px 0 6px;
    font-size: 14px;
}

.brando-home .home-product-price {
    margin-bottom: 12px;
    font-size: 16px;
}

.brando-home .home-product-cart .button,
.brando-home .home-add-cart {
    min-height: 42px;
    border-radius: 7px !important;
    font-size: 12px !important;
}

/* ---------- OFFER BANNER ---------- */

.brando-home .brando-offer-banner {
    height: 150px;
    min-height: 150px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

.brando-home .brando-offer-features {
    padding: 18px 22px;
    gap: 10px;
}

.brando-home .offer-feature-item strong {
    font-size: 11px;
}

.brando-home .offer-feature-item small {
    font-size: 9px;
}

.brando-home .brando-offer-content {
    padding: 12px 20px;
}

.brando-home .offer-label {
    font-size: 12px;
}

.brando-home .brando-offer-content h2 {
    font-size: 24px;
}

.brando-home .brando-offer-content h2 strong {
    font-size: 32px;
}

.brando-home .brando-offer-content p {
    font-size: 10px;
    margin-bottom: 10px;
}

.brando-home .offer-btn {
    min-width: 110px;
    height: 34px;
    border-radius: 6px;
    font-size: 10px;
}

.brando-home .brando-offer-image img {
    object-position: center;
}

/* ---------- NEW ARRIVALS ---------- */

.brando-home .brando-new-arrivals-section {
    padding: 78px 0 88px;
}

.brando-home .brando-new-arrivals-head {
    margin-bottom: 28px;
}

.brando-home .brando-new-arrivals-head h2 {
    font-size: 30px;
}

.brando-home .brando-new-arrival-card {
    flex-basis: calc((100% - 90px) / 6);
    padding: 12px 12px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.035);
}

.brando-home .brando-new-arrival-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0,0,0,.09);
}

.brando-home .brando-new-arrival-image {
    height: 175px;
    margin-bottom: 14px;
    border-radius: 10px;
}

.brando-home .brando-new-arrival-title {
    min-height: 48px;
    font-size: 14px;
}

.brando-home .brando-new-arrival-price {
    font-size: 16px;
}

/* ---------- TABLET ---------- */

@media (max-width: 1100px) {
    .brando-home .home-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .brando-home .home-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .brando-home .home-hero-content {
        width: 48%;
    }

    .brando-home .home-hero-benefits {
        width: 65%;
    }
}

/* ---------- MOBILE ---------- */

@media (max-width: 767px) {
    .brando-home .brando-container,
    .brando-home .home-hero-layout {
        width: min(100% - 28px, 620px);
    }

    .brando-home .home-hero {
        min-height: 620px;
        height: 620px;
    }

    .brando-home .home-hero-layout {
        align-items: flex-end;
        padding-bottom: 88px;
    }

    .brando-home .home-hero-content {
        width: 100%;
        text-align: center;
        transform: none;
    }

    .brando-home .home-hero-title {
        font-size: 40px;
    }

    .brando-home .home-hero-text {
        max-width: 100%;
        font-size: 14px;
    }

    .brando-home .home-primary-button {
        min-width: 155px;
        height: 46px;
    }

    .brando-home .home-hero-benefits {
        width: 100%;
        height: 64px;
        padding: 0 12px;
        gap: 8px;
    }

    .brando-home .hero-benefit-item {
        gap: 5px;
        font-size: 9px;
    }

    .brando-home .hero-benefit-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .brando-home .hero-benefit-divider {
        height: 20px;
    }

    .brando-home .home-section,
    .brando-home .home-best-sellers {
        padding: 56px 0;
    }

    .brando-home .home-section-heading {
        margin-bottom: 22px;
    }

    .brando-home .home-section-title {
        font-size: 27px;
    }

    .brando-home .home-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .brando-home .home-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .brando-home .home-product-card {
        padding: 9px;
        border-radius: 11px;
    }

    .brando-home .home-product-image {
        height: 175px;
    }

    .brando-home .home-product-wishlist {
        top: 13px;
        right: 13px;
        width: 30px;
        height: 30px;
    }

    .brando-home .home-product-title {
        min-height: 42px;
        font-size: 12px;
    }

    .brando-home .home-product-price {
        font-size: 14px;
    }

    .brando-home .brando-offer-banner {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .brando-home .brando-offer-features,
    .brando-home .brando-offer-content,
    .brando-home .brando-offer-image {
        min-height: 110px;
    }

    .brando-home .brando-offer-image {
        min-height: 150px;
    }

    .brando-home .brando-new-arrivals-section {
        padding: 56px 0 64px;
    }

    .brando-home .brando-new-arrivals-head h2 {
        font-size: 25px;
    }

    .brando-home .brando-new-arrival-card {
        flex-basis: calc((100% - 12px) / 2);
    }

    .brando-home .brando-new-arrival-image {
        height: 170px;
    }
}

/* =========================================================
   FINAL HOME POLISH
   HERO CONTENT — FAR RIGHT ALIGNMENT
========================================================= */

.brando-home .home-hero-layout {
    position: relative;
    width: min(1280px, calc(100% - 48px));
    height: 100%;
    margin-inline: auto;
    display: block;
    direction: rtl;
}

.brando-home .home-hero-content {
    position: absolute;
    top: 50%;
    right: 0;
    left: auto;
    width: min(500px, 42%);
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%);
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 5;
}

.brando-home .home-hero-title,
.brando-home .home-hero-text {
    width: 100%;
    text-align: right;
}

.brando-home .home-hero-title {
    margin: 0 0 18px;
    font-size: clamp(42px, 4vw, 62px);
    line-height: 1.12;
    letter-spacing: -0.8px;
}

.brando-home .home-hero-text {
    max-width: 470px;
    margin: 0 0 24px;
    color: rgba(255,255,255,.9);
    font-size: 16px;
    line-height: 1.9;
}

.brando-home .home-primary-button {
    align-self: flex-start;
    margin: 0;
    min-width: 165px;
    height: 48px;
    padding: 0 26px;
    border-radius: 7px;
}

/* Keep the hero image visually dominant while protecting the text area. */
.brando-home .home-hero::after {
    background:
        linear-gradient(
            to left,
            rgba(5,5,5,.96) 0%,
            rgba(5,5,5,.82) 17%,
            rgba(5,5,5,.48) 34%,
            rgba(5,5,5,.16) 55%,
            rgba(5,5,5,0) 75%
        ),
        linear-gradient(
            to bottom,
            rgba(0,0,0,0) 58%,
            rgba(0,0,0,.58) 100%
        );
}

/* Hero benefits stay at the bottom without pushing the hero content. */
.brando-home .home-hero-benefits {
    z-index: 6;
}

/* =========================================================
   HOME SECTIONS — CLEANER RHYTHM
========================================================= */

.brando-home .home-section {
    padding: 76px 0;
}

.brando-home .home-section-heading {
    margin-bottom: 30px;
}

.brando-home .home-section-title {
    font-size: clamp(29px, 2.5vw, 36px);
    font-weight: 800;
}

/* =========================================================
   CATEGORIES
========================================================= */

.brando-home .home-categories-grid {
    gap: 18px;
}

.brando-home .home-category-card {
    min-width: 0;
    padding: 10px 10px 17px;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.035);
}

.brando-home .home-category-image {
    width: 100%;
    aspect-ratio: 1 / .86;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f7f7;
}

.brando-home .home-category-card h3 {
    margin: 14px 0 5px;
    font-size: 15px;
    font-weight: 800;
}

.brando-home .home-category-card p {
    margin: 0;
    font-size: 11px;
    line-height: 1.7;
}

/* =========================================================
   PRODUCTS
========================================================= */

.brando-home .home-best-sellers {
    padding: 78px 0;
    background: #f7f7f7;
}

.brando-home .home-products-grid {
    gap: 20px;
}

.brando-home .home-product-card {
    min-width: 0;
    padding: 11px;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.035);
}

.brando-home .home-product-image {
    height: 245px;
    border-radius: 10px;
    background: #fafafa;
}

.brando-home .home-product-title {
    min-height: 44px;
    margin: 14px 0 7px;
    font-size: 14px;
    line-height: 1.55;
}

.brando-home .home-product-price {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 800;
}

.brando-home .home-product-cart .button,
.brando-home .home-add-cart {
    min-height: 42px;
    border-radius: 7px !important;
}

/* =========================================================
   OFFER BANNER
========================================================= */

.brando-home .brando-offer-banner {
    height: 150px;
    min-height: 150px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.09);
}

/* =========================================================
   NEW ARRIVALS
========================================================= */

.brando-home .brando-new-arrivals-section {
    padding: 76px 0 88px;
}

.brando-home .brando-new-arrival-card {
    min-width: 0;
    padding: 11px 11px 15px;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0,0,0,.035);
}

.brando-home .brando-new-arrival-image {
    height: 175px;
    border-radius: 10px;
}

.brando-home .brando-new-arrival-title {
    min-height: 48px;
    font-size: 14px;
    line-height: 1.55;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
    .brando-home .home-hero-content {
        right: 0;
        width: 48%;
    }

    .brando-home .home-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .brando-home .home-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    .brando-home .brando-container {
        width: calc(100% - 28px);
    }

    .brando-home .home-hero-layout {
        width: calc(100% - 28px);
    }

    .brando-home .home-hero {
        height: 620px;
        min-height: 620px;
    }

    .brando-home .home-hero-content {
        top: auto;
        right: 0;
        bottom: 100px;
        width: 100%;
        transform: none;
        align-items: center;
        text-align: center;
    }

    .brando-home .home-hero-title,
    .brando-home .home-hero-text {
        text-align: center;
    }

    .brando-home .home-hero-title {
        font-size: 40px;
    }

    .brando-home .home-hero-text {
        max-width: 100%;
        font-size: 14px;
    }

    .brando-home .home-primary-button {
        align-self: center;
    }

    .brando-home .home-hero::after {
        background:
            linear-gradient(
                to bottom,
                rgba(5,5,5,0) 25%,
                rgba(5,5,5,.18) 45%,
                rgba(5,5,5,.88) 82%,
                rgba(5,5,5,.96) 100%
            );
    }

    .brando-home .home-hero-benefits {
        width: 100%;
    }

    .brando-home .home-section,
    .brando-home .home-best-sellers {
        padding: 56px 0;
    }

    .brando-home .home-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .brando-home .home-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .brando-home .home-product-image {
        height: 175px;
    }

    .brando-home .brando-offer-banner {
        height: auto;
        min-height: 0;
    }

    .brando-home .brando-new-arrivals-section {
        padding: 56px 0 64px;
    }
}