.digiran-products{display:flex;gap:15px}.card{border:1px solid #ddd;padding:10px;border-radius:8px;width:200px}
.digiran-brand-extra { margin-top: 40px; }

/* .digiran-products {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    width: 220px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    border-radius: 8px;
}
*/
.digiran-swiper {
    padding: 20px 0;
}

.card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    text-align: center;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.card h4 {
    font-size: 14px;
    margin-top: 8px;
}

.custom-brand-page .brand-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.brand-header__left h1 { font-size: 28px; margin-bottom: 10px; }
.brand-header__left .brand-meta { font-size: 13px; color: #555; }

.brand-header__right img { 
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    margin-left: 20px;
 }

.brand-content { margin-bottom: 40px; font-size: 16px; line-height: 1.6; }

.digiran-product-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    margin-top: -20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-slide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.brand-card { 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* height: 280px; */
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    /* padding: 10px; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-left: 16px;
 }
.brand-card img { 
    width: 100%;
    height: 275px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 10px; 
}
.brand-card h4 { font-size:14px; margin-bottom:5px; }
.brand-card .brand-btn { 
    padding:6px 12px;
    font-size: 13px;
    background:#feb638;
    border-radius:6px;
    text-decoration:none;
    color:#0c0d0e;
    transition:0.3s;
    margin-top: 10px;
    width: 100px;
}
.brand-card .brand-btn:hover { background:#000; color:#fff; }

.digiran-product-carousel, .swiper-container {overflow: hidden !important;}
.digiran-product-carousel__item {
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content: flex-start;
    height: 280px; /* ارتفاع ثابت */
    border:1px solid rgba(0,0,0,.06);
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    /* padding:10px; */
    box-shadow:0 2px 5px rgba(0,0,0,0.05);
}
.digiran-product-carousel__item img{
    max-width: 100%;
    max-height: 190px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 10px;
}

.digiran-product-carousel__content{
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    margin-top: -20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

.digiran-product-carousel__content h4{
    font-weight:600;
    font-size: 14px;
    margin: 0 0 8px 0;
    color: #333;
}

.digiran-product-carousel__button{
    padding:6px 12px;
    font-size: 13px;
    background:#feb638;
    border-radius:6px;
    text-decoration:none;
    color:#0c0d0e;
    transition:0.3s;
    width: 100px;
}

.digiran-product-carousel__button:hover{
    background:#000;
    color:#fff;
}
.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, -30px) !important;
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}
.product-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:15px; }
.product-grid img { width:100%;height:185px;object-fit:cover;border-radius:8px;margin-bottom:5px; }
.product-card h4 { font-size:14px;margin:0;line-height:1.4; }
.pagination span { background: #ddd;padding: 4px 8px;border-radius: 4px;margin:0 5px; }
.pagination a { background: #0073aa;padding: 4px 8px;border-radius: 4px;margin:0 5px;text-decoration:none;color:#fff; }
.pagination a:hover { text-decoration:underline; }
.accordion-content { display: none; padding-left: 10px; margin-bottom: 10px; }
.accordion-header { cursor: pointer; background: #f5f5f5; padding: 10px 10px; border-radius: 4px; margin-bottom: 5px;font-size: 13px; }
.product-archive-page .container { display:flex; flex-wrap:wrap; gap:20px; }
.product-sidebar { width:250px; }
.product-archive-content { flex:1; }
.product-card { position: relative; background:#fff;border: 1px solid rgba(0, 0, 0, .06); border-radius:12px; overflow:hidden;box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); }
.product-ribbon, .digiran-product-carousel__item .product-ribbon {
    position: absolute;
    top: 18px;
    left: -28px;
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 40px;
    transform: rotate(-45deg);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}
.product-card .brand-btn { 
    padding:6px 12px;
    font-size: 13px;
    background:#feb638;
    border-radius:6px;
    text-decoration:none;
    color:#0c0d0e;
    transition:0.3s;
    margin-top: 10px;
    width: 100px;
}
.product-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}

@media(max-width:1024px){
    .product-grid { grid-template-columns:repeat(2,1fr); }
}

@media(max-width:700px){
    .container { flex-direction:column; }
    .product-sidebar { width:100%; order:2; }
    .product-archive-content { order:1; }
    .product-grid { grid-template-columns:repeat(2,1fr); }
}