.products-layout {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr) !important;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    align-items: start;
}

.products-sidebar {
    grid-column: 1;
    width: 240px;
    min-width: 0;
}

.products-content {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    display: block;
}


.products-content .detail_grid {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 30px 0 !important;

    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px;
}

.products-content .details_products {
    width: 100%;
}

.products-content .ddetails_products {
    width: 100%;
}

.category-tree {
    width: 100%;
}

.category-tree-header {
    margin-bottom: 25px;
}

.category-tree-eyebrow {
    display: block;

    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #888;
}

.category-tree-title {
    margin: 0;

    font-size: 24px;
    font-weight: 500;

    color: #333;
}

.category-tree-list {
    list-style: none;

    padding: 0;
    margin: 0;
}

.category-tree-item {
    margin: 0;
}


.category-tree-row {
    display: flex;
    align-items: center;
    min-height: 42px;
}


.category-tree-toggle {
    width: 32px;
    height: 40px;

    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    background: transparent;

    color: #555;

    cursor: pointer;
}

.category-tree-chevron {
    width: 7px;
    height: 7px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(-45deg);

    opacity: .55;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.category-tree-item.is-open >
.category-tree-row
.category-tree-chevron {
    transform: rotate(45deg);
}


.category-tree-toggle:hover
.category-tree-chevron {
    opacity: 1;
}

.category-tree-spacer {
    width: 32px;
    height: 40px;

    flex: 0 0 32px;
}

.category-tree-link {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 8px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    border-radius: 7px;
    transition:
        color .12s ease,
        background-color .12s ease;
}

.category-tree-link:hover {
    color: #111;
    background: rgba(0, 0, 0, .035);
    text-decoration: none;
}

.category-tree-item.is-current >
.category-tree-row {
    background: rgb(255 191 29);
    border-radius: 24px;
}

.category-tree-item.is-current >
.category-tree-row
.category-tree-link {
    color: #111;

    font-weight: 600;
}

.category-tree-children {
    display: none;
    margin-left: 16px;
}

.category-tree-item.is-open >
.category-tree-children {
    display: block;
}

.category-tree-level-1
.category-tree-link {
    font-size: 14px;
}


.category-tree-level-2
.category-tree-link {
    font-size: 14px;

    color: #555;
}


.category-tree-level-3
.category-tree-link {
    font-size: 13px;

    color: #666;
}

.products-content {
    width: 100%;
    min-width: 0;
}

.detail_grid {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
    box-sizing: border-box;
}

.detail_card {
    min-height: 100%;

    background: white;

    display: flex;
    flex-direction: column;

    text-decoration: none;

    color: #444;

    position: relative;
    top: 0;

    border-radius: 20px;

    overflow: hidden;

    transition:
        top .1s ease-in,
        box-shadow .15s ease-in;
}


.detail_card:hover {
    top: -2px;

    color: #000;

    text-decoration: none;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .08);
}


.detail_card:visited {
    color: #444;

    text-decoration: none;
}


/* =========================================================
   CARD IMAGE
   ========================================================= */

.detail_card .thumb {
    width: 100%;

    padding-bottom: 60%;

    background-size: cover;
    background-position: center center;

    border-radius: 20px 20px 0 0;
}


/* =========================================================
   CARD ARTICLE
   ========================================================= */

.detail_card article {
    padding: 20px;

    display: flex;
    flex: 1;

    justify-content: space-between;

    flex-direction: column;

    box-sizing: border-box;
}


/* =========================================================
   CARD TYPOGRAPHY
   ========================================================= */

.detail_card h1 {
    padding: 0;
}


.h1-detail-card {
    font-size: 20px;

    margin: 0;

    color: #333;
}


.detail_card p {
    flex: 1;

    line-height: 1.4;

    margin-bottom: 0;
}


.detail_card span {
    font-size: 12px;

    font-weight: bold;

    color: #999;

    text-transform: uppercase;

    letter-spacing: .05em;

    margin: 2em 0 0 0;
}


/* =========================================================
   ORDER BUTTON
   ========================================================= */

.order_now_btb {
    font-size: 20px;

    font-family: 'Hepta Slab';
}


/* =========================================================
   USER
   ========================================================= */

.user_shape_loggedin {
    background: #1ee095;

    padding: 10px;

    height: 41px;

    border-radius: 50px;

    font-weight: bold;

    font-size: 15px;

    box-shadow:
        rgb(35 109 104 / 16%) 0px 3px 6px,
        rgb(23 97 33 / 23%) 0px 3px 6px;

    line-height: 22px;
}


@media only screen and (max-width: 1100px) {

    .products-layout {
        grid-template-columns: 200px minmax(0, 1fr) !important;
        gap: 30px;
    }

    .products-sidebar {
        width: 200px;
    }

    .products-content .detail_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


@media only screen and (max-width: 700px) {

    .products-layout {
        display: block !important;
        padding: 20px 15px;
    }

    .products-sidebar {
        width: 100%;
        margin-bottom: 40px;
    }

    .products-content {
        width: 100%;
    }

    .products-content .detail_grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 600px) {

    .products-layout {
        padding: 20px 15px;
    }


    .category-tree-header {
        margin-bottom: 15px;
    }


    .category-tree-title {
        font-size: 21px;
    }


    .category-tree-row {
        min-height: 44px;
    }


    .category-tree-link {
        min-height: 42px;

        font-size: 15px;
    }


    .detail_grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .detail_card article {
        padding: 16px;
    }

}

.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.45;
    margin: 10px 0 20px;
}

.product-card-bottom {
    margin-top: auto;
    padding-top: 15px;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 12px;
    color: #666;
}

.stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.product-stock.in-stock .stock-dot {
    background: #35a66f;
}

.product-stock.out-of-stock .stock-dot {
    background: #aaa;
}
