@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(0px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.custom-shop-container * {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
    font-family: 'Inter', sans-serif;
    background-color: #E3E3E3;
    margin: 0;
    padding: 0 !important;
    overflow-x: hidden;
}

.blog-hero-wrapper {
    width: 100vw;
    height: 100vh !important;
    margin-left: calc(50% - 50vw);
    position: relative;
    background: #333 url('https://daune.my/wp-content/uploads/2025/11/shopbanner.png') center/cover no-repeat;
    margin-top: -72px !important;
    animation: fadeInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both 0.1s;
    overflow: hidden;
}

.blog-hero-banner {
    display: none;
}

.blog-hero-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #D7DAD1;
    z-index: 1;
    box-sizing: border-box;
    padding: 80px 20px 20px 20px;
}

.blog-hero-overlay-content .overlay-top-text {
    font-family: 'clearfacestd', 'Times New Roman', serif;
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 80px;
    text-transform: none;
}

.blog-hero-overlay-content .overlay-title {
    font-family: 'moulin', 'Times New Roman', serif;
    font-weight: 400;
    font-size: 60px;
    color: #D7DAD1;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    padding: 0 180px;
    max-width: 80%;
}

.blog-hero-overlay-content .overlay-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
    padding: 0 90px;
    max-width: 60%;
}

.custom-shop-container {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 20px;
    background-color: #E3E3E3;
    position: relative;
    z-index: 2;
}

.woocommerce-products-header {
    display: none;
}

#shop-filters.custom-shop-controls {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    padding-top: 40px;
    animation: fadeInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both 0.2s;
}

.shop-controls-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0 !important;
}

.shop-controls-left .filter-item {
    position: relative;
    border: none;
    border-bottom: 1px solid #68764B;
    border-radius: 0;
    background-color: #E3E3E3;
    height: 45px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    min-width: 0;
}

.shop-controls-left .filter-item:focus-within {
    border-bottom-color: #3A4237;
}

.shop-controls-left .filter-item select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    border-radius: 0;
    background-color: transparent;
    padding: 10px 30px 10px 10px;
    height: 43px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #68764B;
    background-image: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.shop-controls-left .filter-item select:focus {
    outline: none;
    color: #3A4237;
}

.shop-controls-left .filter-item::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #68764B;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: border-top-color 0.3s ease;
}

.shop-controls-left .filter-item:focus-within::after {
    border-top-color: #3A4237;
}

.shop-controls-right.custom-search {
    margin-left: auto;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.shop-controls-right.custom-search .search-field {
    border: none;
    border-bottom: 1px solid #68764B;
    border-radius: 0;
    padding: 6px 30px 6px 2px;
    box-sizing: border-box;
    background-color: #E3E3E3 !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #68764B;
    width: 250px !important;
    height: 45px;
    transition: border-color 0.3s ease;
    min-width: 0;
}

.shop-controls-right.custom-search .search-field:focus {
    outline: none;
    border-bottom-color: #3A4237;
}

.shop-controls-right.custom-search .search-field::placeholder {
    color: #68764B;
    font-weight: 400;
    opacity: 1;
}

.shop-controls-right.custom-search .search-submit {
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    outline: none !important;
    box-shadow: none !important;
    transition: transform 0.2s ease;
}

.shop-controls-right.custom-search .search-submit:hover {
    transform: translateY(-50%) scale(1.1);
}

.shop-controls-right.custom-search .search-submit svg {
    width: 16px;
    height: 16px;
    fill: #68764B;
    transition: fill 0.3s ease;
}

.shop-controls-right.custom-search .search-submit:hover svg {
    fill: #3A4237;
}

#shop-product-grid {
    transition: opacity 0.3s ease;
}

#shop-product-grid.is-loading,
#shop-pagination-container.is-loading {
    opacity: 0.4;
    pointer-events: none;
}

.loading-spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #68764B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

#shop-product-grid.is-loading + .loading-spinner {
    display: block;
}

ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: fadeInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both 0.3s;
}

ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0;
    border: none;
    box-shadow: none;
    background: none;
}

ul.products li.product .custom-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px 15px 0px 15px;
    box-sizing: border-box;
    background: #E3E3E3;
    border: 1px solid #747965;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

ul.products li.product .custom-product-card:hover {
    border-color: #3A4237;
    transform: translateY(-2px);
}

ul.products li.product .custom-product-card .card-image-wrapper {
    position: relative;
    overflow: hidden;
    margin: -15px -15px 12px -15px;
    border-bottom: none;
    width: calc(100% + 30px);
    max-width: none;
}

