/**
 * V28 Shop Page Styles
 * T-Shirt Planet — mytshirt.be
 *
 * Design system: Charcoal #363030 + Lime #C1E53E
 * Typography: Outfit / JetBrains Mono
 * Pattern: shadows > borders (V28 principle)
 *
 * Sections:
 *   1. Shop Page Layout
 *   2. Page Header
 *   3. Filter Sidebar (slide-in)
 *   4. Controls Bar
 *   5. Product Grid
 *   6. Product Cards
 *   7. Pagination
 *   8. Responsive: Large Tablet (≤1399px)
 *   9. Responsive: Tablet (≤1199px)
 *  10. Responsive: Mobile (≤899px)
 *  11. Responsive: Small (≤599px) — horizontal scroll
 *  12. Responsive: Tiny (≤480px)
 */

/* ═══════════════════════════════════════════
   1. SHOP PAGE LAYOUT
   ═══════════════════════════════════════════ */

.v28-shop-page {
    padding: 60px 0 100px;
    background: var(--paper, #fafafa);
}

.v28-shop-page .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

/* Override Hello Elementor theme constraints */
body.archive.post-type-archive-product #main.site-main,
body.archive.post-type-archive-product .site-main,
body.archive.post-type-archive-product #primary.content-area {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.v28-shop-page .page-description,
.woocommerce-products-header .page-description {
    display: none !important;
}

.v28-shop-page .cfvsw_variations_form,
.v28-shop-page .variations_form,
.v28-shop-page .cfvsw_shop_archive {
    display: none !important;
}

.v28-shop-page .woocommerce-products-header__title {
    display: none !important;
}

/* ═══════════════════════════════════════════
   2. PAGE HEADER
   ═══════════════════════════════════════════ */

.v28-shop-header {
    margin-bottom: 20px;
}

.v28-shop-header .section-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--ink, #363030);
    letter-spacing: -0.5px;
    margin: 0;
}

.v28-shop-header .section-subtitle {
    font-size: 24px;
    color: var(--ink-muted, #7a7575);
    max-width: 620px;
    margin-top: 8px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   3. FILTER SIDEBAR (SLIDE-IN PANEL)
   ═══════════════════════════════════════════ */

.v28-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 199;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.v28-filter-overlay.show {
    display: block;
    opacity: 1;
}

.v28-shop-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 380px;
    max-width: 90vw;
    background: var(--white, #fff);
    z-index: 200;
    overflow-y: auto;
    padding: 0 24px 100px;
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    border-radius: 0;
    border: 0;
    margin: 0;
}

.v28-shop-sidebar.sidebar-open {
    transform: translateX(0);
}

.v28-sidebar-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--border-light, #eeecec);
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    background: var(--white, #fff);
    z-index: 1;
}

.v28-sidebar-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink, #363030);
}

.v28-sidebar-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--paper, #fafafa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--ink-muted, #7a7575);
    cursor: pointer;
    border: 0;
    transition: all 0.2s ease;
}

.v28-sidebar-modal-close:hover {
    background: var(--coral, #E63946);
    color: white;
}

.v28-sidebar-group {
    margin-bottom: 28px;
}

.v28-sidebar-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary, #363030);
    margin-bottom: 14px;
}

