/*
 * Project-specific custom styles.
 *
 * Keep new custom CSS changes in this file to avoid editing shared theme files.
 */

.single-product {
    background: #f4f1eb;
}

.single-product .shop-page-title,
.single-product .woocommerce-breadcrumb,
.single-product .breadcrumbs,
.single-product .product-info.summary>.price,
.single-product .product-info.summary>.product_meta,
.single-product .product-info.summary>.social-icons,
.single-product .product-info.summary>.yith-wcwl-add-to-wishlist,
.single-product .woocommerce-variation-price,
.product-quick-view-container .woocommerce-variation-price {
    display: none !important;
}

.single-product .product-main {
    padding: 25px 0 34px;
}

.single-product .product-main .content-row {
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    align-items: flex-start;
}

.single-product .product-gallery {
    padding-left: 0;
    padding-right: 20px;
}

.single-post {
    background: #f4f1eb;
}

.t5s-single-post {
    padding: 26px 0 48px;
}

.t5s-single-post .container {
    /* max-width: 1360px; */
}

.t5s-single-post__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 356px;
    gap: 28px;
    align-items: start;
}

.t5s-single-post__article {
    min-width: 0;
}

.t5s-single-post__breadcrumbs {
    margin-bottom: 20px;
    color: #b5a799;
    font-size: 14px;
}

.t5s-single-post__breadcrumbs p {
    margin: 0;
}

.t5s-single-post__breadcrumbs a,
.t5s-single-post__breadcrumbs span {
    color: inherit;
}

.t5s-single-post__title {
    margin: 0 0 16px;
    color: #3a2b20;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.15;
}

.t5s-single-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    color: #8e7c6d;
    font-size: 15px;
}

.t5s-single-post__meta span {
    position: relative;
    padding-right: 24px;
    margin-right: 24px;
}

.t5s-single-post__meta span:last-child {
    padding-right: 0;
    margin-right: 0;
}

.t5s-single-post__meta span:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 18px;
    background: #d8c6b1;
    transform: translateY(-50%);
}

.t5s-single-post__intro {
    margin-bottom: 22px;
    color: #6f655b;
    font-size: 16px;
    font-style: italic;
    line-height: 1.75;
}

/* Easy Table of Contents custom styling to match old theme */
#ez-toc-container {
    margin-bottom: 24px !important;
    background: #dfd0c2 !important;
    border: 1px solid #d9c9b7 !important;
    border-radius: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0 16px 0 !important;
    box-shadow: none !important;
}

#ez-toc-container .ez-toc-title-container {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 18px 10px !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
}

#ez-toc-container .ez-toc-title {
    color: #3f3126 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

#ez-toc-container .ez-toc-title::before {
    content: "\f03a";
    /* fa-list */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

#ez-toc-container .ez-toc-title-toggle {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

#ez-toc-container nav {
    padding: 0 18px !important;
}

#ez-toc-container nav ul {
    margin: 0 !important;
    padding-left: 22px !important;
}

#ez-toc-container nav ul li {
    margin-top: 8px !important;
    color: #51463c !important;
}

#ez-toc-container nav ul li::before {
    display: none !important;
}

#ez-toc-container nav ul li a {
    color: inherit !important;
    text-decoration: none !important;
    box-shadow: none !important;
    font-weight: 400 !important;
}

#ez-toc-container nav ul li a:hover {
    color: #7a4e2d !important;
}

.t5s-single-post__content {
    color: #5f544a;
    font-size: 16px;
    line-height: 1.8;
}

.t5s-single-post__content>* {
    margin-bottom: 18px;
}

.t5s-single-post__content h2,
.t5s-single-post__content h3,
.t5s-single-post__content h4 {
    color: #3b2e24;
    font-weight: 600;
    line-height: 1.3;
    scroll-margin-top: 110px;
}

.t5s-single-post__content h2 {
    margin-top: 32px;
    font-size: 28px;
}

.t5s-single-post__content h3 {
    margin-top: 26px;
    font-size: 22px;
}

.t5s-single-post__content img {
    height: auto;
    border-radius: 10px;
}

.t5s-single-post__sidebar {
    /* position: sticky;
    top: 150px; */
}

.t5s-single-post__sidebar-title {
    margin: 0 0 16px;
    color: #7a5a40;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

.t5s-single-post__related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.woocommerce.archive .shop-page-title,
.woocommerce.archive .page-title {
    display: none !important;
}

.t5s-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 6px 0 18px;
}

