.elporta-door-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}

.elporta-door-gallery {
    flex: 0 0 500px;
}

.elporta-door-main-image {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
}

.elporta-door-main-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.elporta-door-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.elporta-door-thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    padding: 5px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.elporta-door-thumbnail:hover {
    border-color: #0073aa;
}

.elporta-door-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elporta-door-info {
    flex: 1;
}

.elporta-door-title {
    font-size: 2em;
    margin: 0 0 20px;
    color: #333;
}

.elporta-door-meta {
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.elporta-door-meta > div {
    margin-bottom: 10px;
}

.elporta-door-meta > div:last-child {
    margin-bottom: 0;
}

.elporta-door-pricing {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.elporta-door-old-price {
    text-decoration: line-through;
    color: #999;
    margin-bottom: 10px;
}

.elporta-door-price {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.elporta-door-discount {
    color: #e44d26;
    font-weight: bold;
}

.elporta-door-options {
    margin-bottom: 30px;
}

.elporta-door-options h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.elporta-options-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.elporta-option-item {
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.option-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.option-price {
    color: #333;
    margin-bottom: 5px;
}

.option-label {
    color: #666;
    font-size: 0.9em;
}

.elporta-door-properties {
    margin-bottom: 30px;
}

.elporta-door-properties h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.property-group {
    margin-bottom: 20px;
}

.property-group h3 {
    margin-bottom: 10px;
    color: #333;
}

.property-value {
    padding: 5px 0;
    color: #666;
}

@media (max-width: 768px) {
    .elporta-door-container {
        flex-direction: column;
    }

    .elporta-door-gallery {
        flex: none;
    }
}

/* Archive Styles */
.elporta-archive-container {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.elporta-archive-header {
    margin-bottom: 40px;
}

.elporta-archive-title {
    font-size: 2em;
    color: #333;
    margin: 0;
}

/* Стили для сетки дверей */
.elporta-doors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.elporta-door-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    text-decoration: none;
}

.elporta-door-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.elporta-door-image {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.elporta-door-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.elporta-door-content {
    padding: 20px;
}

.elporta-door-title {
    margin: 0 0 10px;
    font-size: 1.2em;
}

.elporta-door-title a {
    color: #333;
    text-decoration: none;
}

.elporta-door-title a:hover {
    color: #0073aa;
}

.elporta-door-category {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.elporta-door-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.elporta-door-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.elporta-door-price .current-price {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}

/* Стили для пагинации */
.elporta-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    font-size: 16px;
}

.elporta-pagination a,
.elporta-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0 5px;
    padding: 0 10px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.elporta-pagination a:hover {
    background-color: #e0e0e0;
    color: #000;
}

.elporta-pagination span.current {
    background-color: #9A690F;
    color: white;
    font-weight: bold;
}

.elporta-pagination span.dots {
    background-color: transparent;
    color: #666;
    min-width: 20px;
    margin: 0 2px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .elporta-pagination {
        font-size: 14px;
    }
    
    .elporta-pagination a,
    .elporta-pagination span {
        min-width: 30px;
        height: 30px;
        margin: 0 3px;
        padding: 0 8px;
    }
}

.elporta-no-doors {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 4px;
    color: #666;
} 