/*
Theme Name: Bellus
Theme URI: http://www.bellus.com/
Author:
Version: 1.0
License: GNU General Public License v3
License URI: http://www.gnu.org/licenses/gpl.html
*/

.navbar-inner {
    padding: 0 50px;
}

@media screen and (max-width: 768px) {
    .navbar-inner {
        padding: 0 20px;
    }
}

@media screen and (min-width: 768px) {
    .navbar-inner {
        background: rgba(149, 137, 115, 1) !important;
    }
}

.product-list .single-product {
    height: 300px;
}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    width: 174px;
    /*width: 100%;*/
    /*height: 217px;*/
    height: 100%;
}


.product-list .single-product-name h2 {
    line-height: 22px;
}


.tab-end {
    position: absolute;
    left: 50%;
}

.category-margin-bottom {
    margin-bottom: 30px;
}


.jumbotron img {
    max-width: 100% !important;
}

@media screen and (max-width: 768px) {
    .awesome-social {
        width: 32px !important;
        height: 32px !important;
        font-size: 20px !important;
        line-height: 36px !important;
    }
}

/* Front page */
.home-list .home-list-col-1 {
    display: none;
}

.home-list .home-list-3 {
    margin-left: 20px;
}

.home-list .home-list-6 {
    width: 265px;
    margin-top: 15px;
    margin-left: 20px;
    float: right;
}

@media screen and (min-width: 1450px) {
    .home-list img {
        width: 100%;
        height: auto;
    }

    .home-list .home-list-1,
    .home-list .home-list-5,
    .home-list .home-list-6 {
        width: 18.86% !important;
    }

    .home-list .home-list-2,
    .home-list .home-list-3,
    .home-list .home-list-4,
    .home-list iframe {
        width: 39.15% !important;
    }

    .home-list iframe {
        height: 100%;
        aspect-ratio: 110/53;
    }
}

@media screen and (max-width: 1450px) {
    .home-list .home-list-3 {
        margin-left: 0;
        margin-right: 20px;
        float: left;
    }

    .home-list .home-list-4 {
        margin-right: 0;
        float: none;
    }

    .home-list .home-list-5 {
        margin-right: 20px;
    }

    .home-list .home-list-6 {
        margin: 0;
    }

    .home-list iframe {
        margin-top: 0;
    }

    .container--home {
        max-width: 1150px !important;
        width: unset;
    }
}

@media screen and (min-width: 1200px) {
    .home-list .home-list-3 {
        width: 550px;
    }

    .home-list iframe {
        margin-top: 15px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1450px) {
    .home-list .home-list-1 {
        width: 357px;
    }

    .home-list .home-list-2 {
        width: 743px;
    }

    .home-list .home-list-1 img,
    .home-list .home-list-2 img {
        width: 100%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .home-list .home-list-1 {
        width: 299px;
    }

    .home-list .home-list-2 {
        width: 621px;
    }

    .home-list .home-list-1 img,
    .home-list .home-list-2 img {
        width: 100%;
    }

    .home-list .home-list-3 {
        width: 460px;
    }

    .home-list .home-list-6 {
        width: 220px;
        float: unset;
        margin-left: 20px;
    }

    .home-list iframe {
        height: 220px;
    }
}

@media screen and (max-width: 992px) {
    .home-list .home-list-4 {
        width: 100%;
        float: right;
    }
}

@media screen and (min-width: 770px) and (max-width: 992px) {
    .home-list .home-list-col-1 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .home-list .home-list-col-1 a {
        margin: 0 !important;
        width: 225px;
    }

    .home-list .home-list-3 {
        width: 475px;
        margin-bottom: 20px;
    }

    .home-list .home-list-4,
    .home-list iframe {
        width: 720px;
        margin: 0;
    }

    .home-list .home-list-4 img {
        width: 100%;
        height: auto;
    }

    .home-list iframe {
        height: 340px;
    }

    .home-list > .home-list-6,
    .home-list > .home-list-5 {
        display: none;
    }

    .home-list iframe {
        float: left;
    }
}

@media screen and (min-width: 770px) and (max-width: 1450px) {
    .home-list {
        display: flex;
        flex-flow: row wrap;
        gap: 20px;
        justify-content: center;
    }

    .home-list > * {
       margin: 0 !important;
    }
}

@media screen and (max-width: 770px) {
    .home-list > a {
        float: unset;
        width: 100% !important;
        height: 100%;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }
    .home-list > a img {
        width: 100%;
        height: 100%;
    }

    .home-list .home-list-3 {
        width: 100%;
    }

    .home-list .home-list-6 {
        width: 140px;
        float: unset;
    }
}

/* Instagram feed */
.jumbotron-content h2 {
    color: #000;
    text-shadow: none;
}

#sb_instagram h3 {
    color: #000;
    text-shadow: none;
}

/* Store locator map */
.sl_header tr {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.sl_header tr td {
    width: 100% !important;
}

.sl_header select {
    width: 100%;
    height: 32px;
    margin-top: 10px !important;
    padding: 3px 10px 4px;
    border: 1px solid silver;
}

#searchForm .sl_header #addressInput,
#searchForm .sl_header #addressInput2,
#searchForm .sl_header #radiusSelect_td {
    font-size: 14px !important;
}

/* Products page */
.product-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 30px;
}