.t5s-catalog-toolbar__title h1 {
    margin: 0;
    color: #38281f;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
}

.t5s-catalog-toolbar__controls {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.t5s-catalog-toolbar__label {
    color: #6f6357;
    font-size: 14px;
}

.t5s-catalog-toolbar__chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.t5s-catalog-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f0e8db;
    color: #6c5c4b;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.t5s-catalog-chip:hover,
.t5s-catalog-chip.is-active {
    background: #dcccb4;
    border-color: #cdb89d;
    color: #3b2d22;
}

.t5s-catalog-price-filter {
    position: relative;
    min-width: 148px;
    margin: 0;
}

.t5s-catalog-price-filter::after {
    content: "\f107";
    font-family: "fl-icons";
    position: absolute;
    top: 50%;
    right: 16px;
    color: #7a6b5b;
    font-size: 14px;
    pointer-events: none;
    transform: translateY(-50%);
}

.t5s-catalog-price-filter select {
    min-width: 148px;
    height: 36px;
    margin: 0;
    padding: 0 42px 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f0e8db;
    color: #6c5c4b;
    font-size: 14px;
    box-shadow: none;
    appearance: none;
}

.t5s-catalog-price-filter select:focus {
    border-color: #cdb89d;
    outline: none;
    box-shadow: none;
}

@media (max-width: 849px) {
    .t5s-catalog-toolbar {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .t5s-catalog-toolbar__controls {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .t5s-catalog-toolbar__label {
        order: 1;
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        font-weight: 500;
    }

    .t5s-filter-toggle {
        order: 2;
        display: inline-flex !important;
        margin-left: auto;
    }

    .t5s-filter-btn {
        display: inline-flex;
        width: 36px;
        height: 36px;
        min-height: 36px;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        border: 1px solid #cdb89d;
        border-radius: 999px;
        background: #f0e8db;
        color: #6c5c4b;
        line-height: 1;
    }

    .t5s-filter-btn span {
        display: none;
    }

    .t5s-filter-btn svg {
        width: 16px;
        height: 16px;
    }

    .t5s-catalog-toolbar__chips,
    .t5s-catalog-price-filter,
    .t5s-sidebar-mobile-toggle {
        display: none;
    }

    .t5s-catalog-toolbar.is-filter-open .t5s-catalog-toolbar__chips {
        order: 3;
        display: flex;
        width: 100%;
    }

    .t5s-catalog-toolbar.is-filter-open .t5s-catalog-price-filter {
        order: 4;
        display: block;
        /* width: 100%; */
    }

    .t5s-catalog-toolbar.is-filter-open .t5s-catalog-price-filter select {
        width: 100%;
    }

    .t5s-sidebar-mobile-toggle.active {
        display: block;
        flex-basis: 100%;
        max-width: 100%;
    }

    .t5s-sidebar-mobile-toggle.active #shop-sidebar {
        margin-bottom: 18px;
    }
}

.t5s-related-news-card {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 94px;
    overflow: hidden;
    border: 1px solid #dfcfbf;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.t5s-related-news-card__thumb,
.t5s-related-news-card__thumb img,
.t5s-related-news-card__thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.t5s-related-news-card__thumb img,
.t5s-related-news-card__thumb-placeholder {
    object-fit: cover;
}

.t5s-related-news-card__thumb-placeholder {
    background: #d9c9b7;
}

.t5s-related-news-card__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 10px 16px 12px;
    color: #6b5a4b;
}

.t5s-related-news-card__date {
    position: relative;
    z-index: 1;
    color: #9f8f80;
    font-size: 11px;
    line-height: 1.2;
}

.t5s-related-news-card__title {
    position: relative;
    z-index: 1;
    color: #6b5a4b;
    font-size: 16px;
    line-height: 1.45;
}

.t5s-related-news-card__bg {
    position: absolute;
    right: -34px;
    bottom: -10px;
    z-index: 0;
    width: 130px;
    opacity: 0.2;
    pointer-events: none;
}

.t5s-related-news-card:hover {
    border-color: #cbb69f;
}

.t5s-related-news-card:hover .t5s-related-news-card__title {
    color: #7a4e2d;
}

.t5s-floating-toc-button {
    position: fixed;
    right: 24px;
    bottom: 30%;
    z-index: 120;
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: #7a4e2d;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(60, 42, 27, 0.24);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
    margin: 0;
}

.t5s-floating-toc-button[hidden] {
    display: none !important;
}

.t5s-floating-toc-overlay {
    position: fixed;
    inset: 0;
    z-index: 118;
    background: rgba(33, 24, 18, 0.14);
}

.t5s-floating-toc-panel {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 119;
    width: min(420px, calc(100vw - 32px));
}

.t5s-floating-toc-panel__inner {
    border: 1px solid #d9c9b7;
    background: #dfd0c2;
    box-shadow: 0 10px 28px rgba(58, 43, 32, 0.18);
    border-radius: 4px;
}

.t5s-floating-toc-panel__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 10px;
    color: #3f3126;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    background: none;
    border: none;
}

.t5s-floating-toc-panel__toggle span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.t5s-floating-toc-panel.is-collapsed .t5s-floating-toc-panel__toggle .fa-chevron-up {
    transform: rotate(180deg);
}

.t5s-floating-toc-panel__body {
    padding: 0 18px 16px;
    max-height: 50vh;
    overflow-y: auto;
}

/* EZ TOC overrides inside floating panel */
.t5s-floating-toc-panel__body ul {
    margin: 0 !important;
    padding-left: 22px !important;
    color: #51463c !important;
}

.t5s-floating-toc-panel__body li+li {
    margin-top: 8px !important;
}

.t5s-floating-toc-panel__body li::before {
    display: none !important;
}

.t5s-floating-toc-panel__body a {
    color: inherit !important;
    text-decoration: none !important;
    box-shadow: none !important;
    font-weight: 400 !important;
}

.t5s-floating-toc-panel__body a:hover {
    color: #7a4e2d !important;
}

.t5s-post-review-box {
    margin-top: 18px;
    padding: 24px 26px 20px;
    border: 1px solid #d8c6b1;
    border-radius: 8px;
    background: #fffdf7;
    color: #3f3a36;
    box-shadow: 0 2px 10px rgba(78, 67, 56, 0.14);
}

.t5s-post-review-box .comment-reply-title {
    margin: 0 0 18px;
    color: #3f3a36;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
}

.t5s-post-review-form {
    margin: 0;
}

.t5s-post-review-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 14px;
    margin-bottom: 18px;
}

