/* Styles for WooCommerce archive-product.php.
   Original file did not contain separated CSS, so this file is intentionally empty for now. */


.archive-product-filters {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
h1.woocommerce-products-header__title.page-title {
    font-size: 1.7rem;
    padding-right: 7.1vw;
    margin: unset;
    line-height: 16px;
    margin-top: 14px;
}
.archive-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
a.button.add_to_cart_button.flowrand-fc-button.flowrand-js-add-to-cart.flowrand-fc-button--simple {
    background: unset;
    position: absolute;
    top: 32%;
}

span.flowrand-fc-button__text {
    font-family: none;
    position: absolute;
    top: 0;
    right: 9%;
    height: 30px;
    width: 30px;
    letter-spacing: 0px;
    text-align: center;
    display: block;
    font-weight: 400;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: unset;
    background: #fff;
    color: var(--color-dark);
    line-height: 31px;
    box-shadow: 0 2px 6px #d5d5d5;
    border-radius: 30%
}
.archive-filter-group label {
    font-size: 14px;
    font-weight: 700;
}

.archive-filter-group input {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.archive-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.archive-filter-actions button {
    flex: 1;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.archive-filter-apply {
    background: #222;
    color: #fff;
}

.archive-filter-clear {
    background: #f2f2f2;
    color: #222;
}

/* Phase 2.3: archive loading feedback */
#productsContainer.loading {
    opacity: 1;
}

.ap-product-skeleton {
    position: relative;
    min-height: 330px;
    padding: 12px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.ap-product-skeleton::after,
.ap-skeleton-image::after,
.ap-skeleton-line::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
    animation: apSkeletonShimmer 1.05s infinite;
}

.ap-skeleton-image,
.ap-skeleton-line {
    position: relative;
    overflow: hidden;
    background: #f1f1f1;
}

.ap-skeleton-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    margin-bottom: 14px;
}

.ap-skeleton-line {
    height: 14px;
    border-radius: 999px;
    margin: 10px 0;
}

.ap-skeleton-line-title {
    width: 88%;
}

.ap-skeleton-line-short {
    width: 55%;
}

.ap-skeleton-line-price {
    width: 42%;
    height: 18px;
    margin-top: 18px;
}

.ap-infinite-loading {
    display: none;
    text-align: center;
    margin: 18px 0 24px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.ap-infinite-loading::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    vertical-align: -2px;
    animation: apArchiveSpin .75s linear infinite;
}

.ap-archive-overlay-loader {
    display: none;
}

.ap-archive-state-notice {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translate(-50%, 12px);
    z-index: 10000;
    max-width: calc(100vw - 32px);
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(20, 20, 20, .86);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.ap-archive-state-notice.active {
    opacity: 1;
    transform: translate(-50%, 0);
}

.ap-archive-state-notice.loading::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    vertical-align: -2px;
    animation: apArchiveSpin .75s linear infinite;
}
a.button.add_to_cart_button.flowrand-fc-button.flowrand-js-add-to-cart.flowrand-fc-button--variable {
    display: none;
}
a.button.add_to_cart_button.flowrand-fc-button.flowrand-js-add-to-cart.flowrand-fc-button--simple {
    display:none;
}

@keyframes apSkeletonShimmer {
    100% {
        transform: translateX(-100%);
    }
}

@keyframes apArchiveSpin {
    to {
        transform: rotate(360deg);
    }
}
@media screen and (max-width: 768px) {
    li.product.ap-product-skeleton{
        display: flex;
        flex-wrap: wrap;
    }
    .archive-sidebar-filters {
    display: none;
    }
}
@media screen and (min-width: 768px) {
.col-12.col-lg-3.row { display: flex; flex-direction: row; flex-wrap: nowrap; width: 100% !important; max-width: 100%; float: unset; padding: unset; } main#main { min-height: 200px; display: flex; .container.container-shop{ } }
}
@media (prefers-reduced-motion: reduce) {
    .ap-product-skeleton::after,
    .ap-skeleton-image::after,
    .ap-skeleton-line::after,
    .ap-infinite-loading::before,
    .ap-archive-state-notice.loading::before {
        animation: none;
    }
}