.v28-sidebar-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    min-height: 44px;
    font-size: 17px;
    color: var(--ink-soft, #4a4545);
    cursor: pointer;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.v28-sidebar-option:hover {
    color: var(--ink, #363030);
}

.v28-sidebar-check {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border, #e0dede);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.v28-sidebar-check.active {
    background: var(--primary, #363030);
    border-color: var(--primary, #363030);
    color: var(--secondary, #C1E53E);
}

.v28-color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 4px 0;
}

.v28-sidebar-color {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid var(--border, #e0dede);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.v28-sidebar-color:hover {
    transform: scale(1.15);
    border-color: var(--ink-muted, #7a7575);
}

.v28-sidebar-color.active {
    border-color: var(--primary, #363030);
    box-shadow: 0 0 0 3px rgba(54, 48, 48, 0.2);
}

/* ═══════════════════════════════════════════
   4. CONTROLS BAR
   ═══════════════════════════════════════════ */

.v28-shop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.v28-shop-count {
    font-size: 18px;
    color: var(--ink-muted, #7a7575);
}

.v28-shop-controls-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v28-filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--white, #fff);
    border: 1.5px solid var(--border, #e0dede);
    border-radius: var(--radius-btn, 6px);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary, #363030);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.v28-filter-toggle-btn:hover {
    border-color: var(--blue, #2D7FF9);
    background: var(--paper, #fafafa);
}

.v28-shop-sort .woocommerce-ordering {
    margin: 0;
}

.v28-shop-sort .woocommerce-ordering select,
.v28-shop-sort select {
    padding: 10px 16px;
    border: 2px solid var(--border, #e0dede);
    border-radius: var(--radius-btn, 6px);
    font-size: 16px;
    color: var(--ink, #363030);
    background: var(--white, #fff);
    cursor: pointer;
    outline: 0;
    transition: border-color 0.25s ease;
}

.v28-shop-sort .woocommerce-ordering select:focus,
.v28-shop-sort select:focus {
    border-color: var(--coral, #E63946);
}

/* ═══════════════════════════════════════════
   5. PRODUCT GRID
   ═══════════════════════════════════════════ */

.v28-products-grid {
    display: block;
    width: 100%;
}

.v28-shop-page .products,
.v28-shop-page ul.products,
.v28-shop-page ul.products.columns-3,
.v28-shop-page ul.products.columns-4,
.v28-shop-page ul.products[class*="columns-"],
body.woocommerce .v28-shop-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

.v28-shop-page .products::before,
.v28-shop-page .products::after {
    display: none !important;
}

.v28-shop-page ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

/* ═══════════════════════════════════════════
   6. PRODUCT CARDS
   ═══════════════════════════════════════════ */

.v28-product-card {
    will-change: transform;
    background: var(--paper, #fafafa);
    border-radius: var(--radius, 10px);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 1.5px solid var(--border-light, #eeecec);
}

.v28-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(54, 48, 48, 0.1), 0 4px 12px rgba(54, 48, 48, 0.06);
    border-color: transparent;
}

/* Product image — full visible */
.v28-product-img {
    aspect-ratio: 1 / 1;
    background: var(--paper-warm, #f5f4f4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8px;
    box-sizing: border-box;
}

.v28-product-img img,
.v28-product-img .v28-tee-visual {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
}

/* ── Image overlay — heart only, always visible ──────────── */
.v28-img-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

/* ── Wishlist heart — top-right, always visible ── */
.v28-wish-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1.5px solid rgba(54,48,48,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    color: var(--ink-muted, #7a7575);
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(54,48,48,0.12);
}
.v28-wish-btn:hover {
    transform: scale(1.1);
    color: #E63946;
    border-color: rgba(230,57,70,0.2);
}
.v28-wish-btn.is-wished {
    color: #E63946;
    background: #fff;
    border-color: rgba(230,57,70,0.2);
}
.v28-wish-btn.is-wished svg {
    animation: v28-heart-pop 0.3s cubic-bezier(0.36,0.07,0.19,0.97);
}
@keyframes v28-heart-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.4); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* ── Login tooltip ─────────────────────────────────────── */
.v28-login-tooltip {
    position: absolute;
    z-index: 9999;
    width: 300px;
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px 20px;
    box-shadow: 0 16px 48px rgba(54,48,48,0.18), 0 2px 8px rgba(54,48,48,0.08);
    border: 1.5px solid var(--border-light, #eeecec);
    animation: v28-tip-in 0.2s ease;
}

@keyframes v28-tip-in {
    from { opacity: 0; transform: translateY(-6px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mobile: centered fixed overlay */
@media (max-width: 599px) {
    .v28-login-tooltip {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translateX(-50%) translateY(-50%) !important;
        width: calc(100vw - 32px) !important;
        max-width: 340px !important;
        right: auto !important;
        bottom: auto !important;
        padding: 20px 20px 18px !important;
        animation: v28-tip-in-mobile 0.2s ease !important;
    }
    @keyframes v28-tip-in-mobile {
        from { opacity: 0; transform: translateX(-50%) translateY(-46%) scale(0.97); }
        to   { opacity: 1; transform: translateX(-50%) translateY(-50%) scale(1); }
    }
}

.v28-tip-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: var(--ink-muted, #7a7575);
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
    transition: color 0.15s;
}

.v28-tip-close:hover { color: var(--ink, #363030); }

.v28-tip-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink, #363030);
    margin-bottom: 8px;
    padding-right: 24px;
    line-height: 1.3;
}

.v28-tip-body {
    font-size: 13px;
    color: var(--ink-muted, #7a7575);
    line-height: 1.55;
    margin-bottom: 18px;
}

.v28-tip-actions {
    display: flex;
    gap: 10px;
}

.v28-tip-btn {
    flex: 1;
    text-align: center;
    padding: 11px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    font-family: var(--v28-font, 'Outfit', sans-serif);
    border: none;
}

.v28-tip-login {
    background: var(--ink, #363030);
    color: #fff;
}

.v28-tip-login:hover {
    background: #4a4444;
    color: #fff;
}

.v28-tip-register {
    background: var(--secondary, #C1E53E);
    color: var(--ink, #363030);
}

.v28-tip-register:hover {
    background: #aed02e;
    color: var(--ink, #363030);
}

/* Product info */
.v28-product-info {
    padding: 12px 14px 14px;
}

.v28-product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink, #363030);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.v28-product-meta {
    font-size: 11px;
    color: var(--ink-muted, #7a7575);
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    gap: 4px;
    margin-bottom: 8px;
}

.v28-product-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Language badges */
.badge-lang {
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: 0.3px;
    border: 0;
    line-height: 1.2;
    font-size: 10px;
    padding: 2px 7px;
}

.badge-lang-nl { color: var(--nl-color, #e85d3a); background: rgba(232, 93, 58, 0.08); }
.badge-lang-fr { color: var(--fr-color, #2563eb); background: rgba(37, 99, 235, 0.08); }
.badge-lang-de { color: var(--de-color, #16a34a); background: rgba(22, 163, 74, 0.08); }
.badge-lang-uni { color: var(--universal-color, #FFB74D); background: rgba(45, 127, 249, 0.08); }

/* Express badge */
.badge-express {
    font-weight: 700;
    border-radius: 10px;
    border: 0;
    line-height: 1.2;
    font-size: 9px;
    padding: 2px 6px;
    color: var(--coral, #E63946);
    background: rgba(230, 57, 70, 0.06);
}

/* Product bottom — price left + Try-On right, single row */
.v28-product-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.v28-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary, #363030);
    flex-shrink: 0;
}

/* WooCommerce price overrides inside cards */
.v28-product-price .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.v28-product-price del {
    opacity: 0.5;
    font-size: 0.75em;
}

.v28-product-price ins {
    text-decoration: none;
}

/* Try It On — shimmer gradient (matches QPC modal .qpc-wear-btn) */
.v28-wear-it-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 14px !important;
    font-weight: 700;
    font-family: inherit;
    border: none !important;
    color: #fff !important;
    background-image: linear-gradient(135deg, #E63946 0%, #ff6b81 50%, #FFC633 100%) !important;
    background-size: 200% 200% !important;
    background-position: 0% 50%;
    animation: v28WearShimmer 3s ease infinite;
    box-shadow: 0 2px 10px rgba(230,57,70,.30);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.v28-wear-it-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(230,57,70,.45);
}
.v28-wear-it-btn::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.30) 50%, transparent 100%);
    animation: v28WearSweep 2.5s ease-in-out infinite;
    pointer-events: none;
}
/* Eye icon injected by JS */
.v28-wear-it-btn svg { flex-shrink: 0; }

/* Fix: theme zeros out inline SVG width — force dimensions */
.v28-wish-btn svg {
    width: 15px !important;
    height: 15px !important;
    display: block !important;
    flex-shrink: 0;
}

@keyframes v28WearShimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes v28WearSweep {
    0%   { left: -100%; opacity: 0; }
    20%  { opacity: 1; }
    100% { left: 140%; opacity: 0; }
}

/* ═══════════════════════════════════════════
   7. PAGINATION
   ═══════════════════════════════════════════ */

.v28-shop-page .woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.v28-shop-page .woocommerce-pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.v28-shop-page .woocommerce-pagination ul li a,
.v28-shop-page .woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-btn, 6px);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink, #363030);
    background: var(--white, #fff);
    border: 1.5px solid var(--border-light, #eeecec);
    transition: all 0.2s ease;
    text-decoration: none;
}

.v28-shop-page .woocommerce-pagination ul li a:hover {
    border-color: var(--blue, #2D7FF9);
    color: var(--blue, #2D7FF9);
    box-shadow: 0 4px 12px rgba(54, 48, 48, 0.08);
}

.v28-shop-page .woocommerce-pagination ul li span.current {
    background: var(--primary, #363030);
    color: var(--secondary, #C1E53E);
    border-color: var(--primary, #363030);
}

/* ═══════════════════════════════════════════
   8. RESPONSIVE: LARGE TABLET (≤1399px)
   ═══════════════════════════════════════════ */

@media (min-width: 1200px) and (max-width: 1399px) {
    .v28-shop-page .products,
    .v28-shop-page ul.products,
    .v28-shop-page ul.products[class*="columns-"],
    body.woocommerce .v28-shop-page ul.products {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 18px !important;
    }
}

/* ═══════════════════════════════════════════
   9. RESPONSIVE: TABLET (≤1199px)
   ═══════════════════════════════════════════ */

@media (min-width: 900px) and (max-width: 1199px) {
    .v28-shop-page .products,
    .v28-shop-page ul.products,
    .v28-shop-page ul.products[class*="columns-"],
    body.woocommerce .v28-shop-page ul.products {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 16px !important;
    }
    .v28-product-info { padding: 10px 12px 12px; }
    .v28-wear-it-btn { padding: 6px 8px; }
}

/* ═══════════════════════════════════════════
   10. RESPONSIVE: MOBILE (≤899px)
   ═══════════════════════════════════════════ */

@media (min-width: 600px) and (max-width: 899px) {
    .v28-shop-page .products,
    .v28-shop-page ul.products,
    .v28-shop-page ul.products[class*="columns-"],
    body.woocommerce .v28-shop-page ul.products {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 12px !important;
    }
    .v28-product-info { padding: 8px 10px 10px; }
    .v28-wear-it-btn { padding: 5px 8px; }
}

/* ═══════════════════════════════════════════
   11. RESPONSIVE: SMALL (≤599px) — HORIZONTAL SCROLL
   ═══════════════════════════════════════════ */

@media (max-width: 599px) {
    .v28-shop-page {
        padding: 16px 0 40px;
    }
    .v28-shop-page .container {
        padding: 0 16px;
    }
    .v28-shop-header {
        margin-bottom: 12px;
    }

    /* Horizontal scroll — single row of cards */
    .v28-shop-page .products,
    .v28-shop-page ul.products,
    .v28-shop-page ul.products[class*="columns-"],
    body.woocommerce .v28-shop-page ul.products {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        padding-bottom: 8px !important;
    }
    .v28-shop-page ul.products li.product {
        flex: 0 0 calc(100vw - 48px) !important;
        max-width: calc(100vw - 48px) !important;
        scroll-snap-align: start !important;
    }
    .v28-shop-page .products::-webkit-scrollbar { height: 4px; }
    .v28-shop-page .products::-webkit-scrollbar-track { background: transparent; }
    .v28-shop-page .products::-webkit-scrollbar-thumb { background: rgba(54, 48, 48, 0.15); border-radius: 2px; }

    .v28-product-info { padding: 10px; }
    .v28-product-meta { gap: 3px; }
    .v28-wear-it-btn { padding: 10px 14px; border-radius: 6px; font-size: 16px !important; flex: 1; }
    .v28-product-bottom { flex-direction: row; align-items: center; gap: 8px; }
    .badge-lang { padding: 2px 5px; }
    .badge-express { padding: 1px 4px; }

    .v28-shop-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .v28-shop-controls-right {
        justify-content: space-between;
    }
}

/* ═══════════════════════════════════════════
   12. RESPONSIVE: TINY (≤480px)
   ═══════════════════════════════════════════ */

@media (max-width: 480px) {
    .v28-shop-page .container {
        padding: 0 12px;
    }
    .v28-filter-toggle-btn { padding: 8px 14px; }
    .v28-shop-sort .woocommerce-ordering select,
    .v28-shop-sort select { padding: 8px 12px; }
    .v28-shop-page .woocommerce-pagination ul li a,
    .v28-shop-page .woocommerce-pagination ul li span { width: 38px; height: 38px; }
}

/* ═══════════════════════════════════════════
   LANGUAGE DOT INDICATORS (shared)
   ═══════════════════════════════════════════ */

.lang-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

.lang-dot-nl { background: var(--nl-color, #e85d3a); }
.lang-dot-fr { background: var(--fr-color, #2563eb); }
.lang-dot-de { background: var(--de-color, #16a34a); }
.lang-dot-universal { background: var(--universal-color, #FFB74D); }

/* ═══════════════════════════════════════════
   WISHLIST PAGE GRID (v28-my-account.php)
   ═══════════════════════════════════════════ */

.v28-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.v28-wish-item {
    background: var(--paper-warm, #f5f4f4);
    border-radius: var(--radius, 10px);
    overflow: hidden;
    border: 1.5px solid var(--border-light, #eeecec);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.v28-wish-item:hover {
    box-shadow: 0 8px 24px rgba(54,48,48,0.10);
    border-color: transparent;
}

.v28-wish-item-img {
    display: block;
    aspect-ratio: 5 / 6;
    overflow: hidden;
}

.v28-wish-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.v28-wish-item:hover .v28-wish-item-img img {
    transform: scale(1.04);
}

.v28-wish-item-info {
    padding: 12px 14px 8px;
    flex: 1;
}

.v28-wish-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink, #363030);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v28-wish-item-name a {
    color: inherit;
    text-decoration: none;
}

.v28-wish-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink, #363030);
}

.v28-wish-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 14px;
}

.v28-wish-item-actions .button {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 6px 10px;
}

.v28-wish-remove {
    background: none;
    border: 1.5px solid var(--border-light, #eeecec);
    border-radius: 7px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink-muted, #7a7575);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.v28-wish-remove:hover {
    background: rgba(230,57,70,0.08);
    border-color: #E63946;
    color: #E63946;
}

@media (max-width: 599px) {
    .v28-wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