.t5s-post-review-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.t5s-post-review-stars label {
    margin: 0;
    color: #d8cdb8;
    font-size: 31px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.t5s-post-review-stars label:hover {
    transform: translateY(-1px);
}

.t5s-post-review-stars input:checked~label,
.t5s-post-review-stars label:hover,
.t5s-post-review-stars label:hover~label {
    color: #d7a91c;
}

.t5s-post-review-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.t5s-post-review-fields p,
.t5s-post-review-comment,
.t5s-post-review-form .form-submit {
    margin: 0;
}

.t5s-post-review-fields label {
    display: block;
    margin-bottom: 6px;
    color: #6f655b;
    font-size: 14px;
    font-weight: 400;
}

.t5s-post-review-fields label span {
    color: #a83f35;
}

.t5s-post-review-fields input,
.t5s-post-review-comment textarea {
    width: 100%;
    border: 1px solid #e5ddd0;
    border-radius: 3px;
    background: #f8f5ed;
    color: #4e4338;
    font-size: 14px;
    box-shadow: none;
}

.t5s-post-review-fields input {
    height: 36px;
    padding: 0 12px;
}

.t5s-post-review-comment textarea {
    min-height: 102px;
    padding: 14px;
    resize: vertical;
}

.t5s-post-review-comment {
    position: relative;
}

.t5s-post-review-fields input::placeholder,
.t5s-post-review-comment textarea::placeholder {
    color: #9a9188;
}

.t5s-post-review-submit {
    margin-top: 12px !important;
    min-height: 38px;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #7a4e2d !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
}

.t5s-post-review-submit:hover {
    background: #684122 !important;
}

.t5s-post-review-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.t5s-post-review-item {
    margin: 0;
    padding: 0;
}

.t5s-post-review-item+.t5s-post-review-item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee3d6;
}

.t5s-post-review-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    color: #5b4b3f;
    font-size: 15px;
}

.t5s-post-review-head img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.t5s-post-review-rating {
    color: #d7a91c;
    font-size: 14px;
    letter-spacing: 2px;
}

.t5s-post-review-head time {
    color: #9f8f80;
    font-size: 13px;
}

.t5s-post-review-content {
    color: #4e4338;
    font-size: 15px;
    line-height: 1.6;
}

