.latest-pieces-page {
    --page: var(--cv-page);
    --paper: var(--cv-paper);
    --ink: var(--cv-ink);
    --muted: var(--cv-muted);
    --line: var(--cv-line);
    --soft: var(--cv-soft);
    --accent: var(--cv-accent);
    --radius: var(--cv-radius);
    background: var(--cv-page);
    color: var(--cv-ink);
    font-family: var(--cv-font-family);
}

.latest-pieces-page .main-header {
    background: var(--cv-header-bg);
    border-bottom: var(--cv-border-width) solid var(--cv-line);
    box-shadow: none;
}

.latest-pieces-page .logo,
.latest-pieces-page .cart-icon,
.latest-pieces-page .account-icon {
    color: var(--cv-header-text);
}

.latest-pieces-page .search-form input,
.latest-pieces-page .md-form-input {
    border: 0;
    border-radius: var(--cv-input-radius);
    background: var(--cv-soft);
    color: var(--cv-ink);
    font-size: var(--cv-input-font-size);
}

.latest-pieces-page .search-form input:focus,
.latest-pieces-page .md-form-input:focus {
    background: var(--cv-paper);
    outline: var(--cv-border-width) solid var(--cv-accent);
}

.latest-pieces-page .search-form input::placeholder,
.latest-pieces-page .md-form-input::placeholder {
    color: var(--cv-muted);
}

.latest-pieces-page .search_sbtn,
.latest-pieces-page .grid-cart-btn,
.latest-pieces-page .main-subscribe-btn {
    border: 0;
    border-radius: var(--cv-button-radius);
    background: var(--cv-button-bg);
    color: var(--cv-button-text);
}

.latest-pieces-page .cart-icon,
.latest-pieces-page .account-icon {
    border: 0;
    border-radius: var(--cv-button-radius);
    background: var(--cv-button-secondary-bg);
}

.latest-pieces-page .cart-count,
.latest-pieces-page .new-tag {
    background: var(--cv-badge-bg);
    color: var(--cv-badge-text);
}

.latest-pieces-page .cart-count {
    border-radius: 999px;
}

.latest-pieces-page .all-products {
    padding-top: 28px;
}

.latest-pieces-page .listing-head {
    border-bottom: var(--cv-border-width) solid var(--cv-line);
    margin-bottom: 20px;
    padding-bottom: 18px;
}

.latest-pieces-page .listing-head h1 {
    font-size: clamp(28px, 5vw, 46px) !important;
    line-height: 1.02 !important;
    font-weight: var(--cv-heading-weight) !important;
}

.latest-pieces-page .eyebrow,
.latest-pieces-page .section-subtitle,
.latest-pieces-page .subcategory,
.latest-pieces-page .empty-state,
.latest-pieces-page .sub-text,
.latest-pieces-page .md-tc {
    color: var(--cv-muted);
}

.latest-pieces-page .listing-action,
.latest-pieces-page .pagination a,
.latest-pieces-page .pagination span {
    border: 0;
    border-radius: var(--cv-button-radius);
    background: var(--cv-button-secondary-bg);
    color: var(--cv-button-secondary-text);
}

.latest-pieces-page .listing-action:hover,
.latest-pieces-page .pagination a:hover,
.latest-pieces-page .pagination .current-page {
    background: var(--cv-button-bg);
    color: var(--cv-button-text);
}

.latest-pieces-page .product-grid {
    gap: 14px;
}

.latest-pieces-page .product-card {
    border: 0;
    border-radius: var(--cv-radius);
    background: var(--cv-paper);
}

.latest-pieces-page .product-image {
    background: var(--cv-soft);
}

.latest-pieces-page .product-info {
    padding: var(--cv-card-padding);
}

.latest-pieces-page .product-name {
    min-height: 0;
    color: var(--cv-ink);
    font-size: var(--cv-product-name-size);
    font-weight: var(--cv-title-weight);
}

.latest-pieces-page .new-tag,
.latest-pieces-page .discount-tag,
.latest-pieces-page .promo-countdown,
.latest-pieces-page .price-now {
    color: var(--cv-sale);
}

.latest-pieces-page .new-tag {
    margin-left: 0;
    padding: 3px 6px;
    border-radius: var(--cv-button-radius);
    color: var(--cv-badge-text);
}

.latest-pieces-page .shipping-tag {
    color: var(--cv-shipping);
}

.latest-pieces-page .price {
    color: var(--cv-price);
    font-size: var(--cv-price-font-size);
}

.latest-pieces-page .wishlist-btn {
    border: 0;
    background: var(--cv-button-secondary-bg);
    color: var(--cv-button-secondary-text);
}

.latest-pieces-page .wishlist-btn:hover,
.latest-pieces-page .wishlist-btn.is-active {
    background: var(--cv-badge-bg);
    color: var(--cv-badge-text);
}

.latest-pieces-page .footer-main-desktop {
    background: var(--cv-paper);
    color: var(--cv-ink);
}

.latest-pieces-page .wishlist-auth__backdrop {
    background: var(--cv-page);
}

.latest-pieces-page .wishlist-auth__panel {
    border: 0;
    background: var(--cv-paper);
}

.latest-pieces-page .wishlist-auth__panel h2,
.latest-pieces-page .wishlist-auth__actions button {
    color: var(--cv-ink);
}

.latest-pieces-page .wishlist-auth__panel p {
    color: var(--cv-muted);
}

.latest-pieces-page .wishlist-auth__actions a,
.latest-pieces-page .wishlist-auth__actions button {
    border: 0;
    border-radius: var(--cv-button-radius);
}

.latest-pieces-page .wishlist-auth__actions a {
    background: var(--cv-button-bg);
    color: var(--cv-button-text);
}

.latest-pieces-page .wishlist-auth__actions button {
    background: var(--cv-button-secondary-bg);
}

.latest-pieces-page .wishlist-toast {
    background: var(--cv-button-bg);
    color: var(--cv-button-text);
}

@media (max-width: 640px) {
    .latest-pieces-page .listing-head h1 {
        font-size: 30px !important;
    }

    .latest-pieces-page .all-products {
        padding-top: 18px;
    }

    .latest-pieces-page .product-grid {
        gap: 10px;
    }
}
