@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@500;600;700&display=swap");
/* Header */
.navbar-brand img {
    max-height: unset;
    max-width: none !important;
    width: 250px !important;
    height: 48px !important;
    object-fit: cover !important;
    object-position: center 49% !important;
}
@media (max-width: 767px) {
    .navbar-brand img { width: 170px !important; height: 34px !important; }
}
div#mainnav {
    background-color: transparent;
}
.brand.bg-\[--color-text\] {
    background-color: transparent;
}
.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: unset;
}
#mainnav.fixed-pinned {
    background-color: #fff;
}

/* fw */
section.s-block.s-block--photos-slider {
    margin-top: 0;
    margin-bottom: 4%;
}
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper,
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide {
    padding: 0;
}
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide {
    width: 100%;
}
section.s-block.s-block--photos-slider .s-slider-block__title-nav {
    display: none;
}

/* Padel Secret v1 — banners show the full designed image, whole banner clickable */
section.TU-home_banner div:has(> div > h1) {
    height: auto !important;
}
section.TU-home_banner div:has(> img.object-cover) {
    position: relative !important;
    height: auto !important;
    z-index: 0 !important;
}
section.TU-home_banner img.object-cover {
    height: auto !important;
    display: block;
}
section.TU-home_banner div:has(> h1) {
    position: absolute !important;
    inset: 0;
    padding: 0 !important;
    z-index: 3 !important;
}
section.TU-home_banner div:has(> h1) h1 {
    display: none !important;
}
section.TU-home_banner div:has(> h1) a {
    position: absolute !important;
    inset: 0;
    opacity: 0;
}
section.TU-home_banner .custom-pagination {
    display: none;
}

