.brand-name {
    color: #ffd700;
    font-size: 28px;
    font-weight: 700;
    white-space: nowrap;
}

.logo,
.logo:hover {
    color: #fff;
    text-decoration: none;
}

.nav .main-menu > li > a {
    white-space: nowrap;
}

.nav ul li:focus-within > ul.sub-menu {
    display: block !important;
}

.ks-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(100%, 230px);
    min-width: 0;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
}

.ks-search input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 50px;
    padding-right: 12px;
    color: #333;
    background: transparent;
    border: 0;
    border-radius: 0 50px 50px 0;
    font: 14px system-ui, sans-serif;
}

.ks-search button,
.ks-mobile-search {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.ks-mobile-search {
    display: none;
}

.ks-search .ks-suggestions {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    display: block;
    width: max(100%, 220px);
    max-width: calc(100vw - 48px);
    padding: 4px 0;
    list-style: none;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px #0002;
}

.ks-search .ks-suggestions[hidden] {
    display: none;
}

.ks-search .ks-suggestions li {
    display: block;
    margin: 0 !important;
}

.ks-search .ks-suggestions a {
    display: block;
    padding: 8px 12px;
    color: #650900;
    font-size: 14px !important;
    line-height: 1.35;
    text-decoration: none;
}

.ks-search .ks-suggestions a:hover,
.ks-search .ks-suggestions a:focus {
    background: #f8f2e9;
}

.carousel-slide:not(.active) {
    pointer-events: none;
}

.indicator {
    padding: 0;
    border: 0;
}

.latest-products {
    padding: 5rem 0;
    background: #fff;
}

.section-art,
.view-shop {
    text-align: center;
}

.section-art {
    margin-bottom: 3rem;
}

.section-art img {
    max-width: 100%;
    height: auto;
}

.view-shop {
    margin-top: 2rem;
}

.view-shop .cta-button {
    color: #8b0000;
    background: transparent;
    border: 1px solid #8b0000;
}

.reel-link {
    display: grid;
    min-height: 513px;
    place-items: center;
    border-radius: 8px;
    color: #998b7a;
    font-size: 22px;
    text-decoration: none;
}

.reel-link:hover,
.reel-link:focus-visible {
    color: #8b0000;
    background: #fbf8f3;
}

body:has(.shop-content) {
    background: #f8f8f8;
}

.main-content {
    max-width: 1200px;
    min-height: 280px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px #0001;
}

.main-content .page-title {
    margin-bottom: 2rem;
    color: #8b0000;
    text-align: center;
    font-size: 2.5rem;
}

.main-content + .footer {
    margin-top: 3rem;
}

.shop-intro {
    margin-bottom: 2rem;
    color: #666;
    text-align: center;
    font-size: 1.1rem;
}

.shop-search-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.shop-search-container .ks-search {
    border-color: #eee;
}

.shop-content + .footer .footer-content {
    padding: 0 2rem;
}

.woocommerce ul.products li.product {
    transition: transform .3s ease;
    padding: 1rem !important;
    border-radius: 15px;
    box-shadow: 0 5px 20px #0001;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
}

.woocommerce ul.products li.product a img {
    aspect-ratio: 1;
    border-radius: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #8b0000;
    font-weight: 600;
}

.woocommerce ul.products li.product .price {
    font-size: 1.2rem;
}

.woocommerce ul.products li.product .button,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
    padding: .5rem 1rem;
    color: #8b0000;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    border: 0;
    border-radius: 25px;
    font-weight: 600;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
    color: #650900;
    background: linear-gradient(135deg, #ffe04a, #ffad21);
}

.woocommerce div.product .product_title {
    color: #8b0000;
    font-size: 2rem;
}

.woocommerce #content .custom-product-info p.price {
    color: #958e09;
    font-size: 20px;
    font-weight: 700;
}

.woocommerce div.product div.custom-product-gallery .images,
.woocommerce #content div.product .custom-product-info.summary {
    float: none;
    width: 100%;
}

.woocommerce #content div.product .custom-product-info.summary {
    margin: 0;
}

.woocommerce .custom-product-gallery .woocommerce-product-gallery {
    opacity: 1 !important;
}

