/* =========================================================
   Volée | فولي — طبقة الهوية فوق ثيم لوكس (v3 · 2026-11-29)
   المرجع: site/homepage.md + brand/visual-identity.md
   ========================================================= */

/* ترتيب أقسام الرئيسية (لا تغيّروه بدون تحديث هذا الملف): 1 الواجهة · 2 عنوان تسوّق حسب الرياضة · 3 بطاقات الرياضات · 4 اختيارنا · 5 المحل · 6 الأوتار · 7 شريط الثقة · 8 محتار وش يناسبك */
:root{
  --v-sand:#F2EEE6; --v-sand2:#E9E4DA; --v-line:#D9D3C7;
  --v-char:#1C1C1A; --v-terra:#B4532E; --v-grey:#5A5650;
  --buttons-border-radius:999px;            /* أزرار دائرية ناعمة */
}

/* 1) خلفية رملية لكل الصفحات */
html, body, .main-wrapper, .main-content, .main, .home{ background:var(--v-sand) !important; }

/* 2) الأزرار */
aui-button::part(button-contained),
aui-button::part(button-outlined){ padding:14px 28px; font-weight:500; font-size:15px; }

/* 3) الواجهة */
.media-slider-section{ padding-top:16px !important; padding-bottom:0 !important; }
.media-slider-section .slide-item{ border-radius:20px; overflow:hidden; }
.media-slider-section .slide-content .title{
  font-size:clamp(40px,5vw,72px) !important; font-weight:600 !important;
  line-height:1.1 !important; color:var(--v-char) !important; margin-bottom:12px;
}
.media-slider-section .slide-content .description{
  font-size:clamp(16px,1.4vw,20px) !important; line-height:1.6; color:var(--v-grey) !important; margin-bottom:20px;
}
@media (max-width:1023px){
  .media-slider-section .slide-content{ padding:28px 20px 8px !important; }
}

/* 4) عنوان "تسوّق حسب الرياضة" */
body .home > section:nth-of-type(2){ background:transparent !important; padding-top:96px !important; padding-bottom:0 !important; }
body .home > section:nth-of-type(2) .paragraph-section__inner{ align-items:center !important; text-align:center !important; }
body .home > section:nth-of-type(2) .paragraph-section__title{ font-size:32px !important; font-weight:600 !important; margin:0 !important; }

/* 5) بطاقات الرياضات: ٣ بطاقات كبيرة بنفس العرض */
body .home > section:nth-of-type(3){ padding-top:32px !important; }
body .home > section:nth-of-type(3) swiper-slide{ width:calc((100% - 60px) / 3) !important; }
body .home > section:nth-of-type(3) swiper-container::part(button-prev),
body .home > section:nth-of-type(3) swiper-container::part(button-next){ display:none !important; }
body .home > section:nth-of-type(3) swiper-slide a{ display:block; width:100%; }
body .home > section:nth-of-type(3) img{
  width:100% !important; height:auto !important; aspect-ratio:4/5; object-fit:cover; border-radius:16px !important;
}
body .home > section:nth-of-type(3) .slide-content{ align-items:center !important; text-align:center; padding-top:14px !important; }
body .home > section:nth-of-type(3) .slide-content p{ font-size:22px !important; font-weight:600 !important; color:var(--v-char); }
@media (max-width:767px){
  body .home > section:nth-of-type(3) swiper-slide{ width:calc((100% - 24px) / 3) !important; margin-inline-end:12px !important; }
  body .home > section:nth-of-type(3) img{ border-radius:12px !important; }
  body .home > section:nth-of-type(3) .slide-content p{ font-size:15px !important; }
  body .home > section:nth-of-type(3){ padding-top:20px !important; }
  body .home > section:nth-of-type(2){ padding-top:56px !important; }
  body .home > section:nth-of-type(2) .paragraph-section__title{ font-size:24px !important; }
}

/* 6) اختيارنا */
.products-slider-block{ padding-top:96px !important; }
@media (max-width:767px){ .products-slider-block{ padding-top:56px !important; } }

/* 7) المحل */
.media-text-section{ margin-top:96px !important; border-radius:20px; overflow:hidden; }
.media-text-section h2, .media-text-section .title{ font-size:clamp(26px,2.8vw,40px) !important; font-weight:600 !important; line-height:1.25 !important; }
.media-text-section .media-side{ max-height:620px; }
.media-text-section .media-side img{ height:100%; object-fit:cover; }
@media (max-width:767px){ .media-text-section{ margin-top:56px !important; border-radius:16px; } }

.paragraph-section__description{ white-space:pre-line; line-height:1.8 !important; }