ul.products li.product .custom-product-card .card-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(58, 66, 55, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

ul.products li.product .custom-product-card:hover .card-image-wrapper::before {
    opacity: 1;
}

ul.products li.product .custom-product-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    transition: transform 0.3s ease;
    max-width: 100% !important;
    max-height: none !important;
}

ul.products li.product .custom-product-card:hover img {
    transform: scale(1.05);
}

ul.products li.product .custom-product-card .woocommerce-loop-product__title {
    font-family: 'moulin', 'Times New Roman', serif !important;
    font-weight: 400 !important;
    font-size: 22px !important;
    color: #3A4237 !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.2;
}

ul.products li.product .custom-product-card .card-categories,
ul.products li.product .custom-product-card .card-categories a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #3A4237 !important;
    padding: 0;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul.products li.product .custom-product-card .card-categories a:hover {
    color: #000 !important;
}

ul.products li.product .custom-product-card .card-divider {
    border: none;
    border-top: 1px solid #888D7E !important;
    margin: 0 0 10px 0;
}

ul.products li.product .custom-product-card .card-description {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    color: #3A4237 !important;
    padding: 0;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 0px;
}

ul.products li.product .custom-product-card .card-description p {
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical;
}

ul.products li.product .custom-product-card .card-price-addtocart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-top: auto;
    margin-bottom: 0 !important;
}

ul.products li.product .custom-product-card .card-price-addtocart .price {
    font-family: 'clearfacestd', 'Times New Roman', serif !important;
    font-weight: 400 !important;
    font-size: 30px !important;
    color: #3A4237 !important;
    line-height: 1;
    margin-top: 15px;
}

ul.products li.product .custom-product-card .add-to-cart-wrapper {
    margin-bottom: 0 !important;
}

ul.products li.product .custom-product-card .add-to-cart-wrapper .button {
    font-family: 'moulin', 'Times New Roman', serif !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    background-color: #E3E3E3 !important;
    color: #3A4237 !important;
    border: 1px solid #3A4237;
    border-radius: 0;
    text-align: center !important;
    text-transform: uppercase;
    padding: 15px 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
    transform: none !important; 
    translate: none !important;
    top: 0 !important;
    left: 0 !important;
}

ul.products li.product .custom-product-card .add-to-cart-wrapper .button:hover,
ul.products li.product .custom-product-card .add-to-cart-wrapper .button:focus,
ul.products li.product .custom-product-card .add-to-cart-wrapper .button:active,
ul.products li.product .custom-product-card .add-to-cart-wrapper .button.loading,
ul.products li.product .custom-product-card .add-to-cart-wrapper .button.added {
    background-color: #3A4237 !important;
    color: #E3E3E3 !important;
    outline: none !important;
    transform: none !important;
    translate: none !important;
    box-shadow: none !important;
    margin-top: 0 !important; 
    top: 0 !important;
    text-align: center !important;
}

.custom-pagination.woo-pagination {
    margin-top: 40px;
    animation: fadeInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both 0.4s;
    transition: opacity 0.3s ease;
}

.custom-pagination-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #3A4237;
}

.ajax-page-btn {
    background: #E3E3E3;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #3A4237;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ajax-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ajax-page-btn:not(:disabled):hover {
    background-color: #3A4237;
    color: #E3E3E3;
    border-color: #3A4237;
}

.ajax-page-btn:focus,
.ajax-page-btn:active {
    outline: none;
    box-shadow: 0 0 0 2px rgba(58, 66, 55, 0.2);
}

