/* Add custom CSS styles below */

/* ================================
PERFORMANCE OPTIMIZATIONS
================================ */

* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

img {
content-visibility: auto;
max-width: 100%;
height: auto;
}

section:not(:first-child) {
content-visibility: auto;
contain-intrinsic-size: 1px 500px;
}

.s-slider-container,
.swiper {
transform: translateZ(0);
backface-visibility: hidden;
}


/* ================================
FONT FACE
================================ */

/*
@font-face {
font-family: 'AlQabas';
src: url('رابط-ملف-الخط.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
*/

body,
button,
input,
textarea,
select {
font-family: 'AlQabas', sans-serif !important;
}


/* ================================
GENERAL
================================ */

::selection {
background-color: #2d2a82 !important;
color: #ffffff !important;
}

::-moz-selection {
background-color: #2d2a82 !important;
color: #ffffff !important;
}

::-webkit-scrollbar {
width: 10px;
height: 10px;
}

::-webkit-scrollbar-track {
background: #ffffff;
}

::-webkit-scrollbar-thumb {
background: #6a6a69;
border-radius: 5px;
border: 2px solid #ffffff;
}

::-webkit-scrollbar-thumb:hover {
background: #2d2a82;
}

html {
scrollbar-color: #2d2a82 #ffffff;
scrollbar-width: thin !important;
}


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

.s-product-card-entry .s-product-card-image::before {
content: "";
position: absolute;
top: 0;
left: -150%;
width: 60%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.45),
transparent
);
transform: skewX(-25deg);
transition: left 0.9s ease;
z-index: 10;
pointer-events: none;
}

.s-product-card-entry .s-product-card-image:hover::before {
left: 180%;
}


/* ================================
BANNERS
================================ */

.zina-banner {
position: relative !important;
overflow: hidden !important;
}

.zina-banner a {
position: relative !important;
display: block !important;
overflow: hidden !important;
}

.zina-banner a > img {
width: 100% !important;
transition: transform 0.4s ease !important;
}

.zina-banner a::after {
content: "" !important;
position: absolute !important;
top: -100% !important;
left: -60% !important;
width: 35% !important;
height: 300% !important;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.45),
transparent
) !important;
transform: rotate(25deg) !important;
transition: left 0.7s ease !important;
pointer-events: none !important;
z-index: 2 !important;
}

.zina-banner:hover a::after {
left: 120% !important;
}

.zina-banner:hover a > img {
transform: scale(1.02) !important;
}


/* ================================
PRODUCT TABS
================================ */

.s-block--tabs-produtcs .tab-trigger.is-active button {
background-color: lightgray !important;
color: #2d2a82 !important;
}


/* ================================
CATEGORIES - FIX OVERFLOW
================================ */

.zina-categories {
max-width: 100% !important;
}

.zina-categories .container {
overflow: visible !important;
max-width: 100% !important;
}

.zina-categories salla-slider {
display: block !important;
width: 100% !important;
}

.zina-categories .s-slider-container {
overflow: hidden !important;
padding-top: 8px !important;
padding-bottom: 8px !important;
}

.zina-categories .swiper-wrapper {
overflow: visible !important;
}

.zina-categories .swiper-slide,
.zina-categories-category {
flex-shrink: 0 !important;
}

.zina-categories-category,
.zina-categories-category > div,
.zina-categories-category > div > a {
overflow: visible !important;
}


/* ================================
CATEGORY CARD
================================ */

.zina-categories-category > div > a > div.w-28 {
padding: 12px !important;
background:
radial-gradient(
circle at 20% 20%,
rgba(255, 255, 255, 0.12),
transparent 35%
),
linear-gradient(
145deg,
#6a6a69 0%,
#4d4d61 40%,
#2d2a82 100%
) !important;
border-radius: 0.6rem !important;
position: relative !important;
overflow: hidden !important;
box-shadow:
0 8px 18px rgba(45, 42, 130, 0.22),
inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
transition:
transform 0.4s ease,
box-shadow 0.4s ease !important;
z-index: 1 !important;
}

.zina-categories-category > div > a > div.w-28::before {
content: "" !important;
position: absolute !important;
width: 140px !important;
height: 140px !important;
top: -80px !important;
right: -60px !important;
background: rgba(255, 255, 255, 0.12) !important;
border-radius: 50% !important;
transition: all 0.5s ease !important;
pointer-events: none !important;
}

.zina-categories-category > div > a > div.w-28::after {
content: "" !important;
position: absolute !important;
top: -100% !important;
left: -60% !important;
width: 45% !important;
height: 300% !important;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.22),
transparent
) !important;
transform: rotate(25deg) !important;
transition: left 0.7s ease !important;
pointer-events: none !important;
}

