.ast-container {
    max-width: 100%;
    padding: 0;
    display: block;
}

.hero {
    background-color: var(--primary-color);
    padding: 50px 0;
}

.container {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 1rem;
    width: 100%;
}

.product-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0px 0px 0px 15px;
    border-style: solid;
    border-width: 0px 0px 0px 3px;
    border-color: #2e3967;
}

h1.title {
    font-size: clamp(1.35rem, calc(2vw + 1rem), 2rem) !important;
    line-height: 1.1;
    margin: 0;
    color: #2e3967;
}

.grid {
    display: grid;
    gap: 1.25rem;
}

.card {
    max-width: 1000px;
    width: 100%;
    overflow: hidden;
}

section.grid {
    display: grid;
    place-items: center;
    padding: 80px 10px;
    background: #f9f9f9;
}

.gallery {
    display: flex;
    gap: 2rem;
    align-items: start;
}

.product-gallery {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
}

.gallery-main {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-slide {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: none;
}

.gallery-slide.active {
    opacity: 1;
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.thumb:hover {
    opacity: 0.8;
}

.thumb.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
    ;
}

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

.details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.kv {
    list-style: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.7;
    padding-left: 0;
    margin: 0;
}

.kv li {
    margin-bottom: 5px;
    color: #555;
}

.kv li strong {
    font-weight: 600;
    color: #333;
}

.product-tabs {
    overflow: clip;
    width: 100%;
    max-width: 1100px;
    margin-top: 15px;
}

.product-tabs .tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.5rem;
    justify-content: center;
}

.product-tabs .tab-button {
    background: var(--white);
    padding: .6rem .9rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.product-tabs .tab-button:hover,
.product-tabs .tab-button:focus-visible {
    background: var(--primary-color);
    outline: none;
}

.product-tabs .tab-button.active,
.product-tabs .tab-button[aria-selected="true"] {
    background: var(--primary-color);
    box-shadow: inset 0 0 0 1px var(--primary-color);
}

.product-tabs .tabs-content {
    padding: 1rem;
}

.product-tabs .tab-panel {
    display: block;
    padding: .25rem 0;
    color: #555;
}

.product-tabs .tab-panel strong {
    font-weight: 600;
    color: #333;
}

.product-tabs .tab-panel[hidden] {
    display: none !important;
}

.product-tabs .tab-panel p {
    margin: .5rem 0;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 20px 0;
}

.inquiry-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background .3s;
}

.inquiry-btn:hover {
    background: var(--primary-color);
}

.social-share {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: 1.2rem;
}

.social-share span {
    font-weight: 600;
    font-size: 12px;
}

.social-share svg {
    width: 20px;
    height: 20px;
    fill: #555;
    transition: color .3s;
}

.social-share svg:hover {
    fill: var(--primary-color);
}

@media (min-width: 922px) {
    .site-content .ast-container {
        display: block;
    }
}

@media (max-width: 768px) {

    .gallery {
        display: block;
    }

    .gallery-main {
        width: 100%;
    }
    
    .inquiry-btn {
        padding: 10px 20px;
    }

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

    .product-tabs {
        margin-top: 15px;
    }

    .product-tabs .tabs-nav {
        gap: .35rem;
    }

    .product-tabs .tab-button {
        padding: .7rem 1rem;
        font-size: .72rem;
    }

    .product-tabs .tabs-nav {
        padding: 0;
        justify-content: flex-start;
    }

    .product-tabs .tabs-content {
        padding: 15px 0 0 0;
    }

}

@media (max-width: 544px) {
    .ast-separate-container #content .ast-container {
        padding: 0 !important;
    }
}