.t5s-post-review-content p {
    margin: 0;
}

.single-product .product-info.summary {
    padding-left: 0;
    padding-right: 0;
    max-width: 650px;
    flex-basis: 48%;
}

.single-product #product-sidebar {
    display: none;
}

.single-product .woocommerce-product-gallery {
    margin-bottom: 0;
}

.single-product .woocommerce-product-gallery .flickity-viewport,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__wrapper {
    border-radius: 4px;
    overflow: hidden;
}

.single-product .woocommerce-product-gallery__image img {
    aspect-ratio: 1.22;
    object-fit: cover;
    width: 100%;
}

.single-product .product-thumbnails {
    margin-top: 12px;
}

.single-product .product-thumbnails .col {
    padding-bottom: 0;
}

.single-product .product-thumbnails img {
    aspect-ratio: 1.38;
    object-fit: cover;
}

.single-product .flickity-button {
    width: 28px;
    height: 28px;
    min-height: 28px;
    border: 0;
    background: #eee7dd;
    color: #7a5a40;
    opacity: 1;
}

.t5s-product-heading {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: start;
    margin-bottom: 16px;
    padding-right: 2px;
}

.t5s-product-heading .product-title {
    margin: 0;
    color: #2e241d;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
}

.t5s-product-heading__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 0;
    color: #7f7c87;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.t5s-product-heading__meta:hover {
    color: #7f7c87;
}

.t5s-product-heading>.price-contact {
    /* grid-column: 2; */
    grid-row: 2;
    margin: -6px 0 0;
    color: #8a1f11;
    font-size: 16px;
}

.t5s-rating-icon {
    color: #ffd12e;
    font-size: 23px;
    line-height: 1;
}

.t5s-rating-score {
    color: #232326;
    font-weight: 700;
}

.t5s-rating-count {
    color: #7f7c87;
    font-weight: 500;
}

.t5s-product-heading__wishlist {
    line-height: 1;
}

.t5s-product-heading__wishlist .yith-wcwl-add-to-wishlist {
    display: block !important;
    margin: 0;
}

.t5s-product-heading__wishlist a,
.t5s-product-heading__wishlist .add_to_wishlist {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid #8a725e;
    border-radius: 50%;
    color: #6f4930;
    font-size: 0;
    background: transparent;
}

/* .t5s-product-heading__wishlist a:before,
.t5s-product-heading__wishlist .add_to_wishlist:before {
    content: "\2661";
    font-size: 22px;
    line-height: 1;
} */

.t5s-product-specs {
    display: grid;
    gap: 9px;
    margin-bottom: 16px;
    color: #6c5d50;
    font-size: 13px;
}

.t5s-product-specs__row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.t5s-product-specs__row span {
    color: #4e3d31;
    font-weight: 600;
    /* text-transform: uppercase; */
}

.t5s-product-specs__row strong {
    color: #71645a;
    font-weight: 400;
}

.single-product form.cart,
.single-product form.variations_form {
    margin-bottom: 0;
}

.single-product table.variations {
    margin-bottom: 10px;
}

.single-product table.variations tr {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr);
    align-items: center;
    margin-bottom: 8px;
}

.single-product table.variations th,
.single-product table.variations td {
    display: block;
    padding: 0;
    border: 0;
}

.single-product table.variations th.label label {
    margin: 0;
    color: #6c5d50;
    font-size: 13px;
    font-weight: 500;
}