.zina-categories-category:hover > div > a > div.w-28 {
transform: translateY(-4px) scale(1.03) !important;
box-shadow:
0 14px 30px rgba(45, 42, 130, 0.35),
0 0 20px rgba(106, 106, 105, 0.2) !important;
z-index: 2 !important;
}

.zina-categories-category:hover > div > a > div.w-28::before {
transform: scale(1.5) !important;
background: rgba(255, 255, 255, 0.16) !important;
}

.zina-categories-category:hover > div > a > div.w-28::after {
left: 120% !important;
}

.zina-categories-category h4 {
font-size: 0.8rem !important;
margin: auto !important;
text-align: center !important;
}

.zina-categories-category > div > a > div.w-28,
.zina-categories-category > div > a > div.w-28 > div {
border-radius: 0.6rem !important;
}


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

.s-button-text {
position: relative !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
padding: 6px 12px !important;
border-radius: 8px !important;
overflow: hidden !important;
color: #2d2a82 !important;
transition: all 0.4s ease !important;
z-index: 1 !important;
}

.s-button-text::before {
content: "" !important;
position: absolute !important;
inset: 0 !important;
background: linear-gradient(
135deg,
rgba(106, 106, 105, 0.18),
rgba(45, 42, 130, 0.18)
) !important;
opacity: 0 !important;
transition: opacity 0.4s ease !important;
z-index: -1 !important;
}

.s-button-element:hover .s-button-text {
color: #2d2a82 !important;
box-shadow: 0 4px 12px rgba(45, 42, 130, 0.12) !important;
}

.s-button-element:hover .s-button-text::before {
opacity: 1 !important;
}

.s-button-element:hover .s-button-text i {
color: #2d2a82 !important;
}


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

.zina-features salla-slider span {
width: 8rem !important;
height: 4rem !important;
border-radius: 0.6rem !important;
text-align: center !important;
justify-content: center !important;
}

.zina-features salla-slider {
text-align: center !important;
justify-content: center !important;
}


/* ================================
PRODUCT QUICK VIEW & WISHLIST
================================ */

.s-product-card-quick-view-btn,
.s-product-card-wishlist-btn {
width: 22px !important;
height: 22px !important;
min-width: 22px !important;
min-height: 22px !important;
padding: 0 !important;
font-size: 10px !important;
border-radius: 50% !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
line-height: 1 !important;
}

.s-product-card-wishlist-btn.s-button-wrap,
.s-product-card-wishlist-btn.s-button-wrap .s-button-element,
.s-product-card-image > salla-button .s-button-element {
width: 22px !important;
height: 22px !important;
min-width: 22px !important;
min-height: 22px !important;
padding: 0 !important;
font-size: 10px !important;
border-radius: 50% !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
line-height: 1 !important;
}

.s-product-card-quick-view-btn i,
.s-product-card-quick-view-btn .sicon-eye,
.s-product-card-wishlist-btn i,
.s-product-card-wishlist-btn .sicon-heart,
.s-product-card-image > salla-button .s-button-element i,
.s-product-card-image > salla-button .s-button-element .sicon-heart {
font-size: 10px !important;
line-height: 1 !important;
}

.s-product-card-quick-view-btn,
.s-product-card-wishlist-btn,
.s-product-card-wishlist-btn.s-button-wrap .s-button-element,
.s-product-card-image > salla-button .s-button-element {
color: #2d2a82 !important;
}

.s-product-card-quick-view-btn i,
.s-product-card-quick-view-btn .sicon-eye,
.s-product-card-wishlist-btn i,
.s-product-card-wishlist-btn .sicon-heart,
.s-product-card-image > salla-button .s-button-element i,
.s-product-card-image > salla-button .s-button-element .sicon-heart {
color: #2d2a82 !important;
fill: #2d2a82 !important;
}

.s-product-card-wishlist-btn span {
background: #ffffff !important;
border-radius: 50% !important;
}


/* ================================
CUSTOMER REVIEWS
================================ */

.s-reviews-testimonial {
position: relative !important;
overflow: hidden !important;
border: 1px solid rgba(45, 42, 130, 0.12) !important;
border-radius: 18px !important;
background: linear-gradient(
145deg,
rgba(106, 106, 105, 0.08),
rgba(45, 42, 130, 0.08)
) !important;
box-shadow: 0 5px 15px rgba(45, 42, 130, 0.08) !important;
transition: all 0.4s ease !important;
}

.s-reviews-testimonial::before {
content: "" !important;
position: absolute !important;
width: 100px !important;
height: 100px !important;
top: -35px !important;
right: -15px !important;
border-radius: 50% !important;
background: rgba(45, 42, 130, 0.07) !important;
transition: all 0.5s ease !important;
pointer-events: none !important;
}

.s-reviews-testimonial::after {
content: "" !important;
position: absolute !important;
top: -100% !important;
left: -60% !important;
width: 35% !important;
height: 300% !important;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.28),
transparent
) !important;
transform: rotate(25deg) !important;
transition: left 0.7s ease !important;
pointer-events: none !important;
z-index: 2 !important;
}