.ajax-page-input {
    width: 35px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    -moz-appearance: textfield;
    background: #E3E3E3 !important;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.ajax-page-input:focus,
.ajax-page-input:active {
    outline: none;
    box-shadow: none;
    border-color: #3A4237;
}

.ajax-page-input::-webkit-outer-spin-button,
.ajax-page-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-pagination {
    display: none;
}

.woocommerce-info,
.woocommerce-error,
.woocommerce-message {
    background: #E3E3E3;
    border: 1px solid #747965;
    color: #3A4237;
    padding: 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    animation: fadeInUp 0.5s ease;
    border-radius: 0;
}

.no-products-found {
    text-align: center;
    padding: 60px 20px;
    color: #3A4237;
    font-family: 'Inter', sans-serif;
}

.no-products-found h3 {
    font-family: 'moulin', 'Times New Roman', serif;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 400;
}

.shop-controls-right.custom-search .search-submit:focus,
.ajax-page-btn:focus,
ul.products li.product .custom-product-card .add-to-cart-wrapper .button:focus {
    outline: 2px solid #68764B;
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .blog-hero-overlay-content {
        color: #000;
    }
    
    ul.products li.product .custom-product-card {
        border-color: #000;
    }
    
    .shop-controls-left .filter-item {
        border-bottom-color: #000;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .blog-hero-wrapper,
    #shop-filters.custom-shop-controls,
    ul.products,
    .custom-pagination.woo-pagination {
        animation: none !important;
    }
    
    ul.products li.product .custom-product-card:hover img {
        transform: none;
    }
    
    ul.products li.product .custom-product-card:hover {
        transform: none;
    }
}

@media (max-width: 1024px) {
    .blog-hero-overlay-content .overlay-title {
        font-size: 48px;
        padding: 0 100px;
    }
    
    .blog-hero-overlay-content .overlay-subtitle {
        font-size: 16px;
        padding: 0 50px;
    }
    
    ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .shop-controls-left .filter-item {
        min-width: 140px;
    }
    
    .shop-controls-right.custom-search .search-field {
        width: 200px !important;
    }
}

@media (max-width: 768px) {
    body.post-type-archive-product,
    body.tax-product_cat,
    body.tax-product_tag {
        padding-top: 0 !important;
    }

    .blog-hero-wrapper {
        height: 100vh !important;
        padding: 0;
        margin-top: -80px !important;
        margin-bottom: 20px;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        background: #333 url('https://daune.my/wp-content/uploads/2025/11/shopbanner.png') center/cover no-repeat;
    }
    
    .blog-hero-overlay-content {
        padding-top: 80px;
        justify-content: center;
    }
    
    .blog-hero-overlay-content .overlay-top-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .blog-hero-overlay-content .overlay-title {
        font-size: 36px;
        margin-bottom: 20px;
        padding: 0;
        max-width: 90%;
    }
    
    .blog-hero-overlay-content .overlay-subtitle {
        font-size: 14px;
        padding: 0;
        max-width: 90%;
    }

    .custom-shop-container {
        margin-top: 40px;
        position: static;
        z-index: auto;
    }
    
    .woocommerce-products-header {
        padding-top: 20px;
    }
    
    #shop-filters.custom-shop-controls {
        flex-direction: column !important;
        flex-wrap: nowrap;
        gap: 15px;
        justify-content: space-between;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .shop-controls-left {
        flex-direction: row !important;
        gap: 10px;
        align-items: center;
        flex-basis: auto;
        width: 100%;
        justify-content: space-between;
        min-width: 0;
    }
    
    .shop-controls-left .filter-item {
        width: 48% !important;
        min-width: 0 !important;
        flex: 1 1 auto;
        max-width: calc(50% - 5px);
    }
    
    .shop-controls-left .filter-item select {
        min-width: 0 !important;
        width: 100% !important;
        font-size: 13px;
        padding: 10px 25px 10px 8px;
    }
    
    .shop-controls-left .filter-item::after {
        right: 8px;
    }
    
    .shop-controls-right.custom-search {
        max-width: none;
        margin-left: 0;
        width: 100%;
        flex-basis: auto;
        min-width: 0;
    }
    
    .shop-controls-right.custom-search .search-form {
        width: 100%;
        border-bottom: none;
    }
    
    .shop-controls-right.custom-search .search-field {
        width: 100% !important;
        box-sizing: border-box;
        border: none;
        border-bottom: 1px solid #68764B;
        padding: 6px 30px 6px 2px;
        min-width: 0;
        font-size: 13px;
    }

    ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    ul.products li.product .custom-product-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 10px 10px 5px 10px !important;
        box-sizing: border-box;
        background: #E3E3E3;
        border: 1px solid #747965;
        box-shadow: none;
        gap: 6px;
        overflow: hidden;
    }
    
    ul.products li.product .custom-product-card .card-image-wrapper {
        margin: -10px -10px 8px -10px !important;
        width: calc(100% + 20px) !important;
        height: auto;
        max-height: none;
    }
    
    ul.products li.product .custom-product-card img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover;
        display: block;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        max-width: 100% !important;
        max-height: 100% !important;
        transition: transform 0.3s ease;
    }
    
    ul.products li.product .custom-product-card:hover img {
        transform: scale(1.05);
    }
    
    ul.products li.product .custom-product-card .card-divider,
    ul.products li.product .custom-product-card .card-description {
        display: none;
    }

    ul.products li.product .custom-product-card .woocommerce-loop-product__title {
        font-size: 16px !important;
        margin: 0 !important;
    }
    
    ul.products li.product .custom-product-card .card-categories,
    ul.products li.product .custom-product-card .card-categories a {
        font-size: 11px !important;
        margin-bottom: 0;
    }
    
    ul.products li.product .custom-product-card .card-price-addtocart {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-top: auto;
        width: 100%;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    ul.products li.product .custom-product-card .card-price-addtocart .price {
        font-size: 22px !important;
        margin: 0 !important;
    }
    
    ul.products li.product .custom-product-card .add-to-cart-wrapper {
        width: 100%;
        margin-bottom: 0 !important;
    }
    
    ul.products li.product .custom-product-card .add-to-cart-wrapper .button {
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
        margin-bottom: 0 !important;
        margin-top: 5px;
        font-size: 11px !important;
        transform: none !important;
        text-align: center !important;
    }
    
    ul.products li.product .custom-product-card .add-to-cart-wrapper .button.loading,
    ul.products li.product .custom-product-card .add-to-cart-wrapper .button.added,
    ul.products li.product .custom-product-card .add-to-cart-wrapper .button:active,
    ul.products li.product .custom-product-card .add-to-cart-wrapper .button:focus {
        text-align: center !important;
        transform: none !important;
    }
    
    .custom-pagination-input {
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: center;
        white-space: nowrap;
    }
    
    .page-count {
        font-size: 12px;
        flex-basis: auto;
        text-align: center;
        order: 0;
        margin-bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
    
    .ajax-page-input {
        display: inline-block;
        order: 0;
        width: 30px;
        height: 30px;
        font-size: 12px;
        padding: 0 3px;
        box-sizing: border-box;
    }
    
    .ajax-page-btn.prev-page-btn {
        order: -1;
        flex-grow: 0;
        max-width: none;
    }
    
    .ajax-page-btn.next-page-btn {
        order: 1;
        flex-grow: 0;
        max-width: none;
    }
    
    .ajax-page-btn {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .custom-shop-container {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        max-width: 100%;
        margin-top: 50px !important;
    }

    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        width: 100%;
        margin: 0;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .blog-hero-overlay-content .overlay-title {
        font-size: 28px;
        max-width: 95%;
    }
    
    .blog-hero-overlay-content .overlay-subtitle {
        font-size: 12px;
        max-width: 95%;
    }
    
    .shop-controls-left {
        flex-direction: row !important;
        gap: 8px;
        width: 100%;
    }
    
    .shop-controls-left .filter-item {
        width: 48% !important;
        min-width: 0 !important;
        flex: 1 1 auto;
    }
    
    .shop-controls-left .filter-item select {
        font-size: 12px !important;
        padding: 8px 20px 8px 6px !important;
    }
    
    .shop-controls-left .filter-item::after {
        right: 6px;
    }
    
    ul.products li.product .custom-product-card {
        padding: 8px 8px 15px 8px !important;
        overflow: hidden;
        margin-bottom: 0;
    }
    
    ul.products li.product .custom-product-card .card-image-wrapper {
        margin: -8px -8px 8px -8px !important;
        width: calc(100% + 16px) !important;
    }
    
    ul.products li.product .custom-product-card img {
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        max-width: 100% !important;
    }
    
    ul.products li.product .custom-product-card .card-price-addtocart {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    ul.products li.product .custom-product-card .add-to-cart-wrapper .button {
        padding: 10px !important;
        font-size: 10px !important;
        margin-top: 10px;
    }
}

@media (max-width: 360px) {
    .shop-controls-left .filter-item select {
        font-size: 11px !important;
        padding: 6px 18px 6px 4px !important;
    }
    
    .shop-controls-left .filter-item::after {
        right: 4px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid #68764B;
    }
    
    ul.products li.product .custom-product-card .card-image-wrapper {
        margin: -8px -8px 5px -8px !important;
    }
    
    ul.products li.product .custom-product-card img {
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
    }
}

@media print {
    .blog-hero-wrapper,
    #shop-filters,
    .add-to-cart-wrapper {
        display: none !important;
    }
    
    .custom-shop-container {
        margin: 0;
        padding: 20px;
    }
    
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    ul.products li.product .custom-product-card {
        border: 1pt solid #000 !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .woocommerce-loop-product__title,
    .card-categories,
    .price {
        color: #000 !important;
        font-weight: bold !important;
    }
}