.woocommerce .custom-product-info .single_add_to_cart_button.button.alt {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.custom-product-info .ks-product-badge {
    margin: .4em 0;
    color: #8b4513;
    font-weight: 600;
}

.woocommerce .shop-content .back-to-shop .button {
    background: #fff;
    font-size: 14px;
}

.shop-content .back-button:focus-visible {
    outline: 2px solid #958e09;
}

.page-entry p,
.post-content p {
    margin-bottom: 1rem;
}

.page-entry:not(:has(> .woocommerce, > .wp-block-woocommerce-cart)) ul,
.page-entry:not(:has(> .woocommerce, > .wp-block-woocommerce-cart)) ol,
.post-content ul,
.post-content ol {
    margin: 0 0 1rem 1.5rem;
}

.page-content .page-title {
    text-align: center;
}

.page-content .page-entry .wp-block-woocommerce-cart {
    max-width: none;
}

.wp-block-woocommerce-cart .wc-block-grid__products {
    margin-inline: 0;
}

.wp-block-woocommerce-cart .wc-block-grid__product-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

body .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='17' fill='none' stroke='%23000' stroke-width='3'/%3E%3Ccircle cx='14' cy='16' r='2.4'/%3E%3Ccircle cx='26' cy='16' r='2.4'/%3E%3Cpath d='M12.5 24c1.8 3.2 4.4 4.9 7.5 4.9s5.7-1.7 7.5-4.9' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

body.woocommerce-account:not(.logged-in) .page-content .page-entry > .woocommerce {
    width: min(100%, 560px);
    margin: 0 auto;
}

.page-content .woocommerce > h2,
.ks-join-title,
.ks-signup .u-column2 h2 {
    margin: 0;
    padding: 13px 18px;
    color: #fff;
    background: #8b4513;
    border-radius: 10px 10px 0 0;
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .05em;
}

.page-content .woocommerce > form.woocommerce-form-login,
.ks-signup .woocommerce form.register {
    margin: 0;
    padding: 24px 22px 18px;
    background: #fff;
    border: 1px solid #e0d3c2;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}

.page-content .woocommerce-form-login .form-row {
    margin-bottom: 16px;
}

.page-content .woocommerce-form-login .woocommerce-LostPassword {
    margin: 4px 0 0;
    text-align: right;
    font-size: 13px;
}

.ks-join-sep {
    margin: 30px 0 26px;
    border-top: 1px dashed #cbb89b;
}

.ks-join-body {
    padding: 26px 22px;
    background: #fdf6ec;
    border: 1px solid #e0d3c2;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}

.ks-join-btn {
    display: block;
    max-width: 260px;
    margin: 0 auto;
    padding: 13px 24px;
    color: #fff;
    background: #8b4513;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: .05em;
    text-align: center;
    text-decoration: none;
}

.ks-join-btn:hover,
.ks-join-btn:focus {
    color: #fff;
    background: #6d360f;
}

.ks-signup .u-column1 {
    display: none;
}

.woocommerce-account .ks-signup #customer_login .u-column2 {
    float: none;
    width: 100%;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    padding: .6rem;
    border: 1px solid #bbb;
    border-radius: 4px;
}

.page-content .woocommerce form.woocommerce-form-login input.input-text {
    height: 34px;
    padding: .3rem .5rem;
}

.feature-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.feature-card h4 a {
    color: #333;
    text-decoration: none;
}

.feature-card h4 a:hover {
    color: #8b0000;
}

.single-post-content {
    padding: 5rem 0;
}

.single-post-content .container {
    max-width: 800px;
}

.post-title {
    margin-bottom: 1rem;
    color: #8b0000;
}

.post-meta,
.post-thumbnail {
    margin-bottom: 2rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.post-content {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.pagination {
    margin-top: 2rem;
    text-align: center;
}

.pagination .page-numbers {
    margin: 0 .35rem;
}

@media (min-width: 769px) and (max-width: 1060px) {
    .nav li {
        margin: 0 7px;
    }

    .nav a {
        white-space: nowrap;
    }

    .nav .ks-search {
        width: 145px;
    }
}

@media (min-width: 1061px) {
    .nav .main-menu {
        gap: 3px;
    }
}

@media (max-width: 768px) {
    .ks-mobile-search {
        display: grid;
        width: 20px;
        height: 17px;
        flex: 0 0 auto;
        color: #131313;
    }

    .header-search .ks-search,
    .shop-search-container .ks-search {
        position: absolute;
        z-index: 30;
        top: 29px;
        right: 0;
        display: none;
        width: min(70vw, 260px);
    }

    .shop-search-container .ks-search {
        right: auto;
    }

    .header-search .ks-suggestions {
        right: 0;
        left: auto;
    }

    .header-search.search-open .ks-search,
    .shop-search-container.search-open .ks-search {
        display: flex;
    }

    .woocommerce .shop-content .woocommerce-ordering {
        clear: both;
        float: right;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1rem !important;
    }

    .reel-link {
        min-height: 374px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .carousel-slide {
        transition: none;
    }
}

.ks-returns {
    padding: 3.5rem 2rem;
    background: #faf6ee;
}

.ks-returns-inner {
    max-width: 760px;
    margin: auto;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: #fff;
    border: 1px solid #e8dccb;
    border-radius: 15px;
}

.ks-returns h1 {
    margin-bottom: .4rem;
    color: #8b0000;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.ks-returns-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.ks-returns-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ks-returns-form label {
    display: grid;
    gap: .35rem;
    min-width: 0;
    font-weight: 600;
}

.ks-returns-form :is(input, select, textarea) {
    width: 100%;
    padding: .65em .75em;
    color: #333;
    background: #fff;
    border: 1px solid #bdb1a1;
    border-radius: 6px;
    font: inherit;
}

.ks-returns-form textarea {
    resize: vertical;
}

.ks-returns-form .ks-returns-website {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.ks-returns-form button {
    justify-self: start;
    min-height: 44px;
    padding: .55rem 1.5rem;
    color: #fff;
    background: #8b0000;
    border: 0;
    border-radius: 24px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.ks-returns-form button:hover {
    background: #a11919;
}

.ks-returns-feedback {
    margin-top: 1rem;
    padding: .75rem 1rem;
    border-radius: 6px;
}

.ks-returns-feedback.is-success {
    color: #255e31;
    background: #edf8ef;
}

.ks-returns-feedback.is-error {
    color: #8b0000;
    background: #fff0ef;
}

.footer a {
    color: #fff4d2;
    text-underline-offset: .2em;
}

.footer a:hover {
    color: #ffd700;
}

.footer address {
    margin-top: .35em;
    font-style: normal;
}

.ks-merchant-name {
    font-weight: 700;
}

@media (max-width: 520px) {
    .ks-returns {
        padding: 2.5rem 1.25rem;
    }

    .ks-returns-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .page-content .woocommerce > form.woocommerce-form-login,
    .ks-join-body {
        padding-inline: 16px;
    }
}