.single-product table.variations td.value select {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.single-product .reset_variations {
    display: none !important;
}

.t5s-variation-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.t5s-variation-swatch {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 1px solid #e5ded6;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.t5s-variation-swatch:hover,
.t5s-variation-swatch.is-selected {
    border-color: #7a4e2d;
    /* box-shadow: 0 0 0 1px #7a4e2d; */
}

.t5s-variation-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.t5s-variation-swatch>span {
    display: none;
}

.t5s-variation-swatch__fallback {
    display: block !important;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    background: #d9c6b4;
}

.single-product .single_variation_wrap {
    margin-top: 2px;
}

.single-product .variations_button,
.single-product form.cart:not(.variations_form) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.single-product .quantity {
    display: inline-flex;
    height: 24px;
    margin: 0;
    border: 0;
}

.single-product .quantity .minus,
.single-product .quantity .plus,
.single-product .quantity input.qty {
    min-height: 24px;
    height: 24px;
    line-height: 22px;
    border: 0;
    background: #eee6d7;
    color: #83624a;
    box-shadow: none;
}

.single-product .quantity input.qty {
    width: 34px;
    background: #f8f2e9;
    color: #7b5d43;
    font-size: 13px;
}

.single-product .quantity .minus,
.single-product .quantity .plus {
    width: 22px;
    font-size: 14px;
}

.t5s-stock-left {
    color: #a99b8b;
    font-size: 12px;
}

.t5s-price-panel {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    margin-top: 2px;
    padding: 11px 16px;
    border-radius: 3px;
    background: #eee4d4;
    color: #d65a21;
    font-size: 27px;
    font-weight: 500;
    line-height: 1;
}

.t5s-price-panel .price {
    margin: 0;
}

.t5s-price-panel del,
.t5s-price-panel del .amount {
    color: #8e8278;
    font-size: 22px;
    font-weight: 400;
    opacity: 1;
}

.t5s-price-panel ins,
.t5s-new-products-list .t5s-new-product-price ins {
    order: -1;
    color: #d65a21;
    text-decoration: none;
}

.t5s-price-panel ins .amount,
.t5s-price-panel>.amount,
.t5s-price-panel .woocommerce-Price-amount,
.t5s-new-products-list .t5s-new-product-price ins .amount {
    color: #d65a21;
}

.t5s-sale-badge {
    display: inline-flex;
    min-width: 43px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: #a74438;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.single-product .single_add_to_cart_button,
.single-product .t5s-buy-now-button {
    flex: 1 1 0;
    min-width: 0;
    height: 48px;
    margin: 0 !important;
    border-radius: 3px !important;
    border: 2px solid #7A4E2D !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 46px;
    text-transform: none;
    transition: all 0.3s;
}

.single-product .single_add_to_cart_button {
    background: transparent !important;
    color: #7a4e2d !important;
}

.single-product .single_add_to_cart_button:hover {
    background: #7A4E2D !important;
    color: #fff !important;
}

.single-product .t5s-buy-now-button {
    background: #7a4e2d !important;
    color: #fff !important;
}

.single-product .t5s-buy-now-button:hover {
    background: #613c22 !important;
}

.single-product .product-footer {
    background: #f4f1eb;
}

.single-product .product-footer>.container {
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
}

.t5s-product-details-section {
    padding: 18px 0 42px;
    background: #f4f1eb;
    color: #4f443b;
}

.t5s-product-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    max-width: 1360px;
    margin: 0 auto;
}

.t5s-product-details-main {
    min-width: 0;
}

.t5s-product-description-box {
    margin-bottom: 24px;
}

.t5s-product-description-box h2,
.t5s-product-reviews-box h2,
.t5s-new-products h2,
.css_title_pro_page {
    margin: 0 0 14px;
    color: #2f2822;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.t5s-product-description-box h2,
.t5s-new-products h2,
.css_title_pro_page {
    padding-bottom: 14px;
    border-bottom: 1px solid #d8cec0;
}

.t5s-product-description-content {
    position: relative;
    max-height: 238px;
    overflow: hidden;
    color: #62574d;
    font-size: 14px;
    line-height: 1.75;
    text-align: justify;
}

.t5s-product-description-box.is-expanded .t5s-product-description-content {
    max-height: none;
}

.t5s-product-description-content p {
    margin-bottom: 12px;
}

.t5s-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 0;
    min-height: 0;
    border: 0;
    background: transparent;
    color: #7a4e2d;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
}

.t5s-read-more:after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.t5s-product-description-box.is-expanded .t5s-read-more:after {
    transform: rotate(225deg) translateY(-1px);
}

.t5s-product-reviews-box,
.t5s-product-description-box {
    padding: 26px 24px 28px;
    border: 1px solid #e3d8c8;
    border-radius: 6px;
    background: #fffdf8;
    box-shadow: 0 2px 8px rgba(90, 68, 48, 0.08);
}

.t5s-product-reviews-box h2 {
    margin-bottom: 6px;
}

.t5s-review-intro {
    margin: 0 0 22px;
    color: #8a7d71;
    font-size: 12px;
}

.t5s-rating-overview {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}

.t5s-rating-average div {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.t5s-rating-average strong {
    color: #4a4038;
    font-size: 24px;
    font-weight: 500;
}

.t5s-rating-average span {
    color: #e2bd17;
    font-size: 31px;
    line-height: 1;
}

.t5s-rating-average p {
    margin: 0 0 10px;
    color: #7c7168;
    font-size: 13px;
}

.t5s-review-now,
.t5s-review-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 18px;
    border: 1px solid #6e472c;
    border-radius: 2px;
    background: #6e472c;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
}

.t5s-review-now:hover,
.t5s-review-submit:hover {
    background: #5b3821;
    color: #fff;
}

.t5s-rating-bars {
    display: grid;
    gap: 8px;
}

.t5s-rating-bar-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 42px 82px;
    gap: 10px;
    align-items: center;
    color: #85796e;
    font-size: 12px;
}

.t5s-rating-bar-row>span {
    color: #6d6259;
    white-space: nowrap;
}

.t5s-rating-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4e4e4;
}

