/** Shopify CDN: Minification failed

Line 885:2 Expected ":"
Line 886:2 Expected ":"
Line 887:2 Expected ":"

**/
.collections-list .halo-block-header .collection-list-title {
	color: var(--color);
	font-size: var(--font-size);
	font-weight: var(--font-weight);
	margin: 0;
	margin-bottom: var(--margin-bottom);
	line-height: 1;
}

.collections-list .collection-view-all {
	color: var(--color-view-all-style);
	font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.5em;
}

.collections-list .collection-list {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem 3rem;
    padding: 0;
}

.collections-list .collection-list li {
	list-style: none;
}

.collections-list .card__content .card__heading {
	letter-spacing: var(--body-letter-spacing);
	line-height: 1;
	margin-top: 25px;
}

.collections-list .card__content .full-unstyled-link {
	line-height: 1;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

/* Collection List Style 2 */
.collections-list .collection-list-slider.style_2 .collection-list {
	display: flex;
	max-width: 100%;
    width: 100%;
    grid-gap: 0;
    flex-wrap: wrap;
}

.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item {
	max-width: 100%;
    width: 100%;
}

.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item:nth-child(6n+1),
.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item:nth-child(6n+2),
.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item:nth-child(6n+3),
.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item:nth-child(6n+4),
.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item:nth-child(6n+5),
.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item:nth-child(6n+6) {
	padding: 0;
	margin-top: 0;
}

.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item:nth-child(6n+3) .placeholder-svg {
	height: auto;
}

.collections-list .collection-list-slider.style_2 .collection-card-wrapper {
	position: relative;
}

.collections-list .collection-list-slider:not(.collection-list-slider--mobile).style_2 .collection-card-wrapper .card__content {
	position: absolute;
    bottom: 20px;
    left: 25px;
    z-index: 1;
}

.collections-list .collection-list-slider.style_2 {
	margin-right: calc(-1 * var(--grid-gap));
}

.collections-list .collection-list-slider--mobile .collection-list__item {
	margin-right: var(--grid-gap);
}

.collections-list .block-header--style2 .button {
	width: fit-content;
	min-width: var(--min-width);
	margin: 0;
}

@keyframes animateMarquee {
  from {
	transform: translateX(0);
  }

  to {
	transform: translateX(-100%);
  }
}

.collection-card-wrapper .collection-badge {
  right: -60%;
  bottom: auto;
  background: var(--badge-background , #fff);
  top: 0;
  transform: rotate3d(0, 0, 1, 45deg);
  transition: all .3s ease;
  color: var(--badge-color, #000);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.collection-card-wrapper .banner-badge {
  transition: all .3s ease;
}

.collection-card-wrapper .banner-badge--show {
  top: 0;
  left: 7%;
  width: 100%;
  height: 100%;
}

.collection-card-wrapper:hover .banner-badge--show,
.collection-card-wrapper .banner-badge--hide {
  opacity: 0;
  visibility: hidden;
}

.collection-card-wrapper:hover .banner-badge--hide {
  opacity: 1;
  visibility: visible;
}

.collection-card-wrapper .collection-badge .badge-box {
  padding: 9px 0;
}

.collection-card-wrapper .collection-badge .banner-badge {
  flex: 0 0 auto;
  will-change: transform, width;
}

.collection-card-wrapper:hover .collection-badge .banner-badge {
  -webkit-animation: animateMarquee 25s linear infinite;
  animation: animateMarquee 25s linear infinite;
}

@media screen and (max-width: 1024px) {
	.collections-list .card__content .card__heading {
	    margin-top: 17px;
	}

	.collections-list .collection-list-slider.style_2 .collection-card-wrapper .card__content {
	    bottom: 10px;
	}

	.collections-list .block-header--style2 .button {
		min-width: calc(var(--min-width) - 20px);
	}

	.collections-list .halo-block-header {
		margin: 0 0 48px;
	}

	.collection-card-wrapper .collection-badge {
	  right: -58%;
	  top: 2%;
	}

	body .collections-list .collection-list-slider--mobile.style_2 .collection-list .collection-list__item {
		margin-bottom: 37px;
	}
}

@media screen and (max-width: 992px) {
	.collections-list .halo-block-header .collection-list-title {
	    font-size: var(--font-size-mb) !important;
	    margin-bottom: var(--margin-bottom-mb);
	}

	.collections-list .collection-list {
	    grid-template-columns: repeat(1, 1fr);
	}

	.collections-list .collection-list li:nth-child(6n+1) {
		padding: 2rem 14.8rem 0rem 3.5rem;
	}

	.collections-list .collection-list li:nth-child(6n+2) {
		padding: 3.8rem 3.5rem 0 26.1rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) {
		padding: 3.8rem 20.4rem 0 3.5rem;
	}

	.collections-list .collection-list li:nth-child(6n+4) {
		padding: 3.8rem 3.5rem 0 26.1rem;
	}

	.collections-list .collection-list li:nth-child(6n+5) {
		padding: 3.8rem 14.9rem 0 3.5rem;
	}

	.collections-list .collection-list li:nth-child(6n+6) {
	    padding: 3.8rem 3.5rem 0 26.1rem;
	}

	.collections-list .block-header--style2 {
        flex-direction: column;
	}
}

@media screen and (max-width: 551px) {
	.collections-list .collection-list {
		overflow: hidden;
	}

	.collections-list .card__content .card__heading {
	    margin-top: 18px;
	}

	.collections-list .halo-block-header {
		margin: 0 0 35px;
	}

	.collections-list .collection-list li:nth-child(6n+1) {
		padding: 2rem 5.4rem 0rem 0;
	}

	.collections-list .collection-list li:nth-child(6n+2) {
		padding: 3.8rem 0 0 9.5rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) {
		padding: 3.8rem 8.5rem 0 0;
	}

	.collections-list .collection-list li:nth-child(6n+4) {
		padding: 3.8rem 0 0 6.3rem;
	}

	.collections-list .collection-list li:nth-child(6n+5) {
		padding: 3.8rem 5.5rem 0 0;
	}

	.collections-list .collection-list li:nth-child(6n+6) {
	    padding: 3.8rem 0 0 9.5rem;
	}
	
	.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item {
		margin-bottom: 10px;
	}

	.collections-list .collection-list-slider--mobile.style_2 .slick-arrow.slick-next {
		right: var(--grid-gap);
	}

	.collections-list .halo-block-header .button {
		padding-top: var(--btn-1-padding-top)!important;
    	padding-bottom: var(--btn-1-padding-bottom)!important;
	}

	body .collections-list .collection-list-slider--mobile.style_2 .collection-list .collection-list__item {
		margin-bottom: 34px;
	}
}

@media screen and (min-width: 551px) {
	.collections-list .collection-list-slider.style_2{
		margin-right: calc(-1 * var(--grid-gap) * 0.8);
	}
	.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item {
		max-width: calc(50% - var(--grid-gap) * 0.8);
	    width: calc(50% - var(--grid-gap) * 0.8);
	    margin-bottom: 10px;
		margin-right: calc(var(--grid-gap) * 0.8);
	}

	.collections-list .collection-list-slider--mobile.style_2 .collection-list .collection-list__item {
		margin-bottom: 36px;
	}
}

@media screen and (min-width: 991px) {
	.collections-list .collection-list li:nth-child(6n+1) {
		padding: 2rem 0 0rem 0;
	}

	.collections-list .collection-list li:nth-child(6n+2) {
		padding: 0 4rem 0 12.6rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) {
		padding: 5rem 0 0 18.1rem;
	}

	.collections-list .collection-list li:nth-child(6n+4) {
		padding: 0 0 0 6.3rem;
	    margin-top: -16rem;
	}

	.collections-list .collection-list li:nth-child(6n+5) {
		padding: 5.3rem 18.1rem 0 0;
	    margin: 0;
	}

	.collections-list .collection-list li:nth-child(6n+6) {
	    padding: 0 2rem 0 6.3rem;
		margin-top: -10.6rem;
	}
}

@media screen and (min-width: 1025px) {
	.collections-list.enable_heading_sticky .container-full {
		overflow: clip;
	}

	.collections-list.enable_heading_sticky .halo-block-header {
		position: sticky;
		top: 12%;
		z-index: 3;
		mix-blend-mode: difference;
	}

	.collections-list .collection-view-all:hover {
		color: var(--color-hover-view-all-style);
	}

	/* Collection List Style 2 */
	.collections-list .collection-list-slider.style_2 .collection-card-wrapper .media .image:after {
		content: "";
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        opacity: 0;
        visibility: hidden;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%);
        transition: var(--anchor-transition);
	}

	.collections-list .collection-list-slider.style_2 .collection-card-wrapper:hover .media .image:after {
		opacity: 1;
		visibility: visible;
	}
}

@media screen and (min-width: 1200px) {
	.collections-list .collection-list li:nth-child(6n+1) {
		padding: 2rem 2.1rem 0rem 0;
	}

	.collections-list .collection-list li:nth-child(6n+2) {
		padding: 0 6rem 0 14.6rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) {
		padding: 7rem 0 0 24.1rem;
	}

	.collections-list .collection-list li:nth-child(6n+4) {
		padding: 0 0 0 8.3rem;
	    margin-top: -18rem;
	}

	.collections-list .collection-list li:nth-child(6n+5) {
		padding: 7.3rem 20.1rem 0 0;
	    margin: 0;
	}

	.collections-list .collection-list li:nth-child(6n+6) {
	    padding: 0 4rem 0 8.3rem;
		margin-top: -12.6rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) .placeholder-svg {
		height: 430px;
	}

	.collections-list .collection-list-slider.style_2 {
		margin-right: calc(-1* var(--grid-gap));
	}

	.collections-list .collection-list-slider.style_2 .collection-list .collection-list__item {
		max-width: calc(100% / var(--item-per-row) - var(--grid-gap));
		width: calc(100% / var(--item-per-row) - var(--grid-gap));
	    margin-bottom: 0;
		margin-right: var(--grid-gap);
        padding: 0 !important;
	}
}

@media screen and (min-width: 1300px) {
	.collections-list .collection-list li:nth-child(6n+3) .placeholder-svg{
		height: 430px;
	}
}

@media screen and (min-width: 1500px) {
	.collections-list .collection-list li:nth-child(6n+1) {
		padding: 2rem 6.1rem 0rem 0;
	}

	.collections-list .collection-list li:nth-child(6n+2) {
		padding: 0 8rem 0 22.6rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) {
		padding: 9rem 0 0 26.1rem;
	}

	.collections-list .collection-list li:nth-child(6n+4) {
		padding: 0 0 0 10.3rem;
	    margin-top: -20rem;
	}

	.collections-list .collection-list li:nth-child(6n+5) {
		padding: 9.3rem 23.1rem 0 0;
	    margin: 0;
	}

	.collections-list .collection-list li:nth-child(6n+6) {
	    padding: 0 6rem 0 10.3rem;
		margin-top: -15.6rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) .placeholder-svg {
		height: 520px;
	}
}

@media screen and (min-width: 1700px) {
	.collections-list .collection-list li:nth-child(6n+1) {
		padding: 2rem 8.1rem 0rem 0;
	}

	.collections-list .collection-list li:nth-child(6n+2) {
		padding: 0 10rem 0 24.6rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) {
		padding: 11rem 0 0 28.1rem;
	}

	.collections-list .collection-list li:nth-child(6n+4) {
		padding: 0 0 0 12.3rem;
	    margin-top: -22rem;
	}

	.collections-list .collection-list li:nth-child(6n+5) {
		padding: 11.3rem 25.1rem 0 0;
	    margin: 0;
	}

	.collections-list .collection-list li:nth-child(6n+6) {
	    padding: 0 8rem 0 12.3rem;
		margin-top: -17.6rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) .placeholder-svg {
		height: 585px;
	}
}

@media screen and (min-width: 1900px) {
	.collections-list .collection-list li:nth-child(6n+1) {
		padding: 7rem 10rem 0rem 0;
	}

	.collections-list .collection-list li:nth-child(6n+2) {
		padding: 0 12rem 0 26.5rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) {
		padding: 13rem 0 0 30rem;
	}

	.collections-list .collection-list li:nth-child(6n+4) {
		padding: 0 0 0 14.2rem;
	    margin-top: -26.8rem;
	}

	.collections-list .collection-list li:nth-child(6n+5) {
		padding: 13.3rem 27rem 0 0;
	    margin: 0;
	}

	.collections-list .collection-list li:nth-child(6n+6) {
	    padding: 0 10rem 0 14.2rem;
		margin-top: -22.4rem;
	}

	.collections-list .collection-list li:nth-child(6n+3) .placeholder-svg {
		height: 685px;
	}
}

@media screen and (min-width: 2100px) {
	.collections-list .collection-list li:nth-child(6n+3) .placeholder-svg {
		height: 785px;
	}
}

@media screen and (min-width: 2300px) {
	.collections-list .collection-list li:nth-child(6n+3) .placeholder-svg {
		height: 850px;
	}
}

@media screen and (min-width: 2400px) {
	.collections-list .collection-list li:nth-child(6n+3) .placeholder-svg {
		height: 900px;
	}
}

@media screen and (min-width: 2500px) {
	.collections-list .collection-list li:nth-child(6n+3) .placeholder-svg {
		height: 950px;
	}
}

/* ============================================= */
/* ====== كود التصميم الزجاجي (النسخة V4 - إصلاح العنوان السفلي) ====== */
/* ============================================= */

/* [الإصلاح 1: إظهار العنوان السفلي] */
/* هذا يلغي الكود القديم الذي كان يخفي العنوان */
.collections-list .card__content {
    display: block !important;
    padding: 15px 10px;
    text-align: center;
    /* [جديد] أنيميشن لإخفائه عند الهوفر */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
}
.collections-list .card__content .card__heading {
    margin-top: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}
.collections-list .card__content .full-unstyled-link {
    display: none !important; /* إخفاء أي روابط إضافية */
}


/* الرابط الرئيسي للكارد */
.collections-list .glass-card__link-wrapper {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    /* [الإصلاح 2: استعادة البوردر ريديس الأصلي] */
    border-radius: 50px 0px 50px 50px;
}

/* تجهيز الكارد */
.collections-list .card-wrapper.glass-card {
    transition: transform 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: none !important;
}

/* تنسيق الصورة */
.collections-list .glass-card .glass-card__media .media img {
    display: block;
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* تنسيق العنصر النائب (Placeholder) */
.collections-list .glass-card .glass-card__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
}

/* ====================================================
== [الإصلاح 3: إخفاء الشريط الأسود] ==
====================================================
*/

/* الطبقة الزجاجية - مخفية تماماً بالأساس */
.collections-list .glass-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%; /* اجعله 100% دائماً */
    
    /* [التعديل] مخفي بالأساس ولا يظهر إلا عند الهوفر */
    opacity: 0; 
    visibility: hidden; 
    
    background: rgba(0, 0, 0, 0.2); 
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    
    display: flex;
    justify-content: center; 
    align-items: center; 
    
    color: #fff;
    z-index: 2;
    transition: all 0.4s ease;
}

/* المحتوى (العنوان) داخل الشريط - مخفي أيضاً */
.collections-list .glass-overlay .content {
    opacity: 0;
    text-align: center; 
    padding: 1rem;
    width: 100%;
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
}

/* تنسيق العنوان H3 (داخل الـ overlay) */
.collections-list .glass-overlay .content .card__heading {
    font-size: 1.5rem !important; 
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    margin: 0 !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
    text-transform: none !important;
    text-align: center;
}

/* إخفاء الزر واللمعة في الحالة العادية (كما كان) */
.collections-list .glass-overlay .content .glass-button,
.collections-list .glass-overlay .light-sweep {
    display: none;
    opacity: 0;
    visibility: hidden;
}

/* ====================================================
== [الإصلاح 4: منطق الهوفر الصحيح] ==
====================================================
*/

@media (min-width: 768px) {
    
    /* استخدام .grid__item:hover لضمان استهداف الحاوية بالكامل */

    /* 1. تكبير الصورة عند الهوفر */
    .collections-list .grid__item:hover .glass-card .glass-card__media .media img {
        transform: scale(1.05);
    }

    /* 2. إظهار الـ overlay الزجاجي عند الهوفر */
    .collections-list .grid__item:hover .glass-overlay {
        opacity: 1; 
        visibility: visible;
    }

    /* 3. إظهار محتوى الـ overlay عند الهوفر */
    .collections-list .grid__item:hover .glass-overlay .content {
        animation: fadeInUp 0.6s ease forwards;
        opacity: 0; 
    }

    /* 4. [جديد] إخفاء العنوان السفلي عند الهوفر */
    .collections-list .grid__item:hover .card__content {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* إظهار الزر عند الهوفر (كما كان) */
    .collections-list .grid__item:hover .glass-overlay .content .glass-button {
        display: inline-block;
        opacity: 1;
        visibility: visible;
        background: rgba(102, 0, 153, 0.5); 
        border: 1px solid rgba(255, 255, 255, 0);
        color: white;
        padding: 0.6rem 1.3rem;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 500;
        font-size: 1rem;
        transition: background 0.4s ease;
    }

    .collections-list .grid__item:hover .glass-overlay .content .glass-button:hover {
        background: rgba(102, 0, 153, 0.8);
    }

    /* إظهار اللمعة عند الهوفر (كما كان) */
    .collections-list .grid__item:hover .glass-overlay .light-sweep {
        display: block;
        opacity: 1;
        visibility: visible;
        content: "";
        position: absolute;
        top: 0;
        left: -150%;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
        transform: skewX(-25deg);
        pointer-events: none;
        z-index: 2;
        animation: lightSweepAnim 1.5s ease-in-out;
    }
}

/* ====================================================
== تعديلات الموبايل (أقل من 768px) ==
====================================================
*/

@media (max-width: 767px) {
    /* العنوان السفلي في الموبايل */
    .collections-list .card__content .card__heading {
        font-size: 1rem !important; /* خط أصغر للموبايل */
    }
}


/* أنيميشن اللمعة */
@keyframes lightSweepAnim {
    from { left: -150%; }
    to { left: 150%; }
}

/* أنيميشن ظهور المحتوى عند الهوفر */
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ============================================= */
/* ====== [الإصلاح 5: حجم الكروت والشبكة] ====== */
/* ============================================= */

.collections-list .glass-collections-grid {
    display: grid;
    /* [جديد] توسيط الكروت في السطر الأخير */
    justify-content: center;
    
    /* [الإصلاح] تحديد عدد أعمدة ثابت (6) وتصغير الحجم بزيادة الفجوة */
    grid-template-columns: repeat(6, 1fr); /* 6 أعمدة ثابتة */
    gap: 25px; /* زيادة الفجوة لتصغير الكروت */
    
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 4 أعمدة للتابلت */
@media (max-width: 1199px) {
    .collections-list .glass-collections-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* عمودين للموبايل */
@media (max-width: 767px) {
    .collections-list .glass-collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.collections-list .glass-collections-grid .grid__item {
    width: 100%;
}

/* [الإصلاح 2: استعادة البوردر ريديس الأصلي] */
.collections-list .card-wrapper {
    border-radius: 50px 0px 50px 50px !important;
    overflow: hidden;
}

.collections-list .card-wrapper .card__media {
    border-radius: inherit;
    overflow: hidden;
}

/* [الإصلاح 2] مطابقة بوردر الصورة مع البوردر الأصلي */
.collections-list .card-wrapper .card__media .media img {
    border-radius: inherit;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px 0px 50px 50px !important; 
}

.collections-list .card-wrapper .card {
    padding: 0 !important;
}

/* لإلغاء أنماط الـ Masonry (style_1) القديمة */
.collections-list .collection-list {
    display: grid !important;
    grid-template-columns: none !important;
    grid-gap: 0 !important;
}
.collections-list .collection-list li {
    padding: 0 !important;
    margin: 0 !important;
}

/* ======================================================== */
/* ====== [FIX V5] - إصلاح إظهار العنوان السفلي كرابط ====== */
/* ======================================================== */

/* هذا الكود يقوم بإلغاء إخفاء الرابط من V4 ويضمن 
  أن العنوان السفلي يظهر كرابط ويختفي عند الهوفر 
*/

/* 1. إظهار الرابط الذي تم إخفاؤه في V4 */
.collections-list .card__content .full-unstyled-link {
    display: inline !important; 
    text-decoration: none !important;
    color: inherit !important; 
}

/* 2. تنسيق الهيدينج (العنوان) نفسه ليتطابق مع تصميمك */
.collections-list .card__content .card__heading {
    margin-top: 0 !important;
    font-size: 1.1rem !important; 
    font-weight: 500 !important;
    color: #333 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    /* التأكد من أنه ظاهر بالأساس */
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* 3. ضمان أن الرابط داخل الهيدينج يرث التنسيقات */
.collections-list .card__content .card__heading a.full-unstyled-link {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    text-decoration: none !important;
}

/* 4. التأكيد على أن العنوان السفلي يختفي عند الهوفر (من V4) */
@media (min-width: 768px) {
    .collections-list .grid__item:hover .card__content {
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* ============================================================ */
/* ====== FIX V2: 1570px Width + 8 Desktop + 4 Mobile ========= */
/* ============================================================ */

/* 1. الحاوية الرئيسية */
.container-custom-1570 {
    max-width: 1570px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 auto;
    width: 100%;
}

/* 2. ضبط الشبكة وتوسيط العناصر */
.collections-list .glass-collections-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important; /* مسافة عامة */
}

/* 3. تحجيم البلوكات */
.collections-list .glass-collections-grid .grid__item {
    max-width: 200px !important; /* سقف للحجم لمنع التضخم */
    flex-grow: 0 !important;
}

/* --- الشاشات الكبيرة (Desktop) - 8 بلوكات --- */
@media (min-width: 1400px) {
    .collections-list .glass-collections-grid .grid__item {
        width: calc(12.5% - 9px) !important;
    }
}

/* --- لابتوب (Laptop) - 6 بلوكات --- */
@media (min-width: 1025px) and (max-width: 1399px) {
    .collections-list .glass-collections-grid .grid__item {
        width: calc(16.66% - 9px) !important;
    }
}

/* --- تابلت (Tablet) - 5 بلوكات (للحفاظ على الصغر) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    .collections-list .glass-collections-grid .grid__item {
        width: calc(20% - 8px) !important;
    }
}

/* --- موبايل (Mobile) - التعديل الجديد: 4 بلوكات --- */
@media (max-width: 767px) {
    .collections-list .glass-collections-grid {
        gap: 6px !important; /* تقليل المسافة في الموبايل لتوفير مساحة */
    }

    .collections-list .glass-collections-grid .grid__item {
        /* إجبار المتصفح على وضع 4 عناصر */
        max-width: none !important; /* إلغاء الحد الأقصى هنا لأننا نتحكم بالنسب */
        width: calc(25% - 5px) !important; 
        flex: 0 0 calc(25% - 5px) !important;
    }

    /* تنسيق الخط ليناسب الحجم الصغير جداً */
    .collections-list .card__content .card__heading {
        font-size: 10px !important; /* خط صغير ليناسب العرض */
        padding: 5px 2px;
        white-space: nowrap; /* منع نزول النص لسطرين */
        overflow: hidden; /* قص النص الزائد */
        text-overflow: ellipsis; /* وضع ... إذا كان النص طويلاً */
    }
    
    .container-custom-1570 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* 4. منع الصور من التشوه */
.collections-list .card-wrapper .card__media .media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* نسبة مربعة لضمان شكل أيقوني جميل */
    aspect-ratio: 1 / 1; 
}