/* Catalog and product pages; retain the site's selected background. */
.diiho-image-square {
    --diiho-product-image-ratio: 1 / 1;
}

.diiho-image-landscape {
    --diiho-product-image-ratio: 4 / 3;
}

.diiho-image-photo {
    --diiho-product-image-ratio: 3 / 2;
}

.diiho-image-wide {
    --diiho-product-image-ratio: 2 / 1;
}

.woocommerce.diiho-card-inset .diiho-store ul.products li.product a img {
    width: calc(100% - 30px);
    margin: 15px;
    border-radius: 7px;
}

.woocommerce.diiho-card-inset .diiho-store ul.products li.product .diiho-shop-category {
    top: 30px;
    left: 30px;
}

.woocommerce.diiho-card-inset .diiho-store ul.products li.product .onsale {
    top: 70px;
    right: auto;
    left: 30px;
    margin: 0;
}

.woocommerce.diiho-card-inset .diiho-store ul.products:not([data-view=list]) li.product .diiho-shop-favorite {
    top: 20px;
    right: 20px;
}

@media (min-width: 541px) {
    .woocommerce.diiho-card-inset .diiho-store ul.products[data-view=list] li.product a img {
        inset: 15px auto 15px 15px;
        width: calc(32% - 15px);
        height: calc(100% - 30px);
        margin: 0;
    }
}

@media (min-width: 1001px) {
    .woocommerce.diiho-columns-4 .diiho-store ul.products:not([data-view=list]) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.woocommerce.diiho-card-editorial .diiho-store ul.products li.product {
    border: 1px solid #e1e7ee;
    box-shadow: none;
    border-radius: 14px;
}

.woocommerce.diiho-card-editorial .diiho-store ul.products:not([data-view=list]) li.product a img {
    aspect-ratio: var(--diiho-product-image-ratio, 1 / 1);
}

.woocommerce.diiho-card-editorial .diiho-store ul.products li.product>.button {
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--diiho-accent);
    color: var(--diiho-accent);
    box-shadow: none;
}

.woocommerce.diiho-card-editorial .diiho-store ul.products li.product>.button::before {
    font-size: 16px;
}

.woocommerce.diiho-card-editorial .diiho-store ul.products li.product>.button:is(:hover, :focus-visible) {
    background: transparent;
    border-color: var(--diiho-accent-dark);
    color: var(--diiho-accent-dark);
}

.woocommerce.diiho-card-editorial .diiho-store ul.products li.product .diiho-shop-category {
    background: #ffffffcc;
    border: 1px solid var(--diiho-accent);
    color: var(--diiho-accent);
    border-radius: 6px;
}

.woocommerce.diiho-card-editorial .diiho-store ul.products li.product .diiho-shop-category:hover {
    background: #ffffffcc;
    border-color: var(--diiho-accent-dark);
    color: var(--diiho-accent-dark);
}

.woocommerce.diiho-card-editorial .diiho-store ul.products li.product .onsale {
    background: var(--diiho-accent);
    color: #fff;
}

.woocommerce.diiho-card-compact .diiho-store ul.products:not([data-view=list]) li.product {
    padding-top: 16px;
    overflow: visible;
    border-top-left-radius: 40px;
}

.woocommerce.diiho-card-compact .diiho-store ul.products:not([data-view=list]) li.product a.woocommerce-loop-product__link {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
    align-content: start;
}

.woocommerce.diiho-card-compact .diiho-store ul.products:not([data-view=list]) li.product a img {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
    transform: translateX(-7px);
}

.woocommerce.diiho-card-compact .diiho-store ul.products:not([data-view=list]) li.product .price {
    grid-column: 1 / -1;
    margin-top: 16px;
}

.woocommerce.diiho-card-compact .diiho-store ul.products li.product .diiho-shop-category {
    position: static;
    align-self: flex-start;
    margin: 10px 70px 0 16px;
    max-width: calc(100% - 86px);
}

