
    .power-card {
        position: relative;
        background: var(--bg-card);
        border: 1px solid var(--border-light);
        border-radius: 14px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100%;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-app);
    }

    .power-card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: var(--shadow-float);
        border-color: var(--app-primary);
    }

    .pc-media {
        position: relative;
        width: 100%;
        padding-top: 88%;
        overflow: hidden;
        background: var(--bg-secondary);
    }

    .pc-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8px;
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    body.dark-theme .pc-img {
        filter: brightness(0.92);
    }

    .power-card:hover .pc-img {
        transform: scale(1.06);
    }

    .pc-badges {
        position: absolute;
        top: 8px;
        left: 8px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        z-index: 2;
        pointer-events: none;
        max-width: 55%;
    }

    .pc-badge {
        font-size: 0.52rem;
        font-weight: 800;
        text-transform: uppercase;
        padding: 3px 7px;
        border-radius: 6px;
        color: white;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        letter-spacing: 0.04em;
        line-height: 1;
        min-width: 22px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .pc-badge.sale { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
    .pc-badge.new { background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%); }
    .pc-badge.hit { background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%); }

    .pc-actions {
        position: absolute;
        top: 8px;
        right: 8px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 5;
        opacity: 0;
        transform: translateX(8px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .power-card:hover .pc-actions {
        opacity: 1;
        transform: translateX(0);
    }

    @media (hover: none) {
        .pc-actions { opacity: 1; transform: translateX(0); }
    }

    .pc-action-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: var(--glass-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--glass-border);
        color: var(--txt-sub);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.25s;
        font-size: 0.8rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .pc-action-btn:hover {
        background: var(--app-primary);
        color: white;
        border-color: var(--app-primary);
        transform: scale(1.08);
        box-shadow: 0 4px 12px var(--app-primary-alpha);
    }

    .pc-action-btn.active {
        color: var(--app-accent);
        border-color: var(--app-accent);
        background: var(--app-accent-alpha);
    }

    .pc-content {
        padding: 10px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        gap: 3px;
        background: var(--bg-card);
    }

    .pc-cat {
        font-size: 0.6rem;
        color: var(--txt-muted);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        white-space: normal;
        word-wrap: break-word;
    }

    .pc-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--txt-main);
    text-decoration: none;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin-bottom: auto;
    transition: color 0.2s;
    min-height: 2.4em;
    
    display: block; 
    }
    .pc-title:hover {
        color: var(--app-primary);
    }

    .pc-footer {
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid var(--border-light);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
    }

    .pc-price-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1px;
    }

    .pc-price {
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--txt-main);
        line-height: 1.1;
    }

    .pc-price.discounted {
        color: var(--app-accent);
    }

    .pc-old-price-wrapper {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 1px;
    }

    .pc-old-price {
        font-size: 0.72rem;
        color: var(--txt-muted);
        text-decoration: line-through;
        text-decoration-color: var(--app-accent);
        text-decoration-thickness: 1px;
        font-weight: 500;
    }

    .pc-discount-tag {
        font-size: 0.58rem;
        font-weight: 800;
        color: #ffffff;
        background: var(--app-accent);
        padding: 1px 5px;
        border-radius: 4px;
        display: inline-block;
        line-height: 1.2;
    }

    .pc-add-btn {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        border: none;
        background: linear-gradient(135deg, var(--app-primary), var(--app-primary-dark));
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 3px 10px var(--app-primary-alpha);
        flex-shrink: 0;
        font-size: 0.8rem;
    }

    .pc-add-btn:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 16px var(--app-primary-alpha);
    }

    .pc-add-btn:disabled {
        background: var(--bg-secondary);
        color: var(--txt-muted);
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

    .pc-qty-overlay {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: var(--glass-bg);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid var(--app-primary);
        border-radius: 10px;
        display: flex;
        align-items: center;
        padding: 3px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 10;
        animation: pcPopIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes pcPopIn {
        from { transform: scale(0.85); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }

    .pc-qty-action {
        width: 26px;
        height: 26px;
        border: none;
        background: transparent;
        color: var(--txt-main);
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        border-radius: 6px;
    }

    .pc-qty-action:hover {
        color: var(--app-primary);
        background: var(--app-primary-alpha);
    }

    .pc-qty-num {
        font-weight: 700;
        padding: 0 6px;
        font-size: 0.82rem;
        min-width: 22px;
        text-align: center;
        color: var(--txt-main);
    }

    .pc-qty-action i {
        font-size: 0.65rem;
    }

    .pc-qty-action.confirm {
        color: var(--app-success);
    }

    .pc-qty-action.confirm:hover {
        color: var(--app-success);
        background: var(--app-success-alpha);
    }

    .power-card--list {
        flex-direction: row;
        border-radius: 12px;
        max-height: 160px;
    }

    .power-card--list .pc-media {
        width: 160px;
        min-width: 160px;
        padding-top: 0;
        height: 100%;
    }

    .power-card--list .pc-img {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 6px;
    }

    .power-card--list .pc-badges {
        top: 6px;
        left: 6px;
        flex-direction: row;
        max-width: none;
    }

    .power-card--list .pc-badge {
        font-size: 0.48rem;
        padding: 2px 5px;
    }

    .power-card--list .pc-actions {
        top: 6px;
        right: 6px;
        flex-direction: row;
        gap: 4px;
        opacity: 1;
    }

    .power-card--list .pc-action-btn {
        width: 28px;
        height: 28px;
        border-radius: 7px;
        font-size: 0.7rem;
        opacity: 1;
        visibility: visible;
    }

    .power-card--list .pc-content {
        padding: 8px 12px;
        justify-content: center;
        flex: 1;
        min-width: 0;
    }

    .power-card--list .pc-cat {
        font-size: 0.55rem;
    }

    .power-card--list .pc-title {
        font-size: 0.8rem;
        min-height: auto;
    }

    .power-card--list .pc-footer {
        margin-top: 5px;
        padding-top: 5px;
    }

    .power-card--list .pc-price {
        font-size: 0.9rem;
    }

    .power-card--list .pc-add-btn {
        width: 30px;
        height: 30px;
    }

    .power-card--list .pc-qty-overlay {
        bottom: 8px;
        right: 8px;
    }

    @media (max-width: 640px) {
        .power-card--list {
            max-height: 130px;
        }

        .power-card--list .pc-media {
            width: 120px;
            min-width: 120px;
        }

        .power-card--list .pc-content {
            padding: 6px 8px;
        }

        .power-card--list .pc-title {
            font-size: 0.75rem;
        }
    }
