/* Peykar Frontend Styles */

.peykar-repeater-list {
    list-style: disc;
    padding-right: 20px;
    margin: 0;
}

.peykar-repeater-list li {
    margin-bottom: 8px;
}

.peykar-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.peykar-chapter-item {
    border-right: 3px solid #2271b1;
    padding-right: 16px;
}

.peykar-chapter-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #2271b1;
}

.peykar-sessions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.peykar-sessions-list li {
    padding: 8px 12px;
    background: #f6f7f7;
    border-radius: 4px;
    margin-bottom: 6px;
    position: relative;
    padding-right: 28px;
}

.peykar-sessions-list li::before {
    content: "▸";
    position: absolute;
    right: 10px;
    color: #2271b1;
    font-weight: bold;
}

/* Gallery Styles */
.peykar-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.peykar-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.peykar-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.peykar-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Filter Widget Styles */
.peykar-filter-widget {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.peykar-filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.peykar-filter-group:last-of-type {
    border-bottom: none;
}

.peykar-filter-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #333;
}

.peykar-filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.peykar-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.peykar-filter-option:hover {
    background: #f5f5f5;
}

.peykar-filter-option input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.peykar-filter-option span {
    font-size: 14px;
    color: #666;
}

.peykar-price-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.peykar-price-min,
.peykar-price-max {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.peykar-price-separator {
    font-weight: 600;
    color: #666;
}

.peykar-filter-apply,
.peykar-filter-reset {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.peykar-filter-apply {
    background: #2271b1;
    color: white;
}

.peykar-filter-apply:hover {
    background: #135e96;
}

.peykar-filter-reset {
    background: #f0f0f0;
    color: #666;
}

.peykar-filter-reset:hover {
    background: #e0e0e0;
}

.peykar-filter-loading {
    text-align: center;
    padding: 10px;
    color: #2271b1;
    font-weight: 600;
}