.t5s-rating-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #e6c400;
}

.t5s-rating-bar-row em {
    color: #70665d;
    font-style: normal;
    text-align: right;
}

.t5s-rating-bar-row small {
    color: #84786e;
    font-size: 12px;
    white-space: nowrap;
}

.t5s-product-reviews-box .comment-reply-title,
.t5s-review-form .comment-reply-title {
    display: block;
    margin: 0 0 16px;
    color: #3e352e;
    font-size: 22px;
    font-weight: 500;
}

.t5s-review-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 0;
}

.t5s-review-form .comment-form-rating,
.t5s-review-form .comment-form-comment,
.t5s-review-form .comment-form-review-images,
.t5s-review-form .comment-form-cookies-consent,
.t5s-review-form .form-submit,
.t5s-review-form .comment-reply-title,
.t5s-review-form .logged-in-as,
.t5s-review-form .must-log-in {
    grid-column: 1 / -1;
}

.t5s-review-form p {
    margin: 0;
}

.t5s-review-form label {
    display: block;
    margin-bottom: 6px;
    color: #71665c;
    font-size: 12px;
    font-weight: 400;
}

.t5s-review-form .required {
    color: #c3472f;
}

.t5s-review-form input[type="text"],
.t5s-review-form input[type="email"],
.t5s-review-form input[type="tel"],
.t5s-review-form textarea {
    width: 100%;
    min-height: 42px;
    margin: 0;
    border: 1px solid #e2d8ca;
    border-radius: 4px;
    background: #f9f5ee;
    box-shadow: none;
    color: #4a4038;
    font-size: 13px;
}

.t5s-review-form .comment-form-comment {
    position: relative;
}

.t5s-post-review-comment {
    position: relative;
}

.t5s-review-form .comment-form-comment textarea {
    padding-right: 58px;
    padding-bottom: 48px;
}

.t5s-post-review-comment textarea {
    padding-right: 58px;
    padding-bottom: 48px;
}

.t5s-post-review-comment .t5s-review-image-preview {
    margin-top: 10px;
}

.t5s-review-form .comment-form-review-images {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
}

.t5s-post-review-comment .comment-form-review-images {
    position: absolute;
    right: 14px;
    bottom: 24px;
    z-index: 2;
}

.t5s-review-form .comment-form-review-images input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.t5s-post-review-comment .comment-form-review-images input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.t5s-review-image-trigger {
    display: inline-flex !important;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border: 1px solid #d7c7b4;
    border-radius: 4px;
    background: rgba(249, 245, 238, 0.92);
    color: #8a5a36 !important;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.t5s-review-image-trigger:hover {
    border-color: #8a5a36;
    background: #fffaf2;
    color: #6b3f22 !important;
}

.t5s-review-image-trigger svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.t5s-review-image-count {
    position: absolute;
    right: 60px;
    bottom: 22px;
    color: #8a7f75;
    font-size: 12px;
    line-height: 1;
}

.t5s-review-image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.t5s-review-image-preview:empty {
    display: none;
}

.t5s-review-image-preview img {
    width: 72px;
    height: 72px;
    border: 1px solid #e2d8ca;
    border-radius: 4px;
    object-fit: cover;
}

.t5s-review-form textarea {
    min-height: 104px;
    resize: vertical;
}

.t5s-review-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 14px;
    margin-bottom: 4px;
}

.t5s-review-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.t5s-review-stars label {
    margin: 0;
    color: #e7c64a;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
}

.t5s-review-stars input:checked~label,
.t5s-review-stars label:hover,
.t5s-review-stars label:hover~label {
    color: #d6a900;
}

.t5s-review-form .form-submit {
    margin-top: 2px;
}