/* Categories — 3:4 cards, section title */
section.TU-categories .category-image-wrapper {
    aspect-ratio: 3 / 4 !important;
}
@media (min-width: 768px) {
    section.TU-categories .swiper-wrapper {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    }

/* Product cards — price visible (theme primary is white) */
html body custom-salla-product-card .s-product-card-content .s-product-card-price,
html body custom-salla-product-card .s-product-card-content .s-product-card-sale-price,
html body custom-salla-product-card .s-product-card-content .s-product-card-price *,
html body custom-salla-product-card .s-product-card-content .s-product-card-sale-price * {
    color: #0B0B0B !important;
}
.s-product-card-price {
    font-weight: 700 !important;
}
.s-product-card-content-sub {
    display: flex !important;
}

/* Homepage order + device visibility (indexes = section position in the editor list; update if sections are added/removed) */
main#main-content { display: flex; flex-wrap: wrap; justify-content: center; }
main#main-content > * { width: 100%; }
main#main-content > .TU-home_banner-0  { order: 10; }
main#main-content > .TU-home_banner-6  { order: 20; }
main#main-content > .TU-home_banner-17 { order: 30; }
main#main-content > .TU-home_banner-18 { order: 31; }
main#main-content > .TU-categories     { order: 40; }
main#main-content > .TU-home_banner-3  { order: 50; }
main#main-content > .TU-home_banner-7  { order: 60; }
main#main-content > section.s-block    { order: 70; }
main#main-content > .TU-home_banner-8  { order: 80; }
main#main-content > .TU-home_banner-9  { order: 90; }
main#main-content > .TU-home_banner-10 { order: 100; }
main#main-content > .TU-home_banner-11 { order: 110; }
main#main-content > .TU-products-slider { order: 120; }
main#main-content > .TU-home_banner-12 { order: 130; }
main#main-content > .TU-home_banner-13 { order: 140; }
main#main-content > .TU-home_banner-14 { order: 150; }
main#main-content > .TU-home_banner-15 { order: 160; }
main#main-content > .faq-section       { order: 170; }
main#main-content > salla-hook,
main#main-content > style,
main#main-content > .s-design-invisible-dom { order: 999; }
main#main-content > .TU-testimonials { display: none !important; }

/* Banners: full screen width; hero edge to edge, the rest with a small side margin */
section.TU-home_banner { max-width: none !important; }
section.TU-home_banner:not(.TU-home_banner-0):not(.TU-home_banner-6) { padding: 10px 16px; }
section.TU-home_banner:not(.TU-home_banner-0):not(.TU-home_banner-6) img.object-cover { border-radius: 18px; }
main#main-content > .TU-home_banner-17,
main#main-content > .TU-home_banner-18 { max-width: 1432px !important; padding: 24px 16px 0 !important; }
main#main-content > .TU-home_banner-17 img.object-cover,
main#main-content > .TU-home_banner-18 img.object-cover { border-radius: 0 !important; }
@media (min-width: 768px) {
    main#main-content > .TU-home_banner-6,
    main#main-content > .TU-home_banner-7,
    main#main-content > .TU-home_banner-10,
    main#main-content > .TU-home_banner-11,
    main#main-content > .TU-home_banner-13,
    main#main-content > .TU-home_banner-15,
    main#main-content > .TU-home_banner-18 { display: none !important; }
    main#main-content > .TU-home_banner-8,
    main#main-content > .TU-home_banner-9 { width: 50% !important; }
    main#main-content > .TU-home_banner-8 { padding-left: 6px !important; }
    main#main-content > .TU-home_banner-9 { padding-right: 6px !important; }
}
@media (max-width: 767px) {
    main#main-content > .TU-home_banner-0,
    main#main-content > .TU-home_banner-3,
    main#main-content > .TU-home_banner-8,
    main#main-content > .TU-home_banner-9,
    main#main-content > .TU-home_banner-12,
    main#main-content > .TU-home_banner-14,
    main#main-content > .TU-home_banner-17 { display: none !important; }
    section.TU-home_banner:not(.TU-home_banner-0):not(.TU-home_banner-6) { padding: 8px 12px; }
    section.TU-home_banner:not(.TU-home_banner-0):not(.TU-home_banner-6) img.object-cover { border-radius: 14px; }
}

/* Selected products: black section, 4 visible + horizontal scroll */
.TU-products-slider { background: #0B0B0B !important; padding: 56px 0 48px !important; margin-top: 24px; }
.TU-products-slider h1 { color: #fff !important; }
.TU-products-slider h4 { color: #9AB48F !important; }
.TU-products-slider .salla-slider-prev,
.TU-products-slider .salla-slider-next {
    background: #fff !important;
    color: #0B0B0B !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
}
.TU-products-slider .salla-slider-prev i,
.TU-products-slider .salla-slider-next i { color: #0B0B0B !important; background: transparent !important; }
.TU-products-slider .salla-slider-prev:hover,
.TU-products-slider .salla-slider-next:hover { background: #9AB48F !important; }
.TU-products-slider .swiper-slide { height: auto !important; }

/* Desktop category bar under the header (theme keeps the menu in a drawer) */
@media (min-width: 1024px) {
    .mm-ocd { position: absolute !important; top: 111px !important; left: 0 !important; right: 0 !important; bottom: auto !important; width: 100% !important; height: auto !important; transform: none !important; visibility: visible !important; opacity: 1 !important; z-index: 20 !important; background: #0B0B0B !important; pointer-events: auto !important; }
    .mm-ocd__backdrop { display: none !important; }
    .mm-ocd__content { position: static !important; width: 100% !important; max-width: none !important; height: auto !important; transform: none !important; background: transparent !important; box-shadow: none !important; }
    #mobile-menu { background: transparent !important; height: auto !important; overflow: visible !important; }
    #mobile-menu::before, #mobile-menu::after { display: none !important; content: none !important; }
    #mobile-menu .main-menu { display: flex !important; flex-direction: row !important; justify-content: center !important; align-items: center; gap: 48px !important; height: 52px; padding: 0 !important; position: static !important; transform: none !important; background: transparent !important; overflow: visible !important; }
    #mobile-menu .main-menu { width: 100% !important; min-width: 0 !important; max-width: 100% !important; left: auto !important; right: auto !important; margin: 0 !important; }
    #mobile-menu .main-menu::before, #mobile-menu .main-menu::after { display: none !important; content: none !important; }
    #mobile-menu .main-menu > li.root-level { display: block !important; border: 0 !important; padding: 0 !important; }
    #mobile-menu .main-menu > li:not(.root-level) { display: none !important; }
    #mobile-menu .main-menu > li.root-level > a { color: #fff !important; font-weight: 600 !important; font-size: 15px !important; padding: 0 !important; background: transparent !important; }
    #mobile-menu .main-menu > li.root-level > a:hover { color: #9AB48F !important; }
    #mobile-menu .main-menu > li.root-level > a::after { display: none !important; }
    #mobile-menu .close-mobile-menu { display: none !important; }
    header div:has(> .mburger) { display: none !important; }
    main#main-content { margin-top: 52px !important; }
}

/* FAQ — clean cards, no tilt */
.faq-section { background: #fff !important; }
.faq-section .faq-list {
    max-width: 900px;
    margin-inline: auto;
    gap: 12px;
}
.faq-section .faq-list > div {
    transform: none !important;
    rotate: none !important;
    translate: none !important;
    margin: 0 !important;
    background: #F2F2F0 !important;
    border: 1px solid #E6E6E2 !important;
    border-right: 4px solid #9AB48F !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    padding: 22px 26px !important;
    text-align: right !important;
}
.faq-section .faq-list > div * {
    transform: none !important;
}
.faq-section .faq-list > div > div:first-child {
    color: #0B0B0B !important;
    font-weight: 700 !important;
    text-align: right !important;
    margin-bottom: 6px;
}
.faq-section .faq-list > div > div:last-child {
    color: #55554F !important;
    text-align: right !important;
    width: auto !important;
    margin: 0 !important;
    line-height: 1.8;
}

/* Category cards: remove the theme's dark bottom gradient */
section.TU-categories .category-image-wrapper::before { display: none !important; }

/* Selected products: white cards on the black section */
.TU-products-slider custom-salla-product-card { background: #fff !important; border-radius: 16px !important; overflow: hidden; }

/* Top bar links + category bar: Alexandria */
.s-menu-topnav-item, .topnav-link-item {
    font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    color: #3A3A36 !important;
    letter-spacing: 0 !important;
}
.s-menu-topnav-item:hover { color: #0B0B0B !important; }
@media (min-width: 1024px) {
    #mobile-menu .main-menu > li.root-level > a { font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif !important; }
}

/* Product cards: centered name and price */
html body custom-salla-product-card .s-product-card-content-title,
html body custom-salla-product-card .s-product-card-content-title a { text-align: center !important; display: block; width: 100%; }
html body custom-salla-product-card .s-product-card-content-main { justify-content: center !important; text-align: center !important; }
html body custom-salla-product-card .s-product-card-content-sub { justify-content: center !important; }