.public-page {
    min-height: 100vh;
    background: #fff;
}

.public-header {
    position: sticky;
    top: 0;
}

.public-page main {
    min-height: 65vh;
}

.public-hero {
    padding: 138px 0 66px;
    background:
        radial-gradient(circle at 8% 8%, rgba(247, 190, 67, 0.16), transparent 35%),
        linear-gradient(135deg, #fffdf9, #f4f8fc);
}

.public-hero .container {
    max-width: 960px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 32px;
    overflow: hidden;
    color: #7a8391;
    font-size: 13px;
    white-space: nowrap;
}

.breadcrumbs a {
    color: #576171;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #f26522;
}

.breadcrumbs span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.eyebrow {
    margin: 0 0 14px;
    color: #c45119;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.public-hero h1,
.product-info h1 {
    margin: 0;
    color: #172033;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.public-hero h1 {
    max-width: 850px;
}

.public-hero h1 + p {
    max-width: 760px;
    margin: 22px 0 0;
    color: #5f6878;
    font-size: 18px;
    line-height: 1.65;
}

.public-catalog {
    padding: 76px 0 100px;
}

.public-catalog .catalog-grid,
.related-products .catalog-grid {
    align-items: stretch;
}

.public-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 70px;
    padding: 38px 42px;
    border-radius: 24px;
    background: #172033;
    color: #fff;
}

.public-cta h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
}

.public-cta p {
    margin: 0;
    color: #c5ccda;
}

.public-cta .btn {
    flex-shrink: 0;
}

.product-page {
    padding-top: 118px;
    padding-bottom: 90px;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.82fr);
    gap: 64px;
    align-items: start;
}

.product-gallery {
    min-width: 0;
}

.product-main-image {
    height: 620px;
    overflow: hidden;
    border: 1px solid #e3e7ee;
    border-radius: 28px;
    background: #f2f4f7;
    box-shadow: 0 18px 55px rgba(23, 32, 51, 0.1);
}

.product-main-image img {
    width: 100%;
    height: 100% !important;
    object-fit: contain !important;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.product-thumb {
    height: 92px;
    padding: 3px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 13px;
    background: #eef1f5;
    cursor: pointer;
}

.product-thumb.active {
    border-color: #f26522;
}

.product-thumb img {
    width: 100%;
    height: 100% !important;
    border-radius: 8px;
    object-fit: cover !important;
}

.product-info {
    position: sticky;
    top: 108px;
    padding: 10px 0;
}

.product-info h1 {
    font-size: clamp(38px, 4.6vw, 58px);
}

.product-lead {
    margin: 24px 0;
    color: #5f6878;
    font-size: 17px;
    line-height: 1.68;
}

.product-page-price {
    margin: 0 0 30px;
    color: #5f6878;
    font-size: 16px;
}

.product-page-price strong {
    margin-left: 5px;
    color: #172033;
    font-size: 32px;
}

.product-info h2 {
    margin: 30px 0 14px;
    color: #172033;
    font-size: 19px;
}

.product-page-specs {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-page-specs li {
    position: relative;
    padding: 12px 14px 12px 36px;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    background: #f8f9fb;
    color: #465163;
    line-height: 1.45;
}

.product-page-specs li::before {
    content: "✓";
    position: absolute;
    top: 12px;
    left: 14px;
    color: #f26522;
    font-weight: 800;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
}

.text-link {
    color: #172033;
    font-weight: 700;
    text-underline-offset: 4px;
}

.product-note {
    margin: 16px 0 0;
    color: #7a8391;
    font-size: 12px;
    line-height: 1.5;
}

.related-products {
    padding-bottom: 100px;
}

.related-products > h2 {
    margin: 0 0 30px;
    color: #172033;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.04em;
}

.public-footer {
    padding: 38px 0;
    background: #111928;
    color: #fff;
}

.public-footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.public-footer strong {
    font-size: 19px;
}

.public-footer p {
    margin: 8px 0 0;
    color: #aeb8c8;
}

.public-footer-inner > div:last-child {
    display: grid;
    gap: 9px;
    text-align: right;
}

.public-footer a {
    color: #d7deea;
}

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-info {
        position: static;
    }

    .product-main-image {
        height: min(72vw, 620px);
    }
}

@media (max-width: 767px) {
    .public-header .nav-links {
        display: none !important;
    }

    .public-header .nav-links.active {
        display: flex !important;
    }

    .public-hero {
        padding: 104px 0 54px;
    }

    .public-hero h1 {
        font-size: 40px;
    }

    .public-hero h1 + p {
        font-size: 16px;
    }

    .public-catalog {
        padding: 56px 0 72px;
    }

    .public-cta {
        display: grid;
        margin-top: 48px;
        padding: 26px;
    }

    .public-cta .btn {
        width: 100%;
    }

    body .product-page {
        padding-top: 92px;
        padding-bottom: 62px;
        padding-top: 92px !important;
        padding-bottom: 62px !important;
    }

    .breadcrumbs {
        margin-bottom: 22px;
    }

    .product-main-image {
        height: 390px;
        border-radius: 20px;
    }

    .product-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-thumb {
        height: 74px;
    }

    .product-info h1 {
        font-size: 39px;
    }

    .product-page-price strong {
        display: block;
        margin: 6px 0 0;
    }

    .product-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

    .public-footer-inner {
        flex-direction: column;
    }

    .public-footer-inner > div:last-child {
        text-align: left;
    }
}