.s-reviews-testimonial:hover {
transform: translateY(-4px) !important;
border-color: rgba(45, 42, 130, 0.25) !important;
box-shadow:
0 12px 25px rgba(45, 42, 130, 0.14),
0 0 15px rgba(106, 106, 105, 0.08) !important;
}

.s-reviews-testimonial:hover::before {
transform: scale(1.4) !important;
background: rgba(45, 42, 130, 0.11) !important;
}

.s-reviews-testimonial:hover::after {
left: 120% !important;
}


/* ================================
SECTION TITLES - UNIFIED (FIXED)
================================ */

.zina-categories h2,
.s-slider-block__title-right h2,
.s-block--brand h2,
.s-reviews-header,
.s-block--bundle-questions h2 {
position: relative !important;
width: fit-content !important;
margin: 0 auto 32px !important;
text-align: center !important;
font-size: 1.5rem !important;
font-weight: 600 !important;
line-height: 1.5 !important;
padding: 0 0 14px 0 !important;
color: var(--color-text-theme) !important;
}

.zina-categories h2::before,
.s-slider-block__title-right h2::before,
.s-block--brand h2::before,
.s-reviews-header::before,
.s-block--bundle-questions h2::before {
content: "" !important;
position: absolute !important;
left: 50% !important;
bottom: 0 !important;
transform: translateX(-50%) !important;
width: 100% !important;
min-width: 120px !important;
height: 1px !important;
background: linear-gradient(
90deg,
transparent,
#6a6a69 20%,
#2d2a82 50%,
#6a6a69 80%,
transparent
) !important;
}

.zina-categories h2::after,
.s-slider-block__title-right h2::after,
.s-block--brand h2::after,
.s-reviews-header::after,
.s-block--bundle-questions h2::after {
content: "🛞" !important;
position: absolute !important;
left: 50% !important;
bottom: -9px !important;
transform: translateX(-50%) !important;
width: 40px !important;
height: 18px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
background: #ffffff !important;
color: #2d2a82 !important;
font-size: 15px !important;
line-height: 1 !important;
z-index: 2 !important;
}


/* ================================
SLIDER TITLES
================================ */

.s-slider-block__title {
justify-content: center !important;
align-items: center !important;
}

.s-slider-block__title-nav,
.lp-title__overline,
.s-block--bundle-questions .lp-title {
display: none !important;
}


/* ================================
BUNDLE QUESTIONS
================================ */

.s-block.s-block--bundle-questions > salla-questions-q4q0tt,
.s-block.s-block--bundle-questions > salla-questions-q4q0tt > div {
margin-top: 0rem !important;
padding-top: 0 !important;
}

salla-reviews {
margin-bottom: 2.5rem !important;
}


/* ================================
FAQ ITEM
================================ */

.faq-item {
position: relative !important;
background: #ffffff !important;
border-radius: 16px !important;
border: 1px solid rgba(45, 42, 130, 0.1) !important;
box-shadow:
0 1px 2px rgba(45, 42, 130, 0.05),
0 4px 8px rgba(45, 42, 130, 0.06),
0 12px 24px rgba(45, 42, 130, 0.08) !important;
transition: all 0.4s ease !important;
}

.faq-item:hover {
border-color: rgba(45, 42, 130, 0.25) !important;
box-shadow:
0 2px 4px rgba(45, 42, 130, 0.08),
0 8px 16px rgba(45, 42, 130, 0.12),
0 20px 40px rgba(45, 42, 130, 0.15) !important;
transform: translateY(-4px) !important;
}


/* ================================
CUSTOM ZINA SLIDER PRODUCT
================================ */

.custom-zina-slider-product salla-slider .swiper.s-slider-container.swiper-initialized.swiper-horizontal .swiper-wrapper.s-slider-swiper-wrapper {
justify-content: center !important;
}


/* ================================
FOOTER - MOBILE CENTER
================================ */

@media (max-width: 768px) {
footer > div.store-footer__inner salla-contacts div,
footer > div.store-footer__inner salla-contacts,
footer > div.store-footer__inner salla-contacts > div,
footer > div.store-footer__inner > div > div:nth-child(2) {
justify-content: center !important;
margin: auto !important;
text-align: center !important;
}
}


/* ================================
STAGGERED ANIMATION
================================ */

.stagger-item {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.from-right {
transform: translateX(30px);
}

.stagger-item.from-left {
transform: translateX(-30px);
}

.stagger-item.from-bottom {
transform: translateY(30px);
}

.stagger-item.is-visible {
opacity: 1;
transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
.stagger-item {
opacity: 1 !important;
transform: none !important;
transition: none !important;
}
}

/* *** */

.zina-categories .swiper-wrapper {
margin-right: 8% !important;
}