*{
    font-family: 'Josefin Sans';
}
.wc-products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.dcc-wc-cat-block {
    width: 100%;
}

.dcc-wc-cat-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 10px 0 22px;
}

.dcc-wc-cat-heading::before,
.dcc-wc-cat-heading::after {
    content: "";
    flex: 0 0 24px;
    height: 2px;
    background: #111;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .dcc-wc-cat-heading::before,
    .dcc-wc-cat-heading::after {
        flex-basis: 64px;
    }
}

.dcc-wc-cat-title {
    margin: 0;
    padding: 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
}

.dcc-wc-cat-view-all {
    display: flex;
    justify-content: center;
    margin: 22px 0 36px;
}

.dcc-wc-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.dcc-wc-view-all-btn:hover {
    opacity: 0.92;
}

.product-card {
    position: relative;
    border: 0;
    padding: 15px;
    text-align: center;
    overflow: hidden;
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    transition: transform 0.35s ease;
    transform-origin: center;
}

.product-image.dcc-has-zoom {
    overflow: hidden;
}

.product-card:hover .product-image.dcc-has-zoom img {
    transform: scale(1.08);
}

.product-title {
    font-size: 16px;
    margin: 10px 0;
    font-family: Josefin Sans, sans-serif;
    font-weight: 400;
    color: #000;
}

.product-price {
    font-family: Josefin Sans, sans-serif;
    font-weight: 400;
    color: rgb(105 105 105 / 1);
}


/* Only show the current price (hide the old/sale price) */
.product-price del,
.product-price del * {
    display: none !important;
}

/* No underline/decoration in price output */
.product-price,
.product-price *,
.product-price a {
    text-decoration: none !important;
}

.product-hover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(8px);
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.product-image:hover .product-hover {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
    pointer-events: auto;
}

.product-hover .btn {
    background: #fff;
    padding: 10px;
    text-decoration: none;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.product-hover .btn .dcc-btn-icon {
    display: inline-flex;
    align-items: center;
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    .wc-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        padding: 10px;
    }

    .product-title {
        font-size: 14px;
        margin: 8px 0;
    }

    /* On mobile, buttons might be too crowded in the hover overlay.
       Make them stack vertically and maybe show them easier. */
    .product-hover {
        width: 90%;
        flex-direction: column !important; /* Force column on mobile if needed */
        gap: 5px;
    }

    .product-hover .btn {
        width: 100%;
        padding: 5px 8px;
        font-size: 11px;
        min-height: 28px;
        border-radius: 4px;
    }

    .product-hover .btn .dcc-btn-icon {
        font-size: 10px;
    }

    .product-price {
        font-size: 14px;
    }

    .dcc-wc-cat-heading {
        gap: 8px;
        margin-bottom: 15px;
    }

    .dcc-wc-cat-title {
        font-size: 20px;
    }

    .dcc-wc-cat-heading::before,
    .dcc-wc-cat-heading::after {
        flex-basis: 20px;
    }
}

@media (max-width: 480px) {
    .wc-products-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Archive Breadcrumb Widget Styles */
.archive-breadcrumb-wrapper {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Default overlay */
    z-index: 1;
}

.archive-breadcrumb-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.archive-breadcrumb-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #fff;
}

.archive-breadcrumb-path nav.woocommerce-breadcrumb {
    font-size: 16px;
    color: #eee !important;
    margin: 0;
}

.archive-breadcrumb-path nav.woocommerce-breadcrumb a {
    color: #fff !important;
    text-decoration: none;
}

.archive-breadcrumb-path nav.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* Archive Products Widget Styles */
.wc-archive-products-container {
    padding: 20px 0;
}

.archive-category-title {
    font-size: 32px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #111;
}

.archive-products-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.archive-products-header select.orderby {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}

.archive-products-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.archive-products-footer nav.woocommerce-pagination ul {
    display: flex;
    list-style: none;
    gap: 10px;
    padding: 0;
}

.archive-products-footer nav.woocommerce-pagination ul li {
    margin: 0;
}

.archive-products-footer nav.woocommerce-pagination ul li span,
.archive-products-footer nav.woocommerce-pagination ul li a {
    padding: 8px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    display: block;
}

.archive-products-footer nav.woocommerce-pagination ul li span.current {
    background: #111;
    color: #fff;
    border-color: #111;
}

@media (max-width: 767px) {
    .archive-breadcrumb-title {
        font-size: 28px;
    }
    .archive-products-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
}