/* === GORENJE DESCRIPTION CSS v2 === */
/* Wrapper class for PS detection: gor-description supplier_gorenje */
/* External file: loaded via header.tpl on product pages */

.gor-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 auto;
}
.gor-description * { box-sizing: border-box; }
.gor-description img { max-width: 100%; height: auto; }

/* Icon strip */
.gor-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0 0 32px;
    padding: 24px 16px;
    background: linear-gradient(135deg, #f7f8fa 0%, #f0f1f3 100%);
    border-radius: 12px;
    border: 1px solid #e0e2e6;
}
.gor-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 88px;
    text-align: center;
    padding: 10px 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
    background: #fff;
    border: 1px solid #e8e9ec;
}
.gor-icon-item:hover {
    background: #fff;
    border-color: #00b9ad;
    box-shadow: 0 2px 8px rgba(0,185,173,0.15);
}
.gor-icon-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 6px;
    filter: saturate(0.85);
}
.gor-icon-item span {
    font-size: 10.5px;
    color: #444;
    line-height: 1.25;
    font-weight: 500;
}
/* Zoom indicator — SVG magnifying glass, always visible on all zoomable elements */
.gor-zoomable {
    cursor: pointer;
    position: relative;
}
.gor-zoomable::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cline x1='14.5' y1='14.5' x2='20' y2='20'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.gor-zoomable:hover::after {
    opacity: 1;
}
/* Smaller badge on 52px secondary icons */
.gor-feat-icon.gor-zoomable::after {
    width: 16px;
    height: 16px;
    background-size: 11px;
    top: 2px;
    right: 2px;
}

/* Main features — larger cards, 2 columns */
.gor-features-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}
.gor-feature-main {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}
.gor-feature-main:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.gor-feature-main-img-wrap {
    position: relative;
    overflow: hidden;
}
.gor-feature-main-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    cursor: pointer;
}
/* Larger zoom badge on main feature images */
.gor-feature-main-img-wrap.gor-zoomable::after {
    width: 26px;
    height: 26px;
    background-size: 18px;
    top: 10px;
    right: 10px;
}
.gor-feature-main-body {
    padding: 16px;
    position: relative;
}
.gor-feature-main-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a1a;
    padding-right: 30px;
}
.gor-feature-main-short {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}
.gor-feature-main-full {
    display: none;
    font-size: 13px;
    color: #555;
    margin: 8px 0 0;
    line-height: 1.5;
    border-top: 1px solid #eee;
    padding-top: 8px;
}
.gor-feature-main-full.open {
    display: block;
}
.gor-detail-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #00b9ad;
    background: #fff;
    color: #00b9ad;
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
    font-family: Georgia, serif;
}
.gor-detail-btn:hover, .gor-detail-btn.active {
    background: #00b9ad;
    color: #fff;
}

/* Zoom overlay */
.gor-zoom-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    cursor: zoom-out;
    align-items: center;
    justify-content: center;
}
.gor-zoom-overlay.open {
    display: flex;
}
.gor-zoom-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

/* Secondary features — compact icon+text cards, 2-col grid (like Liebherr) */
.gor-features-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
    padding: 24px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
}
.gor-feat-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
    align-items: flex-start;
}
.gor-sec-hidden {
    display: none;
}
.gor-feat-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}
.gor-feat-icon img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    display: block;
}
.gor-feat-info {
    flex: 1;
    min-width: 0;
}
.gor-feat-info h4 {
    font-size: 12.5px;
    font-weight: 600;
    margin: 0 0 3px;
    color: #1a1a1a;
}
.gor-feat-info p {
    font-size: 11.5px;
    color: #666;
    line-height: 1.45;
    margin: 0;
}
.gor-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
    padding: 0;
    font-size: 11px;
    font-weight: 600;
    background: none;
    border: none;
    color: #00b9ad;
    cursor: pointer;
}
.gor-detail-link:hover {
    text-decoration: underline;
}
.gor-full {
    font-size: 11.5px;
    color: #555;
    line-height: 1.45;
    margin: 4px 0 0;
    display: none;
}

/* Show more button */
.gor-show-more-wrap {
    grid-column: 1 / -1;
    text-align: center;
    padding: 8px 0 0;
}
.gor-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 20px;
    background: #fff;
    border: 1.5px solid #00b9ad;
    color: #00b9ad;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    letter-spacing: 0.3px;
    transition: all 0.15s;
}
.gor-more-btn:hover {
    background: #00b9ad;
    color: #fff;
}
.gor-more-btn .arr {
    font-size: 9px;
    transition: transform 0.2s;
}

/* Specs table */
.gor-specs {
    margin-bottom: 32px;
}
.gor-specs-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #00b9ad;
}
.gor-specs-group {
    margin-bottom: 24px;
}
.gor-specs-group-title {
    font-size: 14px;
    font-weight: 700;
    color: #00b9ad;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gor-specs-arrow {
    display: none;
}
.gor-specs-table {
    width: 100%;
    border-collapse: collapse;
}
.gor-specs-table tr:nth-child(even) {
    background: #f8f9fa;
}
.gor-specs-table td {
    padding: 8px 12px;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}
.gor-specs-table td:first-child {
    color: #666;
    width: 50%;
}
.gor-specs-table td:last-child {
    color: #1a1a1a;
    font-weight: 500;
}
.gor-specs-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .gor-icons { display: none; }
    .gor-features-main { grid-template-columns: 1fr; }
    .gor-features-secondary { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
    .gor-specs-columns { grid-template-columns: 1fr; }

    /* Mobile: specs collapse per group */
    .gor-specs-group-title {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .gor-specs-arrow {
        display: inline;
        font-size: 12px;
        transition: transform 0.2s;
    }
    .gor-specs-collapsed .gor-specs-arrow {
        transform: rotate(-90deg);
    }
    .gor-specs-collapsed .gor-specs-table {
        display: none;
    }
}
@media (max-width: 480px) {
    .gor-feat-icon { flex: 0 0 44px; width: 44px; height: 44px; }
    .gor-feat-icon img { width: 44px; height: 44px; }
}