.t5s-review-submit {
    margin: 0;
}

.t5s-review-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.t5s-review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.t5s-review-images a {
    display: block;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border: 1px solid #e2d8ca;
    border-radius: 4px;
    background: #f9f5ee;
}

.t5s-review-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t5s-new-products h2 {
    text-align: center;
    text-transform: uppercase;
}

.t5s-new-products-list {
    display: grid;
    gap: 13px;
}

.t5s-new-product-item {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 108px;
    padding: 0;
    overflow: hidden;
    border-radius: 7px;
    background: #fffaf0;
    box-shadow: 0 2px 8px rgba(65, 49, 33, 0.16);
    color: #4d4036;
}

.t5s-new-product-item:hover {
    color: #7a4e2d;
    box-shadow: 0 4px 12px rgba(65, 49, 33, 0.2);
}

.t5s-new-product-thumb {
    display: block;
    height: 108px;
    overflow: hidden;
}

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

.t5s-new-product-info {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding-right: 10px;
}

.t5s-new-product-info strong {
    overflow: hidden;
    color: #4a3d33;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t5s-new-product-price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #d65a21;
    font-size: 1rem;
    font-weight: 600;
}

.t5s-new-product-price del,
.t5s-new-product-price del .amount {
    color: #92857b;
    font-size: 1rem;
    font-weight: 400;
}

.t5s-new-product-price ins {
    color: #d65a21;
    text-decoration: none;
}

.t5s-new-product-price .t5s-sale-badge {
    min-width: 32px;
    height: 15px;
    font-size: 8px;
}

@media (min-width: 850px) {
    .single-product .product-gallery {
        flex-basis: 50%;
        max-width: 50%;
    }

    .single-product .product-info.summary {
        flex-basis: 50%;
        max-width: 50%;
        padding-top: 0;
    }
}

@media (max-width: 849px) {
    .t5s-single-post {
        padding: 18px 0 32px;
    }

    .t5s-single-post__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .t5s-single-post__title {
        font-size: 24px;
    }

    .t5s-single-post__meta {
        gap: 8px 0;
        font-size: 14px;
    }

    .t5s-single-post__meta span {
        padding-right: 16px;
        margin-right: 16px;
    }

    .t5s-single-post__intro,
    .t5s-single-post__content {
        font-size: 15px;
    }

    .t5s-single-post__content h2 {
        font-size: 24px;
    }

    .t5s-single-post__content h3 {
        font-size: 20px;
    }

    .t5s-single-post__sidebar {
        position: static;
    }

    .t5s-single-post__sidebar-title {
        text-align: left;
    }

    .t5s-related-news-card {
        grid-template-columns: 100px minmax(0, 1fr);
        min-height: 88px;
    }

    .t5s-floating-toc-button {
        right: 16px;
        bottom: 50%;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .t5s-floating-toc-panel {
        right: 16px;
        bottom: 76px;
        width: calc(100vw - 32px);
    }

    .t5s-post-review-box {
        padding: 18px 14px;
    }

    .t5s-post-review-box .comment-reply-title {
        font-size: 20px;
    }

    .t5s-post-review-fields {
        grid-template-columns: 1fr;
    }

    .t5s-post-review-stars {
        gap: 10px;
    }

    .t5s-post-review-stars label {
        font-size: 27px;
    }

    .single-product .product-main {
        padding: 16px 0 24px;
    }

    .single-product .product-gallery,
    .single-product .product-info.summary {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        flex-basis: 100%;
    }

    .t5s-product-heading {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .t5s-product-heading__meta {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-top: 0;
    }

    .t5s-product-heading>.price-contact {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: -4px;
    }

    .t5s-product-heading .product-title {
        font-size: 20px;
    }

    .t5s-product-specs__row {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .single-product table.variations tr {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .t5s-price-panel {
        font-size: 23px;
    }

    .t5s-price-panel del,
    .t5s-price-panel del .amount {
        font-size: 18px;
    }

    .t5s-product-details-layout {
        grid-template-columns: 1fr;
    }

    .t5s-rating-overview {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .t5s-review-form {
        grid-template-columns: 1fr;
    }

    .t5s-rating-bar-row {
        grid-template-columns: 34px minmax(0, 1fr) 38px;
    }

    .t5s-rating-bar-row small {
        display: none;
    }

    .t5s-new-product-item {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .t5s-new-product-thumb {
        height: 92px;
    }

}