/* 8) أوتارك عندنا */
body .home > section:nth-of-type(6){
  background:transparent !important; margin-top:96px; padding-top:56px !important; padding-bottom:56px !important;
  border-top:1px solid var(--v-line); border-bottom:1px solid var(--v-line);
}
body .home > section:nth-of-type(6) .paragraph-section__inner{
  display:grid !important; grid-template-columns:1fr auto; align-items:center; justify-items:start;
  text-align:start !important; column-gap:32px;
}
body .home > section:nth-of-type(6) .paragraph-section__title{ grid-column:1; font-size:32px !important; font-weight:600 !important; }
body .home > section:nth-of-type(6) .paragraph-section__description{ grid-column:1; color:var(--v-grey) !important; font-size:18px !important; }
body .home > section:nth-of-type(6) .paragraph-section__inner > div{ grid-column:2; grid-row:1 / span 2; margin:0 !important; }
@media (max-width:767px){
  body .home > section:nth-of-type(6){ margin-top:56px; padding-top:36px !important; padding-bottom:36px !important; }
  body .home > section:nth-of-type(6) .paragraph-section__inner{ grid-template-columns:1fr; row-gap:8px; }
  body .home > section:nth-of-type(6) .paragraph-section__inner > div{ grid-column:1; grid-row:auto; margin-top:12px !important; }
  body .home > section:nth-of-type(6) .paragraph-section__title{ font-size:24px !important; }
}

/* 9) شريط الثقة — يبنيه ملف JS */
body .home > section:nth-of-type(7){ background:transparent !important; padding-top:72px !important; padding-bottom:0 !important; }
body .home > section:nth-of-type(7) .paragraph-section__inner > div.flex{ display:none !important; }
.v-trust{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; width:100%; text-align:start; }
.v-trust__item{ display:flex; flex-direction:column; gap:10px; }
.v-trust__item svg{ width:28px; height:28px; stroke:var(--v-char); fill:none; stroke-width:1.4; }
.v-trust__item b{ font-size:17px; font-weight:600; color:var(--v-char); }
.v-trust__item span{ font-size:14px; color:var(--v-grey); }
@media (max-width:767px){ .v-trust{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 16px; } body .home > section:nth-of-type(7){ padding-top:44px !important; } }

/* 10) محتار وش يناسبك؟ */
body .home > section:nth-of-type(8){ border-radius:20px; margin-top:96px !important; margin-bottom:120px !important; padding:72px 24px !important; }
body .home > section:nth-of-type(8) .paragraph-section__title{ font-size:clamp(26px,2.8vw,40px) !important; font-weight:600 !important; }
body .home > section:nth-of-type(8) .paragraph-section__description{ font-size:18px !important; }
@media (max-width:767px){ body .home > section:nth-of-type(8){ margin-top:56px !important; margin-bottom:64px !important; padding:44px 20px !important; border-radius:16px; } }
/* 11) منع أي تمدد أفقي في الجوال */
@media (max-width:767px){ html, body{ overflow-x:hidden; } }

/* 12) صفحة التصنيف: التصنيفات الفرعية كبطاقات مرتبة */
.category-page .category.container{ max-width:1100px !important; margin-top:8px !important; margin-bottom:40px !important; }
.category-page .category aui-slider swiper-container::part(container){ overflow:visible; }
.category-page .category aui-slider swiper-container::part(wrapper){ display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; transform:none !important; }
.category-page .category aui-slider swiper-slide{ width:auto !important; margin:0 !important; }
.category-page .category aui-slider swiper-slide > div{ height:100%; }
.category-page .category aui-slider [class*="button"], .category-page .category aui-slider .swiper-button-prev, .category-page .category aui-slider .swiper-button-next,
.category-page .category aui-slider swiper-container::part(button-prev), .category-page .category aui-slider swiper-container::part(button-next){ display:none !important; }
.category-page a.category__item{
  display:flex !important; align-items:center !important; justify-content:center !important; text-align:center;
  min-height:84px; padding:16px !important; border-radius:16px; background:var(--v-sand2);
  font-size:17px; font-weight:600; color:var(--v-char) !important; white-space:normal; min-width:0 !important;
  transition:background .2s, color .2s;
}
.category-page a.category__item *{ font-size:inherit !important; font-weight:inherit !important; color:inherit !important; }
.category-page a.category__item:hover{ background:var(--v-char); color:var(--v-sand) !important; }
@media (max-width:767px){
  .category-page .category aui-slider swiper-container::part(wrapper){ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .category-page a.category__item{ min-height:64px; font-size:15px; }
}
/* 13) الإنجليزي (LTR): نص الواجهة يمين الرمز بدون تداخل */
@media (min-width:1024px){
  html[dir=ltr] .media-slider-section .slide-content{ left:auto !important; right:0 !important; width:38% !important; max-width:38% !important; text-align:left !important; align-items:flex-start !important; }
  html[dir=ltr] .media-slider-section .slide-content .title{ font-size:clamp(36px,3.4vw,54px) !important; }
  html[dir=ltr] .media-slider-section .slide-content .video-cta{ justify-content:flex-start !important; }
}