/* ========================== */
/*  FULL WIDTH CATEGORY      */
/* ========================== */

/* كسر الكونتينر */
.custom-cat-wrapper {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(-50vw + 50%);
    padding: 0;
}

/* السكشن */
.cat-sec {
    padding: 100px 20px;
    background: #ffffff;
    direction: rtl;
}

/* الكونتينر الداخلي */
.cat-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* العنوان */
.cat-header {
    text-align: center;
    margin-bottom: 70px;
}

.cat-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: #d4a574;
    margin-bottom: 14px;
    display: block;
}

.cat-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cat-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
    margin: 0 auto;
}

/* الجريد */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-items: center;
}

/* العنصر */
.cat-item {
    text-align: center;
    text-decoration: none;
    transition: 0.4s ease;
}

.cat-item:hover {
    transform: translateY(-8px);
}

/* الدايرة */
.cat-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #f5f3ef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: 0.4s ease;
}

.cat-circle img {
    width: 65%;
    height: 65%;
    object-fit: contain;
}

.cat-item:hover .cat-circle {
    background: #f0ece5;
    box-shadow: 0 10px 30px rgba(212,165,116,0.2);
}

/* الاسم */
.cat-name {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    transition: 0.3s ease;
}

.cat-item:hover .cat-name {
    color: #d4a574;
}

/* Responsive */
@media (max-width: 1200px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 768px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 16px;
    }
}

@media (max-width: 480px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 14px;
    }
}

/* اخفاء من صفحة المنتج */
body[class*="product"] .custom-cat-wrapper {
    display: none !important;
}