
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f9fc;
    color: #2c3e50;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background-color: #ffffff;
    border-bottom: 2px solid #e1f0fa;
    padding: 20px;
    text-align: center;
}

.header-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a65a4;
    text-decoration: none;
    letter-spacing: 1px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 25px;
}

.breadcrumbs a {
    color: #3a7cb5;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #0f4c81;
    text-decoration: underline;
}

h1 {
    color: #1a65a4;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 25px;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #ffffff;
    border: 2px solid #e1f0fa;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(26, 101, 164, 0.03);
}

.gallery-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-photo-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e1f0fa;
    background: #fdfdfd;
}

.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnails-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.thumb-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e1f0fa;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fdfdfd;
}

.thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-card:hover, .thumb-card.active {
    border-color: #3a7cb5;
    transform: scale(1.03);
    box-shadow: 0 2px 8px rgba(26, 101, 164, 0.15);
}

.info-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-section h3 {
    color: #3a7cb5;
    margin-top: 0;
    font-size: 1.3rem;
}

.description-text {
    line-height: 1.6;
    color: #4f5f6f;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.highlight-box {
    background-color: #f0f7fd;
    border-left: 4px solid #3a7cb5;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 15px;
    font-style: italic;
}

.purchase-block {
    border-top: 2px dashed #e1f0fa;
    padding-top: 20px;
    margin-top: auto;
}

.price-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #1a65a4;
    margin: 5px 0 15px 0;
}

.status-button-disabled {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #037dd6;
    border: 2px solid #d3e4f1;
    color: #7fa4c4;
    text-align: center;
    padding: 16px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
    cursor: not-allowed;
}

.footer {
    background-color: #ffffff;
    border-top: 2px solid #e1f0fa;
    padding: 15px;
    text-align: center;
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .product-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 15px;
    }

    .main-photo-wrapper {
        height: auto; 
    }
    .purchase-block {
        margin-top: 20px;
    }
}