.woocommerce.diiho-card-compact .diiho-store ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 16px;
    display: flex;
    flex-direction: column;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products:not([data-view=list]) li.product a img {
    border-radius: 12px;
    aspect-ratio: var(--diiho-product-image-ratio, 1 / 1);
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products:not([data-view=list]) li.product:hover a img {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product a.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product .woocommerce-loop-product__title {
    padding: 8px 0 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
    color: inherit;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product .diiho-shop-rating {
    display: none !important;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product .price {
    margin: 4px 0 0 0;
    min-height: auto;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product>.button {
    position: static;
    width: 100%;
    height: 42px;
    margin: 14px 0 0;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid var(--catalog-teal);
    color: var(--catalog-teal);
    text-decoration: none;
    box-shadow: none;
    transition: background .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product>.button:hover {
    background: var(--catalog-teal);
    color: #fff;
    transform: translateY(-1px);
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product>.button::before {
    font-size: 14px;
    margin-right: 4px;
    color: inherit;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product>.button.diiho-product-added {
    background: transparent;
    border: 1.5px solid var(--catalog-teal);
    color: var(--catalog-teal);
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product>.button.diiho-product-added:hover {
    background: var(--catalog-teal);
    color: #fff;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product>.button.diiho-product-added::before {
    content: '\f07a';
}

.woocommerce.diiho-card-minimal .diiho-store ul.products:not([data-view=list]) li.product .diiho-shop-favorite {
    top: 10px;
    right: 10px;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product .diiho-shop-category {
    top: 10px;
    left: 10px;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products li.product .onsale {
    top: 44px;
    left: 10px;
}

.woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product,
.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product {
    border-radius: 0;
    padding-bottom: 24px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 541px) {

    .woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product,
    .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product {
        padding-left: 34%;
        padding-top: 0;
        min-height: 190px;
    }

    .woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product a img,
    .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product a img {
        position: absolute;
        top: 0;
        left: 0;
        width: 32%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    .woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product .woocommerce-loop-product__title,
    .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product .woocommerce-loop-product__title {
        padding-top: 0;
        margin-top: 0;
    }

    .woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button,
    .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button {
        position: relative !important;
        inset: auto !important;
        overflow: visible !important;
        align-self: flex-start;
        width: auto;
        min-width: 180px;
        max-width: 260px;
        margin-top: 14px;
    }

    .woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button:hover,
    .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button:hover {
        transform: none;
    }

    .woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button::after,
    .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button::after {
        content: "" !important;
        display: block !important;
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        width: 2000px;
        height: 1px;
        background: linear-gradient(90deg, #94a3b8 0%, #cbd5e1 30%, rgba(203, 213, 225, 0.3) 70%, transparent 100%);
        pointer-events: none;
        z-index: 1;
    }
}

@media (max-width: 540px) {

    .woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product,
    .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product {
        padding-left: 0 !important;
        padding-top: 0 !important;
        min-height: auto;
    }

    .woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product a img,
    .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product a img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: var(--diiho-product-image-ratio, 1 / 1);
        border-radius: 12px;
        margin: 0 0 12px;
    }

    .woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button,
    .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button {
        width: 100%;
        max-width: none;
        margin-top: 14px;
    }

    .woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button::after,
    .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button::after {
        display: none !important;
    }
}

body.woocommerce.diiho-commerce {
    --shop-panel: #fff;
    --shop-input: #f3f5f7;
    --shop-text: #102039;
    --shop-muted: #65748c;
    --shop-line: #e6ebf1;
    --catalog-teal: var(--diiho-accent);
}

.woocommerce.diiho-commerce #content {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
}

.woocommerce.diiho-commerce .diiho-store {
    max-width: none;
    padding: 22px 3rem 40px;
    font: 14px/1.6 Arial, Helvetica, sans-serif;
}

.diiho-shop-hero {
    text-align: center;
    margin-bottom: 52px;
    color: #ededed;
}

.woocommerce .diiho-shop-hero .woocommerce-breadcrumb {
    margin: 0 0 12px;
    color: #aaa;
    font-size: 14px;
}

.woocommerce .diiho-shop-hero .woocommerce-breadcrumb a {
    color: inherit;
}

.woocommerce .diiho-shop-hero h1 {
    margin: 0 0 6px;
    color: inherit;
    font: 700 42px/1.2 Arial, sans-serif;
    letter-spacing: -.8px;
}

.diiho-shop-hero p {
    margin: 0;
    color: #aaa;
    font-size: 18px;
}

html[data-theme=light] .diiho-shop-hero,
body.diiho-light-mode .diiho-shop-hero {
    color: #102039;
}

html[data-theme=light] .diiho-shop-hero :is(p, .woocommerce-breadcrumb),
body.diiho-light-mode .diiho-shop-hero :is(p, .woocommerce-breadcrumb) {
    color: #65748c;
}

.woocommerce .diiho-store .woocommerce-products-header:empty {
    display: none;
}

.woocommerce .diiho-store .term-description {
    margin: 0 auto 26px;
    text-align: center;
}

.diiho-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 50px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--diiho-accent);
}

.diiho-shop-views {
    display: flex;
    gap: 6px;
}

.diiho-shop-search {
    display: flex;
    flex: 1;
    min-width: 0;
    margin: 0;
    gap: 6px;
}

.diiho-store .diiho-shop-toolbar :is(input, button) {
    outline: none;
}

.diiho-shop-search input[type=search] {
    width: 100%;
    min-width: 0;
    height: 44px;
    border-radius: 7px;
    padding: 8px 12px;
    background: #fff;
    color: #333;
}

.diiho-shop-search button {
    flex: 0 0 44px;
    padding: 0;
    border: 0;
    border-radius: 7px;
}

.diiho-shop-views button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: color-mix(in srgb, var(--diiho-accent) 6%, white);
    color: var(--diiho-accent);
}

.diiho-shop-views button[aria-pressed=true] {
    background: var(--catalog-teal);
    color: #fff;
}

.woocommerce .diiho-store ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 32px;
}

.woocommerce .diiho-store ul.products li.product {
    position: relative;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 0 20px;
    border: 0;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 14px #233c5810;
}

.woocommerce .diiho-store ul.products li.product a img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--diiho-product-image-ratio, 1 / 1);
    object-fit: cover;
    margin: 0 0 10px;
    border-radius: 0;
}

.woocommerce .diiho-store ul.products li.product .woocommerce-loop-product__title {
    margin: 0;
    padding: 0 16px 8px;
    font: 700 16px/1.4 Arial, sans-serif;
    color: #102039;
}

.diiho-shop-category {
    position: absolute;
    top: 16px;
    left: 16px;
    max-width: calc(100% - 74px);
    padding: 4px 10px;
    background: var(--diiho-accent);
    border-radius: 9px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.woocommerce .diiho-store ul.products li.product .onsale {
    top: 52px;
    left: 16px;
    right: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 5px 18px 5px 10px;
    border: 0;
    border-radius: 0;
    background: var(--diiho-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.woocommerce .diiho-store ul.products li.product .onsale::before {
    content: '\f0e7';
    font: 900 12px/1 'Font Awesome 6 Pro';
}

.woocommerce .diiho-store .diiho-shop-favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: #10203926;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    line-height: 36px;
}

.woocommerce .diiho-store ul.products[data-view=list] .diiho-shop-favorite {
    bottom: 16px;
    left: 16px;
    top: auto;
}

@media (max-width: 768px) {
    .woocommerce .diiho-store ul.products[data-view=list] .diiho-shop-favorite {
        right: 16px;
        top: 16px;
        bottom: auto;
        left: auto;
    }
}

.woocommerce .diiho-store .diiho-shop-favorite[aria-pressed=true] {
    color: #ff657d;
}

.diiho-shop-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 20px;
    margin: 0 16px 8px;
    color: #65748c;
    font-size: 15px;
}

.diiho-shop-rating span:not(.star-rating span) {
    color: #ccc;
}

.woocommerce .diiho-store ul.products li.product .diiho-shop-rating .star-rating {
    margin: 0;
    color: #ffb000;
}

.woocommerce .diiho-store ul.products li.product .diiho-shop-rating .star-rating::before {
    color: #c5cbd3;
}

.woocommerce .diiho-store ul.products li.product .price {
    margin: auto 78px 0 16px;
    padding-top: 0;
    min-height: 32px;
    color: var(--catalog-teal);
    font-size: 21px;
    line-height: 1.5;
    font-weight: 700;
}

.woocommerce .diiho-store ul.products li.product .price del {
    font-size: 13px;
}

.woocommerce .diiho-store ul.products li.product .price ins {
    text-decoration: none;
}

.woocommerce .diiho-store ul.products li.product>.button {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-size: 0;
    border-radius: 50%;
    background: var(--catalog-teal);
    color: #fff;
}

.woocommerce .diiho-store ul.products li.product>.button::before {
    content: '\f07a';
    font: 900 16px 'Font Awesome 6 Pro';
}

.woocommerce .diiho-store ul.products li.product>.button.product_type_variable::before,
.woocommerce .diiho-store ul.products li.product>.button.product_type_grouped::before {
    content: '\f0ca';
}

.woocommerce .diiho-store ul.products li.product>.button::after {
    display: none;
}

.woocommerce .diiho-store ul.products li.product>.button.loading {
    opacity: 1;
}

.woocommerce .diiho-store ul.products li.product>.button.loading::before {
    animation: diiho-cart-pulse .75s ease-in-out infinite;
}

.woocommerce .diiho-store ul.products li.product>.button.diiho-product-added::before {
    content: '\f061';
}

.woocommerce .diiho-store ul.products li.product>.added_to_cart {
    display: none;
}

@keyframes diiho-cart-pulse {

    0%,
    100% {
        transform: scale(.8);
    }

    50% {
        transform: scale(1.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .woocommerce .diiho-store ul.products li.product>.button.loading::before {
        animation: none;
    }
}

.woocommerce .diiho-store ul.products[data-view=list] {
    grid-template-columns: minmax(0, 1fr);
}

.woocommerce .diiho-store ul.products[data-view=list] li.product {
    min-height: 190px;
    padding-left: 34%;
    padding-top: 20px;
}

.woocommerce .diiho-store ul.products[data-view=list] li.product a img {
    position: absolute;
    inset: 0 auto 0 0;
    width: 32%;
    height: 100%;
    aspect-ratio: auto;
}

.woocommerce .diiho-store ul.products[data-view=list] .diiho-shop-category {
    max-width: 26%;
}

/* Product detail uses the same white panels and teal controls. */
.woocommerce.single-product .diiho-store div.product {
    color: #102039;
}

.woocommerce.single-product .diiho-store div.product .summary {
    padding: var(--shop-box-padding);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 16px #233c5810;
}

.woocommerce.single-product .diiho-store div.product .product_title {
    color: #102039;
    font: 700 32px/1.3 Arial, sans-serif;
    margin: 0 0 16px;
}

.woocommerce.single-product .diiho-store div.product .summary p.price {
    color: var(--catalog-teal);
    font-size: 28px;
    font-weight: 700;
}

.woocommerce.single-product .diiho-store div.product .woocommerce-product-gallery {
    overflow: hidden;
    border-radius: 14px;
}

.woocommerce.single-product .diiho-store div.product .woocommerce-product-gallery img {
    border-radius: 0;
}

.woocommerce.single-product .diiho-store div.product .single_add_to_cart_button {
    background: var(--catalog-teal);
    border-radius: 8px;
    min-height: 44px;
}

.woocommerce.single-product .diiho-store div.product .woocommerce-tabs {
    clear: both;
    padding: var(--shop-box-padding);
    background: #fff;
    border-radius: 14px;
    margin-bottom: 26px;
}

.woocommerce.single-product .diiho-store div.product .woocommerce-tabs .panel {
    margin: 0;
}

.woocommerce.single-product .diiho-store div.product .woocommerce-tabs :is(h2, h3),
.woocommerce.single-product .diiho-store div.product .summary a {
    color: #102039;
}

@media (max-width: 1000px) {
    .woocommerce .diiho-store ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .woocommerce.diiho-commerce .diiho-store {
        padding-inline: 1rem;
    }

    .woocommerce .diiho-shop-hero h1 {
        font-size: 32px;
    }

    .diiho-shop-hero {
        margin-bottom: 30px;
    }

    .diiho-shop-hero p {
        font-size: 15px;
    }

    .woocommerce .diiho-shop-toolbar {
        flex-wrap: nowrap;
        gap: 6px;
    }
}

@media (max-width: 540px) {
    .woocommerce .diiho-store ul.products {
        grid-template-columns: minmax(0, 1fr);
    }

    .woocommerce .diiho-store ul.products[data-view=list] li.product {
        padding-left: 0;
        padding-top: 0;
    }

    .woocommerce .diiho-store ul.products[data-view=list] li.product a img {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: var(--diiho-product-image-ratio, 1 / 1);
    }

    .woocommerce.diiho-card-inset .diiho-store ul.products[data-view=list] li.product a img {
        width: calc(100% - 30px);
        margin: 15px;
    }

    .woocommerce .diiho-store ul.products[data-view=list] .diiho-shop-category {
        max-width: calc(100% - 74px);
    }
}

/* Dark mode also covers every card layout and product search results. */
html:not([data-theme=light]) body:not(.diiho-light-mode).woocommerce .diiho-store ul.products li.product {
    background: #222;
    border-color: #444;
}

html:not([data-theme=light]) body:not(.diiho-light-mode).woocommerce.diiho-card-minimal .diiho-store ul.products li.product {
    background: transparent !important;
    border-color: transparent !important;
}

html:not([data-theme=light]) body:not(.diiho-light-mode).woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product {
    border-bottom-color: #333 !important;
}

html:not([data-theme=light]) body:not(.diiho-light-mode).woocommerce.diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button::after,
html:not([data-theme=light]) body:not(.diiho-light-mode) .diiho-card-minimal .diiho-store ul.products[data-view=list] li.product>.button::after {
    background: linear-gradient(90deg, #64748b 0%, #475569 30%, rgba(71, 85, 105, 0.3) 70%, transparent 100%);
}

html:not([data-theme=light]) body:not(.diiho-light-mode).woocommerce.diiho-card-minimal .diiho-store ul.products:not([data-view=list]) li.product:hover a img {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

html:not([data-theme=light]) body:not(.diiho-light-mode).woocommerce .diiho-store ul.products li.product .woocommerce-loop-product__title {
    color: #fff;
}

html:not([data-theme=light]) body:not(.diiho-light-mode).woocommerce .diiho-store ul.products li.product :is(.diiho-product-excerpt, .diiho-shop-rating) {
    color: #ccc;
}

html:not([data-theme=light]) body:not(.diiho-light-mode) .diiho-shop-search input[type=search] {
    background: #222;
    color: #fff;
}

html:not([data-theme=light]) body:not(.diiho-light-mode) .diiho-shop-search input[type=search]::placeholder {
    color: #aaa;
    opacity: 1;
}

html:not([data-theme=light]) body:not(.diiho-light-mode) .diiho-shop-views button:not([aria-pressed=true]) {
    background: #333;
    color: #fff;
}

/* Page links inherit the post archive's shared colors, shape and spacing. */
.woocommerce .diiho-store nav.woocommerce-pagination {
    padding: 3rem 3rem 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "avenir next", avenir, "helvetica neue", helvetica, ubuntu, roboto, noto, "segoe ui", arial, sans-serif;
    font-size: .75rem;
    line-height: 1;
    font-weight: bold;
}

@media (max-width: 700px) {
    .woocommerce .diiho-store nav.woocommerce-pagination {
        padding: 40px 1px 0;
    }
}

@media (max-width: 400px) {
    .woocommerce .diiho-store nav.woocommerce-pagination {
        padding: 40px 0 0;
    }
}

/* ==========================================================================
   Variation Swatches & Select Styles (Stacking Label & Full-Width Select)
   ========================================================================== */
.woocommerce div.product form.cart table.variations,
.woocommerce div.product form.cart .variations,
table.variations {
    display: block !important;
    width: 100% !important;
    border: 0 !important;
    margin-bottom: 16px !important;
}

.woocommerce div.product form.cart table.variations tbody,
.woocommerce div.product form.cart table.variations tr,
table.variations tbody,
table.variations tr {
    display: block !important;
    width: 100% !important;
    border: 0 !important;
}

.woocommerce div.product form.cart table.variations tr,
table.variations tr {
    margin-bottom: 16px !important;
}

.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations th.label,
table.variations th,
table.variations th.label {
    display: block !important;
    width: 100% !important;
    padding: 0 0 8px 0 !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    background: none !important;
    border: 0 !important;
}

.woocommerce div.product form.cart table.variations th label,
table.variations th label {
    display: inline-block !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: inherit !important;
}

.woocommerce div.product form.cart table.variations td,
.woocommerce div.product form.cart table.variations td.value,
table.variations td,
table.variations td.value {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
}

.woocommerce div.product form.cart .variations td.value > select,
.woocommerce div.product form.cart table.variations td.value > select,
table.variations td.value > select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 42px 0 14px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 42px !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.woocommerce div.product form.cart .variations td.value > select:hover,
.woocommerce div.product form.cart table.variations td.value > select:hover,
table.variations td.value > select:hover {
    border-color: #94a3b8 !important;
}

.woocommerce div.product form.cart .variations td.value > select:focus,
.woocommerce div.product form.cart table.variations td.value > select:focus,
table.variations td.value > select:focus {
    outline: none !important;
    border-color: var(--diiho-accent, #00845c) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--diiho-accent, #00845c) 16%, transparent) !important;
}

html[data-theme='dark'] .woocommerce div.product form.cart .variations td.value > select,
html[data-theme='dark'] table.variations td.value > select,
body.diiho-dark-mode .woocommerce div.product form.cart .variations td.value > select,
body.diiho-dark-mode table.variations td.value > select {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #475569 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* An tuyet doi dropdown select mac dinh khi giao dien nut swatches duoc su dung */
.woocommerce div.product form.cart .variations .diiho-variation-wrapper select,
table.variations .diiho-variation-wrapper select,
.diiho-variation-wrapper select,
.diiho-variation-wrapper > select {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.woocommerce div.product form.variations_form .reset_variations,
.woocommerce .diiho-store a.reset_variations,
.diiho-commerce .reset_variations,
table.variations .reset_variations,
.reset_variations {
    display: none !important;
}