/* Critical CSS for Product Pages - Above the Fold Only */
/* Extracted from header.css and single.css for inline loading */

/* Header Navigation - Critical */
.site-header {
    width: 100%;
}

.main-header {
    background: var(--color-creamy-whity-blue);
}

.main-header .container {
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: stretch;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    width: 100%;
}

.header-left {
    flex: 0 0 auto;
    min-width: 0;
}

.header-brand {
    font-size: 24px;
    font-weight: 400;
    color: black;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    font-family: "Times New Roman", Times, serif;
}

.logo {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 150px;
    width: auto;
    justify-content: flex-end;
    position: relative;
    z-index: 1002;
}

.header-actions a,
.header-actions button {
    color: var(--color-dark);
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    gap: 6px;
}

/* Product Layout - Critical Above the Fold */
.product-layout {
    width: 100%;
}

.product-layout__container {
    display: flex;
    gap: 48px;
    margin-bottom: 64px;
}

/* Product Gallery - Critical */
.product-gallery {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
}

.product-gallery__main {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery__main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Summary - Critical */
.product-summary {
    flex: 1;
    max-width: 50%;
    padding: 0;
}

.product-summary__title {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 600;
}

.product-summary__price {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Responsive - Critical */
@media (max-width: 768px) {
    .product-layout__container {
        flex-direction: column;
        gap: 24px;
    }
    
    .product-gallery {
        flex: 1 1 auto;
        max-width: 100%;
    }
    
    .product-summary {
        max-width: 100%;
    }
    
    .product-summary__title {
        font-size: 24px;
    }
    
    .product-summary__price {
        font-size: 20px;
    }
}