.product-list .single-product-image {
    padding: 0;
}

.product-list .single-product {
    margin-top: 0;
}

.product-list .single-product-image a img {
    max-width: 100%;
    height: fit-content;
    object-fit: cover;
    aspect-ratio: 174/217;
}

@media screen and (max-width: 1200px) {
    .product-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1000px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .product-list {
        grid-template-columns: 1fr;
    }

    .product-list .single-product {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-list .single-product-image a img {
        max-width: 174px;
        max-height: 217px;
    }
}


/* Single product */
.single-product {
    margin-top: 80px;
}

.single-product-title {
    position: relative;
}

.single-product-title h1 {
    position: absolute;
    left: 20px;
    z-index: 1;
}

#single-product-slider {
    height: 500px;
}

#single-product-slider .slides img {
    height: 500px;
    object-fit: contain;
}

.single-product-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.single-product-3d-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    aspect-ratio: 9 / 5;
}

.single-product-3d-loader {
    position: absolute;
    top: 30%;
    left: 50%;
    z-index: -1;
    width: 48px;
    height: 48px;
    border: 5px solid rgba(149, 137, 115, 1);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    transform: translateX(-50%);
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 1400px) {
    .single-product-3d-iframe {
        aspect-ratio: 4 / 3;
    }
}

@media screen and (max-width: 1200px) {
    .single-product-3d-iframe {
        aspect-ratio: 9 / 16;
    }

    #single-product-slider {
        height: 400px;
    }

    #single-product-slider .slides img {
        height: 400px;
    }
}

@media screen and (max-width: 1000px) {
    .single-product-3d-iframe {
        height: 80vh;
        aspect-ratio: unset;
    }

    .single-product-3d-loader {
        top: 10%;
    }
}

@media screen and (max-width: 768px) {
    .single-product {
        margin-top: 0;
    }

    #single-product-slider {
        height: auto;
    }

    #single-product-slider .slides img {
        height: auto;
    }
}

/* Footer */
.copyright {
    max-width: 100%;
    color: #fff;
    background-color: rgba(149, 137, 115, 1);
}

/* Media queries */
@media screen and (min-width: 1200px) {
    .container--wider {
        max-width: 1450px !important;
        width: unset;
    }

    .container--home {
        max-width: 1600px;
        width: unset;
    }

    .container--full-hd {
        max-width: 1950px !important;
        width: unset
    }

    .sticky-container {
        top: 80px !important;
    }
}

@media screen and (min-width: 992px) {
    form#searchForm table.sl_header {
        width: 100% !important;
    }

    form#searchForm > table:last-child {
        width: 100% !important;
        margin-top: 10px;
    }

    form#searchForm #addressSubmit {
        right: 0;
    }
}

@media screen and (min-width: 768px) {
    .sticky-wrapper {
        display: flex;
        align-items: stretch;
    }

    .sticky-wrapper #ajax-sidebar{
        flex-grow: 1;
    }

    .sticky-container {
        position: sticky;
        top: 160px;
        width: 100%;
    }
}

@media only screen and (max-width: 800px) {
    .tab-end {
        position: initial;
    }
}

/* ── PAGE LAYOUT ── */
.page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ── MAIN CONTENT ── */
.main-content {
    flex: 1;
    min-width: 0;
}

.main-content h1 {
    font-size: 28px;
    font-weight: 300;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 0;
}

.main-content .subtitle {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.main-content .contact-note {
    font-size: 13px;
    color: #888;
    margin-bottom: 28px;
}

.main-content .contact-note a {
    color: #333;
    text-decoration: underline;
}

/* ── CATEGORY FILTER BUTTONS ── */
.cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.cat-btn {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #555;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 5px 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s, color 0.15s;
}

.cat-btn:hover {
    background: #e8e8e8;
    color: #333;
}

.cat-btn.active {
    background: #333;
    border-color: #333;
    color: #fff;
}

/* ── CATEGORY SECTION ── */
.faq-category {
    margin-bottom: 36px;
    scroll-margin-top: 20px;
}

.faq-category-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

/* ── FAQ ITEMS ── */
.faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 13px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    transition: color 0.15s;
}

.faq-question:hover { color: #888; }

.faq-icon {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 300;
    color: #aaa;
    line-height: 1;
    transition: transform 0.2s;
    font-family: Arial, sans-serif;
}

.faq-question.open .faq-icon {
    transform: rotate(45deg);
    color: #333;
}

.faq-answer {
    display: none;
    padding: 0 0 16px;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

.faq-answer.open { display: block; }

.faq-answer ul {
    margin: 8px 0 0 16px;
}

.faq-answer ul li { margin-bottom: 5px; }

.faq-answer strong {
    color: #333;
    font-weight: 600;
}

.faq-answer a {
    color: #333;
    text-decoration: underline;
}

/* ── SIDEBAR ── */
.sidebar {
    width: 220px;
    flex-shrink: 0;
}

.sidebar-block {
    margin-bottom: 32px;
}

.sidebar-block h3 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
    text-transform: none;
}

.sidebar-news-item {
    margin-bottom: 14px;
}

.sidebar-news-item a {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 3px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .page-wrap { flex-direction: column; }
}
